cURL
curl --request POST \ --url https://prod01.copilot.fabric.inc/data-subscription/v1/cancellation-reasons \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' [ { "code": 99, "reason": "Customer is not happy" } ] '
{ "responseStatus": "OK", "message": "Request processed successfully", "data": [ { "code": 99, "reason": "Customer is not happy" } ] }
Create cancellation reasons
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Cancellation reason to be created
Cancellation code
99
Cancellation reason
"Customer is not happy"
Request processed successfully
Cancellation reason and code to be created
Brief response status
"OK"
Full response message
"Request processed successfully"
Cancellation reasons and codes
Show child attributes
Was this page helpful?