In order to add a product to the cart or proceed to the checkout, a user must authenticated (logged in), or the client must request an anonymous token, which is an equivalent of a session id. Being logged in, as well as having an anonymous token lets the user perform any operation related to his shopping cart/account and checkout.

Let's find out more.