commercetools icon

commercetools

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

Actions671

Quote-request → Create QuoteRequest

AI-generated

Summary

Create a new QuoteRequest in commercetools by specifying the associated cart details, its version, and a comment.

Inputs

  • Cart › Type Id — The Type Id of the cart to associate with the QuoteRequest.
  • Cart › Id — The Id of the cart to associate with the QuoteRequest.
  • Cart Version (required) — The current version number of the cart for concurrency control.
  • Comment (required) — A comment or note for the QuoteRequest.

Output shape

a single record representing the created QuoteRequest resource

Returns the created QuoteRequest JSON object as received from the commercetools API. If errors occur, an error message is provided instead.

Examples

Example 1: Create a QuoteRequest with associated cart and comment

Pass the cart's type ID and ID, its current version, and a comment to create a new QuoteRequest linked to that cart.

Links

Discussion