{- "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": "97e4c02f1b0c-49d2-90e0-5e41d6fe3e58",
- "name": "string",
- "restaurantId": "91f1f35f3be6-4e84-a274-4333dbad2a60",
- "sortIndex": 0,
- "tables": {
- "property1": {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}, - "property2": {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
}, - "combinations": {
- "property1": {
- "id": "fece508aa7ad-45e8-b4d9-f391663f1f8f",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}, - "property2": {
- "id": "fece508aa7ad-45e8-b4d9-f391663f1f8f",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}
}, - "elements": {
- "d17f717b29b0-459e-bb99-5381ad3c157c": {
- "height": 0,
- "rotation": 0,
- "width": 0,
- "x": 0,
- "y": 0,
- "type": "rectangle",
- "backgroundColor": "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 |
required | object A map of visible elements in this floor plan |
{- "name": "string",
- "sortIndex": 0,
- "tables": {
- "property1": {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}, - "property2": {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
}, - "combinations": {
- "property1": {
- "id": "fece508aa7ad-45e8-b4d9-f391663f1f8f",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}, - "property2": {
- "id": "fece508aa7ad-45e8-b4d9-f391663f1f8f",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}
}, - "elements": {
- "d17f717b29b0-459e-bb99-5381ad3c157c": {
- "height": 0,
- "rotation": 0,
- "width": 0,
- "x": 0,
- "y": 0,
- "type": "rectangle",
- "backgroundColor": "string"
}
}
}
{- "id": "97e4c02f1b0c-49d2-90e0-5e41d6fe3e58",
- "name": "string",
- "restaurantId": "91f1f35f3be6-4e84-a274-4333dbad2a60",
- "sortIndex": 0,
- "tables": {
- "property1": {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}, - "property2": {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
}, - "combinations": {
- "property1": {
- "id": "fece508aa7ad-45e8-b4d9-f391663f1f8f",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}, - "property2": {
- "id": "fece508aa7ad-45e8-b4d9-f391663f1f8f",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}
}, - "elements": {
- "d17f717b29b0-459e-bb99-5381ad3c157c": {
- "height": 0,
- "rotation": 0,
- "width": 0,
- "x": 0,
- "y": 0,
- "type": "rectangle",
- "backgroundColor": "string"
}
}
}
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 |
required | object A map of visible elements in this floor plan |
{- "name": "string",
- "sortIndex": 0,
- "tables": {
- "property1": {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}, - "property2": {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
}, - "combinations": {
- "property1": {
- "id": "fece508aa7ad-45e8-b4d9-f391663f1f8f",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}, - "property2": {
- "id": "fece508aa7ad-45e8-b4d9-f391663f1f8f",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}
}, - "elements": {
- "d17f717b29b0-459e-bb99-5381ad3c157c": {
- "height": 0,
- "rotation": 0,
- "width": 0,
- "x": 0,
- "y": 0,
- "type": "rectangle",
- "backgroundColor": "string"
}
}
}
{- "id": "97e4c02f1b0c-49d2-90e0-5e41d6fe3e58",
- "name": "string",
- "restaurantId": "91f1f35f3be6-4e84-a274-4333dbad2a60",
- "sortIndex": 0,
- "tables": {
- "property1": {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}, - "property2": {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
}, - "combinations": {
- "property1": {
- "id": "fece508aa7ad-45e8-b4d9-f391663f1f8f",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}, - "property2": {
- "id": "fece508aa7ad-45e8-b4d9-f391663f1f8f",
- "maxPartySize": 0,
- "minPartySize": 0,
- "priorityIndex": 0,
- "tableIds": [
- "string"
]
}
}, - "elements": {
- "d17f717b29b0-459e-bb99-5381ad3c157c": {
- "height": 0,
- "rotation": 0,
- "width": 0,
- "x": 0,
- "y": 0,
- "type": "rectangle",
- "backgroundColor": "string"
}
}
}
[- {
- "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=b88b8814bcff-4a5e-aeb2-affe53874db2 |
reservationId | string Example: reservationId=5d28c3ddad9b-478d-97df-f11c8bdb420e When updating a reservation send the id of the reservation to exclude it from the availability calculation |
{- "slots": [
- {
- "restaurantId": "91f1f35f3be6-4e84-a274-4333dbad2a60",
- "experienceId": "b88b8814bcff-4a5e-aeb2-affe53874db2",
- "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": "3bd6f083b9dd-4539-8b15-4e9735e15b11",
- "firstName": "John",
- "lastName": "Doe",
- "company": "BestCorp Inc.",
- "locale": "de",
- "phone": "+436605512234",
- "email": "john.doe@example.com",
- "notes": "Likes to drink red wine"
}, - "pinnedTables": [
- {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
], - "labels": [
- {
- "id": "e90d1a219249-43ac-be26-717045bc7456",
- "name": "VIP",
- "icon": "star",
- "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. |
{- "attendees": 2,
- "day": "2024-01-02",
- "email": "john.doe@example.com",
- "experienceId": "b88b8814bcff-4a5e-aeb2-affe53874db2",
- "firstName": "John",
- "lastName": "Doe",
- "locale": "en",
- "minutes": 600,
- "notes": "Comes with a dog",
- "phone": "+436605512234",
- "pinnedTableIds": [
- "0e371aa48b16-4391-9201-12989e211cd6"
]
}
{- "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": "3bd6f083b9dd-4539-8b15-4e9735e15b11",
- "firstName": "John",
- "lastName": "Doe",
- "company": "BestCorp Inc.",
- "locale": "de",
- "phone": "+436605512234",
- "email": "john.doe@example.com",
- "notes": "Likes to drink red wine"
}, - "pinnedTables": [
- {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
], - "labels": [
- {
- "id": "e90d1a219249-43ac-be26-717045bc7456",
- "name": "VIP",
- "icon": "star",
- "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": "3bd6f083b9dd-4539-8b15-4e9735e15b11",
- "firstName": "John",
- "lastName": "Doe",
- "company": "BestCorp Inc.",
- "locale": "de",
- "phone": "+436605512234",
- "email": "john.doe@example.com",
- "notes": "Likes to drink red wine"
}, - "pinnedTables": [
- {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
], - "labels": [
- {
- "id": "e90d1a219249-43ac-be26-717045bc7456",
- "name": "VIP",
- "icon": "star",
- "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": "3bd6f083b9dd-4539-8b15-4e9735e15b11",
- "firstName": "John",
- "lastName": "Doe",
- "company": "BestCorp Inc.",
- "locale": "de",
- "phone": "+436605512234",
- "email": "john.doe@example.com",
- "notes": "Likes to drink red wine"
}, - "pinnedTables": [
- {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
], - "labels": [
- {
- "id": "e90d1a219249-43ac-be26-717045bc7456",
- "name": "VIP",
- "icon": "star",
- "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": [
- "0e371aa48b16-4391-9201-12989e211cd6"
]
}
{- "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": "3bd6f083b9dd-4539-8b15-4e9735e15b11",
- "firstName": "John",
- "lastName": "Doe",
- "company": "BestCorp Inc.",
- "locale": "de",
- "phone": "+436605512234",
- "email": "john.doe@example.com",
- "notes": "Likes to drink red wine"
}, - "pinnedTables": [
- {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
], - "labels": [
- {
- "id": "e90d1a219249-43ac-be26-717045bc7456",
- "name": "VIP",
- "icon": "star",
- "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": [
- "0e371aa48b16-4391-9201-12989e211cd6"
]
}
{- "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": "3bd6f083b9dd-4539-8b15-4e9735e15b11",
- "firstName": "John",
- "lastName": "Doe",
- "company": "BestCorp Inc.",
- "locale": "de",
- "phone": "+436605512234",
- "email": "john.doe@example.com",
- "notes": "Likes to drink red wine"
}, - "pinnedTables": [
- {
- "id": "0e371aa48b16-4391-9201-12989e211cd6",
- "minPartySize": 2,
- "maxPartySize": 4,
- "name": "45",
- "priorityIndex": 0,
- "reservable": true,
- "rotation": 90,
- "tableCategoryIds": [
- "10a65bc18ef6-428f-8810-78e751fce1f8"
], - "type": "rect_one",
- "x": 100,
- "y": 250
}
], - "labels": [
- {
- "id": "e90d1a219249-43ac-be26-717045bc7456",
- "name": "VIP",
- "icon": "star",
- "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"
}