# createPrinterQueue

> Required permission: RestaurantSettingsWrite

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

```graphql
createPrinterQueue(
  restaurantId: ID!
  input: PrinterQueueInput!
): PrinterQueue
```

## Arguments

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

## Returns

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

## Example

```graphql
mutation CreatePrinterQueue($restaurantId: ID!, $input: PrinterQueueInput!) {
  createPrinterQueue(restaurantId: $restaurantId, input: $input) {
    id
    hasOverdueJobs
    isLegacy
    name
  }
}
```

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