commercetools icon

commercetools

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

Actions671

Store → Check if Store exists by Query Predicate

AI-generated

Summary

Check if a commercetools Store exists by making a HEAD request using a query predicate filter.

Inputs

  • where — A query predicate string to filter stores, used as the 'where' query parameter.

Output shape

a single JSON object containing existence status, HTTP status code, and request URL

The operation returns an object with 'exists' (boolean), 'statusCode' (number), and 'url' (string). If the store matching the predicate exists, 'exists' is true with status code 200; if not found, 'exists' is false with status code 404. Other HTTP errors throw exceptions.

Links

Discussion