Returns a PaginatedResponse object that contains a paginated array of
the restaurants that have connected to your integrated partner service.
Information about each restaurant is included in the array as a
PartnerAccessExternalRep object.
Use the pageSize query parameter to control the number of restaurants
returned in the response. The default pageSize is 100. The maximum
pageSize is 200.
Request the next page of restaurant information using the pageToken
query parameter. You get the token string for the next page from the
nextPageToken value of the PaginatedResponse object for a page of
results. You can also get the token strings for the first and next pages
from the link response header
fields.
| lastModified | string <date> Limits the return data to restaurants that changed their access configuration for your partner service after a specific date and time. You can use this parameter to identify new or updated restaurants connected to your partner service. The restaurants included in the response data either:
You must specify the date and
time
as a UTC timestamp in ISO 8601 format, for example:
|
| pageSize | integer [ 1 .. 200 ] Controls the number of |
| pageToken | string Returns a specific set of restaurants in the response value. You get
the token string for the next page of connected restaurants from the
|
Returns a PaginatedResponse object that contains a paginated array of
the restaurants that have connected to your integrated partner service.
Your Toast API client does not have permission to use the
/connectedRestaurants endpoint.
curl -i -X GET \ 'https://toast-api-server/partners/v1/connectedRestaurants?lastModified=2019-08-24&pageSize=1&pageToken=string' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
[- {
- "currentPageNum": 1,
- "results": [
- {
- "restaurantGuid": "7ab295f6-8dc8-4cb6-8cdb-072b83e84184",
- "managementGroupGuid": "75063706-dd6e-4da6-8bb6-3a99e218e686",
- "restaurantName": "Main Street Cafe",
- "locationName": "123 Main Street",
- "createdByEmailAddress": "clefebvre@mainstreetcafe.com",
- "externalGroupRef": "",
- "externalRestaurantRef": "",
- "modifiedDate": 1678823073353,
- "createdDate": 1678823073353,
- "isoModifiedDate": "2023-03-14T19:44:33.353Z",
- "isoCreatedDate": "2023-03-14T19:44:33.353Z"
}
], - "totalResultCount": 3222,
- "pageSize": 1,
- "currentPageToken": "cDoxLHM6MQ==",
- "nextPageToken": "cDoyLHM6MQ==",
- "totalCount": 3222,
- "nextPageNum": 2,
- "lastPageNum": 3222
}
]