commercetools icon

commercetools

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

Actions671

Order → Get OrderEdit by ID

AI-generated

Summary

Retrieve a specific OrderEdit object by its Order ID from the commercetools platform, optionally expanding referenced resources.

Inputs

  • Order ID (required) — The unique ID of the order whose OrderEdit you want to retrieve.
  • Filters — Optional filters for the retrieval, including the ability to specify an expand parameter to include expanded referenced resources in the response.

Output shape

a single JSON object representing the OrderEdit corresponding to the given Order ID, optionally including expanded related objects as specified.

The returned data shape depends on the expand filter if provided. If the OrderEdit is not found, the node will throw an error unless Continue On Fail is enabled, in which case an error message is included in the output.

Examples

Example 1: Get OrderEdit by ID with no expansions

Set 'Order ID' to a valid order's ID and leave 'Filters' empty or unset.

Example 2: Get OrderEdit by ID with expansions

Set 'Order ID' and in 'Filters', set 'Expand' to desired expansion paths to include related resources inline in the response.

Links

Discussion