commercetools icon

commercetools

Interact with the commercetools API. Operations are auto-generated from the official Postman collection.

Actions671

Store Order → Update Order in Store by OrderNumber

AI-generated

Summary

Update an existing order within a specific store in commercetools by specifying the store key and the order number, applying one or more update actions to modify the order.

Inputs

  • Store Order Key (required) — The unique key identifying the store order to update.
  • Store Key (required) — The key of the store where the order exists.
  • Version (required) — The current version number of the order for concurrency control.
  • Actions (JSON) — A raw JSON array of update actions to apply to the order, which overrides the UI-defined actions if not empty.
  • Actions (UI) — A collection of predefined update actions selectable via UI to modify the order, such as adding delivery or changing order state.

Output shape

a single JSON object representing the updated store order

Returns the updated order object as returned by the commercetools API. Requires providing the current version for update to succeed. If both Actions (JSON) and Actions (UI) are provided, Actions (JSON) takes precedence.

Links

Discussion