commercetools icon

commercetools

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

Actions671

Staged-quote → Check if StagedQuote exists by Query Predicate

AI-generated

Summary

Check for the existence of a staged quote in commercetools by querying with a specified predicate.

Inputs

  • Where — A string filter expression to specify the query predicate used to identify the staged quote(s) to check for existence.

Output shape

a single JSON object indicating existence status

The operation performs an HTTP request with the 'where' filter as a query parameter and returns a JSON object representing the API response. It returns details including whether the staged quote exists. Errors will result in exceptions unless 'Continue On Fail' is enabled.

Examples

Example 1: Check if a staged quote exists with a specific key

Set 'Where' to a predicate string like 'key="example-key"' to check for staged quote existence matching that key.

Links

Discussion