A lightweight endpoint that allows you to determine if a restaurant's menu data has been updated. Toast support strongly recommends that you do not make a call to the /menus
endpoint unless the date and time returned by the /metadata
endpoint is more recent than the lastUpdated
date and time. While this recommendation applies to all clients of the menus API, it is particularly important for clients that have limited bandwidth.
successful operation
curl -i -X GET \ https://toast-api-server/menus/v3/metadata \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Toast-Restaurant-External-ID: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
{- "restaurantGuid": "ea0a8ddc-1996-4cd1-bc9b-c9aaabff38dc",
- "lastUpdated": "string"
}