{"title":"LineItem - Liquid Object","slug":"line-item-liquid-object-reference","url":"https://support.storeconnect.com/articles/line-item-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/line-item-liquid-object-reference.md","subtitle":null,"summary":"Access cart line item data -- product, quantity, pricing, bundle contents, delivery windows, pickup options, and shipping dimensions -- through the `lineitem` Liquid object.","type":"Developer_Documentation","video_url":"","keywords":"liquid, line item, lineitem, cart, liquid objects, bundle, pickup options, delivery window, shipping dimensions, product pricing, storeconnect liquid, liquid reference","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"| Object Name | LineItem |\n|-------------|----------|\n| Version     | 1.2.3    |\n\nA LineItem represents a single line in the customer’s Cart. It always relfects a Product that the customer is purchasing, whether it be a regular product, a bundle, a subscription, or even shipping. Whatever the Product is, the LineItem always represents a single distinct configuration of that Product.\n\n## Attributes\n\n| Attribute         | Type               | Description                                                                           |\n|-------------------|--------------------|---------------------------------------------------------------------------------------|\n| bookable?         | Boolean            | Returns TRUE if the LineItem is for a bookable Product                                |\n| bookable_event    | BookableEvent      | Returns the BookableEvent for the LineItem                                            |\n| bundle_items      | List[LineItem]     | Returns the items contained in the Bundle                                             |\n| bundle_lead?      | Boolean            | Returns TRUE if the LineItem is the lead item in a Bundle                             |\n| custom_forms      | List[CustomForm]   | Returns a list of CustomForms for this LineItem                                       |\n| delete_path       | String             | Returns a path that can be used in a delete link to delete the LineItem from the Cart |\n| edit_bundle_path  | String             | Returns a path that can be used in a link to edit LineItem                            |\n| id                | String             | Returns the unique id for this LineItem                                               |\n| in_bundle?        | Boolean            | Returns TRUE if the LineItem is part of a Bundle                                      |\n| max_quantity      | Number             | Returns the maximum valid quantity level for this LineItem                            |\n| min_quantity      | Number             | Returns the minimum valid quantity level for this LineItem                            |\n| name              | String             | Returns the name of the LineItem Product                                              |\n| pickup_options    | List[PickupOption] | Returns a list of valid Pickup locations for this LineItem Product                    |\n| pricing           | ProductPricing     | Returns the Pricing for this LineItem                                                 |\n| product           | Product            | Returns the Product for this LineItem                                                 |\n| quantity          | Number             | Returns the value of the Quantity attribute                                           |\n| reserved_product? | Boolean            | Returns TRUE if the LineItem is for a reserved Product                                |\n| shipping_methods  | List[String]       | Returns a list of valid shipping methods for this LineItem                            |\n\n### Deliveries\n\nAttributes related to delivery windows\n\n| Attribute                  | Type                 | Description                                             |\n|----------------------------|----------------------|---------------------------------------------------------|\n| available_delivery_dates   | List[Timestamp]      | Returns available delivery dates for the LineItem       |\n| available_delivery_days    | List[String]         | Returns available delivery days for the LineItem        |\n| available_delivery_windows | List[DeliveryWindow] | Returns available DeliveryWindows for the LineItem      |\n| delivery_date              | Timestamp            | Returns the selected delivery date for the LineItem     |\n| delivery_day               | String               | Returns the selected delivery day for the LineItem      |\n| delivery_time              | String               | Returns the selected delivery timeslot for the LineItem |\n\n### Weights\n\nAttributes related to weights\n\n| Attribute                | Type   | Description                                                 |\n|--------------------------|--------|-------------------------------------------------------------|\n| shipping_dimensions_unit | String | Returns the unit of the shipping dimensions of the LineItem |\n| shipping_height          | Number | Returns the shipping height of the LineItem                 |\n| shipping_length          | Number | Returns the shipping length of the LineItem                 |\n| shipping_weight          | Number | Returns the shipping weight of the LineItem                 |\n| shipping_weight_unit     | String | Returns the unit of the shipping weight of the LineItem     |\n| shipping_width           | Number | Returns the shipping width of the LineItem                  |\n| total_shipping_weight    | Number | Returns the total shipping weight of the LineItem           |\n\n## Objects that return LineItems\n\n-   [Cart](cart-liquid-object-reference)\n-   [CustomForm](custom-form-liquid-object-reference)\n-   [DeliveryOptions](delivery-options-liquid-object-reference)\n-   [LineItem](line-item-liquid-object-reference)\n-   [OrderItem](order-item-liquid-object-reference)\n\n[Back to Object List](https://support.getstoreconnect.com/article/Liquid-Objects)"}