CartReplicateInput
InputThis is the input type for replicating a cart.
Fields
- ID!
cartId The unique identifier of the cart to be replicated.
- String!
currency The ISO 4217 currency code for the cart to be replicated.
- ID
priceChannelId The unique identifier of the price channel to be used for the replicated cart. If not provided, it will keep the same price channel as the original cart.
- ID!
storeId The unique identifier of the store to which the cart will be replicated.
- ReplicationStrategy!
strategy The replication strategy to be used when replicating the cart.
Possible enum valuesPARTIAL_REPLICATIONReplicates the cart by approximating the requested quantities as closely as possible. For example, if a line item specifies a quantity of 5 but only 4 are available, 4 will be added to the replicated cart.
SKIP_UNAVAILABLEReplicates the cart while excluding any line items that cannot be fully replicated. For example, if a line item specifies a quantity of 5 but only 4 are available, the item will be removed from the replicated cart.
STRICTGenerates an error if the cart cannot be replicated exactly as specified.