{"title":"OrderItem Object Reference","slug":"orderitem-object-reference","url":"https://support.storeconnect.com/articles/orderitem-object-reference","url_markdown":"https://support.storeconnect.com/articles/orderitem-object-reference.md","subtitle":null,"summary":"The Salesforce standard OrderItem object, which StoreConnect extends for line-level detail on web and POS orders. StoreConnect adds lookups for shipment, stock level, delivery window, bundle lead item, product component, linked order item, and the users who assisted or cancelled the line.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, OrderItem, OrderItem, api","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Overview\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `OrderItem` |\n| **Label** | OrderItem |\n| **Plural Label** | OrderItems |\n| **Type** | Standard Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| Assisted By User | `s_c__Assisted_By_User_Id__c` | Lookup ([User](user-object-reference)) | No | The User who assisted with adding this item to the order. |\n| Bundle Lead Item | `s_c__Bundle_Lead_Item_Id__c` | Lookup ([OrderItem](orderitem-object-reference)) | No | For a v2 Product Bundle, the lead (anchor) OrderProduct this component item belongs to. Used to group bundle component order products under their lead item. |\n| Cancelled At | `s_c__Cancelled_At__c` | DateTime | No | When this order item was cancelled. |\n| Cancelled By User | `s_c__Cancelled_By_User_Id__c` | Lookup ([User](user-object-reference)) | No | The User who cancelled this order item. |\n| Delivery Day | `s_c__Delivery_Day__c` | Picklist | No | The selected delivery day of the week for this Order Item. |\n| Delivery Start Date | `s_c__Delivery_Start_Date__c` | Date | No | The selected delivery start date for this Order Item. |\n| Delivery Time | `s_c__Delivery_Time__c` | Text(255) | No | The selected delivery time slot for this Order Item. |\n| Delivery Window Debug | `s_c__Delivery_Window_Debug__c` | Text(255) | No | Debugging information for the corresponding delivery window of this Order Item. |\n| Delivery Window | `s_c__Delivery_Window_Id__c` | Lookup ([s_c__Delivery_Window__c](delivery-window-object-reference)) | No | The selected Delivery Window for this Order Item. |\n| Deposit Amount | `s_c__Deposit_Amount__c` | Currency(18,2) | No | The deposit charged during checkout (if any) |\n| Deposit Payment Mode | `s_c__Deposit_Payment_Mode__c` | Picklist | No | The deposit payment mode for this Order Product. |\n| Deposit Percentage | `s_c__Deposit_Percentage__c` | Number(18,2) | No | The deposit percentage for this Order Product. |\n| Deposit Points | `s_c__Deposit_Points__c` | Number(18,0) | No | The deposit points amount charged during checkout (if any). |\n| Earn Points Amount | `s_c__Earn_Points_Amount__c` | Number(18,0) | No | The number of points earned per quantity with this Order Item. |\n| External Tax Detail | `s_c__External_Tax_Detail__c` | LongTextArea(32768) | No | Per-jurisdiction tax breakdown from an external tax provider (e.g. Avalara). Stored as a JSON array of objects with `name`, `rate`, and `amount` fields. |\n| Is List Price Tax Inclusive? | `s_c__Is_List_Price_Tax_Inclusive__c` | Formula (Checkbox) | No | For System/Internal Use Only - sourced from associated PricebookEntry for price book tax pricing |\n| Is Restricted Product? | `s_c__Is_Restricted_Product__c` | Formula (Checkbox) | No | For Internal system use |\n| Is Store List Price Tax Inclusive? | `s_c__Is_Store_List_Price_Tax_Inclusive__c` | Formula (Checkbox) | No | For System/Internal Use Only - sourced from associated Order.Store__c for store tax pricing |\n| Linked Order Product | `s_c__Linked_Order_Item_Id__c` | Lookup ([OrderItem](orderitem-object-reference)) | No | The related OrderProduct this item is linked to. |\n| Linked Order Product Link Type | `s_c__Linked_Order_Item_Link_Type__c` | Picklist | No | The type of relationship between this item and its linked OrderProduct (if any). |\n| Linked Order Product Reason | `s_c__Linked_Order_Item_Reason__c` | LongTextArea(1024) | No | The reason this item is linked to another OrderProduct (e.g. the reason the item was returned). |\n| Notes | `s_c__Notes__c` | LongTextArea(10000) | No | Optional notes for this Order Item, copied from the Cart Item at the Point of Sale when the order is created. |\n| Order Checkout Step | `s_c__Order_Checkout_Step__c` | Formula (Text) | No | For System/Internal Use Only |\n| Points Amount | `s_c__Points_Amount__c` | Number(18,0) | No | The number of points used per quantity for purchasing this Order Item. |\n| Price Manually Updated | `s_c__Price_Manually_Updated__c` | Checkbox | No | For System/Internal use only.          Used in conjuntion with tax calculator and for product prices WITHOUT tax to avoid deducting the existing UnitPrice tax from the UnitPrice and simply amend the new calculated to the Unit Price.         Via OrderItem trigger this is set to true if its a product price without tax and either UnitPrice or Quantity has changed. See OrderItemHelper.clearTaxAmount for further details. |\n| Product Component | `s_c__Product_Component_Id__c` | Lookup ([s_c__Product_Component__c](product-component-object-reference)) | No | The product component associated with this Order Product. |\n| Shipment | `s_c__Shipment_Id__c` | Lookup ([s_c__Shipment__c](shipment-object-reference)) | No | This represents the `Shipment__c` that this order item is part of |\n| Stock Level | `s_c__Stock_Level_Id__c` | Lookup ([s_c__Stock_Level__c](stock-level-object-reference)) | No | This represents the `Stock_Level__c` that is linked to this OrderItem's product |\n| Subscription | `s_c__Subscription_Id__c` | Lookup ([s_c__Subscription__c](subscription-object-reference)) | No | If the Order was created by a Subscription, this will be the source Subscription for this OrderItem |\n| Subscription Term Count | `s_c__Subscription_Term_Count__c` | Number(18,0) | No | The subscription term count for the OrderItem. |\n| Tax Amount | `s_c__Tax_Amount__c` | Currency(18,4) | No | This is the Total Tax calculated for this Order Item. If no `Tax__c` is configured for the store's zone this value will be 0. |\n| [Deprecated] Tax | `s_c__Tax__c` | Number(18,2) | No | [Deprecated] Use Tax_Amount__c instead |\n| Total of Discounts | `s_c__Total_of_Discounts__c` | Currency(18,2) | No | This is the Total Discount calculated for this Order Item. This value will be 0 if there is no discount present. |\n| Transaction Discount | `s_c__Transaction_Discount__c` | Number(18,2) | No | The order-level discount that was applied to this OrderItem (if any). |\n| Unit Discount Points | `s_c__Unit_Discount_Points__c` | Number(18,0) | No | The points twin of Unit Discount: the per-unit discount expressed in points that was applied to this OrderItem (if any). |\n| Unit Discount | `s_c__Unit_Discount__c` | Number(18,2) | No | The unit-level discount that was applied to this OrderItem (if any). |\n| Unit Points Adjustment | `s_c__Unit_Points_Adjustment__c` | Number(18,2) | No | The unit-level points adjustment that was applied to this OrderItem (if any). |\n| Unit Price Adjustment | `s_c__Unit_Price_Adjustment__c` | Number(18,2) | No | The unit-level price adjustment discount that was applied to this OrderItem (if any). |\n| StoreConnect External ID | `s_c__sC_Id__c` | Text(36) | No | StoreConnect External ID, do not modify in Salesforce |\n\n## Relationships\n\n| Field | Type | Related Object | Relationship Name |\n|-------|------|----------------|-------------------|\n| `s_c__Assisted_By_User_Id__c` | Lookup | [User](user-object-reference) | Order_Item_Assisted_By_User |\n| `s_c__Bundle_Lead_Item_Id__c` | Lookup | [OrderItem](orderitem-object-reference) | Bundle_Component_Order_Products |\n| `s_c__Cancelled_By_User_Id__c` | Lookup | [User](user-object-reference) | Order_Item_Cancelled_By_User |\n| `s_c__Delivery_Window_Id__c` | Lookup | [s_c__Delivery_Window__c](delivery-window-object-reference) | Order_Products |\n| `s_c__Linked_Order_Item_Id__c` | Lookup | [OrderItem](orderitem-object-reference) | Linked_Order_Products |\n| `s_c__Product_Component_Id__c` | Lookup | [s_c__Product_Component__c](product-component-object-reference) | Order_Product_Product_Component |\n| `s_c__Shipment_Id__c` | Lookup | [s_c__Shipment__c](shipment-object-reference) | OrderItems |\n| `s_c__Stock_Level_Id__c` | Lookup | [s_c__Stock_Level__c](stock-level-object-reference) | Order_Items |\n| `s_c__Subscription_Id__c` | Lookup | [s_c__Subscription__c](subscription-object-reference) | OrderItem_Subscription |\n\n## Referenced by\n\nThese objects hold a lookup or master-detail relationship to **OrderItem** (`OrderItem`). Where the referring record exists to join things together, **Also links to** shows what it connects this object to.\n\n| Object | Field | Type | Relationship Name | Also links to |\n|--------|-------|------|-------------------|---------------|\n| [s_c__Account_Points_Ledger__c](account-points-ledger-object-reference) | `s_c__Order_Item_Id__c` | Lookup | Account_Points_Ledger_Order_Items | — |\n| [Asset](asset-object-reference) | `s_c__Order_Line_Item_Id__c` | Lookup | OrderLineItem_Asset | [s_c__Stock_Level__c](stock-level-object-reference), [s_c__Stock_Location__c](stock-location-object-reference) |\n| [s_c__Booking__c](booking-object-reference) | `s_c__Order_Item_Id__c` | Lookup | Bookings | — |\n| [s_c__Form_Submission__c](form-submission-object-reference) | `s_c__Order_Item_Id__c` | Lookup | Form_Submission_Order_Item | — |\n| [s_c__Fulfillment_Item__c](fulfillment-item-object-reference) | `s_c__Order_Item_Id__c` | Lookup | Fulfillment_Items | [Asset](asset-object-reference), [s_c__Shipment__c](shipment-object-reference) |\n| [s_c__Order_Item_Reward__c](order-item-reward-object-reference) | `s_c__Order_Item_Id__c` | Lookup | Order_Item_Rewards_OrderItem | [s_c__Reward__c](reward-object-reference) |\n| [s_c__Order_Items_Taxes__c](order-items-taxes-object-reference) | `s_c__Order_Item_Id__c` | Lookup | Order_Items_Taxes_Order_Item | [s_c__Fulfillment_Item__c](fulfillment-item-object-reference), [s_c__Tax__c](tax-object-reference) |\n| [OrderItem](orderitem-object-reference) | `s_c__Bundle_Lead_Item_Id__c` | Lookup | Bundle_Component_Order_Products | — |\n| [OrderItem](orderitem-object-reference) | `s_c__Linked_Order_Item_Id__c` | Lookup | Linked_Order_Products | — |\n| [s_c__Payment_Item__c](payment-item-object-reference) | `s_c__Order_Item_Id__c` | Lookup | Payment_Item_Order_Item | [s_c__Payment__c](payment-object-reference) |\n| [s_c__Permitted_Restricted_Item__c](permitted-restricted-item-object-reference) | `s_c__Order_Item_Id__c` | Lookup | PermittedRestrictedItems_OrderProducts | [s_c__Permitted_Restricted_Product__c](permitted-restricted-product-object-reference) |\n| [s_c__Voucher__c](voucher-object-reference) | `s_c__Order_Item_Id__c` | Lookup | Voucher_OrderItem | — |\n\n\u003c!-- DIAGRAM OPPORTUNITY\n     This object is a hub: 9 outbound and 12 inbound relationships. An entity-relationship diagram grouping these by functional area would let a reader see its place in the model without reading two long tables.\n     Deferred to the diagram phase; remove this comment when a diagram is added. --\u003e"}