CommonVenue
Venue object
- addressType: string
Street name (incl. street number) configured for the Venue in the CMS / Management Center
- cityType: string
City name configured for the Venue in the CMS / Management Center
- descriptionType: string
Description that has been configured in CMS / Management Center (in brand default language)
- idType: stringFormat: uuid
UUID of Venue
- latitudeType: numberFormat: float
Latitude configured for the Venue in the CMS / Management Center
- longitudeType: numberFormat: float
Longitude configured for the Venue in the CMS / Management Center
- nameType: string
Name of Venue (to be presented to customer)
- orderType: object · OrderType
_types Order Types that are configured for the Venue
- isType: boolean
_table _supported Is table service supported
- stateType: integer · CommonStateenum
Current status of Area - refer to States reference
values- 1
- 2
- 3
- tipType: number
_default Default tip percentage
- tipType: number
_max Max tip percentage
- typeType: integer · OrderTypeenum
_id Type of Order Types - see Order Types reference
values- 1
- 4
- 5
- 6
- 7
- 8
- 9
- servingType: object · CommonServingTime
_times See Serving Times reference
- timeType: stringFormat: date-time
_from Starting time of Serving Time
- timeType: stringFormat: date-time
_to Ending time of Serving Time
- typeType: integer · CommonServing_type_idenum
_id Serving type id - 1 - special date, 2 - weekday
values- 1
- 2
- weekdaysType: array integer[] …2enum
Array of serving weekdays - from 0 - Sunday to 6 - Monday
values- 0
- 1
- 2
- 3
- 4
- 5
- 6
- stateType: integer
Current status of Venue - refer to States reference. Can be used to determine how Venue should be presented to the customer.
- timezoneType: object · Timezone
- nameType: string
Timezone Name - please refer to PHP Timezones for full list of supported timezones.
- offsetType: string
Timezone offset of UTC
- translationsType: object · Translation
- nameType: string
Key "name" is just an example. Can be any of the values in parent object.
- zipType: string
ZIP code configured for the Venue in the CMS / Management Center
{
"id": 1698,
"name": "Dragan Markovic Test",
"state": 1,
"timezone": {
"name": "Europe/Belgrade",
"offset": "+02:00"
},
"description": "",
"address": "",
"city": "",
"zip": "",
"latitude": 44.805932,
"longitude": 20.47436,
"serving_times": [
{
"type_id": 1,
"time_trom": "2020-05-06",
"time_to": "2020-05-06",
"working": true,
"days": [
0
]
}
],
"translations": {
"description": "",
"kiosk_receipt_footer": null,
"welcome_message": null
},
"order_types": [
{
"type_id": 1,
"state": 1,
"is_table_supported": true,
"tip_default": 10,
"tip_max": 20
}
]
}