Carts
Create a cart, manage line items and promotions, and display totals.
Create Cart in the StorefrontCreate a cart and store its ID.Retrieve Cart in the StorefrontRetrieve the customer's current cart.Create Cart Context in the StorefrontShare cart state across React components.Update Cart in the StorefrontUpdate cart region, email, and addresses.Manage CartAdd, update, and remove line items.Manage Cart Promotions in the StorefrontApply and remove promotion codes.Show Cart TotalsDisplay item, shipping, tax, and cart totals.