# OrderItem `OrderItem` — object Name, prices and tax rate are taken as sent. `productId` / `modifierOptionId` are matched to the restaurant's product or option; a line that cannot be matched still reaches the till with your data. Switched-off items are matched and accepted. ## Attributes - `lineId` (string, required, 1-128 chars) Unique within the order - `productId` (string, required, 1-128 chars) The menu file's products[].id - `name` (string, required, 1-200 chars) As the customer saw it - `quantity` (integer, required, 1-999) - `unitPrice` (integer, required, 0-10000000) Gross - `taxRate` (number, required, 0-100) The line's tax rate (the menu file's taxRate); it applies to the line's modifiers too - `note` (string, optional, 0-500 chars) - `modifiers` (array of object, required, 0-100 items) [] for none - `modifierGroupId` (string, required, 1-128 chars) The menu file's modifierGroups[].id - `modifierOptionId` (string, required, 1-128 chars) The menu file's options[].id - `name` (string, required, 1-200 chars) As the customer saw it - `quantity` (integer, required, 1-999) Per piece of the line - `unitPrice` (integer, required, 0-10000000) Gross ## Example ```json { "lineId": "string", "productId": "string", "name": "string", "quantity": 1, "unitPrice": 1, "taxRate": 1.5, "note": "string", "modifiers": [ { "modifierGroupId": "string", "modifierOptionId": "string", "name": "string", "quantity": 1, "unitPrice": 1 } ] } ```