commercetools icon

commercetools

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

Actions671

Associate Order → Create Order in BusinessUnit from Quote as Associate

AI-generated

Summary

Create an order in a specified business unit as an associate using an existing quote in commercetools.

Inputs

  • Associate Order Key (required) — The unique key identifier for the associate order to create.
  • Associate ID (required) — The identifier of the associate performing the order creation.
  • Quote › Id — The ID of the quote from which to create the order.
  • Quote › Type Id — The type ID of the quote used to create the order.

Output shape

a single record representing the created order in JSON format

The operation returns the newly created order details as a JSON object. Errors during execution will throw exceptions unless 'Continue On Fail' is enabled, in which case error details are returned instead.

Examples

Example 1: Create an order from a quote as an associate in a business unit

Provide the associate order key, associate ID, and quote identification, then execute the operation to create the order and receive the order details in response.

Links

Discussion