API reference

exportRestaurantCashregisterJournal

Required permission: RestaurantReportRead

graphql
exportRestaurantCashregisterJournal(
  restaurantId: ID!
  input: ExportRestaurantCashregisterJournalInput!
): Void

Arguments

Name Type Description
restaurantId ID!
input ExportRestaurantCashregisterJournalInput!

Returns

Void

Example

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