commercetools icon

commercetools

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

Actions671

Order → Create OrderEdit

AI-generated

Summary

Create an OrderEdit resource in commercetools by specifying a unique key, the target resource details (type ID and ID), a list of staged update actions, and a required comment describing the edit.

Inputs

  • Key (required) — A unique string key to identify the OrderEdit.
  • Resource › Type Id — The type ID of the resource the OrderEdit applies to (e.g., 'order').
  • Resource › Id — The ID of the resource the OrderEdit applies to.
  • Staged Actions (required) — A JSON array of staged update actions to apply to the order in the edit.
  • Comment (required) — A comment describing the reason or details of the OrderEdit.

Output shape

a single JSON object representing the created OrderEdit resource

The output contains the full details of the OrderEdit created in commercetools, including all provided properties and any system-generated fields.

Links

Discussion