Set paid booking
set_shop_bookingsSets how paid booking takes payment, like the Bookings part of the Online shop in Xodia (the Paid booking feature turns it on). Give only what changes; the rest stays: on (true or false), take (full: the whole price; deposit: the service's own deposit amount, else depositPercent of the price), depositPercent (1 to 100), holdMinutes (how long an unpaid booking keeps its time, 30 to 1440; then it is freed), payLater (visitors may also book now and pay at the visit, no card), table and servicesTable (the Xodia database tables the booking calendar saves to and reads prices from; default bookings and services). Prices come from the services table (its price, an optional deposit, per_person yes or no), never from the page. Set only what the owner asked for. Workspace owners and admins only (forbidden otherwise: tell the user who can). Answers the settings as they are now.
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": {
"projectId": "<projectId>"
},
"name": "set_shop_bookings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | Paid booking on or off | |
| take | No | full: the whole price; deposit: a part now | |
| table | No | The bookings table (default bookings) | |
| payLater | No | Also let visitors book now and pay at the visit | |
| projectId | Yes | Project id from list_projects | |
| holdMinutes | No | Minutes an unpaid booking keeps its time | |
| servicesTable | No | The services table with the prices (default services) | |
| depositPercent | No | With take deposit, when the service has no deposit amount of its own |