commercetools icon

commercetools

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

Actions671

Store Product Projection → Check if ProductProjection exists in Store by Key

AI-generated

Summary

Check whether a specific product projection exists within a given store by its key.

Inputs

  • Store Product Projection Key (required) — The key identifying the product projection to check.
  • Store Key (required) — The key identifying the store in which to check for the product projection.
  • Product Projection Key (required) — The key of the product projection to verify existence for.

Output shape

a single JSON object indicating existence with keys 'exists' (boolean), 'statusCode' (number), and 'url' (string).

Performs an HTTP HEAD request to the commercetools API to determine if the product projection exists; returns exists: true with statusCode 200 if found, exists: false with statusCode 404 if not found, or throws a NodeApiError on other errors.

Links

Discussion