commercetools icon

commercetools

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

Actions671

Associate Quote Request → Check if QuoteRequest exists in BusinessUnit by ID as Associate

AI-generated

Summary

Check whether a QuoteRequest with the specified ID exists within a BusinessUnit as a given Associate.

Inputs

  • Quote Request ID (required) — The unique identifier of the QuoteRequest to check for existence.
  • Associate ID (required) — The unique identifier of the Associate in whose BusinessUnit the QuoteRequest existence is checked.

Output shape

a JSON object indicating existence with properties { exists: boolean, statusCode: number, url: string }

Returns an 'exists' boolean flag and the HTTP status code from the HEAD request confirming presence (200) or absence (404). Throws an error for other HTTP errors.

Examples

Example 1: Check if a QuoteRequest with ID '12345' exists in the BusinessUnit of Associate 'assoc-6789'.

Set 'Quote Request ID' to '12345' and 'Associate ID' to 'assoc-6789'. The node will perform a HEAD request to the commercetools API and return existence information.

Links

Discussion