Returns an array of PartnerAccessExternalRep
objects that contain information about the Toast restaurants that your partner
API client can access. If a lastModified
date is specified, the API returns
all objects that were created or modified after that date.
Returns the list of external partner accesses
Your Toast API client does not have permission to use the
/restaurants
endpoint.
curl -i -X GET \ 'https://toast-api-server/partners/v1/restaurants?lastModified=2019-08-24' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
[- {
- "restaurantGuid": "e728cd53-2fa7-4e63-8f8f-93e78ea66b03",
- "managementGroupGuid": "bdfda703-2a83-4e0f-9b8a-8ea0ee6cab79",
- "deleted": true,
- "restaurantName": "Main Street Cafe",
- "locationName": "123 Main Street",
- "createdByEmailAddress": "clefebvre@mainstreetcafe.com",
- "externalGroupRef": "string",
- "externalRestaurantRef": "string",
- "modifiedDate": 1678846869551,
- "createdDate": 1643858534451,
- "isoModifiedDate": "2023-03-12T08:32:34.008Z",
- "isoCreatedDate": "2022-05-17T10:21:38.008Z"
}
]