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 ID

AI-generated

Summary

Check if a Product Projection exists in a specific commercetools store by its Product Projection ID.

Inputs

  • Store Key (required) — The key identifier of the commercetools store to query.
  • Product Projection ID (required) — The unique ID of the Product Projection to check for existence.

Output shape

A single JSON object with existence boolean and HTTP status code.

Returns an object containing 'exists' (true if found, false if not), 'statusCode' indicating the HTTP response status, and the 'url' used for the check. It performs an HTTP HEAD request internally to determine existence.

Examples

Example 1: Check if a specific product projection exists in a store by ID

Set the Store Key to the target store's key and Product Projection ID to the ID to check.

Links

Discussion