commercetools icon

commercetools

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

Actions671

Channel → Check if Channel exists by Key

AI-generated

Summary

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

Inputs

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

Output shape

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

Returns 'exists: true' with statusCode 200 if the Channel exists; 'exists: false' with statusCode 404 if not found. Throws an error for other HTTP errors.

Links

Discussion