| AdjustedLineAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Line amount following line adjustments, excluding
tax.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| AdjustedLineAmtWithTax |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Line amount following line adjustments, including
tax.
- This is a gross tax field.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v49.0 and later.
|
| AvailableQuantity |
- Type
- double
- Properties
- Filter, Nillable, Sort
- Description
- Amount of an order product that is available to be
reduced. Value must be greater than or equal to 0. An
order product is reducible only if
AvailableQuantity is greater
than 0.
Value is always 0 if the order
product’s parent order is a reduction
order.
|
| BillingFrequency2 |
- Type
- picklist
- Properties
- Create, Filter, Group, Nillable, Restricted picklist,
Sort, Update
- Description
- The time period that indicates how often the order item
is billed.
This field is available in API version
55.0 and later. This field is available with
Subscription Management.
- Possible values are:
|
|
CurrencyIsoCode
|
- Type
- picklist
- Properties
- Defaulted on create, Filter, Group, Restricted picklist,
Sort
- Description
- Available only for orgs with the multicurrency feature
enabled. Contains the ISO code for the currency of the
original Order associated with the OrderItem.
- Possible values are:
-
DKK—Danish Krone
-
EUR—Euro
-
GBP—British Pound
-
USD—U.S. Dollar
- The default value is USD.
- This field is available in API version 49.0 and
later.
|
| Description |
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Text description of this object. For Commerce stores,
during checkout, this field is populated with the value
of a product name. The product name is copied from the
CartItem.Name field of a cart
item that corresponds to the
OrderItem.
|
| EndDate |
- Type
- date
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Optional. Last day the order product is available.
|
| GrossUnitPrice |
- Type
- currency
- Properties
- Create,
Filter, Nillable,
Sort,
Update
- Description
- Unit price including tax.
- This is a VAT field that includes tax. Salesforce
populates it on order creation only when
Order.TaxLocaleType has a value
of Gross.
|
| LineNumber |
- Type
- int
- Properties
- Create, Filter, Group, Nillable, Sort
- Description
- Used to organize lines on the order.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| ListPrice |
- Type
- currency
- Properties
- Create, Filter, Nillable, Sort
- Description
- List price for the order product. Value is inherited
from the associated PriceBookEntry
upon order product creation.
|
| ListPriceTotal |
- Type
- currency
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The ListPrice times the
Quantity. This is a calculated
field.
This field is available in API version 55.0
and later. This field is available with Subscription
Management.
|
| NetUnitPrice |
- Type
- currency
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The unit price after all price adjustments are applied.
This field is available in API version 55.0 and
later. This field is available with Subscription
Management.
|
| OrderActionId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The ID of the related order action. The order action
indicates the type of order; for example, a new sale or
a cancellation.
This field is available in API version
55.0 and later. This field is available with
Subscription Management.
- This is a relationship field.
- Relationship Name
- OrderAction
- Relationship Type
- Lookup
- Refers To
- OrderAction
|
| OrderDeliveryGroupId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The delivery group for the order product.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
- This field is a relationship field.
- Relationship Name
- OrderDeliveryGroup
- Relationship Type
- Lookup
- Refers To
- OrderDeliveryGroup
|
| OrderId |
- Type
- reference
- Properties
- Create, Filter, Group, Sort
- Description
- ID of the order that this order product is a child
of.
- This is a relationship field.
- Relationship Name
- Order
- Relationship Type
- Lookup
- Refers To
- Order
|
| OrderItemNumber |
- Type
- string
- Properties
- Autonumber, Defaulted on create, Filter, idLookup,
Sort
- Description
- Automatically generated number that identifies the order
product.
|
| OriginalOrderItemId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort
- Description
- Required if isReductionOrder on the
parent order is true.
- ID of the original order product being reduced.
- This is a relationship field.
- Relationship Name
- OriginalOrderItem
- Relationship Type
- Lookup
- Refers To
- OrderItem
|
| PeriodBoundary |
- Type
- picklist
- Properties
- Create, Filter, Group, Nillable, Restricted picklist,
Sort, Update
- Description
- The period boundary helps determine the start and end
date of the billing periods.
This field is available
in API version 55.0 and later. This field is
available with Subscription Management.
- Possible values are:
-
AlignToCalendar—the period starts
on the first day of the term unit; for example,
the first day of the month.
-
Anniversary—The start date
determines the boundary. For example, if a monthly
subscription starts on September 13, the
subscription starts on the 13th day of each
month.
-
DayOfPeriod—the period starts on
the day indicated by
PeriodBoundaryDay.
-
EndOfPeriod—the period starts on
the last day of the pricing term unit.
|
| PeriodBoundaryDay |
- Type
- int
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Required when PeriodBoundary is
DayOfPeriod.
Indicates day of the week or month that marks the period
boundary. Must be an integer from 1 through 31.
This
field is available in API version 55.0 and later.
This field is available with Subscription
Management.
|
| PricebookEntryId |
- Type
- reference
- Properties
- Create, Filter, Group,
Nillable,
Sort
- Description
- Required. ID of the associated PricebookEntry. This
field must be specified when creating OrderItem records.
It can’t be changed in an update.
- Salesforce users can create orders without price books
and order items without price book entries if they have
a B2B Commerce, B2B Commerce Starter, B2B Commerce
Growth, or B2B Commerce Plus license.
- This is a relationship field.
- Relationship Name
- PricebookEntry
- Relationship Type
- Lookup
- Refers To
- PricebookEntry
|
| PricingTermCount |
- Type
- double
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- A calculated field indicating the number of pricing
terms in the subscription.
This field is available in
API version 55.0 and later. This field is available
with Subscription Management.
|
| ProFormaBillingPeriodAmount |
- Type
- currency
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The initial amount for the billing period. The final
amount for the billing period can include subsequent
amendments, discounts, or charges.
This field is
available in API version 55.0 and later. This field
is available with Subscription Management.
|
| Product2Id |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort
- Description
- ID of the Product2 associated with this OrderItem.
- This is a relationship field.
- Relationship Name
- Product2
- Relationship Type
- Lookup
- Refers To
- Product2
|
| ProductSellingModelId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The ID of the related product selling model. The product
selling model defines one method by which a product can
be sold; for example, as a one-time sale, an evergreen
subscription, or a termed subscription.
This field is
available in API version 55.0 and later. This field
is available with Subscription Management.
- This is a relationship field.
- Relationship Name
- ProductSellingModel
- Relationship Type
- Lookup
- Refers To
- ProductSellingModel
|
| ProrationPolicyId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The ID of the related proration policy. The proration
policy defines how the price is calculated for each
subscription period; for example, whether partial
periods are allowed, and how remainder amounts are
handled.
This field is available in API version
55.0 and later. This field is available with
Subscription Management.
- This is a relationship field.
- Relationship Name
- ProrationPolicy
- Relationship Type
- Lookup
- Refers To
- ProrationPolicy
|
| Quantity |
- Type
- double
- Properties
- Create, Filter, Sort, Update
- Description
- Number of units of this order product.
|
| QuoteLineItemId |
- Type
- reference
- Properties
- Create, Filter, Group, Sort, Update
- Description
- ID of the associated quote line item.
If this field is
specified, the quote line item’s QuoteId must
match the QuoteId for the order product’s
parent order.
|
| RelatedOrderItemID |
- Type
- reference
- Properties
- Filter, Sort, Group
- Description
- For change orders, shows the original order
product.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| RoundedLineAmount |
- Type
- currency
- Properties
- Filter, Sort
- Description
- The rounded line amount, before tax and adjustments.
Currency with decimal values of 0.5 and higher are
rounded to the next-highest whole unit of currency.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| RoundedLineAmtWithTax |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- The rounded line amount, including tax. Currency with
decimal values of 0.5 and higher are rounded to the
next-highest whole unit of currency.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v49.0 and later.
|
| ServiceDate |
- Type
- date
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Start date for the order product.
- Label is Start Date.
|
| StartingPriceTotal |
- Type
- currency
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The starting unit price times the quantity.
This field
is available in API version 55.0 and later. This
field is available with Subscription Management.
|
| StartingUnitPriceSource |
- Type
- picklist
- Properties
- Create, Filter, Group, Nillable, Restricted picklist,
Sort, Update
- Description
- Indicates whether the starting unit price was entered
manually or calculated.
This field is available in
API version 55.0 and later. This field is available
with Subscription Management.
- Possible values are:
|
| TaxTreatmentId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The ID of the related tax treatment.
This field is
available in API version 55.0 and later. This field
is available with Subscription Management.
- This is a relationship field.
- Relationship Name
- TaxTreatment
- Relationship Type
- Lookup
- Refers To
- TaxTreatment
|
| TotalAdjustedLineTaxAmount |
- Type
- currency
- Properties
- Filter, Sort
- Description
- Sum of line tax amount and line adjustment tax
amounts.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| TotalAdjustmentAmount |
- Type
- currency
- Properties
- Filter, Sort
- Description
- Roll-up of all the order product’s price
adjustments.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| TotalAdjustmentAmtWithTax |
- Type
- currency
- Properties
- Filter, Sort
- Description
- Roll-up of all the order product’s price adjustments,
including tax.
- This is a gross tax field.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v49.0 and later.
|
| TotalAdjustmentDistAmount |
- Type
- currency
- Properties
- Filter, Sort
- Description
- Roll-up of all adjustments on the order. Used only if
the OrderAdjustmentGroup has a Type value of
Header.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| TotalAdjustmentDistTaxAmount |
- Type
- currency
- Properties
- Filter, Sort
- Description
- Roll-up of all adjustment tax amounts on the order. Used
only if the OrderAdjustmentGroup has a Type value of
Header.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| TotalAdjustmentDistAmtWithTax |
- Type
- currency
- Properties
- Filter, Sort
- Description
- Roll-up of all adjustment tax amounts on the order,
including tax. Used only if the OrderAdjustmentGroup has
a Type value of Header.
- This is a gross tax field.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v49.0 and later.
|
| TotalAdjustmentTaxAmount |
- Type
- currency
- Properties
- Filter, Sort
- Description
- Sum of all the order product’s tax adjustments.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| TotalAmtWithTax |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Equals TotalPrice +
TotalTaxAmount for the order
item.
- This is a gross tax field.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v49.0 and later.
|
| TotalLineAdjustmentAmount |
- Type
- currency
- Properties
- Filter, Sort
- Description
- The sum of line-level adjustments for the order
product.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| TotalLineAdjustmentAmtWithTax |
- Type
- currency
- Properties
- Filter, Sort
- Description
- The sum of line-level adjustments for the order product,
including tax.
- This is a gross tax field.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v49.0 and later.
|
| TotalLineAdjustmentTaxAmount |
- Type
- currency
- Properties
- Filter, Sort
- Description
- Total tax amount for adjustments made to the order
product.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| TotalLineAmount |
- Type
- currency
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The total price of the order product, before price
adjustments, inclusive of quantity.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| TotalLineTaxAmount |
- Type
- currency
- Properties
- Filter, Sort
- Description
- Total tax amount for this order product, excluding tax
on adjustments.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| TotalPrice |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total price for this order product. The calculations for
this field’s value are different if Commerce Orders is
enabled.
- Default Value
-
TotalPrice =
(UnitPrice *
Quantity)
- Commerce Orders
- If TotalLineAmount is null,
(UnitPrice *
Quantity) is sent to
RoundedLineAmount and rounded.
It’s then sent to Total Price.
Otherwise, TotalLineAmount is sent
to RoundedLineAmount, rounded, and
then sent to TotalPrice.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| TotalTaxAmount |
- Type
- currency
- Properties
- Filter, Sort
- Description
- Sum of the order product’s tax and any adjustments.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| Type |
- Type
- picklist
- Properties
- Create, Filter, Group, Nillable, Restricted picklist,
Sort, Update
- Description
- Describes what the order item represents. Each value is
associated with one type code, shown here in
parentheses.
- Possible values are:
-
Delivery Charge
(Charge) — A charge, such as a
delivery fee.
-
Fee
(Charge) — A charge, such as a
return fee. This value is available in API v56.0
and later.
-
Order Product
(Product) — An item that can be
ordered.
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| TypeCode |
- Type
- picklist
- Properties
- Filter, Group, Nillable, Restricted picklist, Sort
- Description
- The category associated with the type. A type code can
be associated with one or more types.
- Possible values are:
- To access Commerce Orders fields, your org must have a
Salesforce Order Management license. Commerce Orders
fields are available only in Lightning Experience.
- This field is available in API v48.0 and later.
|
| UnitPrice |
- Type
- currency
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- Unit price for the order product.
|