Set Product Quantity in REWE Basket
rewe_set_basket_itemAdd a product listing to a REWE Pickup or Delivery basket, or update its absolute quantity; set quantity to 0 to remove the item.
Instructions
Add a product listing to your REWE Pickup/Delivery basket or update its absolute quantity (set quantity: 0 to remove the item).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"listingId": "<listingId>",
"quantity": "<quantity>"
},
"name": "rewe_set_basket_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Optional basket version for optimistic concurrency (auto-resolved if omitted). | |
| zipCode | No | German postal code (PLZ, e.g. '50667'). Defaults to the configured zip code. | |
| basketId | No | Optional basketId from rewe_get_basket (auto-resolved if omitted). | |
| marketId | No | REWE market identifier (wwIdent, e.g. '840174'). Defaults to the configured market. | |
| quantity | Yes | Absolute quantity to set in the basket (0 removes the item). | |
| listingId | Yes | Product listingId from rewe_search_products or rewe_get_favorites. | |
| serviceType | No | REWE service type ('PICKUP' for Abholservice or 'DELIVERY' for Lieferservice). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| items | Yes | ||
| version | No | ||
| zipCode | Yes | ||
| marketId | Yes | ||
| itemCount | Yes | ||
| totalPrice | No | ||
| serviceType | Yes | ||
| totalQuantity | Yes |