> ## Documentation Index
> Fetch the complete documentation index at: https://www.twicecommerce.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Order - Line Items

> View and manage individual line items within an order, including products, pricing, and fulfillment details

![Order line items tab showing individual order entries](https://mintcdn.com/twicecommerce/Ab7tx7ih94KQsi0k/images/order-line-items-tab.webp?fit=max\&auto=format\&n=Ab7tx7ih94KQsi0k\&q=85\&s=ae2b2f6443681ca0b30809666f13d018)

Orders > \[Order] > Line Items

> [!NOTE]
>
> This view can look different dependent on your user role. \
> See [Visibility and permissions](#visibility-and-permissions) for details.

## Primary purpose

The Line Items tab displays each individual line item (A line item represents a single product or service entry within an order, containing the specific stock item(s), quantity, pricing, and fulfillment details for that part of the transaction.) in the order with detailed pricing, quantities, assigned stock items, and fulfillment status.

> [accordion] View Order Contents
>
> See all line items in the order, each representing a specific product or service with its pricing, quantity, and configuration.

> [accordion] Review Pricing Breakdown
>
> Check individual line item prices, any discounts applied, taxes, and subtotals to understand the complete order value.

> [accordion] Track Stock Item Assignment
>
> See which specific stock items (Individual trackable inventory units) are assigned to each line item for fulfillment.

> [accordion] Monitor Fulfillment Status
>
> Track which line items have been fulfilled, which are pending, and any issues blocking fulfillment.

> [accordion] Modify Line Items
>
> Add or remove line items, adjust quantities, apply discounts, or update pricing as needed.
>
> Read more: [Add an item](https://www.twicecommerce.com/docs/guides/orders/add-an-item.md) · [Change the dates on an order](https://www.twicecommerce.com/docs/guides/orders/change-the-dates-on-an-order.md) · [Extend an order](https://www.twicecommerce.com/docs/guides/orders/extend-an-order.md) · [Shorten an order](https://www.twicecommerce.com/docs/guides/orders/shorten-an-order.md) · [Remove an item](https://www.twicecommerce.com/docs/guides/orders/remove-an-item.md) · [Charge after the return](https://www.twicecommerce.com/docs/guides/orders/charge-after-the-return.md)
>
> ### Backdate a line item
>
> When editing an existing booking line item in the admin, you can set its start and end dates to the past. This covers situations where an order was not entered at the time it began, for example a walk-in customer whose booking was recorded after the fact.
>
> * The calendar navigates up to 24 months into the past.
>
> * Past days and already-elapsed time slots are selectable.
>
> * Auto-preselection still defaults to today, so backdating requires deliberate selection.
>
> > [!NOTE]
> >
> > Backdating is only available in the admin. Storefront customers cannot select past dates.
>
> ### Availability when editing dates
>
> Changing a line item's dates re-runs the availability check without the line item's own reservation, or those of its add-ons, buffer windows included. A line item never blocks its own edit, so you can extend or move it into time its own buffer occupies. See [Editing an existing line item](https://www.twicecommerce.com/docs/concepts/catalog/availability.md#editing-an-existing-line-item).

> [accordion] Set Pickup and Return Times
>
> When adding or editing a booking line item, you can set any pickup and return time, including times outside the location's configured [fulfillment hours](https://www.twicecommerce.com/docs/concepts/admin/locations.md#fulfillment-hours). The time picker shows all available slots, not just those within the fulfillment schedule.
>
> Inventory availability is still enforced. You cannot book a time slot if no stock is available.
>
> > [!NOTE]
> >
> > The storefront checkout respects fulfillment hours. Customers can only select pickup and return times within the configured schedule. The admin bypass applies only to order management in the admin dashboard.

> [accordion] Price confirmation when editing dates
>
> When you change the start or end dates of a booking line item, the original unit price is kept. If the catalog's list price for the new dates differs from the current unit price, a confirmation dialog appears before saving.
>
> ![Unit price differs from list price confirmation dialog](https://mintcdn.com/twicecommerce/5ARkyCTk5wMAizBn/images/order-line-item-price-confirm.webp?fit=max\&auto=format\&n=5ARkyCTk5wMAizBn\&q=85\&s=9c59380f422764fe53708195e198af16)
>
> The dialog shows both prices (the manual unit price and the list price for the selected dates) and offers three options:
>
> * **Apply manual price**: keep the current unit price unchanged.
> * **Apply list price**: update the unit price to the catalog price for the new dates.
> * **Cancel**: return to the line item editor without saving.
>
> This dialog appears only for catalog line items in edit mode. Custom line items, add-ons, and subscriptions are not affected.
>
> > [!NOTE]
> >
> > When prices match, the line item saves normally with no dialog.
>
> Read more: [Change the dates on an order](https://www.twicecommerce.com/docs/guides/orders/change-the-dates-on-an-order.md)

> [accordion] Set a manual discount on a line item
>
> Open the line item and enter the discount in **Manual discount**. The toggle beside the field switches it between an amount in the order's currency and a percentage.
>
> * A percentage is taken of the unit list price, from 0 to 100 %, to two decimals.
> * The line item stores the resulting amount, so the saved discount is the same whichever unit you typed.
> * Switching the toggle converts the figure to the same discount in the other unit, so the price does not move.
> * In percentage mode the totals under the field read **Manual discount (50 %)**.
>
> ![The Edit line item drawer with Manual discount set to 50 and the % side of the toggle selected](https://mintcdn.com/twicecommerce/7G_4VeKtMsSdqRQY/images/order-line-item-manual-discount-percent.webp?fit=max\&auto=format\&n=7G_4VeKtMsSdqRQY\&q=85\&s=edb5b2f000719531013ce7600041661e)
>
> > [!NOTE]
> >
> > Subscription line items have no **Manual discount** field. Discount a subscription with a discount code.

> [accordion] Discount several line items at once
>
> Open the **Discounts** drawer on the order detail page and work in **Manual discounts**. Nothing is saved until you press **Save**.
>
> * **Apply discount to all items**: enter a figure, choose an amount or **%**, and press **Apply**. A percentage takes that share of each item's value after codes. An amount is split across the items in proportion to their value after codes. Apply 0 to clear every manual discount.
> * **Manual**, **%** and **Final price**: edit any one of the three on a row and the other two follow. **%** is taken of the item's value after codes, not of its **List price**.
> * **Codes**: shows the code discounts on each item, including codes you added in the same edit.
>
> The **Subtotal**, **Discounts**, **Total** and **Paid** figures at the top preview the order as **Save** will leave it.
>
> ![The Discounts drawer with Apply discount to all items open and the Item, List price, Codes, Manual, % and Final price columns](https://mintcdn.com/twicecommerce/7G_4VeKtMsSdqRQY/images/order-discounts-drawer-percent.webp?fit=max\&auto=format\&n=7G_4VeKtMsSdqRQY\&q=85\&s=988bfbe2b18732835820013fc186b9d6)

> [accordion] Add Add-on Products
>
> Attach add-on products to an existing order without cancelling and rebuilding it. Click **+ Add** and open the **Add-ons** tab.
>
> Pick which add-ons the tab lists. Each source carries its own count, so the label reads **Recommended (8)** or **All (34)**:
>
> * **Recommended**: the add-ons attached to the listings already on the order, and the ones offered at checkout. A row says which, with an **Add-on** or **Checkout** chip.
> * **All**: every listing offered as an add-on at the order's location, of which the recommended ones are a part.
>
> After selecting an add-on, choose what it attaches to:
>
> * **A specific line item**: the add-on appears nested under its parent (e.g. a helmet under a bike).
> * **The whole order**: for order-level add-ons that are not tied to a single item.
>
> An add-on added this way goes to the customer holding its parent line. To book it for someone else, open the add-on's own row on **Line Items** and change **Assign to** in the **Customer** card. Only customers already on the order are offered.
>
> Add-on line items carry their own price, which can differ from the add-on's standalone catalog price.
>
> Read more: [Add an add-on](https://www.twicecommerce.com/docs/guides/orders/add-an-add-on-to-an-order.md)

> [accordion] Edit add-ons booked per person
>
> Open the parent line item and find the add-on's card in the drawer. When the add-on's units under that parent differ in customer, variant or price, the card lists each unit on its own row instead of offering one quantity field, under the caption **"These units differ in customer, variant or price. Open a unit to change it."**
>
> Each row names the customer the unit is booked for, its variant and its price:
>
> * **Open a unit** with the customer name to edit that unit on its own. Save or discard your changes to the parent first, because opening a unit replaces the drawer.
> * **Remove a unit** with the bin icon, then save the parent. The row reads struck through until you save, and the same icon puts it back.
> * **Add more units** with the selection below the list. New units go to the customer holding the parent line.
>
> Moving the parent to another customer takes the units that sat on the parent's old customer with it. A unit booked for someone else stays with them. Dates behave the same way: a unit on the parent's old dates takes the new ones, and a unit you dated on its own keeps its own dates.

## Related concepts

Here are a few key concepts of TWICE Commerce that relate to line items.

> [accordion] Line Items vs Listings
>
> A listing (Product offerings available for sale or rent) is the product as it appears in your catalog. A line item (A line item represents a single product or service entry within an order, containing the specific stock item(s), quantity, pricing, and fulfillment details for that part of the transaction.) is a specific instance of that listing within a customer's order, including the quantity ordered, price agreed, and any customizations.
>
> Read more: [Listings](https://www.twicecommerce.com/docs/concepts/catalog/listings.md)

> [accordion] Line Item Stock Assignment
>
> Each line item can have specific stock items assigned for fulfillment. This ensures you know exactly which physical items will be used to fulfill each order entry.
>
> Read more: [Stock Items](https://www.twicecommerce.com/docs/inventory/stock-item-vs-sku.md)

> [accordion] Line Item Fulfillment
>
> Line items can be fulfilled independently, allowing partial order fulfillment when some items are ready before others.
>
> Read more: Order Fulfillment

> [accordion] Pricing and Discounts
>
> Line items capture the agreed price at the time of order, preserving historical pricing even if catalog prices change later. [Discount codes](https://www.twicecommerce.com/docs/concepts/catalog/discount-codes.md) applied at checkout or by an operator are stored as per-item allocations on the order. Operators can add or remove discount codes from the **Discounts** drawer on the order detail page.

> [accordion] Parent-Child Line Items (Add-ons)
>
> When an add-on is attached to a specific line item, a parent-child relationship is created. The add-on line item appears nested under its parent in the line items list.
>
> * A top-level line item is a regular order entry with no parent.
> * An add-on line item references its parent and is displayed indented beneath it.
> * Add-ons cannot be nested under other add-ons. Only one level of nesting is allowed.
> * Editing a parent line item's dates automatically updates the booking period of its add-on children when the add-on shares the same purchase type (e.g. a booking add-on on a booking parent). Add-ons with a different purchase type are not affected.
> * An add-on carries its own customer, which defaults to its parent's. One person's line can hold add-ons booked for other people on the same order, which is how a family package works: one booking, skis in each member's size.
>
> An add-on whose customer differs from its parent's names both people wherever the order names its parent, in the form **"Add-on to Ski package (Anna Virtanen)"**, with the parent's customer in brackets. The add-on's own customer is the one it counts towards.
>
> The customer must already be on the order. An add-on naming someone the order does not carry is rejected.
>
> Order-level add-ons (e.g. delivery fees) are not attached to a specific parent and appear as standalone line items marked as add-ons.
>
> Read more: [Add-on Settings](https://www.twicecommerce.com/docs/catalog/listings/addons.md)

> [accordion] Add-on Pricing on Orders
>
> Add-on pricing on an order depends on how the add-on listing is configured in the catalog:
>
> * **Standalone pricing**: the add-on has its own independent price. The operator confirms or adjusts the price when adding it to the order.
> * **Percentage pricing**: the add-on price is calculated as a percentage (1–200%) of the parent line item's price. The calculated amount is set when the add-on is added.
>
> In both cases, the final price is stored on the add-on line item itself. Changing the parent's price later does not automatically recalculate the add-on's price.

## Visibility and permissions

This tab is gated by `orders:order_line_items`, in the four operations: view (The view operation: read a record without changing it.), create (The create operation: add a new record. Updating an existing one is the manage operation.), manage (The manage operation: update an existing record. Creating and deleting are separate operations.) and delete (The delete operation: remove a record. Most areas archive instead of deleting.).

All four system roles (Owner, Admin, Manager and Member) hold every operation on this.

For what each operation means and the full role matrix, see [Users & Roles](https://www.twicecommerce.com/docs/settings/users-roles.md).

## Related articles

> [card] [Changing an order](https://www.twicecommerce.com/docs/guides/orders/edit-an-order)
>
> Add, move and remove what is on an order after you create it.

> [card] [Create an order](https://www.twicecommerce.com/docs/guides/orders/create-an-order.md)
>
> Put a customer and a priced line on a new order.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.