breakfast.confirm
Confirms a breakfast booking (id) with the actual number of guests (pax) and an optional note, and sets the confirmation timestamp. Owner only. Changes data. Mutation — changes data.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
pax | integer | yes | |
note | string | no |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | literal | yes | One of: true |
breakfast.getSettings
Returns the property's breakfast settings (enabled, price in cents, currency); without an entry, breakfast is off. Any signed-in role. Read-only.
Input parameters
Returns object.
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
enabled | boolean | no | |
priceCents | integer | no | |
currency | string | no |
breakfast.listForDate
Lists the breakfast bookings for one day (date as YYYY-MM-DD) with number of guests, note and confirmation status. Any signed-in role. Read-only.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
date | string | yes |
Output fields
Returns array of object. Fields of each element:
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
tenantId | string | yes | |
stayId | string | yes | |
date | string | yes | |
pax | integer · nullable | yes | |
note | string · nullable | yes | |
reminderSentAt | string | yes | |
confirmedAt | string · nullable | yes |
breakfast.setSettings
Sets the property's breakfast settings: enabled, optional priceCents (price in cents) and currency (default EUR). Owner only. Changes data. Mutation — changes data.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
enabled | boolean | yes | |
priceCents | integer | no | |
currency | string | no | Default: "EUR" |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | literal | yes | One of: true |