household_biz.finish_accommodation_booking
Overview
- Finishes the accommodation booking containing the specified guest.
Metadata
| Field | Value |
|---|---|
| Display | Finish Accommodation Booking |
| Category | household_biz |
| Access | UserCheat |
| Scope | B2Authority |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| guest_entity_id | entityId | yes | — | Any guest entity id in the booking |
| reason | string | no | — | Finish reason (UserRequest/CheckOutTimeReached/Interrupted, default: CheckOutTimeReached) |
Usage
await inzoi.cli.execute('household_biz.finish_accommodation_booking', {
guest_entity_id: 0,
reason: '', // optional
});