{- "id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
- "restaurantName": "The Grand Bistro",
- "internalRestaurantName": "TGB_MAIN_01",
- "address": {
- "streetAddress": "123 Main St",
- "city": "Vienna",
- "postalCode": "1010",
- "countryCode": "AT"
}, - "phone": "+431234567890",
- "email": "contact@grandbistro.com",
- "socialUrls": {
}, - "branding": {
- "primaryColor": "#FF5733",
- "logoUrl": "string"
}, - "termsOfServiceUrl": { },
- "privacyPolicyUrl": { },
- "timezone": "Europe/Vienna",
- "description": {
- "de": "string",
- "en": "string"
}
}
[- {
- "id": "0daf8326bd9b-4bd3-874f-20b99444d677",
- "name": "string",
- "restaurantId": "b0ea2fecf6e9-497e-b32b-b3dd25f4f806",
- "sortIndex": 0,
- "tables": {
- "property1": {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}, - "property2": {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
}, - "combinations": {
- "property1": {
- "id": "bf08fa544f6f-4938-bf60-a581ad4a0eef",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}, - "property2": {
- "id": "bf08fa544f6f-4938-bf60-a581ad4a0eef",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}
}, - "elements": { }
}
]
name required | string |
sortIndex required | number |
required | object A map of available tables in this floor plan. The keys of the map are the ids of the table |
required | object A map of available table combinations in this floor plan. The keys of the map are the ids of the table combination |
elements required | object A map of visible elements in this floor plan |
{- "name": "string",
- "sortIndex": 0,
- "tables": {
- "property1": {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}, - "property2": {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
}, - "combinations": {
- "property1": {
- "id": "bf08fa544f6f-4938-bf60-a581ad4a0eef",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}, - "property2": {
- "id": "bf08fa544f6f-4938-bf60-a581ad4a0eef",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}
}, - "elements": { }
}
{- "id": "0daf8326bd9b-4bd3-874f-20b99444d677",
- "name": "string",
- "restaurantId": "b0ea2fecf6e9-497e-b32b-b3dd25f4f806",
- "sortIndex": 0,
- "tables": {
- "property1": {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}, - "property2": {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
}, - "combinations": {
- "property1": {
- "id": "bf08fa544f6f-4938-bf60-a581ad4a0eef",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}, - "property2": {
- "id": "bf08fa544f6f-4938-bf60-a581ad4a0eef",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}
}, - "elements": { }
}
floorPlanId required | string |
name required | string |
sortIndex required | number |
required | object A map of available tables in this floor plan. The keys of the map are the ids of the table |
required | object A map of available table combinations in this floor plan. The keys of the map are the ids of the table combination |
elements required | object A map of visible elements in this floor plan |
{- "name": "string",
- "sortIndex": 0,
- "tables": {
- "property1": {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}, - "property2": {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
}, - "combinations": {
- "property1": {
- "id": "bf08fa544f6f-4938-bf60-a581ad4a0eef",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}, - "property2": {
- "id": "bf08fa544f6f-4938-bf60-a581ad4a0eef",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}
}, - "elements": { }
}
{- "id": "0daf8326bd9b-4bd3-874f-20b99444d677",
- "name": "string",
- "restaurantId": "b0ea2fecf6e9-497e-b32b-b3dd25f4f806",
- "sortIndex": 0,
- "tables": {
- "property1": {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}, - "property2": {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
}, - "combinations": {
- "property1": {
- "id": "bf08fa544f6f-4938-bf60-a581ad4a0eef",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}, - "property2": {
- "id": "bf08fa544f6f-4938-bf60-a581ad4a0eef",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}
}, - "elements": { }
}
[- {
- "id": "string",
- "name": {
- "de": "string",
- "en": "string"
}, - "shortDescription": {
- "de": "string",
- "en": "string"
}, - "descriptionHtml": {
- "de": "string",
- "en": "string"
}, - "image": {
- "path": "string",
- "url": "string"
}, - "orderSettings": { },
- "isDefault": true,
- "minPax": 0,
- "maxPax": 0
}
]
attendees required | number Example: attendees=2 Number of attendees |
day required | string Example: day=2024-06-10 The day to query time slots |
experienceId required | string Example: experienceId=a0d7aa2ecba4-4592-a044-f79fa34e70c4 |
reservationId | string Example: reservationId=b6d8849b7e17-48fe-b295-f6fe1082b914 When updating a reservation send the id of the reservation to exclude it from the availability calculation |
{- "slots": [
- {
- "restaurantId": "b0ea2fecf6e9-497e-b32b-b3dd25f4f806",
- "experienceId": "a0d7aa2ecba4-4592-a044-f79fa34e70c4",
- "day": "2024-01-02",
- "minutes": 600,
- "duration": 120,
- "attendees": 4,
- "spotsTotal": 10,
- "spotsOpen": 5,
- "seated": 45,
- "seatedLimit": 50,
- "starting": 15,
- "startingLimit": 20,
- "availableAssignments": [
- {
- "floorPlanId": "string",
- "maxPartySize": 0,
- "minPartySize": 0,
- "reservable": true,
- "score": 0.122,
- "tableCategoryIds": [
- "string"
], - "tableIds": [
- "string"
]
}
], - "exclusionReasons": [
- "no_tables_found"
], - "availableFloorPlanIds": [
- "string"
], - "assignmentsAvailableIn": [
- "string"
], - "confirmationMode": "instant",
- "showEndTime": true,
- "paymentSettings": {
- "payment": {
- "pricing": {
- "pricePerPax": 0,
- "displayPricePerPax": 0,
- "type": "per_pax"
}, - "requiredFromPax": 0
}, - "pendingMinutes": 0,
- "refundMinutes": 0,
- "type": "none"
}
}
]
}
from required | string Example: from=2023-01-01 |
to required | string Example: to=2023-01-31 |
status | string Enum: "requested" "unconfirmed" "payment_pending" "booked" "reconfirmed" "arrived" "seated" "ordered" "paid" "declined" "finished" "cancelled" "no_show" "voided" Example: status=seated&status=booked |
includeWalkIns | boolean Example: includeWalkIns=true |
[- {
- "id": "string",
- "number": "string",
- "attendees": 0,
- "experience": {
- "id": "string",
- "name": {
- "en": "A lá carte",
- "de": "A lá carte"
}, - "shorthand": "string"
}, - "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "checkinTime": "2019-08-24T14:15:22Z",
- "checkoutTime": "2019-08-24T14:15:22Z",
- "status": "requested",
- "source": "app",
- "restaurantId": "string",
- "guest": {
- "id": "ab3275c2bb27-4ae6-af45-5f89b15d707a",
- "firstName": "John",
- "lastName": "Doe",
- "company": "BestCorp Inc.",
- "locale": "de",
- "phone": "+436605512234",
- "email": "john.doe@example.com",
- "notes": "Likes to drink red wine",
- "labels": [
- [ ]
]
}, - "pinnedTables": [
- {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
], - "labels": [
- {
- "id": "89393d003f17-419d-abcb-64fe246f06cd",
- "name": "VIP",
- "icon": "star",
- "color": "red",
- "type": "guestbook"
}
], - "specialRequestNotes": "string",
- "internalNotes": "string",
- "payment": {
- "type": "payment",
- "amount": 0,
- "paymentIntentId": "string",
- "invoiceUrl": { },
- "state": "paid"
}
}
]
attendees required | number The number of attendees for this reservation |
day required | string <yyyy-mm-dd> The day of the reservation |
string | |
experienceId required | string |
firstName | string |
lastName required | string |
locale required | string Enum: "en" "de" |
minutes required | number Minutes since the start of the day based in the restaurants configured timezone. 600 = 10:00 |
notes | string or null |
phone | string |
pinnedTableIds | Array of strings Set the table ids of this reservation. When omitted, the tables will be selected automatically. |
labelIds | Array of strings Set the label ids to add to this reservation |
{- "attendees": 2,
- "day": "2024-01-02",
- "email": "john.doe@example.com",
- "experienceId": "a0d7aa2ecba4-4592-a044-f79fa34e70c4",
- "firstName": "John",
- "lastName": "Doe",
- "locale": "en",
- "minutes": 600,
- "notes": "Comes with a dog",
- "phone": "+436605512234",
- "pinnedTableIds": [
- "1122f06968c2-440b-829d-ac39707e3b45"
], - "labelIds": [
- "89393d003f17-419d-abcb-64fe246f06cd"
]
}
{- "id": "string",
- "number": "string",
- "attendees": 0,
- "experience": {
- "id": "string",
- "name": {
- "en": "A lá carte",
- "de": "A lá carte"
}, - "shorthand": "string"
}, - "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "checkinTime": "2019-08-24T14:15:22Z",
- "checkoutTime": "2019-08-24T14:15:22Z",
- "status": "requested",
- "source": "app",
- "restaurantId": "string",
- "guest": {
- "id": "ab3275c2bb27-4ae6-af45-5f89b15d707a",
- "firstName": "John",
- "lastName": "Doe",
- "company": "BestCorp Inc.",
- "locale": "de",
- "phone": "+436605512234",
- "email": "john.doe@example.com",
- "notes": "Likes to drink red wine",
- "labels": [
- [ ]
]
}, - "pinnedTables": [
- {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
], - "labels": [
- {
- "id": "89393d003f17-419d-abcb-64fe246f06cd",
- "name": "VIP",
- "icon": "star",
- "color": "red",
- "type": "guestbook"
}
], - "specialRequestNotes": "string",
- "internalNotes": "string",
- "payment": {
- "type": "payment",
- "amount": 0,
- "paymentIntentId": "string",
- "invoiceUrl": { },
- "state": "paid"
}
}
{- "id": "string",
- "number": "string",
- "attendees": 0,
- "experience": {
- "id": "string",
- "name": {
- "en": "A lá carte",
- "de": "A lá carte"
}, - "shorthand": "string"
}, - "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "checkinTime": "2019-08-24T14:15:22Z",
- "checkoutTime": "2019-08-24T14:15:22Z",
- "status": "requested",
- "source": "app",
- "restaurantId": "string",
- "guest": {
- "id": "ab3275c2bb27-4ae6-af45-5f89b15d707a",
- "firstName": "John",
- "lastName": "Doe",
- "company": "BestCorp Inc.",
- "locale": "de",
- "phone": "+436605512234",
- "email": "john.doe@example.com",
- "notes": "Likes to drink red wine",
- "labels": [
- [ ]
]
}, - "pinnedTables": [
- {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
], - "labels": [
- {
- "id": "89393d003f17-419d-abcb-64fe246f06cd",
- "name": "VIP",
- "icon": "star",
- "color": "red",
- "type": "guestbook"
}
], - "specialRequestNotes": "string",
- "internalNotes": "string",
- "payment": {
- "type": "payment",
- "amount": 0,
- "paymentIntentId": "string",
- "invoiceUrl": { },
- "state": "paid"
}
}
Currently only status updates are allowed
reservationId required | string |
status | string Enum: "requested" "unconfirmed" "payment_pending" "booked" "reconfirmed" "arrived" "seated" "ordered" "paid" "declined" "finished" "cancelled" "no_show" "voided" |
day | string |
minutes | number |
attendees | number |
tableIds | Array of strings |
{- "status": "requested",
- "day": "string",
- "minutes": 0,
- "attendees": 0,
- "tableIds": [
- "string"
]
}
{- "id": "string",
- "number": "string",
- "attendees": 0,
- "experience": {
- "id": "string",
- "name": {
- "en": "A lá carte",
- "de": "A lá carte"
}, - "shorthand": "string"
}, - "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "checkinTime": "2019-08-24T14:15:22Z",
- "checkoutTime": "2019-08-24T14:15:22Z",
- "status": "requested",
- "source": "app",
- "restaurantId": "string",
- "guest": {
- "id": "ab3275c2bb27-4ae6-af45-5f89b15d707a",
- "firstName": "John",
- "lastName": "Doe",
- "company": "BestCorp Inc.",
- "locale": "de",
- "phone": "+436605512234",
- "email": "john.doe@example.com",
- "notes": "Likes to drink red wine",
- "labels": [
- [ ]
]
}, - "pinnedTables": [
- {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
], - "labels": [
- {
- "id": "89393d003f17-419d-abcb-64fe246f06cd",
- "name": "VIP",
- "icon": "star",
- "color": "red",
- "type": "guestbook"
}
], - "specialRequestNotes": "string",
- "internalNotes": "string",
- "payment": {
- "type": "payment",
- "amount": 0,
- "paymentIntentId": "string",
- "invoiceUrl": { },
- "state": "paid"
}
}
Searches a booked reservation currently starting (+/- 15 minutes) for the given table. If one is found the reservation will be checked in. If no reservation is found a new Walk-In will be created
tableName | string |
tableIds | Array of strings |
{- "tableName": "102",
- "tableIds": [
- "1122f06968c2-440b-829d-ac39707e3b45"
]
}
{- "id": "string",
- "number": "string",
- "attendees": 0,
- "experience": {
- "id": "string",
- "name": {
- "en": "A lá carte",
- "de": "A lá carte"
}, - "shorthand": "string"
}, - "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "checkinTime": "2019-08-24T14:15:22Z",
- "checkoutTime": "2019-08-24T14:15:22Z",
- "status": "requested",
- "source": "app",
- "restaurantId": "string",
- "guest": {
- "id": "ab3275c2bb27-4ae6-af45-5f89b15d707a",
- "firstName": "John",
- "lastName": "Doe",
- "company": "BestCorp Inc.",
- "locale": "de",
- "phone": "+436605512234",
- "email": "john.doe@example.com",
- "notes": "Likes to drink red wine",
- "labels": [
- [ ]
]
}, - "pinnedTables": [
- {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
], - "labels": [
- {
- "id": "89393d003f17-419d-abcb-64fe246f06cd",
- "name": "VIP",
- "icon": "star",
- "color": "red",
- "type": "guestbook"
}
], - "specialRequestNotes": "string",
- "internalNotes": "string",
- "payment": {
- "type": "payment",
- "amount": 0,
- "paymentIntentId": "string",
- "invoiceUrl": { },
- "state": "paid"
}
}
Searches an active reservation on the current day for the given table. If one is found, the reservation will be set to paid and automatically finished after a few minutes.
tableName | string |
tableIds | Array of strings |
{- "tableName": "102",
- "tableIds": [
- "1122f06968c2-440b-829d-ac39707e3b45"
]
}
{- "id": "string",
- "number": "string",
- "attendees": 0,
- "experience": {
- "id": "string",
- "name": {
- "en": "A lá carte",
- "de": "A lá carte"
}, - "shorthand": "string"
}, - "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "checkinTime": "2019-08-24T14:15:22Z",
- "checkoutTime": "2019-08-24T14:15:22Z",
- "status": "requested",
- "source": "app",
- "restaurantId": "string",
- "guest": {
- "id": "ab3275c2bb27-4ae6-af45-5f89b15d707a",
- "firstName": "John",
- "lastName": "Doe",
- "company": "BestCorp Inc.",
- "locale": "de",
- "phone": "+436605512234",
- "email": "john.doe@example.com",
- "notes": "Likes to drink red wine",
- "labels": [
- [ ]
]
}, - "pinnedTables": [
- {
- "id": "1122f06968c2-440b-829d-ac39707e3b45",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "68ec50e9c9f1-41b1-a0be-bfc46bfe5f3d"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
], - "labels": [
- {
- "id": "89393d003f17-419d-abcb-64fe246f06cd",
- "name": "VIP",
- "icon": "star",
- "color": "red",
- "type": "guestbook"
}
], - "specialRequestNotes": "string",
- "internalNotes": "string",
- "payment": {
- "type": "payment",
- "amount": 0,
- "paymentIntentId": "string",
- "invoiceUrl": { },
- "state": "paid"
}
}
{- "id": "string",
- "amount": 0,
- "remainingAmount": 0,
- "templateId": "string",
- "image": {
- "path": "string",
- "url": "string"
}, - "email": "string",
- "expiresOnDay": "2050-12-31",
- "locale": "en",
- "creationTimestamp": "2019-08-24T14:15:22Z"
}
amount required | number The initial amount when creating this gift card |
templateId required | string The template of the gift card |
string The customers email address | |
expiresOnDay required | string The day the gift card expires |
locale | string Enum: "en" "de" The customers locale. Emails will be sent using this locale |
id | string The code of this gift card. Can be left empty to generate one |
{- "amount": 0,
- "templateId": "string",
- "email": "string",
- "expiresOnDay": "2050-12-31",
- "locale": "en",
- "id": "string"
}
{- "id": "string",
- "amount": 0,
- "remainingAmount": 0,
- "templateId": "string",
- "image": {
- "path": "string",
- "url": "string"
}, - "email": "string",
- "expiresOnDay": "2050-12-31",
- "locale": "en",
- "creationTimestamp": "2019-08-24T14:15:22Z"
}
status required | string Enum: "pending" "successful" The status of the transaction |
amount required | number Amount of the transaction in cents. Positive values top up. Negative values redeem the gift card. |
reference | string |
{- "status": "successful",
- "amount": 10000,
- "reference": "string"
}
{- "id": "string",
- "status": "successful",
- "amount": 10000,
- "timestamp": "2019-08-24T14:15:22Z",
- "reference": "string"
}
giftCardId required | string |
transactionId required | string |
status required | string Enum: "pending" "successful" The status of the transaction |
reference | string |
{- "status": "successful",
- "reference": "string"
}
{- "id": "string",
- "status": "successful",
- "amount": 10000,
- "timestamp": "2019-08-24T14:15:22Z",
- "reference": "string"
}
giftCardId required | string |
transactionId required | string |
{- "id": "string",
- "status": "successful",
- "amount": 10000,
- "timestamp": "2019-08-24T14:15:22Z",
- "reference": "string"
}
Report an status update regarding an incoming call
phoneNumberId required | string |
id required | string An unique UUID that identifies the call in the external phone system. Min length is 10 characters |
phoneNumber | string An E.164 formatted phone number, or empty if hidden |
status required | string Enum: "ringing" "picked_up" "hung_up" "abandoned" The current status of the call |
{- "id": "90e4020a-a9d1-4a06-8906-fec2126cc007",
- "phoneNumber": "+436601123345",
- "status": "ringing"
}
limit | number Example: limit=100 Maximum number of results to return (max: 100) |
page | number Example: page=1 Page number for pagination |
search | string Example: search=john Search query to match against guest names, email, phone, company, or notes |
string Example: email=john.doe@example.com Filter by email address | |
phone | string Example: phone=+436605512234 Filter by phone number |
company | string Example: company=BestCorp Inc. Filter by company name |
locale | string Enum: "en" "de" Example: locale=de Filter by guest locale |
labelIds | Array of strings Example: labelIds=label-id-1&labelIds=label-id-2 Filter by label IDs (can be array or comma-separated string) |
sortBy | string Enum: "lastName:asc" "lastName:desc" "firstName:asc" "firstName:desc" "totalVisits:asc" "totalVisits:desc" "totalCovers:asc" "totalCovers:desc" "lastVisit.seconds:asc" "lastVisit.seconds:desc" Example: sortBy=lastName:asc Sort results. Available fields: lastName, firstName, totalVisits, totalCovers, lastVisit.seconds, firstVisit.seconds |
hasEmail | boolean Example: hasEmail=true Include only guests with email addresses |
hasPhone | boolean Example: hasPhone=true Include only guests with phone numbers |
[- {
- "id": "ab3275c2bb27-4ae6-af45-5f89b15d707a",
- "firstName": "John",
- "lastName": "Doe",
- "company": "BestCorp Inc.",
- "locale": "de",
- "phone": "+436605512234",
- "email": "john.doe@example.com",
- "notes": "Likes to drink red wine",
- "labels": [
- [ ]
]
}
]