Installation
Use Composer to install the module
GET /cart
Endpoint which returns the carts belonging to the current user or session.
GET /cart/{order}
Endpoint which returns a specific cart belonging to the user.
POST /cart/add
Endpoint which adds a purchased entity to the user's cart
PATCH /cart/{order}/items
Endpoint to adjust the quantity on the order items for a cart.
DELETE /cart/{order}/items/{item}
Removes an order item from a cart
DELETE /cart/{order}/items
Clears a cart of its order items.
Cart Token Sessions
Cart token sessions provide a way to work with the Cart API in a cross-origin decoupled environment.