Set a quantity
set_quantitySet a product's cart quantity to a desired final amount, use 0 to remove it, then read the cart back for French grocery shopping.
Instructions
Sets a product's quantity in the cart (replaces the current one; 0 removes the product), then reads the cart back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | Yes | retailer (see list_stores) | |
| quantity | Yes | desired final quantity | |
| 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 |