Skip to main content

PATCH /v1/orders/{id}/status

Scope

write_shipping

Request parameters

NameInTypeRequiredDescription
idpathstringrequiredorder_id
Idempotency-KeyheaderstringrequiredIdempotency key (required). A UUID v4 is recommended. Resending the same key replays the original result, and the response carries Idempotent-Replay: true. Sending a different body with the same key returns 422, so always retry with the identical request.
statusbodyenum(partial_shippedshippedre_shipped

Response example

{
"order_id": "1",
"status": "string",
"previous_status": "string"
}

Description

Move an order to another shipping status. The transition is validated atomically under a row lock and applied synchronously. (write_shipping)

Error response example

{
"error": {
"code": "insufficient_scope",
"message": "requires scope 'write_shipping'",
"request_id": "req_01H..."
}
}

Possible errors: 401 / 403 / 404 / 409 / 503