commercetools icon

commercetools

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

Actions671

Store Staged Quote → Check if StagedQuote exists in Store by Query Predicate

AI-generated

Summary

Check if a staged quote exists in a specified store on commercetools by querying with a filter predicate.

Inputs

  • Store Staged Quote Key (required) — The unique key of the staged quote resource to check.
  • Store Key (required) — The unique key of the store where the staged quote is queried.
  • Filters — Optional query parameters including a 'where' string predicate to filter staged quotes in the store.

Output shape

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

Performs an HTTP HEAD request to determine existence: returns exists=true if found (status 200), exists=false if not found (status 404). Other errors raise exceptions. No staged quote data is returned, only existence information.

Examples

Example 1: Check existence of a staged quote in a store by providing a store key and a query predicate.

Provide the store staged quote key, the store key, and a 'where' filter string under Filters. The node returns if the staged quote exists without fetching full details.

Links

Discussion