API reference
deletePhysicalPrinter
Required permission: RestaurantSettingsWrite
deletePhysicalPrinter(
restaurantId: ID!
physicalPrinterId: ID!
): RestaurantArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
|
physicalPrinterId |
ID! |
Returns
Example
mutation DeletePhysicalPrinter($restaurantId: ID!, $physicalPrinterId: ID!) {
deletePhysicalPrinter(restaurantId: $restaurantId, physicalPrinterId: $physicalPrinterId) {
id
autoAcceptDeliveryHeroOrders
deliveryHeroChainId
deliveryHeroEnabled
deliveryHeroVendorId
deliveryHeroWebhookUrl
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { deletePhysicalPrinter(...) { __typename } }"}'