Add item to cart

POSThttps://api.demo-ecommerce.com/v1/cart/items

Authorization

Send your key in the Authorization header: Authorization: Bearer YOUR_KEY.

Body

application/json
product_idstring (uuid)required
quantityintegerrequired

Responses

200Item added to cart
✓ Matches the API, version 1.0.0Made from E-commerce API's API description