Cart API

Complete control over your cart integration.

Tokenized cart sessions let you personalize, engage, and re-engage customers any way you want.


Brands using our APIs

Granular shopping cart control

Persistent carts

Build shopping carts that remember the customer's purchasing intent. Cart tokens last for 30 days, allowing for cross platform re-engagement, shareable carts, and guest checkouts.

Use our Cart API to:

  • Re-engage abandoned carts
  • Create sharable carts
  • Personalize cart experiences

Streamlined transition to checkout

Once you've created your cart, converting to a checkout is easy. Carts handle calculations for you and generate unique checkout tokens, making for a fast cart to checkout integration.

Customize the cart to checkout flow:

  • Generate unique checkouts depending on cart contents
  • 100% frontend design control of your cart
  • Add upsells and related products into the cart

Define your cart experience

Control the look and feel of your cart and then seamlessly generate checkouts based on the cart_id. Tokenized Cart IDs are specific to the customer's session.

Cart API diagram

Customizable cart experiences

Delight and convert customers with a custom shopping cart. Make iterative changes to your designs, data collection, and re-engagement strategies over time.

Backend logic done for you

We calculate line item value, available stock, tax per line item, discounts, and shipping when your cart is converted to a checkout.

"Commerce.js allows us to build powerful integrations and experiences that are core to our success and growth." — Nicolas Bartoli, Co-founder of Leon & George.

Leon and George cart

Cart APIs for the whole team

Developers

Control the cart experience for shoppers and execute unique business requirements at the cart level.

  • Cart logic done for you
  • Customize look and feel
  • Transition to checkout

Marketing

Integrate with your favourite marketing tools to re-engage customers who've abandoned the cart.

  • Cart personalization
  • Cart upsells
  • Custom cart abandonment

Designers

Craft unique shopping cart designs and interactions that can be iterated over time. A/B test what works best.

  • 100% creative control
  • Dynamic carts
  • Single page carts

Dashboard management

More than a Cart API, our dashboard makes it easy for anyone in the team to manage products, orders, and customers.

Dashboard

Unified suite of Commerce APIs

Get started today

Start your integration — no contracts or banking details required. Contact us to create a custom package for your business.

Products API

Store and request product data from any source to display on your frontend. Supports complex variants, physical products, and digital products.

Checkout API

Capture data sent from the cart along with line item data, line item IDs, any shipping or billing information as well as tax and shipping rates.