Get venue by ID
ROLE_SUROLE_MANAGERROLE_VENUESROLE_VIEWVENUESROLE_{venue}_MANAGER) | venue required | string[a-zA-Z0-9_.-]+ |
| x-tenant | string <uuid> |
Update venue by ID. Works as upsert
ROLE_SUROLE_MANAGERROLE_VENUESROLE_{venue}_MANAGER) | venue required | string[a-zA-Z0-9_.-]+ |
| x-tenant | string <uuid> |
| id | string [ 0 .. 128 ] characters [a-zA-Z0-9_.-]+ |
| name required | string [ 1 .. 255 ] characters |
| menu | string[a-zA-Z0-9_.-]+ |
| active | boolean |
| tempDisabled | boolean |
| tempDisabledReason | string [ 0 .. 255 ] characters |
object (Address) | |
| phone | string [ 1 .. 64 ] characters |
string | |
| description | string [ 0 .. 1024 ] characters |
| timeZone required | string |
object (GeoPosition) | |
object Map key refers to possible order types, like 'DELIVERY', 'TAKE_AWAY', 'DINE_IN', etc. | |
Array of objects (CalendarException) [ 0 .. 7 ] items | |
| warehouse | string[a-zA-Z0-9_.-]+ |
| sync | boolean |
| syncId | string^[a-z0-9A-Z]+$ |
object (ModuleStatus) | |
object | |
object |
{- "id": "string",
- "name": "string",
- "menu": "string",
- "active": true,
- "tempDisabled": true,
- "tempDisabledReason": "string",
- "address": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "phone": "string",
- "email": "string",
- "description": "string",
- "timeZone": "Europe/Warsaw",
- "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "channelConstraints": {
- "property1": {
- "active": true,
- "minDeliveryTime": "string",
- "minOrderValue": 0,
- "week": {
- "property1": [
- {
- "from": "string",
- "to": "string"
}
], - "property2": [
- {
- "from": "string",
- "to": "string"
}
]
}, - "paymentTypes": [
- "CASH"
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "active": true,
- "minDeliveryTime": "string",
- "minOrderValue": 0,
- "week": {
- "property1": [
- {
- "from": "string",
- "to": "string"
}
], - "property2": [
- {
- "from": "string",
- "to": "string"
}
]
}, - "paymentTypes": [
- "CASH"
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
}, - "exceptions": [
- {
- "date": "2019-08-24",
- "reason": "string"
}
], - "warehouse": "string",
- "sync": true,
- "syncId": "string",
- "posIntegratorStatus": {
- "monitor": true,
- "locked": true,
- "lastHeartBeat": "2019-08-24T14:15:22Z",
- "message": "string",
- "version": "string"
}, - "device": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "extra": {
- "property1": "string",
- "property2": "string"
}
}Delete venue by ID. Be careful as this is irreversible operation.
ROLE_SUROLE_MANAGERROLE_VENUES) | venue required | string[a-zA-Z0-9_.-]+ |
| x-tenant | string <uuid> |
Create venue. Works as upsert
ROLE_SUROLE_MANAGERROLE_VENUES) | x-tenant | string <uuid> |
| id | string [ 0 .. 128 ] characters [a-zA-Z0-9_.-]+ |
| name required | string [ 1 .. 255 ] characters |
| menu | string[a-zA-Z0-9_.-]+ |
| active | boolean |
| tempDisabled | boolean |
| tempDisabledReason | string [ 0 .. 255 ] characters |
object (Address) | |
| phone | string [ 1 .. 64 ] characters |
string | |
| description | string [ 0 .. 1024 ] characters |
| timeZone required | string |
object (GeoPosition) | |
object Map key refers to possible order types, like 'DELIVERY', 'TAKE_AWAY', 'DINE_IN', etc. | |
Array of objects (CalendarException) [ 0 .. 7 ] items | |
| warehouse | string[a-zA-Z0-9_.-]+ |
| sync | boolean |
| syncId | string^[a-z0-9A-Z]+$ |
object (ModuleStatus) | |
object | |
object |
{- "id": "string",
- "name": "string",
- "menu": "string",
- "active": true,
- "tempDisabled": true,
- "tempDisabledReason": "string",
- "address": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "phone": "string",
- "email": "string",
- "description": "string",
- "timeZone": "Europe/Warsaw",
- "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "channelConstraints": {
- "property1": {
- "active": true,
- "minDeliveryTime": "string",
- "minOrderValue": 0,
- "week": {
- "property1": [
- {
- "from": "string",
- "to": "string"
}
], - "property2": [
- {
- "from": "string",
- "to": "string"
}
]
}, - "paymentTypes": [
- "CASH"
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "active": true,
- "minDeliveryTime": "string",
- "minOrderValue": 0,
- "week": {
- "property1": [
- {
- "from": "string",
- "to": "string"
}
], - "property2": [
- {
- "from": "string",
- "to": "string"
}
]
}, - "paymentTypes": [
- "CASH"
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
}, - "exceptions": [
- {
- "date": "2019-08-24",
- "reason": "string"
}
], - "warehouse": "string",
- "sync": true,
- "syncId": "string",
- "posIntegratorStatus": {
- "monitor": true,
- "locked": true,
- "lastHeartBeat": "2019-08-24T14:15:22Z",
- "message": "string",
- "version": "string"
}, - "device": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "extra": {
- "property1": "string",
- "property2": "string"
}
}Deactivate venue by ID. Inactive venues cannot receive orders.
ROLE_SUROLE_MANAGERROLE_VENUESROLE_{venue}_MANAGER) | venue required | string[a-zA-Z0-9_.-]+ |
| x-tenant | string <uuid> |
Activate venue by ID. Active venues can receive orders.
ROLE_SUROLE_MANAGERROLE_VENUESROLE_{venue}_MANAGER) | venue required | string[a-zA-Z0-9_.-]+ |
| x-tenant | string <uuid> |
Get paginated list of venues. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SUROLE_MANAGERROLE_VENUESROLE_VIEWVENUESROLE_{venue}_MANAGER) required | object (VenuesFilter) |
| x-tenant | string <uuid> |
Unlock venue with POS module status.
ROLE_SUROLE_MANAGERROLE_VENUESROLE_DEVICEROLE_{venue}_MANAGER) | venue required | string[a-zA-Z0-9_.-]+ |
| x-tenant | string <uuid> |
Update POS module status.
ROLE_SUROLE_MANAGERROLE_VENUESROLE_DEVICEROLE_{venue}_MANAGER) | venue required | string[a-zA-Z0-9_.-]+ |
| x-tenant | string <uuid> |
| version required | string [ 0 .. 32 ] characters ^[a-z0-9A-Z.-]+$ |
| ok | boolean |
| message | string [ 0 .. 256 ] characters |
{- "version": "string",
- "ok": true,
- "message": "string"
}Lock venue with POS module status.
ROLE_SUROLE_MANAGERROLE_VENUESROLE_DEVICEROLE_{venue}_MANAGER) | venue required | string[a-zA-Z0-9_.-]+ |
| x-tenant | string <uuid> |
| message | string [ 0 .. 256 ] characters |
{- "message": "string"
}Validate venue cluster (batch of venues). Returns information if order can be made to those venues simultaneously. Currently only single venue is allowed.
| x-tenant | string <uuid> |
| venues required | Array of strings [ 0 .. 16 ] items |
| channel | string [ 0 .. 32 ] characters [A-Z0-9_]+ There is also 'orderType' alias of this field for backward compatibility. |
| due | string <date-time> |
object (GeoPosition_Cluster) |
{- "venues": [
- "string"
], - "channel": "string",
- "due": "2019-08-24T14:15:22Z",
- "deliveryPoint": {
- "lat": 0,
- "lng": 0
}
}Validate venue cluster (batch of venues). Returns information if order can be made to those venues simultaneously. Currently only single venue is allowed.
| x-tenant | string <uuid> |
| venues required | Array of strings [ 0 .. 16 ] items |
| channel | string [ 0 .. 32 ] characters [A-Z0-9_]+ There is also 'orderType' alias of this field for backward compatibility. |
| due | string <date-time> |
object (GeoPosition_Cluster) |
{- "venues": [
- "string"
], - "channel": "string",
- "due": "2019-08-24T14:15:22Z",
- "deliveryPoint": {
- "lat": 0,
- "lng": 0
}
}Locate venues near provided geo position.
| lat required | number |
| lng required | number |
| maxDistance | number >= 0 |
| limit | integer <int32> [ 1 .. 100 ] |
| at | string <date-time> Timestamp for exception calculation. Defaults to 'now' |
| x-tenant | string <uuid> |