commercetools icon

commercetools

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

Actions671

Quote → Check if Quote exists by ID

AI-generated

Summary

Check if a Quote exists by its ID by sending a HEAD request to the commercetools API.

Inputs

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

Output shape

a JSON object containing existence boolean (exists), HTTP status code (statusCode), and the request URL (url).

Returns { exists: true, statusCode: 200, url } if the Quote exists; { exists: false, statusCode: 404, url } if not found. Throws an error for other HTTP status codes.

Links

Discussion