commercetools icon

commercetools

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

Actions671

Quote → Check if Quote exists by Key

AI-generated

Summary

Check if a Quote exists in commercetools by its unique key using a HEAD request.

Inputs

  • Quote Key (required) — The unique key identifier of the Quote to check for existence.

Output shape

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

Returns 'exists: true' if the Quote is found (HTTP 200), 'exists: false' if not found (HTTP 404). Throws an error for other HTTP status codes.

Examples

Example 1: Check if a Quote with key 'quote-123' exists

Set 'Quote Key' parameter to 'quote-123' and operation to 'Check if Quote exists by Key'.

Links

Discussion