API reference

deleteTill

Required permission: RestaurantPosWrite

graphql
deleteTill(
  restaurantId: ID!
  tillId: ID!
): DeletionStatus

Arguments

Name Type Description
restaurantId ID!
tillId ID!

Returns

DeletionStatus

Example

graphql
mutation DeleteTill($restaurantId: ID!, $tillId: ID!) {
  deleteTill(restaurantId: $restaurantId, tillId: $tillId)
}
bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { deleteTill(...) { __typename } }"}'