Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AddBundleProductToOrder

The normal AddProductToOrder cannot be used for adding a Product with type BundleProduct to an order. Instead, AddBundleProductToOrder must be used. In addition to the BundleProductID, this service accepts an optional LineSelection, which represents the bundle's configuration in terms of which products you've chosen.

The LineSelection data structure contains a SelectedProductID, which must refer to a ProductID that is a valid option for this bundle, according to what GetBundleProductDetails returns.

If no LineSelection is provided then the default products of the bundle are added to the Order.

Hierarchy

  • AddBundleProductToOrder

Index

Properties

BundleProductID

BundleProductID: number

Entity type: Product

Optional LineActionType

LineActionType: LineActionTypes

Optional LineSelection

OrderID

OrderID: number

Entity type: Order

Optional ParentOrderLineID

ParentOrderLineID: undefined | number

If specified the new bundle OrderLine becomes a child of the specified OrderLine. Entity type: OrderLine