API reference

createCashAdjustment

Required permission: RestaurantCashAdjustmentWrite or RestaurantReportWrite

graphql
createCashAdjustment(
  restaurantId: ID!
  amount: Int53!
): CashAdjustment

Arguments

Name Type Description
restaurantId ID!
amount Int53!

Returns

CashAdjustment

Example

graphql
mutation CreateCashAdjustment($restaurantId: ID!, $amount: Int53!) {
  createCashAdjustment(restaurantId: $restaurantId, amount: $amount) {
    id
    amount
    createdAt
    updatedAt
  }
}
bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { createCashAdjustment(...) { __typename } }"}'