commercetools icon

commercetools

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

Actions671

Tax-category → Check if TaxCategory exists by ID

AI-generated

Summary

Check the existence of a Tax-category in commercetools by its unique ID using an HTTP HEAD request.

Inputs

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

Output shape

A single JSON object containing properties 'exists' (boolean), 'statusCode' (number), and 'url' (string).

Returns 'exists: true' with statusCode 200 if the Tax-category exists; 'exists: false' with statusCode 404 if it does not. Throws errors for other HTTP issues.

Examples

Example 1: Checking if a Tax-category exists

Provide the Tax-category ID in the 'Tax-category ID' field of the node's parameters. The node will perform a HEAD request to the commercetools API and output a JSON object indicating existence.

Links

Discussion