Shopping cart

How to add a shopping cart to your website

When building ecommerce, the shopping cart management is one of the key steps, as it bridges the gap between browsing and buying, driving the customer to the checkout process.

This guide will walk you through all the actions that you typically want to implement on your shopping cart, like adding a new line item, updating quantities, or displaying a cart summary to the customer.

We will assume all the example requests to be authenticated through a valid access token for a sales channel. See the Authentication and Applications sections of our documentation if you need more information on how to get an access token for your client or about the different types of credentials you can get.

Last updated