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 Key

AI-generated

Summary

Retrieve a specific customer by their customer key within a specified store in commercetools.

Inputs

  • Store Customer Key (required) — The key identifier of the store customer resource group (appears as resourceKey).
  • Store Key (required) — The key of the store where the customer exists (appears as storeKey).
  • Customer Key (required) — The unique key of the customer to retrieve (appears as tertiaryKey).
  • Filters — Optional filters to apply on the request, such as 'expand' parameter to include additional related resources in the response.

Output shape

A single JSON object representing the customer data retrieved from the specified store by the customer's key.

The response shape corresponds to the commercetools API customer object model. Optional query parameters like 'expand' can modify the response. Errors are thrown for invalid inputs or request failures.

Examples

Example 1: Retrieve customer by key in a store

Provide the Store Customer Key, Store Key, Customer Key, and optionally include the 'expand' parameter to fetch related data inline.

Links

Discussion