API reference
identifyPhysicalPrinter
Required permission: RestaurantSettingsWrite
identifyPhysicalPrinter(
restaurantId: ID!
physicalPrinterId: ID!
): PhysicalPrinterArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
|
physicalPrinterId |
ID! |
Returns
Example
mutation IdentifyPhysicalPrinter($restaurantId: ID!, $physicalPrinterId: ID!) {
identifyPhysicalPrinter(restaurantId: $restaurantId, physicalPrinterId: $physicalPrinterId) {
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 { identifyPhysicalPrinter(...) { __typename } }"}'