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.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the order item.
Authentication credentials were not provided or are invalid.
An error response.
A human-readable description of the error.
The authenticated user does not have administrator privileges.
The requested method is not available on this resource. Returned by DELETE /order_items/{id}/, which is never permitted.
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?

