v1
latestOpenAPI 3.0.02026-07-2475182625.5 KBSubscriptions
Configure cancel survey
Creates or updates a cancel survey for a subscription.
Either reasonId or reasonName can be provided, but reasonId takes precedence.
post/subscriptions/cancelSurvey/response
Request body
Example request
{
"subscription": "aBCDE12fGH3iJkL4mNOpqr",
"cancelSurvey": {
"reasonId": "7",
"reasonName": "other",
"feedbackText": "Optional feedback text",
"lang": "en"
}
}Response
OK
Example response
{
"id": "2cDfgHIjKLmNOPqRs_tUV",
"reasonId": "7",
"name": "other",
"displayName": "Other",
"description": "Other",
"feedbackText": "Optional feedback text",
"lang": "en"
}