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

Delete an order item (not allowed)

Order items are never deleted. This operation always fails with 406 Not Acceptable and the error code method_100, whatever the item's state.

To take an item out of an order, move its status to 100 (cancelled) or 600 (refunded) with PATCH /order_items/{id}/ instead.

The handler rejects the request before the item is looked up, so a DELETE for an identifier that does not exist also answers 406 — never 404.

delete
/order_items/{id}/
Authorizations
AuthorizationstringRequired

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

Path parameters
idintegerRequired

The unique identifier of the order item.

Responses
401

Authentication credentials were not provided or are invalid.

application/json

An error response.

detailstringOptional

A human-readable description of the error.

Other propertiesanyOptional
delete/order_items/{id}/
DELETE /api/v1/remote/1/order_items/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "detail": "text",
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Last updated

Was this helpful?