commercetools icon

commercetools

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

Actions671

Order → Get Order by ID

AI-generated

Summary

Retrieve a specific order from commercetools by its Order ID, optionally applying query filters such as expansion of referenced resources.

Inputs

  • Order ID (required) — The unique identifier of the order to retrieve.
  • Filters — Optional query parameters to modify the response, including an 'expand' parameter to expand referenced objects in the returned order data.

Output shape

a single JSON object representing the requested order

Returns the full order data matching the given Order ID; if the order does not exist, the node will error unless 'continueOnFail' is enabled. The 'expand' filter parameter allows inclusion of expanded references.

Examples

Example 1: Retrieve order by ID with expanded references

Set 'Order ID' to the target order's ID and add an 'expand' filter string to include referenced resources in the response.

Links

Discussion