This endpoint allows you to query the online/offline status of a POS
Online/Offline status response
When you don't have the required permissions to query the online/offline status of the provided location
curl -i -X GET \ 'https://api.tyro.com/connect/locations/{tcLocationId}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "locationId": "merchant:abc123",
- "pos": {
- "vendor": "goodpos"
}, - "status": {
- "code": "GREEN",
- "lastOnlineAt": "2021-02-10T23:53:15.533Z"
}
}