commercetools icon

commercetools

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

Actions671

Store Order → Check if Order exists in Store by Query Predicate

AI-generated

Summary

Check if an order exists in a specific store by performing a query using a predicate filter.

Inputs

  • Store Order Key (required) — The unique key identifying the store order to check.
  • Store Key (required) — The key of the store in which to check for the order existence.
  • Filters — Optional query filter parameters including a 'where' clause to specify the query predicate for searching orders.

Output shape

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

Returns an object with 'exists' true if the order is found, false if not (404). Throws error for other HTTP errors.

Links

Discussion