commercetools icon

commercetools

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

Actions671

Order → Check if Order exists by Query Predicate

AI-generated

Summary

Check whether an Order exists in commercetools by executing a query with a predicate filter.

Inputs

  • Filters — Optional filter parameters to restrict which Order to check for, specifically a 'Where' string predicate to query orders.

Output shape

a JSON object indicating existence with fields 'exists' (boolean), 'statusCode' (HTTP status), and 'url' (the API endpoint called).

The operation sends a HEAD request to the commercetools API with the given query filters. If an order matches the query predicate, it returns exists=true; otherwise, exists=false. Errors other than 404 are thrown as n8n errors.

Links

Discussion