commercetools icon

commercetools

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

Actions671

Store Customer → Check if Customers exist in Store by Query Predicate

AI-generated

Summary

Check if customers exist in a specific commercetools store based on a query predicate filter.

Inputs

  • Store Customer Key (required) — The unique key identifying the customer resource in the store.
  • Store Key (required) — The unique key of the commercetools store to query.
  • Filters — Optional query predicate string to filter customers when checking their existence.

Output shape

a single JSON object indicating whether matching customers exist, including HTTP status and the queried URL.

Returns an object with properties 'exists' (boolean), 'statusCode' (number), and 'url' (string). Returns exists=true if matching customers are found; otherwise, exists=false. Uses the HTTP HEAD method for existence check. Errors other than 404 result in thrown exceptions.

Links

Discussion