Add to cart
add_to_cartAdds specified units of a product to an existing grocery cart and reads the cart back to confirm the updated quantity.
Instructions
Adds units of a product on top of those already present, then reads the cart back to confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | Yes | retailer (see list_stores) | |
| quantity | No | sale units to add | |
| product_id | Yes | retailer product identifier (id field of search_products) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| store | Yes | ||
| confirmed | Yes | true if the cart read back holds the targeted quantity | |
| product_id | Yes | ||
| cart_total_eur | Yes | ||
| expected_quantity | Yes |