Change a pack
update_packChanges a pack on sale. Only the fields you send change. Packs members have already bought keep their own terms and are not affected. Acts on one venue, given its address and access key.
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": {
"address": "<address>",
"access_key": "<access_key>",
"pack_id": "<pack_id>"
},
"name": "update_pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name shown to members, e.g. "Move 10". | |
| address | Yes | The venue’s address name, the "name" in name.bookare.app. | |
| classes | No | How many classes the pack holds (1-200). Leave out when unlimited is true. | |
| pack_id | Yes | ||
| tagline | No | One short line under the name. | |
| price_eur | No | Price in euro, e.g. 59.9. | |
| unlimited | No | True for unlimited classes until it expires. | |
| access_key | Yes | The venue’s access key. | |
| valid_days | No | Days the pack is valid from the day it is bought (1-730). | |
| description | No | Longer description shown with the pack. | |
| off_peak_only | No | True if it can be used only for classes marked off-peak. | |
| on_sale_until | No | YYYY-MM-DD: a limited-time pack members can buy until the end of that day. Empty string = always on sale. | |
| class_type_ids | No | Class types the pack can be used for. Empty list = all. |