OrderItem
Represents an order product that your organization sells.
Introduced in API version 3.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()
- The user must have Edit permission on Order records to create or update order products on an order. The user must have Edit permission on Order records to delete an order product.
-
Type: currency
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 48.0
-
Description:
Line amount following line adjustments, excluding tax.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
-
Type: currency
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 49.0
-
Description:
Line amount following line adjustments, including tax.
This field is a gross tax field.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v49.0 and later.
- Type: double
- Properties: Filter, Nillable, Sort
- Introduced: API version 64.0
- Description: The quantity of a order item’s grouped transaction lines or the products that have been sold and converted to assets.
- Type: percent
- Properties: Filter, Nillable, Sort
- Introduced: API version 68.0
-
Type: double
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 29.0
-
Description:
The 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
AvailableQuantityis greater than 0.Value is always 0 if the order product’s parent order is a reduction order.
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 64.0
- Description: Identifies a product bundle in a transaction processing batch to ensure that order items from the same bundles are processed together.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 55.0
- Description: The time period that indicates how often the order item is billed. This field is available with Subscription Management.
- Possible values:
- Annual — Annual
- Monthly — Monthly
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 61.0
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 68.0
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 61.0
-
Relationship name: BillingTreatment
-
Relationship type: relationship
-
Refers to: BillingTreatment
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 61.0
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 67.0
-
Relationship name: DeliveryRecipientAccount
-
Relationship type: relationship
-
Refers to: Account
- 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.Namefield of a cart item that corresponds to theOrderItem.
- Type: percent
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 60.0
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 60.0
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Introduced: API version 64.0
- Description: Indicates that the order item is set to automatically renew (true) or not (false).
- Default value: false
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 61.0
- Description: Earliest estimated date for the item to be delivered.
- Type: time
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 61.0
- Description: Earliest estimated time of the day for the item to be delivered.
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Optional. Last day the order product is available.
-
Type: datetime
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 65.0
-
Description:
The end date and time of the order item, derived from the End Date and End Time fields in the time zone specified in the Start and End Time Zone field. If the time zone isn’t specified, the default is Coordinated Universal Time (UTC).
Label is End Date Time.
This field is available in Revenue Cloud in API version 65.0 and later.
- Type: double
- Properties: Filter, Nillable, Sort
- Introduced: API version 60.0
-
Type: time
-
Properties: Create, Filter, Nillable, Sort, Update
-
Introduced: API version 65.0
-
Description:
The end time of the order item.
Label is End Time.
This field is available in Revenue Cloud in API version 65.0 and later.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 61.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 61.0
-
Type: currency
-
Properties: Create, Filter, Nillable, Sort, Update
-
Introduced: API version 49.0
-
Description:
Unit price including tax.
This field is a VAT field that includes tax. Salesforce populates it on order creation only when
Order.TaxLocaleTypehas a value of Gross.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 68.0
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort
- Introduced: API version 63.0
- Description: Indicates whether the order item and its children are locked (true) or not (false). Locked order items and their children cannot be modified, added, or deleted.
- Default value: false
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Default value: false
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 62.0
-
Default value: false
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 61.0
- Type: time
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 61.0
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 61.0
-
Relationship name: LegalEntity
-
Relationship type: relationship
-
Refers to: LegalEntity
-
Type: int
-
Properties: Create, Filter, Group, Nillable, Sort
-
Description:
The number used to organize lines on the order.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Description: List price for the order product. Inherited value from the associated
PriceBookEntryupon order product creation.
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 55.0
- Description: The
ListPricetimes theQuantity. This field is a calculated field. This field is available with Subscription Management.
- Type: percent
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 65.0
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 65.0
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Default value: false
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 60.0
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 55.0
- Description: The unit price after all price adjustments are applied. This field is available with Subscription Management.
- Type: currency
- Properties: Filter, Nillable, Sort
- Introduced: API version 57.0
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 8.0
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 55.0
-
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 with Subscription Management.
This field is a relationship field.
-
Relationship name: OrderAction
-
Relationship type: relationship
-
Refers to: OrderAction
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 48.0
-
Description:
The delivery group for the order product.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
This field is a relationship field.
-
Relationship name: OrderDeliveryGroup
-
Relationship type: relationship
-
Refers to: OrderDeliveryGroup
-
Type: reference
-
Properties: Create, Filter, Group, Sort
-
Description:
Required. ID of the order that this order product is a child of.
This field is a relationship field.
-
Relationship name: Order
-
Relationship type: relationship
-
Refers to: Order
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 62.0
-
Relationship name: OrderItemGroup
-
Relationship type: relationship
-
Refers to: OrderItemGroup
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Introduced: API version 17.0
- Description: Automatically generated number that identifies the order product.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 62.0
-
Relationship name: OrderItemRecipient
-
Relationship type: relationship
-
Refers to: OrderItemRecipient
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort
-
Description:
Required if
isReductionOrderon the parent order istrue.ID of the original order product being reduced.
This field is a relationship field.
-
Relationship name: OriginalOrderItem
-
Relationship type: relationship
-
Refers to: OrderItem
- Type: double
- Properties: Filter, Nillable, Sort
- Introduced: API version 11.0
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 57.0
-
Relationship name: ParentOrderItem
-
Relationship type: relationship
-
Refers to: OrderItem
- Type: percent
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 60.0
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 60.0
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Introduced: API version 55.0
-
Description:
The period boundary helps determine the start and end date of the billing periods. This field is available with Subscription Management and Revenue Cloud.
Keep these considerations in mind for amendment, renewal, and cancellations of assets in Revenue Cloud.
- The value of the
PeriodBoundaryfield is copied from the AssetActionSource (initial sale), by default. - For termed selling models where the
PeriodBoundaryvalue isAnniversary, the value of thePeriodBoundaryfield is automatically converted toDayOfPeriod. - Start date adjustment operation on an asset preserves the original value without conversion.
- The value of the
-
Possible values:
- AlignToCalendar — AlignToCalendar — the period starts on the first day of the term unit; for example, the first day of the month.
- Anniversary — 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 — DayOfPeriod — the period starts on the day indicated by
PeriodBoundaryDay. - LastDayOfPeriod — LastDayOfPeriod — the period starts on the last day of the pricing term unit; for example, the last day of the month.
-
Type: int
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 55.0
-
Description:
Required when
PeriodBoundaryisDayOfPeriod. Indicates the day of the week or month that marks the period boundary. Must be an integer from 1 through 31. This field is available with Subscription Management and Revenue Cloud.Keep these considerations in mind for amendment, renewal, and cancellations of assets in Revenue Cloud.
- The value of the
PeriodBoundaryfield is copied from the AssetActionSource (initial sale), by default. - When
PeriodBoundaryfield value is converted fromAnniversarytoDayOfPeriodfor termed selling models, the value of thePeriodBoundaryDayfield is automatically populated with the day value from AssetActionSource.StartDate. - Start date adjustment operation on an asset preserves the original value without conversion.
- The value of the
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Introduced: API version 58.0
-
Description:
The field is populated based on input in the StartDate, PeriodBoundary, and PeriodBoundaryDay when BillingFrequency2 is Annual or by manual user entry.
Keep these considerations in mind for amendment, renewal, and cancellations of assets in Revenue Cloud.
- The value of the
PeriodBoundaryfield is copied from the AssetActionSource (initial sale), by default. - For termed selling models where
PeriodBoundaryfield value isAnniversaryandPricingTermUnitfield value isANNUAL,SEMI_ANNUAL, orQUARTERLY, the value of thePeriodBoundaryStartMonthfield is automatically recalculated by using AssetActionSource.StartDate.month. - Start date adjustment operation on an asset preserves the original value without conversion.
- The value of the
-
Possible values:
- 1-January — 1-January
- 2-February — 2-February
- 3-March — 3-March
- 4-April — 4-April
- 5-May — 5-May
- 6-June — 6-June
- 7-July — 7-July
- 8-August — 8-August
- 9-September — 9-September
- 10-October — 10-October
- 11-November — 11-November
- 12-December — 12-December
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 65.0
-
Description:
The price uplift policy associated with this order item.
This field is a relationship field.
-
Relationship name: PriceRevisionPolicy
-
Relationship type: relationship
-
Refers to: PriceRevisionPolicy
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 60.0
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort
-
Description:
Required. ID of the associated PricebookEntry. Specify this field when creating OrderItem records. It can’t be changed in an update.
If you have a B2B Commerce, B2B Commerce Starter, B2B Commerce Growth, or B2B Commerce Plus license, Salesforce users can create orders without price books and order items without price book entries.
This field is a relationship field.
-
Relationship name: PricebookEntry
-
Relationship type: relationship
-
Refers to: PricebookEntry
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 63.0
-
Relationship name: PricingContract
-
Relationship type: relationship
-
Refers to: Contract
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort
- Introduced: API version 68.0
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 55.0
- Description: A calculated field indicating the number of pricing terms in the subscription. This field is available with Subscription Management.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort
-
Introduced: API version 55.0
-
Description:
Indicates the type of pricing transaction. For example, a new sale, a cancellation, an amendment, or a renewal.
Possible values:
This field is available in API version 55.0 and later. This field is available with Subscription Management.
-
Possible values:
- AmendmentAtLastNegotiatedPrice — AmendmentAtLastNegotiatedPrice — Calculate the price of the amended order item by using the same price book and price adjustments as the new sale item. For example, an order item that is amended by using a pricing transaction type of AmendmentAtLastNegotiatedPrice is priced by using the same price book information and price adjustments as the new sale item. The amended order item has the same price as the new sale order item.
- AmendmentStartingFromListPrice — AmendmentStartingFromListPrice — Calculate the price of the amended order item by using current price book information, disregarding any pricing information or adjustments that were applied to the new sale item. Typically, an amended order item has a different price than the new sale transaction item.
- Cancellation — Cancellation — Calculate the price of the canceled transaction. For example, a 1-year subscription purchased on January 1, is canceled on July 31. The price of the canceled products and services from August 1 through Dec 31 is calculated.
- NewSale — NewSale — The price of a new transaction is calculated.
- RenewalAtLastNegotiatedPrice — RenewalAtLastNegotiatedPrice — Calculate the price of the order item by using the same price book and price adjustments as the new sale item. For example, an order item that is renewed by using a pricing transaction type of
RenewalAtLastNegotiatedPriceis priced by using the same price book information and price adjustments as the new sale item. The renewal order item has the same price as the new sale order item. - RenewalAtListPrice — RenewalAtListPrice — Calculate the price of the order item by using current price book information, disregarding any pricing information or adjustments that were applied to the new sale item. Typically, a renewal order item has a different price than the new sale order item.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 26.0
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort
-
Introduced: API version 39.0
-
Description:
ID of the Product2 associated with this OrderItem.
This field is a relationship field.
-
Relationship name: Product2
-
Relationship type: relationship
-
Refers to: Product2
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 55.0
-
Description:
The ID of the related product selling model. The product selling model defines one method by which a product is sold; for example, as a one-time sale, an evergreen subscription, or a termed subscription. This field is available with Subscription Management.
This field is a relationship field.
-
Relationship name: ProductSellingModel
-
Relationship type: relationship
-
Refers to: ProductSellingModel
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 55.0
-
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 the remainder amounts are handled. This field is available with Subscription Management.
This field is a relationship field.
-
Relationship name: ProrationPolicy
-
Relationship type: relationship
-
Refers to: ProrationPolicy
- Type: datetime
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 26.0
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 54.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 26.0
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 26.0
-
Relationship name: ProvisioningTarget
-
Relationship type: polymorphic
-
Refers to: ProvisioningTargetGroup, Tenant, TenantParameterMap
- Type: double
- Properties: Create, Filter, Sort, Update
- Description: Required. Number of units of this order product.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort
-
Introduced: API version 63.0
-
Relationship name: QuantityUnitOfMeasure
-
Relationship type: relationship
-
Refers to: UnitOfMeasure
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 31.0
-
Description:
Required. 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.
-
Relationship name: QuoteLineItem
-
Relationship type: relationship
-
Refers to: QuoteLineItem
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 62.0
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort
- Introduced: API version 68.0
- Type: currency
- Properties: Create, Filter, Nillable, Sort
- Introduced: API version 63.0
- Description: The original or reference price of the order product.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 8.0
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort
- Introduced: API version 63.0
- Description: The identifier used to group all related order items in the same change order.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort
-
Introduced: API version 48.0
-
Description:
Required for change orders, shows the original order product.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
-
Relationship name: RelatedOrderItem
-
Relationship type: relationship
-
Refers to: OrderItem
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Relationship name: RenewalOrderItem
-
Relationship type: relationship
-
Refers to: OrderItem
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 66.0
-
Relationship name: ReplacementGroup
-
Relationship type: relationship
-
Refers to: OrderItemGroup
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 50.0
-
Relationship name: ReservedAtLocation
-
Relationship type: polymorphic
-
Refers to: Location, LocationGroup
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 63.0
-
Type: currency
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 48.0
-
Description:
The rounded line amount, before tax and adjustments. Currency with decimal values of 0.5 and higher round to the next-highest whole unit of currency.
The formula to calculate the rounded line amount is: IF(TotalLineAmount != NULL, TotalLineAmount, Quantity * UnitPrice)
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
-
Type: currency
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 49.0
-
Description:
The rounded line amount, including tax. Currency with decimal values of 0.5 and higher round to the next-highest whole unit of currency.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v49.0 and later.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 62.0
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 62.0
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Introduced: API version 62.0
-
Description:
The duration type of the segment. You can use this field from Revenue Cloud only when the Ramp Deals for Groups in Quotes and Orders setting is turned on.
The default value is
Yearly. -
Possible values:
- Custom — Custom — Available in API version 65.0 and later.
- Prorated — Prorated — Available in API version 67.0 and later.
- Trial — Trial — Available in API version 67.0 and later.
- Yearly — Yearly (default) — Available in API version 65.0 and later.
-
Default value: Yearly
-
Type: date
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
Start date for the order product.
Label is Start Date.
-
Type: datetime
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 65.0
-
Description:
The service date and time of the order item, which is derived from the Service Date and Service Time fields in the time zone specified in the Service and End Time Zone field. If the time zone isn’t specified, the default is Coordinated Universal Time (UTC).
Label is Service Time.
This field is available in Revenue Cloud in API version 65.0 and later.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Introduced: API version 65.0
-
Description:
Specifies the time zone for the order item’s service and end dates, times, and datetimes.
Label is Service and End Time Zone.
This field is available in Revenue Cloud in API version 65.0 and later.
-
Type: time
-
Properties: Create, Filter, Nillable, Sort, Update
-
Introduced: API version 65.0
-
Description:
The service time of the order item.
Label is Service Time.
This field is available in Revenue Cloud in API version 65.0 and later.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 60.0
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 55.0
- Description: The starting unit price times the quantity. This field is available with Subscription Management.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 55.0
- Description: Indicates whether the starting unit price was entered manually or calculated. This field is available with Subscription Management.
- Possible values:
- Manual — Manual
- System — System
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 60.0
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 61.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 64.0
- Description: Specifies the order item change type in the supplemental order.
- Possible values:
- Add — Add
- Amend — Amend
- Cancel — Cancel
- No Change — No Change
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 55.0
-
Description:
The ID of the related tax treatment. This field is available with Subscription Management.
This field is a relationship field.
-
Relationship name: TaxTreatment
-
Relationship type: relationship
-
Refers to: TaxTreatment
-
Type: currency
-
Properties: Filter, Sort
-
Introduced: API version 48.0
-
Description:
Sum of line tax amount and line adjustment tax amounts.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
- Type: percent
- Properties: Filter, Nillable, Sort
- Introduced: API version 65.0
-
Type: currency
-
Properties: Create, Filter, Sort, Update
-
Introduced: API version 48.0
-
Description:
Roll up of the order product’s price adjustments.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
-
Type: currency
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 49.0
-
Description:
Roll up of the order product’s price adjustments, including tax.
This field is a gross tax field.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v49.0 and later.
-
Type: currency
-
Properties: Filter, Sort
-
Introduced: API version 48.0
-
Description:
Roll up of all adjustments on the order. Used only if the OrderAdjustmentGroup has a Type value of Header.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
-
Type: currency
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 49.0
-
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 field is a gross tax field.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v49.0 and later.
-
Type: currency
-
Properties: Filter, Sort
-
Introduced: API version 48.0
-
Description:
Roll up of all adjustment tax amounts on the order. Used only if the OrderAdjustmentGroup has a Type value of Header.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
-
Type: currency
-
Properties: Filter, Sort
-
Introduced: API version 48.0
-
Description:
Sum of the order product’s tax adjustments.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
-
Type: currency
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 49.0
-
Description:
Equals
TotalPrice+TotalTaxAmountfor the order item.This field is a gross tax field.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v49.0 and later.
- Type: currency
- Properties: Filter, Nillable, Sort
- Introduced: API version 65.0
-
Type: currency
-
Properties: Filter, Sort
-
Introduced: API version 48.0
-
Description:
The sum of line-level adjustments for the order product.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
-
Type: currency
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 49.0
-
Description:
The sum of line-level adjustments for the order product, including tax.
This field is a gross tax field.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v49.0 and later.
-
Type: currency
-
Properties: Filter, Sort
-
Introduced: API version 48.0
-
Description:
Total tax amount for adjustments made to the order product.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
-
Type: currency
-
Properties: Create, Filter, Nillable, Sort, Update
-
Introduced: API version 48.0
-
Description:
The line amount of the order product, before price adjustments, inclusive of quantity, and pricing term count for subscription.
The decimal places for this value must match the decimal places for the currency being used. For example, if the currency is the US dollar, the decimal place for TotalLineAmount must be 2. If the currency is the Japanese yen, the decimal place for TotalLineAmount must be 0.
TotalLineAmountmay only be updated when the order product isn’t associated with an active order.This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
-
Type: currency
-
Properties: Filter, Sort
-
Introduced: API version 48.0
-
Description:
Total tax amount for this order product, excluding tax on adjustments.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
- Type: percent
- Properties: Filter, Nillable, Sort
- Introduced: API version 65.0
- Type: currency
- Properties: Filter, Nillable, Sort
- Introduced: API version 65.0
- 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 are enabled.
-
Type: currency
-
Properties: Create, Filter, Sort, Update
-
Introduced: API version 48.0
-
Description:
Sum of the order product’s tax and any adjustments.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Introduced: API version 48.0
-
Description:
Describes what the order item represents. Each value is associated with one type code, shown here in parentheses.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
-
Possible values:
- Delivery Charge (Charge) — Delivery Charge (Charge) — A charge, such as a delivery fee.
- Fee (Charge) — Fee (Charge) — A charge, such as a return fee. This value is available in API v56.0 and later.
- Order Product (Product) — Order Product (Product) — An item that can be ordered.
-
Type: picklist
-
Properties: Filter, Group, Nillable, Restricted picklist, Sort
-
Introduced: API version 48.0
-
Description:
The category associated with the type. A type code can be associated with one or more types.
This field is available with Salesforce Order Management or Revenue Cloud.
This field is available in API v48.0 and later.
-
Possible values:
- Charge — Charge
- Product — Product
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 65.0
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Unit price for the order product.
- Type: percent
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 64.0
- Description: The percentage increase of the order item’s unit price.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 60.0
An order can have associated order product records only if the order has a price book associated with it. An order product must correspond to a product that is listed in the order’s price book.
Orders with associated OrderItem records are affected. When OrderItem records are directly deleted, they aren’t sent to the recycle bin and can’t be undeleted. The getDeleted() call shows deleted OrderItem records until they’re purged, which is usually within the same day or the next day.
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.
-
OrderItemChangeEvent: Introduced in API version 44.0.
-
OrderItemFeed: Introduced in API version 29.0.