commercetools icon

commercetools

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

Actions671

Customer → Get Customer by ID

AI-generated

Summary

Retrieve a customer by their unique Customer ID, optionally expanding related fields.

Inputs

  • Customer ID (required) — The unique identifier of the customer to retrieve.
  • Expand — Optional parameter to expand related references in the customer response.

Output shape

a JSON object representing the customer with the specified ID, including any expanded fields if requested

Returns a single customer object as JSON. If the Customer ID does not exist, an error will be thrown unless workflow is set to continue on fail.

Links

Discussion