About the eCommerce Cart API
The cart is the first phase of a purchase, followed by checkout, then order.
A cart holds information about purchased items, prices, discounts, site details, buyer IDs (contact and member/visitor) and more.
With the eCommerce Cart API you can:
- Get a cart.
- Add catalog items to a cart.
- Create a checkout from a cart.
- Estimate a cart's price totals.
- Update a cart's properties and line items quantity.
- Remove a coupon.
- Remove line items and delete a cart.
You can also listen for events when a cart is created, updated, and deleted.
To assist in migration from the Stores to eCommerce APIs, please refer to the Stores to eCommerce Cart Conversion Table.
Was this helpful?
Yes
No