Update a cancellation request
Updates the status and order_item of a cancellation request.
The whole body is validated, so order_item, cancellation_type, status, reason (as an object) and easy_return (as an object) are required. Only status and order_item are saved; the other fields — including the nested reason and easy_return objects — stay unchanged. Use PATCH to change the status without sending the full body.
Any status value can be set directly. No notification is sent.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The UUID of the cancellation request. The numeric id is not accepted here.
Body of a full update. Every required field is validated, but only status and order_item are saved.
Identifier of the order item to move the request to. Saved.
The status of a cancellation request. See Request Statuses in the Cancellation Requests section.
The type of a cancellation request. See Request Types in the Cancellation Requests section.
The updated cancellation request.
A cancellation request as returned by the list, retrieve, update and detailed operations.
The identifier used in the URL of every operation.
Identifier of the order item the request is for.
The customer's explanation.
The type of a cancellation request. See Request Types in the Cancellation Requests section.
The status of a cancellation request. See Request Statuses in the Cancellation Requests section.
IBAN for the refund of funds-transfer and pay-on-delivery orders.
Holder name of the IBAN.
The requested quantity. Stored only for products whose order items can be merged (ATTRIBUTE_KEY_FOR_MERGEABLE_ORDER_ITEM); otherwise null.
Whether the refund is paid entirely as loyalty money.
Always null; the pickup date is not stored on the request.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
No cancellation request exists with the given UUID, or it belongs to an order in 200 (waiting) status.
PUT /api/v1/remote/1/cancellation_requests/{uuid}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 250
{
"order_item": 1024,
"status": "completed",
"cancellation_type": "refund",
"reason": {
"subject": "Damaged",
"cancellation_type": "refund"
},
"easy_return": {
"shipping_company": "yurtici",
"status": "active",
"code": "RC-000123",
"raw_request": "{}",
"raw_response": "{}"
}
}{
"id": 1,
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"order_item": 1,
"reason": {
"id": 1,
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"subject": "text",
"extra_information_needed": true,
"order": 1,
"cancellation_type": "cancel",
"is_active": true,
"translations": null,
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
},
"description": null,
"cancellation_type": "cancel",
"status": "open",
"iban": null,
"holder_name": null,
"quantity": null,
"fully_refund_as_loyalty_money": null,
"easy_return": {
"id": 1,
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"shipping_company": "text",
"easy_return_shipping_provider": null,
"code": "text",
"status": "active",
"start_date": null,
"end_date": null,
"max_count": null,
"tracking_number": null,
"tracking_url": null,
"pickup_date": {},
"raw_request": "text",
"raw_response": "text",
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
},
"pickup_date": null,
"cancellation_request_image_set": [
{
"id": 1,
"cancellation_request": 1,
"image": "https://example.com",
"description": null,
"attributes": null,
"is_uploaded_by_user": true,
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
}
],
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
}Last updated
Was this helpful?

