commercetools icon

commercetools

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

Actions671

Associate Quote Request → Create QuoteRequest in BusinessUnit as Associate

AI-generated

Summary

Create a new QuoteRequest as an Associate within a specified BusinessUnit in commercetools. Provide required parameters including Associate ID, unique QuoteRequest key, Cart identifiers, Cart version, and a comment to generate the quote request tied to the associate's business unit context.

Inputs

  • Associate Quote Request Key (required) — Unique key to identify the QuoteRequest being created.
  • Associate ID (required) — The identifier of the associate creating the QuoteRequest within the BusinessUnit.
  • Cart › Type Id — The type ID of the Cart associated with the QuoteRequest.
  • Cart › Id — The ID of the Cart from which the QuoteRequest is created.
  • Cart Version (required) — Version number of the Cart referenced for quote creation, required to handle concurrent updates.
  • Comment (required) — A comment or note related to the QuoteRequest creation.

Output shape

a single JSON object representing the created QuoteRequest resource returned from the commercetools API.

The output contains the full created QuoteRequest data as returned by the commercetools API upon successful creation. Errors are thrown as NodeApiError exceptions.

Examples

Example 1: Create a new QuoteRequest as an Associate in a BusinessUnit

Provide the Associate ID, unique QuoteRequest key, Cart ID and version, and a comment. The node will return the created QuoteRequest object.

Links

Discussion