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 Key

AI-generated

Summary

Check whether a staged quote exists in commercetools by specifying its unique key.

Inputs

  • Staged-quote Key (required) — The unique key of the staged quote to check for existence.

Output shape

a single JSON object indicating existence with properties 'exists' (boolean), 'statusCode' (HTTP status code), and 'url' (the request URL used).

Returns an object with 'exists' true if the staged quote is found (HTTP 200), or false if not found (HTTP 404). Other HTTP errors will throw an error. No data about the staged quote is returned, only existence check results.

Examples

Example 1: Check if a staged quote with key 'quote123' exists

Set resource to 'Staged-quote', operation to 'Check if StagedQuote exists by Key', and provide 'quote123' as the 'Staged-quote Key' parameter.

Links

Discussion