OrderLine

TypeTable
OrderLinegdata_order_line

Order item details refer to the specifics of each item within an order, including the selected modifiers and the pricing associated. For instance, if a customer orders a 'Burger' with the modifier 'extra cheese', the order details will include this item, its modifier, and the total price (including any extra charges for the modifier).

Column NameData TypeDescription
idvarchar(255) NOT NULLUnique identifier for the order line item.
order_idvarchar(255)Foreign key reference to the main order table.
orderdisplayidvarchar(255)Display ID associated with the order for reference.
createdattimestampTimestamp indicating when the order line was created.
createdbyvarchar(255)Identifier for the individual or system that created the order line.
modifiedattimestampTimestamp indicating when the order line was last modified.
modifiedbyvarchar(255)Identifier for the individual or system that last modified the order line.
statusvarchar(255)Current status of the order line.
tagsvarchar(255)Additional labels or tags associated with the order line.
itemnamevarchar(255)Name of the item.
itemtypevarchar(255)
quantityfloat8Quantity of the item ordered.
currencycodevarchar(255)The currency code used for this line item.
unitpricefloat8Price per unit of the item.
discountamountfloat8The discount amount applied to the line item.
discountcodevarchar(255)Discount code, if any, applied to the line item.
taxamountfloat8Tax amount applied to the line item.
totalpricefloat8Total price of the line item, including taxes, discounts, and other charges.
itemexternalidvarchar(255)External ID associated with the item.
iteminternalidvarchar(255)Internal ID associated with the item.
menuidvarchar(255)Identifier for the menu associated with the line item.
menuitemidvarchar(255)ID for the specific menu item.
modifieridvarchar(255)Identifier for any modifiers applied to the item (like extra cheese or toppings).
recipeidvarchar(255)Identifier for the recipe associated with the item.
sortingindexint4An index number to determine the order in which items appear (e.g., in a receipt or display).
uniquemenuitemidvarchar(255)A unique identifier for the menu item to identify menu item and it’s modifiers(Each menu item and it’s modifiers has the same unique menu item id)