commercetools icon

commercetools

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

Actions671

Store Customer → Get Customer in Store by ID

AI-generated

Summary

Retrieve a specific customer by ID from a specified store within the commercetools platform.

Inputs

  • Store Key (required) — The unique key identifying the store from which to retrieve the customer.
  • Customer ID (required) — The unique identifier of the customer to retrieve within the specified store.
  • Filters — Optional query parameters, such as 'expand', to tailor the returned customer data (e.g., expanding references).

Output shape

a single customer record as JSON

Returns the full JSON representation of the customer identified by ID in the specified store. Optional 'expand' filters can include related resources. Errors will surface if the customer or store is not found.

Examples

Example 1: Retrieve customer with ID '12345' from store 'storeKeyABC'

Set 'Store Key' to 'storeKeyABC', 'Customer ID' to '12345', optionally add 'expand' filter to include related resources.

Links

Discussion