Docs
Dashboard

ReplicationStrategy

Enum

Determines how unavailable quantities are handled when copying a cart.

#

Possible enum values


PARTIAL_REPLICATION

Replicates 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_UNAVAILABLE

Replicates 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.

STRICT

Generates an error if the cart cannot be replicated exactly as specified.