curl -X GET 'https://api.henrylabs.ai/v0/cart/items' \ -H 'x-api-key: YOUR_API_KEY' \ -H 'x-user-id: user123'
{ "success": true, "status": "success", "message": "Cart items retrieved successfully", "data": { "products": [ { "name": "Nike Air Max 270", "price": "150.00", "quantity": 1, "productLink": "https://nike.com/air-max-270", "productImageLink": "https://nike.com/images/air-max-270.jpg", "metadata": { "size": "10", "color": "Black" } }, { "name": "Adidas Ultraboost 22", "price": "190.00", "quantity": 2, "productLink": "https://adidas.com/ultraboost-22", "metadata": { "size": "9.5", "color": "White" } } ] } }
Retrieve all products currently in the user’s shopping cart
Show Data Object
Show Product Object
Cart items fetched successfully
The response is of type object.
object