commercetools icon

commercetools

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

Actions671

Associate Order → Get Order in BusinessUnit by OrderNumber as Associate

AI-generated

Summary

Retrieve a specific order by its order number within a business unit using an associate's credentials.

Inputs

  • Associate Order Key (required) — The unique key identifying the associate order resource to query.
  • Associate ID (required) — The identifier of the associate within the business unit performing the query.
  • Filters — Optional filters including an 'expand' parameter to customize the returned order details.

Output shape

a single object containing the requested order's details as JSON

The returned data includes the order information matching the given order number for the specified associate within the business unit. Optional 'expand' query can modify the response. Errors are returned as standard NodeApiError objects.

Examples

Example 1: Get an order by order number as an associate in the business unit

Set Associate Order Key to the relevant order number, provide the Associate ID of the user, optionally add expand filters to extend returned data.

Links

Discussion