ApiOrderItem

Introduction
Stores information related to an item in an order.
Properties

BundleComponentSelections

Bundle component selections for this order item. Required when ordering a bundle product. Each selection maps a bundle template component to the chosen product code. Obtain component IDs from the GetBundleComponentsAsync API method. When provided for a bundle product and the PostOrderApiBundleSupport feature flag is enabled, the server generates parent and child order items automatically. The server may also add zero-priced child order items for required products that are missing (see ApiBundleTemplate.ProductDependencies), evaluated separately for each bundle instance. When the feature flag is disabled, this field is ignored and the bundle product is treated as a regular item.

IsUpgrade

Whether this bundle is ordered in upgrade mode. Upgrade mode omits all components belonging to optional nested-bundle references. Defaults to false when omitted.

OrderItemProductAttributeGroups

Groupings of the api product attributes(ApiOrderItemProductAttributeGroup) in the order of the product in the item.

OrderItemReference

Optional client-supplied reference that uniquely identifies this order line within the order. Installation requests can target this line via OrderItemReference, which removes ambiguity when the same product code appears on more than one line or bundle component. Must be unique within the order when supplied. Only honored when the PostOrderApiBundleSupport feature flag is enabled.

ProductCode

Product code of the item.

Quantity

Quantity ordered.

Loading API Runner...