Create Table

This endpoint is used to create a table within Tyro Connect.

The id that is returned as a part of the response should be used to identify the table for subsequent events or retrieving the details.

Request
Security:
header Parameters
Authorization
required
string
Default: Bearer {$$.env.access_token}
Content-Type
required
string
Value: "application/json"
Request Body schema: application/json
number
required
string

This value must be unique and represents the table number or table id. This field accepts alphanumeric characters e.g MAIN-33.

locationId
required
string

The id of the location as specified by the Tyro Connect system

object (section)

The section within the venue

Responses
201

Created

400

When the provided payload is not valid.

403

When you don't have the right permissions to create a table for the provided location.

post/tables
Request samples
application/json
{
  • "number": "table-1",
  • "locationId": "tc-cool-3000",
  • "section": {
    }
}
Response samples
application/json
{
  • "id": "2688fcf2-44dd-4c72-88ac-79d0910f2983",
  • "number": "table-1",
  • "locationId": "tc-cool-3000",
  • "section": {
    },
  • "openSales": [ ]
}
Copyright © Tyro Payments 2019-2024. All right reserved.