Create a cancellation request
Creates a cancellation or return request for one order item on behalf of the authenticated account. The order item must belong to an order of that account; an order item of another customer is rejected with 406 (cancellation_request_100_2).
order_item,reasonandcancellation_typeare required. New requests always start inopenstatus; astatussent in the body is ignored.uuidis assigned by the server.For
refund,shipping_companyis required when customers choose the carrier (EASY_RETURN_PACKAGE_STRATEGY), andpickup_addressis required whenCANCELLATION_REQUEST_ADDRESS_REQUIREDis on.ibanandholder_nameare required for funds-transfer and pay-on-delivery orders whenCANCELLATION_REQUEST_IBAN_NUMBER_REQUIREDis on.Images are limited by
CANCELLATION_REQUEST_MAX_IMAGE_COUNT_PER_ORDER_ITEM,MAX_IMAGE_DIMENSIONSandFILE_UPLOAD_MAX_MEMORY_SIZE.Items that cannot be sold alone follow
OFFER_MISCELLANEOUS_ATTRIBUTE_KEY;quantityfollowsATTRIBUTE_KEY_FOR_MERGEABLE_ORDER_ITEM.Customer messages follow
NOTIFICATION_GATEWAYandPUSH_NOTIFICATION_ACTIVE(see Customer Notifications).
See Creation Rules in the Cancellation Requests section for the full list of checks. The response uses a different representation from the list and retrieve operations: status is a {value, label} object and reason is an identifier.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
Identifier of an order item of the authenticated account.
Identifier of the cancellation reason.
The type of a cancellation request. See Request Types in the Cancellation Requests section.
Required when the reason requires extra information.
Required for funds-transfer and pay-on-delivery orders when CANCELLATION_REQUEST_IBAN_NUMBER_REQUIRED is on.
Required together with iban.
Identifier of an active easy-return shipping company. Required for refund when EASY_RETURN_PACKAGE_STRATEGY is the selection-based strategy.
Identifier of an active customer address of the authenticated account. Required for refund when CANCELLATION_REQUEST_ADDRESS_REQUIRED is on.
The quantity to cancel. Stored only for products whose order items can be merged (ATTRIBUTE_KEY_FOR_MERGEABLE_ORDER_ITEM), and then may not exceed the ordered quantity; otherwise ignored.
falseThe cancellation request was created.
A cancellation request as returned by the create and bulk create operations. Differs from CancellationRequest: status is a {value, label} object, reason is an identifier, and the easy-return record uses {value, label} objects and a nested provider.
Identifier of the cancellation reason.
The type of a cancellation request. See Request Types in the Cancellation Requests section.
Always null.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The request is well-formed but violates a business rule of cancellation requests. See the CancellationRequestBusinessError schema for the codes.
POST /api/v1/remote/1/cancellation_requests/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 297
{
"order_item": 1024,
"reason": 3,
"cancellation_type": "refund",
"description": "The product arrived damaged.",
"shipping_company": 2,
"cancellation_request_image_set": [
{
"image": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==",
"description": "Damaged box"
}
]
}{
"id": 8,
"uuid": "5e29c91a-ccae-4bac-be53-cdaf5aa8ffa8",
"order_item": 1024,
"reason": 3,
"description": "The product arrived damaged.",
"cancellation_type": "cancel",
"status": {
"value": "open",
"label": "Open"
},
"iban": null,
"holder_name": null,
"quantity": null,
"fully_refund_as_loyalty_money": false,
"easy_return": null,
"pickup_date": null,
"cancellation_request_image_set": [],
"created_date": "2026-09-29T12:27:32.431164Z",
"modified_date": "2026-09-29T12:27:32.431183Z"
}Last updated
Was this helpful?

