A cart allows users to pick products from a shop and store them to be bought now or at a later time. The cart can contain products, variations and custom items. All data added to a cart is stored and available as these data or an order is retrieved. The cart also holds the feature for setting the billing address as well as the shipping address.

When creating a cart, the response header contains a cart token X-ePages-Cart-Token. Without that token you cannot operate on carts. Any further request needs to contain the cart token in the request header X-ePages-Cart-Token.

carts-overview.png