Pipelet AddProductToProductList
Add a ProductListItem of type PRODUCT to the ProductList, which is associated with the specified Product. Quantity defaults to 1. Priority defaults to 0.
Group:
ProductList
Flags:
Transaction Required
Configuration Properties
DisallowRepeats
:
String
(Optional)
If set to true, the pipelet will not create a new ProductListItem if the specified Product is already in ProductList. Instead, the existing list item will be returned. If set to false, the pipelet will always create a new ProductListItem.
Permissible Values:
false
true
Input Parameters
Product
:
Product
(Required)
ProductList
:
ProductList
(Required)
Quantity
:
Number
(Optional)
Defaults to 1.
ProductOptionModel
:
ProductOptionModel
(Optional)
Priority
:
Number
(Optional)
Defaults to 0.
Output Parameters
ProductListItem
:
ProductListItem
:
(Required)