commercetools icon

commercetools

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

Actions671

Channel → Check if Channel exists by ID

AI-generated

Summary

Check if a commercetools Channel exists by its ID using a HEAD request.

Inputs

  • Channel ID (required) — The unique identifier of the Channel to verify its existence.

Output shape

a single JSON object indicating existence status

Returns an object with 'exists' boolean, HTTP 'statusCode', and the requested 'url'. If the Channel exists, 'exists' is true with status code 200; if not found, 'exists' is false with status code 404. Other errors throw a node API error.

Examples

Example 1: Check for existing Channel

Set resource to 'Channel' and operation to 'Check if Channel exists by ID', then provide the Channel ID to check existence.

Links

Discussion