commercetools icon

commercetools

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

Actions671

Store → Check if Store exists by Key

AI-generated

Summary

Check if a store exists by its unique key using a HEAD request to the commercetools API.

Inputs

  • Store Key (required) — The unique key identifying the store to check for existence.

Output shape

a single JSON object

Returns an object containing 'exists' (boolean) indicating if the store exists, 'statusCode' with the HTTP status, and the requested URL. If the store is not found (404), 'exists' is false. Other errors raise an exception.

Links

Discussion