> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Introduction ## Article: Introduction ## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/introduction.md ## Article Content: # 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. Additionally, some methods in the Cart API can directly manage the current cart of the site visitor or logged-in member. With the eCommerce Cart API you can: + Get [a cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/get-cart.md) or [the current cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/get-current-cart.md). + Add catalog items to [a cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/add-to-cart.md) or to [the current cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/add-to-current-cart.md). + Create a checkout from [a cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/create-checkout-from-cart.md) or from [the current cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/create-checkout-from-current-cart.md). + Estimate the price totals for [a cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/estimate-totals.md) or [the current cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/estimate-current-cart-totals.md). + Update the properties of [a cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/update-cart.md) or [the current cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/update-current-cart.md). + Update the quantity of line items in [a cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/update-line-items-quantity.md) or [the current cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/update-current-cart-line-item-quantity.md). + Remove a coupon from [a cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/remove-coupon.md) or [the current cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/remove-coupon-from-current-cart.md). + Remove line items from [a cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/remove-line-items.md) or [the current cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/remove-line-items-from-current-cart.md). + Delete [a cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/delete-cart.md) or [the current cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/delete-current-cart.md). You can also listen for events when a cart is [created](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/cart-created.md), [updated](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/cart-updated.md), and [deleted](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/cart-deleted.md). > **Note:** Some methods in this API require [visitor or member authentication](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities.md). @sdk_package_setup