API reference
deleteTill
Required permission: RestaurantPosWrite
deleteTill(
restaurantId: ID!
tillId: ID!
): DeletionStatusArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
|
tillId |
ID! |
Returns
Example
mutation DeleteTill($restaurantId: ID!, $tillId: ID!) {
deleteTill(restaurantId: $restaurantId, tillId: $tillId)
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { deleteTill(...) { __typename } }"}'