commercetools icon

commercetools

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

Actions671

Store Quote → Check if Quote exists in Store by ID

AI-generated

Summary

Check whether a specific quote exists in a given store by its Quote ID.

Inputs

  • Store Quote Key (required) — The key identifying the specific store quote resource.
  • Quote ID (required) — The unique identifier of the quote to check for existence.
  • Store Key (required) — The key of the store in which to check for the quote.

Output shape

a JSON object containing existence status and HTTP status code, e.g., { exists: boolean, statusCode: number, url: string }

Returns an object indicating whether the quote exists (true/false), with the corresponding HTTP status code (200 if exists, 404 if not found) and the request URL. No quote data is returned, only existence check via an HTTP HEAD request.

Examples

Example 1: Check if a quote with ID 'abc123' exists in store with Store Key 'store001' and Store Quote Key 'quoteKey1'

Provide the Store Quote Key, Quote ID, and Store Key parameters accordingly in the node.

Links

Discussion