OrderItem - Liquid Object Reference - 1.1.0
| Object Name | OrderItem |
| Version | 1.1.0 |
Description
An OrderItem represents a single item in an Order.
Attributes
| Attribute | Type | Description |
|---|---|---|
| bookable? | Boolean | Returns true if the OrderItem is for a bookable Product |
| bookable_event | BookableEvent | Returns the BookableEvent for this item’s Product if any |
| bundle_items | List[LineItem] | Returns the items contained in the Bundle |
| bundle_lead? | Boolean | Returns true if the item’s Product is the lead item in a bundle |
| custom_forms | List[CustomForm] | Returns the CustomForms for this OrderItem |
| data | Object | Returns a custom data object for this object |
| id | String | Returns the unique id for this OrderItem |
| in_bundle? | Boolean | Returns true if the OrderItem is in a bundle |
| name | String | Returns the name of the OrderItem Product |
| order | Order | Returns the Order that this OrderItem belongs to |
| pricing | ProductPricing | Returns the Pricing for this OrderItem |
| product | Product | Returns the Product for this OrderItem |
| quantity | Number | Returns the value of the Quantity attribute |
| reserved_product? | Boolean | Returns true if the OrderItem represents a reserved Product |
Deliveries
Attributes related to delivery windows
| Attribute | Type | Description |
|---|---|---|
| delivery_date | Timestamp | Returns the selected delivery date for this OrderItem |
| delivery_day | String | Returns the selected delivery day for this OrderItem |
| delivery_time | String | Returns the selected delivery timeslot for this OrderItem |
| delivery_window | DeliveryWindow | Returns the selected DeliveryWindow for this OrderItem |
Objects that return OrderItems
Back to Liquid Reference for 1.1.0
Back to Documentation