CancellationReasonsResponse
Response schema for multiple cancellation reasons
data object[]required
The cancellation reasons details
Array [
idstringrequired
Unique identifier for the object.
Possible values: Value must match regular expression ^cr_\w{12}$
namestringrequired
The name of the cancellation reason.
objectstringrequired
String representing the object's type.
Possible values: [cancellation_reason]
sort_orderintegerrequired
The sort order of the cancellation reason.
]
CancellationReasonsResponse
{
"data": [
{
"id": "cr_a1b2c3d4e5f6",
"name": "Distance too far",
"object": "cancellation_reason",
"sort_order": 1
}
]
}