commercetools icon

commercetools

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

Actions671

Store Quote Request → Check if QuoteRequest exists in Store by Key

AI-generated

Summary

Check if a Quote Request exists in a specific Store by its key within a commercetools project.

Inputs

  • Store Key (required) — The key identifying the Store to check within the commercetools project.
  • Quote Request Key (required) — The unique key of the Quote Request to verify existence for in the specified Store.

Output shape

a single JSON object containing existence information and HTTP status code

Returns an object with 'exists' as a boolean indicating presence, 'statusCode' as the HTTP status code, and 'url' queried. If the Quote Request exists, 'exists' is true; if not found, 'exists' is false with statusCode 404. Errors other than 404 will throw an exception.

Examples

Example 1: Check if a Quote Request with key 'qr123' exists in Store 'storeA'

Provide 'storeKey' as 'storeA' and 'tertiaryKey' (Quote Request Key) as 'qr123'. Execute operation to receive an existence confirmation.

Links

Discussion