commercetools icon

commercetools

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

Actions671

Business Unit → Check if BusinessUnit exists by Query Predicate

AI-generated

Summary

Check the existence of a Business Unit in commercetools using a custom query predicate filter.

Inputs

  • Filters — Specify the 'Where' string to filter Business Units via a commercetools query predicate expression.

Output shape

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

Returns an object with 'exists' true if the resource matches the query predicate, false if not found (404). Throws error on other HTTP issues.

Links

Discussion