commercetools icon

commercetools

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

Actions671

Review → Check if Review exists by ID

AI-generated

Summary

Check whether a Review resource exists in commercetools by its unique Review ID using an HTTP HEAD request.

Inputs

  • Review ID (required) — The unique identifier of the Review to check for existence.

Output shape

a single JSON object indicating the existence status with properties 'exists' (boolean), 'statusCode' (HTTP status), and 'url' (the full request URL).

Returns { exists: true } with status code 200 if the Review exists; returns { exists: false } with status code 404 if it does not exist. Other HTTP errors result in workflow errors.

Examples

Example 1: Check if a Review with ID 'abc123' exists

Set 'Review ID' parameter to 'abc123'. On execution, the node will return { exists: true, statusCode: 200, url: '...' } if found, or { exists: false, statusCode: 404, url: '...' } if not.

Links

Discussion