Cart

The cart is where you manage the checkout process for your customers. It holds products, quantities, and customer information before an order is placed.

Since Crystallize is a headless service, the cart and checkout frontend are implemented in your storefront. You can build this yourself or start from one of our accelerators. The Crystallize Shop API provides all cart operations: creating, updating, hydrating, validating, and placing orders.

How it works

  1. Hydrate - The Shop API creates the cart when the first item is added and enriches the cart with live prices, tax, price lists, and promotions.
  2. Update cart - Add or remove items, change quantities, or apply discount codes as well as customer contact information.
  3. Place cart - The cart is converted into an immutable cart ready for the payment process.
  4. Create order - The cart is pushed as an order in Crystallize.

Cart analytics

You can track your active carts in Insights → Checkout funnel. This view shows how users move through the checkout process, from adding items to placing orders. It helps you monitor drop-off points and optimize your conversion flow.

As a developer you can check out the Shop API for further information.