General
Submit a customer survey
POST /survey/{id}
POST /survey/{id}
Submit the response payload generated by the rendered survey form.
Path parameters
idintegerpathrequiredCustomer survey id.
Request body
starsintegerbodyNo description.
textstringbodyNo description.
Request Example
{
"stars": 5,
"text": "Great service"
}Responses
200 — Submitted (or already submitted — idempotent)
Response Example
{
"success": true,
"alreadySubmitted": true,
"template": "string"
}404 — Survey not found or expired