commercetools icon

commercetools

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

Actions671

Associate Cart → Replicate Cart in BusinessUnit as Associate

AI-generated

Summary

Replicate an existing cart within a commercetools business unit context as a specified associate by providing the cart key and associate ID, optionally specifying a reference with type ID and ID.

Inputs

  • Associate Cart Key (required) — The key of the cart to be replicated.
  • Associate ID (required) — The identifier of the associate executing the replication within the business unit.
  • Reference › Type Id — Optional type identifier for the reference object in the replication request body.
  • Reference › Id — Optional identifier for the reference object in the replication request body.

Output shape

a single JSON object representing the replicated cart resource response returned from the commercetools API

The operation returns the JSON response from the commercetools API replicating the cart. Errors are thrown or returned as JSON objects if continueOnFail is enabled.

Links

Discussion