curl -X POST "https://api.usegately.com/api/v1/shop/cart" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "X-User-ID: user_123" \ -H "Content-Type: application/json" \ -d '{ "product_id": "prod_456", "quantity": 1 }'
{ "success": true, "item": { "id": "cart_item_789", "product_id": "prod_456", "quantity": 1, "created_at": "2024-01-15T10:30:00Z" } }
Add items to shopping cart
Was this page helpful?