commercetools icon

commercetools

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

Actions671

Associate Quote → Check if Quote exists in BusinessUnit by Key as Associate

AI-generated

Summary

Check for the existence of a quote identified by its key within a specific business unit as an associate in commercetools.

Inputs

  • Associate Quote Key (required) — The key of the associate quote to check for existence.
  • Associate ID (required) — The identifier of the associate tied to the quote within the business unit.
  • Quote Key (required) — The unique key of the quote to check within the business unit.

Output shape

a JSON object containing at least 'exists' (boolean), 'statusCode' (HTTP status code), and 'url' (API endpoint used).

The operation performs an HTTP HEAD request. If the quote exists, 'exists' is true with statusCode 200; if not found, 'exists' is false with statusCode 404. Other errors will throw n8n NodeApiError.

Examples

Example 1: Check if a specific quote exists for an associate in a business unit

Provide the Associate Quote Key, the Associate ID, and the Quote Key. Execute the node to receive a boolean 'exists' flag indicating presence.

Links

Discussion