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 Key

AI-generated

Summary

Check whether a Tax-category exists in commercetools by its key using a HEAD request.

Inputs

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

Output shape

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

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

Examples

Example 1: Check if a Tax-category with key 'standard-tax' exists

Set the 'Tax-category Key' to 'standard-tax' in the node parameters. The node returns whether this key exists in commercetools.

Links

Discussion