Table reservation
Find the matching table reservation products¶
For each restaurant which is available for a table reservation, there is a "table reservation"-product in the infocenter.
These products must be used for the booking. That you can work with the restaurant, there must be a connection from the restaurant (FoodEstablishement) to the product. In the infocenter we achieve this by using the area-served property (link) from the product to the place. You can find the product related to the restaurant by searching with the location (restaurant identifier) and the combinedType='TableReservation' in our search. Find objects by location
Tip
You can directly use the identifier of the FoodEstablishment or even the one of your system to perform the availablitiy search and recieve the availablities of the corresponding products. see below
{
"combinedType": "TableReservation",
"location": [
"foo_vq9_eqijstgcggairsvufsesutigvhdegcee",
"foo_q14_oni92fo02r6ztt1xo"
],
"project": [
"demo-web"
],
"select": "identifier",
"currentPage": 1,
"resultsPerPage": "200",
"facets": []
}
{
"count": 2,
"values": [
{
"identifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244"
},
{
"identifier": "alo_res_yx8tm5ykmbqjddlhy"
}
]
}
Availabilities¶
There are 3 possibilities related to available tables:
- To get the an indication about which restaurant(s) has availablities on the next couple days use the endpoint productavailability.
- To get the available time slots for a list of restaurants(-products) on a specific day and time use the endpoint productavailability/ondemand.
- To search for restaurants and add availability information to the response or filter by it, use the infocenter/search see Search api overview and Filtering by availability
OnDemand is always checking all reservation systems directly and therefore can be slow, the productavailability is using cached, regularly updated values (usually daily updated for 2 persons for the next 2 weeks).
Tip
-> Find a restaurant for a specific group of people on a specific moment: use productavailability/ondemand
-> Deactivate unavailable dates in a calendar control: use productavailability
-> Extend you restaurant-list with an availability filter: use infocenter/search
Find an available restaurant¶
POST productavailability/ondemand
Request properties
- dateFrom - date and time
- numberOfTravelers - number of persons
- product - a list of TableReservation-products to search for
Instead of the list of table-reservation products you can use the identifiers of the restaurants (FoodEstablishments) directly. They are referenced as the areaServed of the table reservation.
- areaServed - a list of discover.swiss identifiers of the FoodEstablishment
- externalAreaServed - a list of external identifiers of FoodEstablishments These are the id's of your system and are stored in the FoodEstablishments DataGovernance SourceId property.
Info
The search for available slots will be performed till the end of the requested day, if you need to find slots for tomorrow, use the corresponding date in the request.
Info
If there is an areaServed
or an externalAreaServed
parameter in the request, then these values will also be in the response so you can match the result with your restaurant data.
In the response we can not return the count of available seats per timeslots, because this is not available on all table reservation services. We do return the count of requested travlers. Timeslots without availablitly do not appear.
{
"dateFrom": "2023-01-27T16:00:00Z",
"numberOfTravelers": 2,
"product": [
"fat_res_4a89cd626608bcfe5c4ced86f7346244",
"alo_res_yx8tm5ykmbqjddlhy"
]
}
[
{
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"date": "2023-01-27T16:00:00+00:00",
"lastModified": "2023-01-27T13:32:57.849179+00:00",
"count": 2,
"service": "ds-table",
"additionalProperty": [
{
"name": "times",
"value": "[\"17:00:00\",\"17:15:00\",\"17:30:00\",\"17:45:00\",\"18:00:00\",\"18:15:00\",\"18:30:00\",\"18:45:00\",\"19:00:00\",\"19:15:00\",\"19:30:00\",\"19:45:00\",\"20:00:00\",\"20:15:00\",\"20:30:00\",\"20:45:00\",\"21:00:00\",\"21:15:00\",\"21:30:00\"]",
"valueType": "string[]",
"propertyId": "times"
},
{
"name": "Restaurant",
"value": "[\"18:30:00\",\"18:45:00\",\"19:00:00\",\"19:15:00\",\"19:30:00\",\"19:45:00\",\"20:00:00\",\"20:15:00\",\"20:30:00\",\"20:45:00\",\"21:00:00\",\"21:15:00\",\"21:30:00\"]",
"valueType": "string[]",
"propertyId": "4833-times"
},
{
"name": "Terrasse",
"value": "[\"17:00:00\",\"17:15:00\",\"17:30:00\",\"17:45:00\",\"18:00:00\",\"18:15:00\",\"18:30:00\",\"18:45:00\",\"19:00:00\"]",
"valueType": "string[]",
"propertyId": "4834-times"
}
]
},
{
"productIdentifier": "alo_res_yx8tm5ykmbqjddlhy",
"date": "2023-01-27T16:00:00+00:00",
"lastModified": "2023-01-27T13:32:57.8917217+00:00",
"count": 2,
"service": "ds-table",
"additionalProperty": [
{
"name": "times",
"value": "[\"17:00:00\",\"17:15:00\",\"17:30:00\",\"17:45:00\",\"18:00:00\",\"18:15:00\",\"18:30:00\",\"18:45:00\",\"19:00:00\",\"19:15:00\",\"19:30:00\",\"19:45:00\",\"20:00:00\",\"20:15:00\",\"20:30:00\",\"20:45:00\",\"21:00:00\"]",
"valueType": "string[]",
"propertyId": "times"
}
]
}
]
{
"dateFrom": "2023-01-27T16:00:00Z",
"numberOfTravelers": 2,
"externalAreaServed":[
"329818"
]
}
[
{
"productIdentifier": "alo_res_yx8tm5ykmbqjddlhy",
"date": "2023-01-27T16:00:00+00:00",
"lastModified": "2023-01-27T13:32:57.8917217+00:00",
"count": 2,
"service": "ds-table",
"additionalProperty": [
{
"name": "times",
"value": "[\"17:00:00\",\"17:15:00\",\"17:30:00\",\"17:45:00\",\"18:00:00\",\"18:15:00\",\"18:30:00\",\"18:45:00\",\"19:00:00\",\"19:15:00\",\"19:30:00\",\"19:45:00\",\"20:00:00\",\"20:15:00\",\"20:30:00\",\"20:45:00\",\"21:00:00\"]",
"valueType": "string[]",
"propertyId": "times"
}
],
"externalAreaServed": "329818"
}
]
Timeslots are available in the additionalProperty with the propertyId times. Some restaurants provide availability by room (eg Terrace, Restaurant, etc.). In this case, slots for rooms will be returned as well, as in the example above. The propertyId is generated according to the template <roomId> -times and the name property contains the name of the room.
Show a smart datepicker¶
POST productavailability
Request properties
- dateFrom - date and time (usually only informatin about the next 2 weeks is available)
- dateUntil - date and time (usually only informatin about the next 2 weeks is available)
- product - a list of TableReservation-products to search for
- areaServed - a list of discover.swiss identifiers of the FoodEstablishment
Warning
This gives just an indication if there are availabilites 2 persons, it is daily based and does not take the number of persons and the time into account.
{
"dateFrom": "2024-10-27",
"dateUntil": "2024-10-30",
"product": [
"fat_res_4a89cd626608bcfe5c4ced86f7346244"
]
}
{
"hasNextPage": false,
"data": [
{
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"date": "2024-10-27T00:00:00+00:00",
"lastModified": "2024-10-10T21:01:24.4084003+00:00",
"count": 2,
"service": "ds-table",
"areaServed": "foo_4kq_dhjcghja"
},
{
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"date": "2024-10-28T00:00:00+00:00",
"lastModified": "2024-10-10T21:01:24.6726286+00:00",
"count": 2,
"service": "ds-table",
"areaServed": "foo_4kq_dhjcghja"
},
{
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"date": "2024-10-29T00:00:00+00:00",
"lastModified": "2024-10-10T21:01:24.9324678+00:00",
"count": 2,
"service": "ds-table",
"areaServed": "foo_4kq_dhjcghja"
}
]
}
{
"dateFrom": "2024-10-27",
"dateUntil": "2024-10-30",
"areaServed": [
"foo_4kq_dhjcghja"
]
}
Reserving a table¶
A table reservation works like any other booking in the marketplace, except that it is free of charge and the payment on the client side omits.
First Step - creating order¶
Depending on if you use the B2C or B2B approach the way to get an empty order is a bit different. But that's what you need to do first.
How to work with the B2C marketplace
How to work with the B2B marketplace
Second Step - Getting Offers¶
POST /orders/22-113462/offers
For each available time and room, you get an offer to display to the guest.
{
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"dateFrom": "2023-01-31T15:30:00",
"numberOfTravelers": 3
}
The Response shows all the available offers in the offerBundle:
{
"validationMessages": [],
"offerBundle": [
{
"id": "69bbb5b2-490f-4c60-b913-97a4349ddf6d",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T18:30:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "91f74d0a-2935-4e24-bc13-40faa6e5ead4",
"description": "Restaurant",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "01d5cb87-cfc7-4699-9ff2-6f1476440ad1",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T18:45:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "0ec3d7e1-e4c1-4235-a90d-e86532878a61",
"description": "Restaurant",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "6028ff48-193c-4f49-af92-18330a15926d",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T19:00:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "f770a272-d016-4863-a2ec-6ec6e4f6b3bd",
"description": "Restaurant",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "b6ae0406-6da2-45e3-8137-8d767d6c76c4",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T19:15:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "506a7055-4f51-4bed-ad5d-b6336c310e7f",
"description": "Restaurant",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "cf908ad2-c3ee-4a47-a7a3-cf84442535be",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T19:30:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "7291d7ec-14e8-4c10-96e5-14f8a1105bd9",
"description": "Restaurant",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "20308d5b-c784-48e2-a7aa-e5bc02c635bf",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T19:45:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "1895dd49-06b8-4eb7-96b1-ad535e3a12db",
"description": "Restaurant",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "2fe7888e-ebf1-433b-bc74-ca3de8500dcd",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T20:00:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "2e548205-b530-47c2-8c6b-4be6d1813223",
"description": "Restaurant",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "ae43ac6e-9511-4a15-a6b6-fd03c7e8632e",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T20:15:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "42b70d78-990d-485b-8b25-4a816d20509c",
"description": "Restaurant",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "917186b4-dbf5-44ef-adea-59d54a52283a",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T20:30:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "b5a2e999-30f4-4f0d-808d-d1f8a51514f0",
"description": "Restaurant",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "335c8707-b57d-43c0-9b17-296f29dc95eb",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T20:45:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "60f1a083-082f-4c33-a749-7fdb2065dd93",
"description": "Restaurant",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "568c9e2d-fcc5-4643-9330-d7c4f8e1d93f",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T21:00:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "05cdc5f2-b06c-46dd-b2cc-64ac9ca55ffc",
"description": "Restaurant",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "4f6c50c5-617f-4615-8403-96c89f02fca6",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T21:15:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "a901f5a1-0350-4747-b0bc-4da0995b9986",
"description": "Restaurant",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "a574cc01-29c9-4fca-b3d8-2141c65281ce",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T21:30:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "75093f31-513b-46a5-b447-23f1ebc5eb2e",
"description": "Restaurant",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "af038c2e-1265-4ab7-a278-7456145eb057",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T17:00:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "62d4c9b1-5de1-4cfe-b31e-2b575e758757",
"description": "Terrasse",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "5c5df582-d32e-4665-a32e-ee1a1b0d8d23",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T17:15:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "4fe4122b-c4d9-4baf-a9eb-3af654e83ff3",
"description": "Terrasse",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "783f3828-f25e-4787-8778-d4c7904e844a",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T17:30:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "4e2bd300-d2c1-414f-9010-f954fe141f23",
"description": "Terrasse",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "bad92330-de36-41cf-bdbc-7d7a92777cfd",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T17:45:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "d2354dd2-d52a-41ca-bb41-13898d3a18e3",
"description": "Terrasse",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "eb158a00-370e-4fee-a137-223b3c9e766f",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T18:00:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "6659ff5d-e9a5-4db2-bc2d-bd56fd0a54ca",
"description": "Terrasse",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "fc256589-20da-4bf2-8df8-d873a64b08a6",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T18:15:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "31d043c0-267a-4463-b263-c6c92b8fc1c9",
"description": "Terrasse",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "b4ab0d1e-f17d-4a64-8dfd-8e02eeeab633",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T18:30:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "30c0b3ee-0d9c-41d6-8627-f03c71b0d4fd",
"description": "Terrasse",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "c14d261f-8a72-4e4d-9ec6-66f706bd6568",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T18:45:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "1b30db94-acde-47aa-a943-ce153c0a685d",
"description": "Terrasse",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
},
{
"id": "980b0b4c-7c56-4a66-9d25-820b0d1abcca",
"productConfiguration": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"itemField": [
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T19:00:00+01:00",
"numberOfTravelers": 3
},
"totalPrice": 0.0,
"totalPriceCHF": 0.0,
"currency": "CHF",
"offer": [
{
"id": "54caac25-1ae8-4cc5-b116-3c9641d647e5",
"description": "Terrasse",
"price": 0.0,
"priceCHF": 0.0
}
],
"requiresAdditionalConfiguration": false
}
]
}
Third Step - Selecting the suitable offer¶
POST /orders/22-113462/items
Use a selected offerBundleId from the previous response and set additional properties if needed.
The offer defines the date, time, room and number of travelers already. But there can be an additional question in the itemFields which depends on the restaurant.
If it is not provided but required you will get validation errors and can update the order item.
{
"offerBundleId": "{{ offerBundleId }}",
"AdditionalProperty": [
{
"PropertyId": "additionalProperty.choice0",
"Value": "option1"
},
{
"PropertyId": "additionalProperty.comment",
"Value": "Dös ischt nur ein Tèst mit ein paar Umläuten"
}
]
}
The response shows the "orderNumber": "22-113462", which is needed for the second step "find offers"
{
"orderItem": {
"orderItemNumber": "23-101494-1",
"orderItemStatus": "Placed",
"orderQuantity": 1,
"orderedItem": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"taxRate": 0.0,
"itemField": [
{
"propertyId": "dateFrom",
"type": "datetime",
"name": "Datum ab",
"requiredForOffers": true,
"possibleValue": {}
},
{
"propertyId": "numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"requiredForOffers": true,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T18:30:00+01:00",
"numberOfTravelers": 3,
"traveler": []
},
"orderDelivery": "email",
"orderItemDelivery": {
"mode": "digital",
"method": "email",
"name": "email"
},
"amount": 0.0,
"amountCHF": 0.0,
"tax": 0.0,
"taxCHF": 0.0,
"currency": "CHF",
"ticket": [],
"offerBundleId": "faecafc1-5ed2-4d0c-8f17-9a8231837975",
"additionalProperty": [
{
"value": "option1",
"propertyId": "additionalProperty.choice0"
},
{
"value": "Dös ischt nur ein Tèst mit ein paar Umläuten",
"propertyId": "additionalProperty.comment"
}
]
},
"validationMessages": []
}
Fourth Step - Placing the order¶
POST /orders/22-113462/items/place
Place the order before proceeding to the payment step.
Empty
The order is placed
{
"order": {
"orderNumber": "23-101494",
"orderDate": "2023-01-27T14:05:51.0198056+01:00",
"customer": {
"profileId": "2f739c77-36c9-4e6a-9212-0a96b90a0fa8",
"address": {},
"email": "mary@test.ch",
"familyName": "Muster",
"gender": "Male",
"givenName": "Mary",
"isGuest": "True",
"mobilePhone": "+41 79 365 45 88",
"salutation": "Mr",
"createdDateTime": "2023-01-27T14:00:20.4035237+01:00",
"lastModified": "2023-01-27T14:05:30.1714595+01:00",
"lastModifiedBy": "2f739c77-36c9-4e6a-9212-0a96b90a0fa8",
"createdBySubscription": "ds-allapi-test",
"lastModifiedBySubscription": "ds-allapi-test"
},
"customerField": [
{
"propertyId": "mobilePhone",
"type": "text",
"name": "Handy",
"required": true,
"possibleValue": {}
}
],
"orderStatus": "Placed",
"priceCurrency": "CHF",
"salesChannel": "B2C",
"totalAmount": 0.0,
"totalAmountCHF": 0.0,
"totalTax": 0.0,
"totalTaxCHF": 0.0,
"language": "de",
"orderedItem": [
{
"orderItemNumber": "23-101494-1",
"orderItemStatus": "Placed",
"orderQuantity": 1,
"orderedItem": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"taxRate": 0.0,
"itemField": [
{
"propertyId": "dateFrom",
"type": "datetime",
"name": "Datum ab",
"requiredForOffers": true,
"possibleValue": {}
},
{
"propertyId": "numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"requiredForOffers": true,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T18:30:00+01:00",
"numberOfTravelers": 3,
"traveler": []
},
"orderDelivery": "email",
"orderItemDelivery": {
"mode": "digital",
"method": "email",
"name": "email"
},
"amount": 0.0,
"amountCHF": 0.0,
"tax": 0.0,
"taxCHF": 0.0,
"currency": "CHF",
"ticket": [],
"offerBundleId": "faecafc1-5ed2-4d0c-8f17-9a8231837975",
"additionalProperty": [
{
"value": "option1",
"propertyId": "additionalProperty.choice0"
},
{
"value": "Dös ischt nur ein Tèst mit ein paar Umläuten",
"propertyId": "additionalProperty.comment"
}
]
}
],
"term": [
{
"termCode": "DS-AGB-guest",
"accepted": false,
"acceptedDate": "2023-01-27T14:05:51.0627374+01:00",
"termVersions": [
{
"@id": "https://api.discover.swiss/test/info/v2/termversions/DS-AGB-guest-de-2022-05",
"code": "DS-AGB-guest-de-2022-05",
"name": "Allgemeine Geschäftsbedingungen von discover.swiss für Gäste",
"partnerName": "discover.swiss",
"termDocument": "https://discover.swiss/agb-gast",
"validFrom": "2022-05-20T02:00:00+02:00",
"termCode": "DS-AGB-guest"
}
]
},
{
"termCode": "DS-MER",
"accepted": false,
"acceptedDate": "2023-01-27T14:05:51.1103193+01:00",
"termVersions": [
{
"@id": "https://api.discover.swiss/test/info/v2/termversions/DS-MER-de-2021-06",
"code": "DS-MER-de-2021-06",
"name": "Verkaufsbedingungen",
"partnerName": "DEV discover.swiss product supplier",
"termDocument": "https://discover.swiss/datenschutz",
"validFrom": "2021-06-01T02:00:00+02:00",
"termCode": "DS-MER"
}
]
}
],
"partnerAcronym": "ds",
"profileId": "2f739c77-36c9-4e6a-9212-0a96b90a0fa8",
"@id": "https://api.discover.swiss/test/market/orders/23-101494",
"dataGovernance": {
"origin": [
{
"datasource": "ds-allapi-test",
"created": "2023-01-27T13:00:54.2924921+00:00",
"lastModified": "2023-01-27T13:05:51.3145952+00:00",
"provider": {
"acronym": "ds"
},
"source": {
"acronym": "ds"
},
"author": {
"identifier": "2f739c77-36c9-4e6a-9212-0a96b90a0fa8"
}
}
]
},
"createdDateTime": "2023-01-27T14:00:54.2924938+01:00",
"lastModified": "2023-01-27T14:05:42.145157+01:00",
"lastModifiedBy": "2f739c77-36c9-4e6a-9212-0a96b90a0fa8",
"createdBySubscription": "ds-allapi-test",
"lastModifiedBySubscription": "ds-allapi-test"
},
"validationMessages": []
}
Fifth Step - Accept terms and conditions¶
As usual, all terms which are contained in the order must be accepted.
POST /orders/{{ orderId }}/terms/DS-AGB-guest
{
"accepted": "true",
"termCode": "DS-AGB-guest"
}
{
"termCode": "DS-AGB-guest",
"accepted": true,
"acceptedDate": "2023-01-27T13:07:17.8530547+00:00",
"termVersions": [
{
"@id": "https://api.discover.swiss/test/info/v2/termversions/DS-AGB-guest-de-2022-05",
"code": "DS-AGB-guest-de-2022-05",
"name": "Allgemeine Geschäftsbedingungen von discover.swiss für Gäste",
"partnerName": "discover.swiss",
"termDocument": "https://discover.swiss/agb-gast",
"validFrom": "2022-05-20T00:00:00+00:00",
"termCode": "DS-AGB-guest"
}
]
}
Sixth Step - Payment¶
POST /orders/{{ orderId }}/payment
Info
No payment is needed to make the reservation. If you initialize a payment and the order is free the fulfilment process starts immediately.
body
{}
If the response does not contain any information about
{
"initPaymentData": {
"result": true
},
"validationMessages": []
}
Fifth step - poll the order¶
GET /orders/{{ orderId }}
The order is ready to get all information when it has reached the state Delivered.
The confirmation mail has been sent when it has reached state Fulfilled.
Stop polling as well when it has reached the state FulfillmentError. In this case, something was not successful and you can find information in orderItem.StatuesText
Info
A reservation can be approved immediately or can have a pending status. In this case the host of the restaurant must approve or reject the request (often by phone). After this happend we get get informed by a webhook call and update the status of the ticket and order-item(currently only the webhook of foratable is implemented on discover.swiss side). The ticket object has the property TicketVerificationStatus
to represent this status. Also for convenience there is an additional property in the ticket with PropertyId = "statusText" which contains the same value the OrderItemStatusText
property of the corresponding order item.
Info
You must wait for the answer even if you do not need a ticket. It can happen that the reservation fails and you should inform the customer. Possible reasons are that there is no space anymore or the customer already has a booking in this restaurant on this day.
The order is ready
{
"order": {
"orderNumber": "23-101494",
"orderDate": "2023-01-27T14:08:38.5769873+01:00",
"customer": {
"profileId": "2f739c77-36c9-4e6a-9212-0a96b90a0fa8",
"address": {},
"email": "mary@test.ch",
"familyName": "Muster",
"givenName": "Mary",
"isGuest": "True",
"mobilePhone": "+41 79 365 45 88",
"createdDateTime": "2023-01-27T14:08:50.7799779+01:00",
"lastModified": "2023-01-27T14:08:50.779978+01:00"
},
"customerField": [
{
"propertyId": "mobilePhone",
"type": "text",
"name": "Handy",
"required": true,
"possibleValue": {}
}
],
"orderStatus": "Fulfilled",
"priceCurrency": "CHF",
"salesChannel": "B2C",
"totalAmount": 0.0,
"totalAmountCHF": 0.0,
"totalTax": 0.0,
"totalTaxCHF": 0.0,
"mailBodyToken": "https://discoverswistestbusiness.blob.core.windows.net/mailbodies/b97a18a8-26f6-492b-b721-ffb34ccc8dda_23-101494.html",
"orderTokenName": "b97a18a8-26f6-492b-b721-ffb34ccc8dda_23-101494",
"language": "de",
"orderedItem": [
{
"orderItemNumber": "23-101494-1",
"orderItemStatus": "Delivered",
"orderQuantity": 1,
"orderedItem": {
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"option": [],
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"taxRate": 0.0,
"itemField": [
{
"propertyId": "dateFrom",
"type": "datetime",
"name": "Datum ab",
"requiredForOffers": true,
"possibleValue": {}
},
{
"propertyId": "numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"requiredForOffers": true,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.comment",
"type": "text",
"name": "Kommentar",
"required": false,
"requiredForOffers": false,
"possibleValue": {}
},
{
"propertyId": "additionalProperty.choice0",
"type": "select",
"name": "Sind Sie einverstanden?",
"required": true,
"requiredForOffers": false,
"possibleValue": {
"option1": "Ja, ich stimme zu"
}
},
{
"propertyId": "orderedItem.numberOfTravelers",
"type": "integer",
"name": "Anzahl Reisende",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
},
{
"propertyId": "orderedItem.validFrom",
"type": "date",
"name": "Gültig ab",
"required": false,
"requiredForOffers": false,
"possibleValue": {},
"readonly": true
}
]
},
"validFrom": "2023-01-31T18:30:00+01:00",
"numberOfTravelers": 3,
"traveler": []
},
"orderDelivery": "email",
"orderItemDelivery": {
"mode": "digital",
"method": "email",
"name": "email"
},
"amount": 0.0,
"amountCHF": 0.0,
"tax": 0.0,
"taxCHF": 0.0,
"currency": "CHF",
"ticket": [
{
"identifier": "lgt_107_a0ace1d5-2d38-45d6-9955-e35721710f7a",
"name": "Test Restaurant 1 - discover.swiss",
"product": {
"identifier": "fat_resvar_4a89cd626608bcfe5c4ced86f7346244",
"productIdentifier": "fat_res_4a89cd626608bcfe5c4ced86f7346244",
"@product": "https://api.discover.swiss/test/info/v2/products/fat_res_4a89cd626608bcfe5c4ced86f7346244",
"sku": "4a89cd626608bcfe5c4ced86f7346244",
"name": "Tischreservation Test Restaurant 1 - discover.swiss",
"productName": "Tischreservation Test Restaurant 1 - discover.swiss",
"image": {
"dataGovernance": {
"provider": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
},
"source": {
"acronym": "ds",
"name": "discover.swiss",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/ds.svg",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_14w4"
},
"link": [
{
"url": "https://www.discover.swiss",
"type": "WebHomepage"
}
]
}
},
"contentUrl": "https://cdn.discover.swiss/img/default-tablereservation-picture.png",
"thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_t8_afdafai",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_t8_afdafai"
},
"dataGovernance": {
"provider": {
"acronym": "lgt",
"name": "Lunchgate AG",
"logo": {
"contentUrl": "https://cdn.discover.swiss/logos/lgt.png",
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_1w9_14w4"
},
"link": [
{
"url": "https://www.lunchgate.ch/",
"type": "WebHomepage"
}
]
},
"term": {
"code": "DS-MER"
},
"source": {
"acronym": "devsupp",
"name": "DEV discover.swiss product supplier",
"logo": {
"@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_tul8k55_14w4"
}
}
},
"taxRate": 0.0
},
"ticketNumber": "107",
"bookingNumber": "107",
"dateIssued": "2023-01-27T14:08:53+01:00",
"issuedBy": {
"acronym": "lgt"
},
"priceCurrency": "CHF",
"totalPrice": 0.0,
"underNames": [
{
"identifier": "1f883392-e2e5-4c5b-8d88-5405e4ba9047",
"givenName": "Mary",
"familyName": "Muster",
"email": "mary@test.ch"
}
],
"ticketTokenId": "107",
"numberOfTravelers": 3,
"isActive": true,
"@id": "https://api.discover.swiss/test/profile/tickets/lgt_107_a0ace1d5-2d38-45d6-9955-e35721710f7a"
}
],
"offerBundleId": "faecafc1-5ed2-4d0c-8f17-9a8231837975",
"additionalProperty": [
{
"value": "option1",
"propertyId": "additionalProperty.choice0"
},
{
"value": "Dös ischt nur ein Tèst mit ein paar Umläuten",
"propertyId": "additionalProperty.comment"
},
{
"name": "Email",
"value": "yves.latour+discover.swiss@lunchgate.com",
"propertyId": "email"
},
{
"name": "Telefon",
"value": "0041435010050",
"propertyId": "telephone"
},
{
"name": "Adresse",
"value": "Badenerstrasse 255, 8003 Zürich ",
"propertyId": "location"
}
]
}
],
"term": [
{
"termCode": "DS-AGB-guest",
"accepted": true,
"acceptedDate": "2023-01-27T14:08:38.8386963+01:00",
"termVersions": [
{
"@id": "https://api.discover.swiss/test/info/v2/termversions/DS-AGB-guest-de-2022-05",
"code": "DS-AGB-guest-de-2022-05",
"name": "Allgemeine Geschäftsbedingungen von discover.swiss für Gäste",
"partnerName": "discover.swiss",
"termDocument": "https://discover.swiss/agb-gast",
"validFrom": "2022-05-20T02:00:00+02:00",
"termCode": "DS-AGB-guest"
}
]
},
{
"termCode": "DS-MER",
"accepted": true,
"acceptedDate": "2023-01-27T14:08:38.8862532+01:00",
"termVersions": [
{
"@id": "https://api.discover.swiss/test/info/v2/termversions/DS-MER-de-2021-06",
"code": "DS-MER-de-2021-06",
"name": "Verkaufsbedingungen",
"partnerName": "DEV discover.swiss product supplier",
"termDocument": "https://discover.swiss/datenschutz",
"validFrom": "2021-06-01T02:00:00+02:00",
"termCode": "DS-MER"
}
]
}
],
"@download": "https://api.discover.swiss/test/profile/orderinfos/b97a18a8-26f6-492b-b721-ffb34ccc8dda_23-101494",
"partnerAcronym": "ds",
"profileId": "2f739c77-36c9-4e6a-9212-0a96b90a0fa8",
"@id": "https://api.discover.swiss/test/market/orders/23-101494",
"dataGovernance": {
"origin": [
{
"datasource": "ds-allapi-test",
"created": "2023-01-27T13:00:54.2924921+00:00",
"lastModified": "2023-01-27T13:08:58.9737048+00:00",
"provider": {
"acronym": "ds"
},
"source": {
"acronym": "ds"
},
"author": {
"identifier": "2f739c77-36c9-4e6a-9212-0a96b90a0fa8"
}
}
]
},
"createdDateTime": "2023-01-27T14:00:54.2924938+01:00",
"lastModified": "2023-01-27T14:08:58.9737054+01:00",
"createdBySubscription": "ds-allapi-test",
"lastModifiedBySubscription": "ds-allapi-test"
},
"validationMessages": []
}