commercetools icon

commercetools

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

Actions671

Store Customer → Query Customers in Store

AI-generated

Summary

Query customers within a specified store in commercetools using optional filters to refine the search results.

Inputs

  • Store Customer Key (required) — The key identifying the store customer resource, required to specify the context for the query.
  • Store Key (required) — The key of the store from which customers will be queried.
  • Filters — Optional filters including Expand, Sort, Limit, Offset, With Total, and Where to refine and paginate the query results.

Output shape

a list of customer records matching the query within the specified store, including pagination details if requested

The output includes customer data as returned by the commercetools API. Filters such as Limit and Offset control pagination. The operation may throw an error if the request fails unless the node is configured to continue on failure.

Examples

Example 1: Query the first 10 customers in a store with a given store key and store customer key, sorting by creation date.

Provide the Store Customer Key and Store Key as required fields. Optionally set Limit to '10' and Sort to 'createdAt desc' in Filters.

Links

Discussion