Saltar al contenido principal

Update an order

PATCH 

/v1/orders/:id

Edits basic fields of an order and returns the updated order. Only orders created through the API can be edited here (source: API); an order placed on the storefront, the POS or a food app must be edited where it was placed.

Send at least one field; comment is appended to the order's existing comment upstream rather than replacing it. currency is always taken from your credential. Status, items, payments and discounts each have their own endpoint and cannot be changed here.

assigned_payment sets or clears a payment intent (e.g. Cash) without registering a charge, the same "promise to pay" the merchant panel shows under the order amount. It never changes payment_status or total_paid, and finalizing the order through PATCH /v1/orders/{id}/status does not charge it either: register the payment with POST /v1/orders/{id}/payments once it is collected.

Required scope: orders:write

Request​

Responses​

The updated order.