API reference
identifyPhysicalPrinters
Required permission: RestaurantSettingsWrite
identifyPhysicalPrinters(
restaurantId: ID!
): [PhysicalPrinter!]Arguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
Returns
Example
mutation IdentifyPhysicalPrinters($restaurantId: ID!) {
identifyPhysicalPrinters(restaurantId: $restaurantId) {
id
identifyStatus
cloudPrntServerUrl
isOnline
lastOnlineAt
mqttEnabled
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { identifyPhysicalPrinters(...) { __typename } }"}'