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
Cancellation reason retrieved successfully.
Forbidden
The given resource or object was not found or does not exist.
Server Error
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-08-30T14:50:31.695Z",
"modified_date": "2025-08-30T14:50:31.695Z"
}
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.
Cancellation reason partially updated successfully.
Required field(s) are missing, data is invalid, or the action is not allowed.
Forbidden
The given resource or object was not found or does not exist.
Server Error
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-08-30T14:50:31.695Z",
"modified_date": "2025-08-30T14:50:31.695Z"
}
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
Cancellation reason deleted successfully.
No content
Forbidden
The given resource or object was not found or does not exist.
Server Error
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.
Cancellation reason updated successfully.
Required field(s) are missing, data is invalid, or the action is not allowed.
Forbidden
The given resource or object was not found or does not exist.
Server Error
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-08-30T14:50:31.695Z",
"modified_date": "2025-08-30T14:50:31.695Z"
}
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)
List of cancellation reasons retrieved successfully.
Forbidden
Server Error
GET /api/v1/channel/{channel_id}/cancellation_reasons/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
[
{
"created_date": "2025-08-30T14:50:31.695Z",
"modified_date": "2025-08-30T14:50:31.695Z"
}
]
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.
Cancellation reason created successfully.
Required field(s) are missing, data is invalid, or the action is not allowed.
Forbidden
Server Error
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-08-30T14:50:31.695Z",
"modified_date": "2025-08-30T14:50:31.695Z"
}
Was this helpful?