> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/commerce-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/commerce-api/shopper-apis/cart.md).

# Cart

The [Carts](https://www.digitalriver.com/docs/commerce-shopper-api/#tag/Apply-Shopper) resource is an essential tool designed to facilitate customers' and developers' management of shopping cart operations. It allows for retrieving, updating, and modifying cart data, ensuring a seamless shopping experience. By integrating with our Carts API, you can handle cart contents efficiently, whether for viewing a customer's current cart items, updating quantities, or adding and removing products.

{% hint style="danger" %}
Note that interaction with this API requires either an anonymous token for limited access or an authenticated token for full access, ensuring secure and controlled modifications to cart data.
{% endhint %}

<figure><img src="/files/kD6uLIsaQiUVaggNKZCJ" alt=""><figcaption></figcaption></figure>
