Skip to main content
The Merge Cart Behaviors page provides an overview of the configuration settings and the associated functionalities. To ensure your merged cart functions as intended, you must specify which configurations to activate when making a Merge carts request.

Merge Results

Validations merge

When carts are merged, promotions are cleared due to updated items, quantities, taxes, or fulfillments in the cart. Additionally, a state is added to refresh the promotions.

Taxes

Taxes follow the same rules as the parent item. For example, if the item merge rule is set to secondary, the respective taxes are included accordingly. When the item merge rule is set to MERGE, taxes are cleared, and a state is added to the cart indicating that the item is missing taxes. This adjustment is necessary because changes in quantities may require tax updates.

Item quantity behavior

Item merge behaviors are:
  • Default (SUM): Quantities of items with the same SKU are summed.
  • MAX: The highest quantity of items with the same SKU is selected.

States

You must fully re-evaluate the state object for the merged cart from the response body to ensure the merged cart is configured with the intended settings.