Start a subscription
start_subscriptionRegular pickups on an option from get_pickup_options. Get the customer's go-ahead on the day and price first. Needs the customer's Happy Hamper login.
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": {
"addressId": "<addressId>",
"serviceZoneScheduleId": "<serviceZoneScheduleId>",
"bags": "<bags>"
},
"name": "start_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bags | Yes | Bags each pickup is booked with: 1 or 2 (the 1-bag or 2-bag price) | |
| bagCount | No | Bags every pickup has, extra ones included (extras cost more) | |
| addressId | Yes | Pickup address | |
| discountCode | No | ||
| dropoffAddressId | No | Where it comes back; the pickup address if left out | |
| serviceZoneScheduleId | Yes |