Floor plan
Sections
The section node
Method |
Type |
Description |
id |
ID! |
|
pk |
Int |
|
store |
StoreNode! |
|
name |
String! |
|
costCurrency |
SectionCostCurrency |
|
cost |
String |
|
stripeLocationId |
String |
|
productCategories |
ProductCategoryNodeConnection! |
|
tables |
TableNodeConnection! |
|
terminals |
TerminalNodeConnection! |
|
costAmount |
Float |
|
extraInfo |
JSONString |
|
createdAt |
DateTime! |
|
updatedAt |
DateTime! |
|
Create a section
input TableInput {
id: ID
name: String!
maxSeatsNumber: Int!
costAmount: Decimal
shape: String
}
Update a section
Delete a section
Tables
The table node
Method |
Type |
Description |
id |
ID! |
|
pk |
Int |
|
section |
SectionNode! |
|
name |
String! |
|
maxSeatsNumber |
Int! |
|
costCurrency |
TableCostCurrency |
|
cost |
String |
|
shape |
TableShape! |
|
floorPlans |
FloorPlanTableNodeConnection! |
|
orders |
OrderNodeConnection! |
|
reservations |
ReservationNodeConnection! |
|
costAmount |
Float |
|
extraInfo |
JSONString |
|
createdAt |
DateTime! |
|
updatedAt |
DateTime! |
|
Create a table
Update a table
Delete a table
The floor plan node
Method |
Type |
Description |
id |
ID! |
|
pk |
Int |
|
store |
StoreNode! |
|
name |
String! |
|
tables |
FloorPlanTableNodeConnection! |
|
extraInfo |
JSONString |
|
createdAt |
DateTime! |
|
updatedAt |
DateTime! |
|
Create a floor plan
Update a floor plan
Delete a floor plan
Add table to floor plan
Note that extraInfo
input field should have the following data:
{
"size": {
"h": 75,
"w": 75
},
"position": {
"x": 285,
"y": 120
}
}
Update table on a floor plan
Remove a table from a floor plan