SalesChannelCancellationReasons
Fetches the details of a specific cancellation reason for the specified sales channel.
The channel ID of the resource.
5
Unique identifier of the resource
1
GET /api/v1/channel/{channel_id}/cancellation_reasons/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"cancellation_type": "cancel",
"extra_information_needed": false,
"order": 100,
"subject": "text",
"is_active": true,
"send_to_remote": true,
"translations": {},
"uuid": "text",
"created_date": "2025-06-27T09:02:04.702Z",
"modified_date": "2025-06-27T09:02:04.702Z"
}
Partially updates the details of a specific cancellation reason for the specified sales channel.
The channel ID of the resource.
5
Unique identifier of the resource
1
Schema for updating existing cancellation reason.
Type of cancellation. Optional, defaults to cancel
.
Whether extra info is required.
Sorting order for UI display.
Short label of the cancellation reason.
Whether this reason is active.
Whether this reason syncs to external systems.
PUT /api/v1/channel/{channel_id}/cancellation_reasons/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 128
{
"cancellation_type": "cancel",
"extra_information_needed": true,
"order": 1,
"subject": "text",
"is_active": true,
"send_to_remote": true
}
{
"pk": 1,
"cancellation_type": "cancel",
"extra_information_needed": false,
"order": 100,
"subject": "text",
"is_active": true,
"send_to_remote": true,
"translations": {},
"uuid": "text",
"created_date": "2025-06-27T09:02:04.702Z",
"modified_date": "2025-06-27T09:02:04.702Z"
}
Deletes a specific cancellation reason for the specified sales channel by setting is_active to False.
The channel ID of the resource.
5
Unique identifier of the resource
1
DELETE /api/v1/channel/{channel_id}/cancellation_reasons/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Updates the details of a specific cancellation reason for the specified sales channel.
The channel ID of the resource.
5
Unique identifier of the resource
1
Schema for updating existing cancellation reason.
Type of cancellation. Optional, defaults to cancel
.
Whether extra info is required.
Sorting order for UI display.
Short label of the cancellation reason.
Whether this reason is active.
Whether this reason syncs to external systems.
PATCH /api/v1/channel/{channel_id}/cancellation_reasons/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 128
{
"cancellation_type": "cancel",
"extra_information_needed": true,
"order": 1,
"subject": "text",
"is_active": true,
"send_to_remote": true
}
{
"pk": 1,
"cancellation_type": "cancel",
"extra_information_needed": false,
"order": 100,
"subject": "text",
"is_active": true,
"send_to_remote": true,
"translations": {},
"uuid": "text",
"created_date": "2025-06-27T09:02:04.702Z",
"modified_date": "2025-06-27T09:02:04.702Z"
}
Fetches a list of all cancellation reasons for the specified sales channel.
The channel ID of the resource.
5
Filter by cancellation type
Filter by active status (True or False)
Filter by multiple primary key values (comma-separated list of integers)
GET /api/v1/channel/{channel_id}/cancellation_reasons/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
[
{
"created_date": "2025-06-27T09:02:04.702Z",
"modified_date": "2025-06-27T09:02:04.702Z"
}
]
Creates a new cancellation reason for the specified sales channel.
The channel ID of the resource.
5
Schema for creating a new cancellation reason.
Type of cancellation. Optional, defaults to cancel
.
Whether extra info is required.
Sorting order for UI display.
Short label of the cancellation reason.
Whether this reason is active.
Whether this reason syncs to external systems.
POST /api/v1/channel/{channel_id}/cancellation_reasons/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 128
{
"cancellation_type": "cancel",
"extra_information_needed": true,
"order": 1,
"subject": "text",
"is_active": true,
"send_to_remote": true
}
{
"pk": 1,
"cancellation_type": "cancel",
"extra_information_needed": false,
"order": 100,
"subject": "text",
"is_active": true,
"send_to_remote": true,
"translations": {},
"uuid": "text",
"created_date": "2025-06-27T09:02:04.702Z",
"modified_date": "2025-06-27T09:02:04.702Z"
}
Was this helpful?