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
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"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Cancellation reason to be created
Cancellation reasons to be created
Request processed successfully
Cancellation reason and code to be created
Was this page helpful?