commercetools icon

commercetools

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

Actions671

Quote → Check if Quote exists by Query Predicate

AI-generated

Summary

Check if a commercetools Quote exists by performing a query with a custom predicate string.

Inputs

  • Filters — An optional filter collection containing the 'Where' string parameter that defines the query predicate used to filter the quotes.

Output shape

a JSON object indicating if the Quote exists, including 'exists' (boolean), 'statusCode' (HTTP status code), and the 'url' queried.

The operation executes an HTTP HEAD request to the commercetools API using the provided query predicate. If the Quote exists, the result has 'exists' true; if not found, 'exists' is false. Errors other than 404 will be thrown as node errors.

Links

Discussion