Update POS module status.
ROLE_SU
ROLE_MANAGER
ROLE_VENUES
ROLE_DEVICE
ROLE_{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 |
Lock venue with POS module status.
ROLE_SU
ROLE_MANAGER
ROLE_VENUES
ROLE_DEVICE
ROLE_{venue}_MANAGER
) venue required | string[a-zA-Z0-9_.-]+ |
x-tenant | string <uuid> |
message | string [ 0 .. 256 ] characters |
Unlock venue with POS module status.
ROLE_SU
ROLE_MANAGER
ROLE_VENUES
ROLE_DEVICE
ROLE_{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_SU
ROLE_MANAGER
ROLE_VENUES
ROLE_VIEWVENUES
ROLE_{venue}_MANAGER
) required | object (VenuesFilter) |
x-tenant | string <uuid> |
Create venue. Works as upsert
ROLE_SU
ROLE_MANAGER
ROLE_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 |
Get venue by ID
ROLE_SU
ROLE_MANAGER
ROLE_VENUES
ROLE_VIEWVENUES
ROLE_{venue}_MANAGER
) venue required | string[a-zA-Z0-9_.-]+ |
x-tenant | string <uuid> |
Update venue by ID. Works as upsert
ROLE_SU
ROLE_MANAGER
ROLE_VENUES
ROLE_{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 |
Delete venue by ID. Be careful as this is irreversible operation.
ROLE_SU
ROLE_MANAGER
ROLE_VENUES
) venue required | string[a-zA-Z0-9_.-]+ |
x-tenant | string <uuid> |
Activate venue by ID. Active venues can receive orders.
ROLE_SU
ROLE_MANAGER
ROLE_VENUES
ROLE_{venue}_MANAGER
) venue required | string[a-zA-Z0-9_.-]+ |
x-tenant | string <uuid> |
Deactivate venue by ID. Inactive venues cannot receive orders.
ROLE_SU
ROLE_MANAGER
ROLE_VENUES
ROLE_{venue}_MANAGER
) venue required | string[a-zA-Z0-9_.-]+ |
x-tenant | string <uuid> |
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) |
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> |