API reference
createCashregisterReport
Required permission: RestaurantReportWrite
createCashregisterReport(
restaurantId: ID!
): ZReportArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
Returns
Example
mutation CreateCashregisterReport($restaurantId: ID!) {
createCashregisterReport(restaurantId: $restaurantId) {
id
date
html
serialNumber
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { createCashregisterReport(...) { __typename } }"}'