Orders & tracking
PATCH
/v1/orders/unshipped/{id}Edit an unshipped order
Change buyer details on an order that has not shipped. The writable set is a closed allow-list; sender_id is stripped. Once booked, an order is no longer editable.
Refused for
merchant_finance · merchant_support · merchant_staff — these are read-only roles, and the refusal happens before the handler runs.Parameters
| Name | In | Type | Description |
|---|---|---|---|
| idrequired | path | integer | The order_id. |
Responses
| Status | Meaning |
|---|---|
| 200 | {order_id, status, changed:[field…]} — changed is what actually moved. |
400<validator> | The body carries field naming the offending key. |
404order not found | No such order on your account. |
409not_editable | Already booked or otherwise past the editable window. |