# createTill

> Required permission: RestaurantPosWrite

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

```graphql
createTill(
  restaurantId: ID!
  input: TillInput!
): Till
```

## Arguments

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

## Returns

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

## Example

```graphql
mutation CreateTill($restaurantId: ID!, $input: TillInput!) {
  createTill(restaurantId: $restaurantId, input: $input) {
    id
    fixedDeliveryTime
    layout
    name
    preferredApiEnvironment
    sendOrderToKitchen
  }
}
```

```bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { createTill(...) { __typename } }"}'
```
