Change a bookable offering
update_booking_unitChanges an offering. Send only what changes: fields left out keep their values, and inside config each setting left out keeps its value too — so changing the image or title never touches the schedule. Changing the mode (slots to nights) needs the whole config for the new mode. Bookings already taken are not moved. If the offering is on the page, the page is republished so it shows the change. Show what changes, including price, currency and timezone. Before calling, show the person exactly what will be saved and get their explicit yes in the conversation. Never assume a currency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "slots" for appointments of a fixed length on a weekly schedule; "nights" for stays. They take different config fields and mixing them is refused. | |
| name | No | What the offering is called. | |
| config | No | Only the settings that change; the rest keep their values. Changing the mode needs the whole setup for the new one. | |
| status | No | Defaults to active. | |
| business | Yes | The page handle, as it appears in keepp.link/<handle>. | |
| bookingUnitId | Yes | From list_catalog. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updated | Yes | False when the person declined, and nothing was updated. | |
| bookingUnitId | No | ||
| pageRefreshed | No | Whether the published page was republished to show the change. False when it is not on the page. |