TekipostAPI
Orders & tracking
PATCH/v1/orders/unshipped/{id}

Edit an unshipped order

requires orders.write

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

NameInTypeDescription
idrequiredpathintegerThe order_id.

Responses

StatusMeaning
200{order_id, status, changed:[field…]} — changed is what actually moved.
400
<validator>
The body carries field naming the offending key.
404
order not found
No such order on your account.
409
not_editable
Already booked or otherwise past the editable window.