# CheckoutOpenOrderItemsInput

> The `CheckoutOpenOrderItemsInput` input object.

Source: https://docs.gastrogate.io/docs/api/types/CheckoutOpenOrderItemsInput

**Kind:** Input objects

## Input fields

| Name | Type | Description |
| --- | --- | --- |
| `idempotencyKey` | [`String`](https://docs.gastrogate.io/docs/api/types/String.md)! | An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. |
| `deviceLocation` | [`CoordinatesInput`](https://docs.gastrogate.io/docs/api/types/CoordinatesInput.md) | The location of the device that placed the order. |
| `discountAmount` | [`Int53`](https://docs.gastrogate.io/docs/api/types/Int53.md) | A specific amount to discount from the total amount payable. Can only be used by employees. |
| `employeeId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md) | The Employee that placed the order, when placing an order from a Till while being logged in as an Employee |
| `expectedTotalAmount` | [`Int`](https://docs.gastrogate.io/docs/api/types/Int.md) | If provided, the mutation will abort if the computed total amount doesn't match the value given here. This value should reflect the exact amount that the customer will be asked to pay in the payment step. It might however be lower than the final amount, if the customer adds tip in the payment step. Note that this amount should thus include everything that the customer should pay for, that is: - Each item, including VAT - Each addon item, including VAT - Delivery cost, including VAT - Discount - Tip |
| `installationId` | [`String`](https://docs.gastrogate.io/docs/api/types/String.md) | An identifier that is unique to this particular device and installation of client. |
| `metadata` | [`JSONObject`](https://docs.gastrogate.io/docs/api/types/JSONObject.md) | Any data passed in here will be returned as is when querying for it later. The server never acts upon the data in here. |
| `posTerminalId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md) | The terminal that the card payment should be made on. This is only applicable if using a payment provider that uses physical card terminals. |
| `productsHandedToCustomer` | [`Boolean`](https://docs.gastrogate.io/docs/api/types/Boolean.md) | If this is provided as true the order will go directly to the "Delivered" state after being paid, and will thus not show up in Loco PoS Kitchen |
| `receiptPrinterId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md) | If provided, instead of sending a digital receipt, the original receipt will be printed on the specified printer and the digital receipt will be a copy of the receipt. |
| `tillId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md) | The Till this order was placed from |
| `appLabel` | [`String`](https://docs.gastrogate.io/docs/api/types/String.md)! |  |
| `discountId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md) |  |
| `items` | \[[`OpenOrderItemInput`](https://docs.gastrogate.io/docs/api/types/OpenOrderItemInput.md)!\]! |  |
| `message` | [`String`](https://docs.gastrogate.io/docs/api/types/String.md) |  |
| `pushToken` | [`PushTokenInput`](https://docs.gastrogate.io/docs/api/types/PushTokenInput.md) |  |
| `tip` | [`Int`](https://docs.gastrogate.io/docs/api/types/Int.md) |  |
| `type` | [`MenuType`](https://docs.gastrogate.io/docs/api/types/MenuType.md)! |  |
