# createCashAdjustment

> Required permission: RestaurantCashAdjustmentWrite or RestaurantReportWrite

Source: https://docs.gastrogate.io/docs/api/mutations/createCashAdjustment

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

## Arguments

| Name | Type | Description |
| --- | --- | --- |
| `restaurantId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md)! |  |
| `amount` | [`Int53`](https://docs.gastrogate.io/docs/api/types/Int53.md)! |  |

## Returns

[`CashAdjustment`](https://docs.gastrogate.io/docs/api/types/CashAdjustment.md)

## 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 } }"}'
```
