Retorna o carrinho de compras de uma loja
cURL
curl --request GET \ --url https://api.example.com/cart/{store_id}
{ "cart_id": "cart_001", "store_id": "store_001", "items": [ { "product_uid": "prd_001", "product_name": "Pizza Margherita", "quantity": 1, "points_cost": 200, "image_url": "https://..." } ], "total_points": 200, "user_balance": 350, "can_checkout": true }
curl -X GET "https://api.indiqai.com/api/v1/cart/store_001" \ -H "Authorization: Bearer <token>"
Was this page helpful?