List Tables

This endpoint returns all the tables of a given location. It is possible to apply filters to the tables being fetched.

Filtering

The following locationId=tc-cool-3000&openSales=true will return all tables with open sales for location tc-cool-3000.

Request
Security:
query Parameters
locationId
required
string

The Tyro Connect Location Id of the tables to be retrieved. This parameter is required.

Example: locationId=2688fcf2-44dd-4c72-88ac-79d0910f2983
openSales
boolean

Returns only tables that contain at least one open sale.

Example: openSales=true
header Parameters
Authorization
required
string
Default: Bearer {$$.env.access_token}
Responses
200

The list of tables

403

When you don't have the right permissions to fetch the tables for the provided location

404

When the provided locationId does not exist in our system

get/tables
Request samples
curl -i -X GET \
  'https://api.tyro.com/connect/tables?locationId=string&openSales=true' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "results": [
    ]
}
Copyright © Tyro Payments 2019-2024. All right reserved.