Schemas
OrderItem
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
lineIdstringRequired1-128 charsUnique within the order
productIdstringRequired1-128 charsThe menu file's products[].id
namestringRequired1-200 charsAs the customer saw it
quantityintegerRequired1-999unitPriceintegerRequired0-10000000Gross
taxRatenumberRequired0-100The line's tax rate (the menu file's taxRate); it applies to the line's modifiers too
notestringOptional0-500 chars[] for none
Show child attributesHide child attributes
modifierGroupIdstringRequired1-128 charsThe menu file's modifierGroups[].id
modifierOptionIdstringRequired1-128 charsThe menu file's options[].id
namestringRequired1-200 charsAs the customer saw it
quantityintegerRequired1-999Per piece of the line
unitPriceintegerRequired0-10000000Gross