commercetools icon

commercetools

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

Actions671

Order → Update OrderEdit by ID

AI-generated

Summary

Update a specific OrderEdit in commercetools by its ID and version with a set of update actions.

Inputs

  • Order ID (required) — The unique identifier of the OrderEdit to update.
  • Version (required) — The current version number of the OrderEdit to ensure concurrency control.
  • Actions (UI) — A collection of one or more update actions to apply to the OrderEdit, specified using the UI-based fixed collection.
  • Actions (JSON) — A raw JSON array of update actions that overrides the UI actions if provided.

Output shape

a single updated OrderEdit JSON object.

Returns the full updated OrderEdit object after applying the specified update actions. Version must be provided for concurrency control. Use either Actions (UI) or Actions (JSON) to define update operations; if Actions (JSON) is non-empty, it takes precedence.

Examples

Example 1: Update the comment on an OrderEdit by ID

Provide the OrderEdit ID and current version, then specify a SetComment action with the new comment text in Actions (UI).

Links

Discussion