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 ID

AI-generated

Summary

Check the existence of an order by its ID within a specific store using the order ID and store key.

Inputs

  • Store Order Key (required) — The unique identifier of the store order to check.
  • Order ID (required) — The ID of the order whose existence should be verified in the store.
  • Store Key (required) — The key identifying the store containing the order.

Output shape

a JSON object indicating whether the order exists, including properties such as 'exists' (boolean), 'statusCode' (HTTP status), and the request URL used.

Uses an HTTP HEAD request to determine existence. Returns { exists: true } if found, or { exists: false } if not found (status code 404). Other errors result in node operation errors. No order details are returned, only existence check results.

Examples

Example 1: Verify if a commerce tool order exists in a store by ID

Provide the Store Order Key, Order ID to check, and the Store Key to target the correct store in the workflow node parameters.

Links

Discussion