Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Partially update a cancellation request

Updates the status and/or order_item of a cancellation request. Any status value can be set directly. No notification is sent.

Other fields are validated when sent and left unchanged. reason, when sent, must be an object — an identifier is rejected with 400.

patch
/cancellation_requests/{uuid}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
uuidstring · uuidRequired

The UUID of the cancellation request. The numeric id is not accepted here.

Body

Any subset of the fields below. Only status and order_item are saved.

statusstring · enumOptional

The status of a cancellation request. See Request Statuses in the Cancellation Requests section.

Possible values:
order_itemintegerOptional

Identifier of the order item to move the request to.

Responses
200

The updated cancellation request.

application/json

A cancellation request as returned by the list, retrieve, update and detailed operations.

idintegerOptional
uuidstring · uuidOptional

The identifier used in the URL of every operation.

order_itemintegerOptional

Identifier of the order item the request is for.

descriptionstring · nullableOptional

The customer's explanation.

cancellation_typestring · enumOptional

The type of a cancellation request. See Request Types in the Cancellation Requests section.

Possible values:
statusstring · enumOptional

The status of a cancellation request. See Request Statuses in the Cancellation Requests section.

Possible values:
ibanstring · max: 34 · nullableOptional

IBAN for the refund of funds-transfer and pay-on-delivery orders.

holder_namestring · max: 255 · nullableOptional

Holder name of the IBAN.

quantityinteger · nullableOptional

The requested quantity. Stored only for products whose order items can be merged (ATTRIBUTE_KEY_FOR_MERGEABLE_ORDER_ITEM); otherwise null.

fully_refund_as_loyalty_moneyboolean · nullableOptional

Whether the refund is paid entirely as loyalty money.

pickup_datenullOptional

Always null; the pickup date is not stored on the request.

created_datestring · date-timeOptional
modified_datestring · date-timeOptional
patch/cancellation_requests/{uuid}/
PATCH /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: 21

{
  "status": "approved"
}
{
  "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?