๐จโ๐ณOrder endpoints
This page provides a description of the available API routes for managing order endpoint devices.
Last updated
This page provides a description of the available API routes for managing order endpoint devices.
Last updated
Once the product (PLU) is added to the Ticket
, an Order
is created. Based on product settings, order is sent to one or multiple order endpoints for processing. The order endpoint serves as a device that handles incoming orders. This endpoint can take the form of either a printer, such as a kitchen printer, which generates printed instructions for the food preparation team, or a tablet that enables personnel to provide feedback to cashiers once the food is being prepared or is ready for pickup.
Order endpoint device is represented by OrderEndpoint
class.
GET
http://{server-address}/orderendpoints
Returns all order endpoints that matches query parameters. Result is of type QueryResult<OrderEndpoint>
.
Name | Type | Description |
---|---|---|
GET
http://{server-address}/orderendpoints/{name}
Result is of type OrderEndpoint
.
POST
http://{server-address}/orderendpoints
Creates new order endpoint. Result is of type OrderEndpoint
.
Required rights
Authorized user must have OrderEndpointCreate
right assigned.
PUT
http://{server-address}/orderendpoints/{name}
Creates new or updates existing order endpoint. Result is of type OrderEndpoint
.
Required rights
Authorized user must have assigned OrderEndpointCreate
or OrderEndpointUpdate
right.
DELETE
http://{server-address}/orderendpoints/{name}
Required rights
Authorized user must have OrderEndpointDelete
right assigned.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
name
string
Supports NData syntax.
$skip
int
Pagination property. Describing number of records to skip from beginning of result collection.
$take
int
Pagination property. Maximum count of items to be returned.
$sort
string[]
Comma separated list of property names. Please see NData syntax.
$count
bool
If set to true
, response will not contain items
collection. Use to get resource count, not the resources themselves.
isActive
bool
Supports NData syntax.
type
string
Supports NData syntax.
address
string
Supports NData syntax.
Authorization*
string
Authorization header with authorization token.
name*
string
Unique order endpoint name.
Authorization*
string
Authorization header with authorization token.
Authorization*
string
Authorization header with authorization token.
(body)*
OrderEndpoint
Model to create.
name*
string
Unique order endpoint name.
Authorization*
string
Authorization header with authorization token.
(body)*
OrderEndpoint
Model to create or update.
name*
string
Unique order endpoint name.
Authorization*
string
Authorization header with authorization token.