We want to create an order, but don't know how the server will know that the order created via the api is for the specific table
We will be receiving an event that a table is seated from a reservations integration. At that time we plan to open an order for the table, but do not know how the server will know that the order we create is for the table that is seated. How is this possible? Conversely, if we switch the flow and an order is created by a server, we receive the order via webhook, is there a way to tell an order is associated with a table? Can restaurants maintain a mapping of tables between external reservation partners and restaurants (e.g. sevenrooms) so that we can relate the two?
-
Official comment
Hi Alex,
Thanks for reaching out! When POSTing an order with a specific table, you can include the
order.tableobject. The GUID for a table can be found by calling /config/v2/tables.
By caching the response from /config/v2/tables, you can reference it after receiving the order that was created in Toast to determine which table the order is associated with.
More on building a reservation integration in our cookbook here!
Let me know how else I can help on this one.
Best,
Taylor
Please sign in to leave a comment.
Comments
1 comment