commercetools icon

commercetools

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

Actions671

Zone → Check if Zone exists by ID

AI-generated

Summary

Check the existence of a specific Zone in commercetools by its Zone ID using a HEAD request.

Inputs

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

Output shape

a single JSON object per input containing the keys 'exists' (boolean), 'statusCode' (number), and 'url' (string).

Returns 'exists' as true if the Zone with the given ID exists (HTTP status 200), or false if not found (HTTP status 404). Throws an error for unexpected response statuses.

Links

Discussion