Add an item to a new or existing cart. If a valid session ID is passed, the item will be added to the cart owned by the session user. If a user can't be found or if the session ID is invalid or if the JWT is not able to retrieve an existing cart, a new cart and user will be created before adding the item.

Language
Click Try It! to start a request and see the response here!