Using Line Level Variables in OMR [Information]

Last updated: September 29, 2026

This article lists the standard fields available for the Line object. These variables allow you to reference details specific to the items or SKUs contained within the order.



All fields listed below must be prefixed with Line. and wrapped as detailed below:

 

      ACTIONCONDITION
Definition{Line.FieldName}
@([FieldName])
Example{Line.SKU}
@([SKU])

   

WARNING: The Line object is available only for Actions within Rule Sets and Client OMRs. It is not supported in Conditions or Markup Profiles.  

   

NOTE
: For a full guide on variable types and compatibility, see: Using Custom Variables and Expressions in OMR [Information].

 

Basic Line Properties



FIELD VALUEDATA TYPEDESCRIPTIONACTIONSCONDITIONS
Line.SKUstringSKU code
Line.DescriptionstringItem description (max 1000 chars)
Line.Description2stringSecondary description (max 1000 chars)
Line.Description3stringThird description
Line.Quantitydecimal?Item quantity



Pricing and Cost Properties



FIELD VALUEDATA TYPEDESCRIPTIONACTIONSCONDITIONS
Line.UnitPricedecimal?Unit price
Line.CurrencyCodestringCurrency code
Line.UnitCostdecimal?Unit cost
Line.UnitLandedCostdecimal?Unit landed cost
Line.Costdecimal?Total cost



Weight Properties



FIELD VALUEDATA TYPEDESCRIPTIONACTIONSCONDITIONS
Line.UnitWeightdecimal?Unit weight
Line.AceUnitWeightdecimal?ACE unit weight
Line.NetUnitWeightdecimal?Net unit weight



Dimensions Properties



FIELD VALUEDATA TYPEDESCRIPTIONACTIONSCONDITIONS
Line.UnitWidthdecimal?Unit width
Line.UnitLengthdecimal?Unit length
Line.UnitHeightdecimal?Unit height



Identification Properties



FIELD VALUEDATA TYPEDESCRIPTIONACTIONSCONDITIONS
Line.LotNumberstringLot number
Line.SerialNumberstringSerial number
Line.CustomerSKUstringCustomer SKU
Line.UPCstringUPC code
Line.PackingIdstringPacking ID
Line.MovableUnitLabelstringMovable unit label



Trade and Customs Properties



FIELD VALUEDATA TYPEDESCRIPTIONACTIONSCONDITIONS
Line.CountryOfOriginstringCountry of origin (max 50 chars)
Line.HarmonizedCodestringHarmonized code
Line.NMFCstringNational Motor Freight Classification
Line.ClassificationstringClassification
Line.MarksAndNumbersstringMarks and numbers



Location and Supplier Properties



FIELD VALUEDATA TYPEDESCRIPTIONACTIONSCONDITIONS
Line.LocationstringWarehouse location
Line.SupplierstringSupplier name
Line.QualifierstringQualifier
Line.UOMstringUnit of measure
Line.QuantityInCasedecimal?Quantity in case



Hazardous Materials Properties



FIELD VALUEDATA TYPEDESCRIPTIONACTIONSCONDITIONS
Line.HazMatHazardClassstringHazMat hazard class
Line.DangerousGoodsstringDangerous goods JSON data
Line.DangerousGoodsCodestringDangerous goods code



Processing Flags



FIELD VALUEDATA TYPEDESCRIPTIONACTIONSCONDITIONS
Line.ExcludeFromProcessingbool?Exclude from processing
Line.ExcludeFromCartonizationbool?Exclude from cartonization



Date Properties



FIELD VALUEDATA TYPEDESCRIPTIONACTIONSCONDITIONS
Line.ExpirationDateDateTime?Expiration date