All Release Notes

Added Cart replication to My Carts

14 April 2022
Composable Commerce
HTTP API
Enhancement
CartsOrdersGraphQL

Creating a new Cart by replicating an existing Cart or Order can be useful in case a Customer wants to cancel a recent order to make some changes, or if a previous order should be ordered again. This has been supported for Carts already, and now we added a replicatiion endpoint for My Carts also.

Changes:

Introduced the following changes to the GraphQL schema (in SDL format):

extend type Mutation {
replicateMyCart(reference: ReferenceInput!): Cart
}