Bring over bookings and class history
import_bookingsMoving from another system: adds up to 100 bookings at once, past (with attendance) or upcoming. Each row names the class by class_id, or by date, time and class_type_id; a past class that is not on the calendar is created. An upcoming class must already be on the calendar. Nothing is emailed and no pack is charged again (classes_used on the imported pack already counts them); the booking is linked to the member’s pack so a later cancellation gives the class back. 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>",
"bookings": "<bookings>"
},
"name": "import_bookings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The venue’s address name, the "name" in name.bookare.app. | |
| bookings | Yes | Up to 100 rows. | |
| access_key | Yes | The venue’s access key. |