pfx-api:addProducts
Add products to a Quote in Pricefx.
URI Format
pfx-api:addProducts?quoteUniqueName=MyQuote"eSkuList=SKU1,SKU2
Alias: addproducts
Parameters
|
Parameter |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
|
String |
Yes |
-- |
Unique name of the Quote. Resolves to |
|
|
String |
Yes |
-- |
Comma-separated list of SKUs to add to the Quote. |
|
|
String |
No |
-- |
Parent property for the products being added. Used for grouping or hierarchy within the Quote. |
Applicable Object Type: Q (Quote)
XML Route Examples
Add products to a Quote:
XML
<route>
<from uri="direct:addProductsToQuote"/>
<to uri="pfx-api:addProducts?quoteUniqueName=Q-2026-001&quoteSkuList=SKU001,SKU002,SKU003"/>
</route>
Add products with a parent grouping:
XML
<route>
<from uri="direct:addGroupedProducts"/>
<to uri="pfx-api:addProducts?quoteUniqueName=Q-2026-001&quoteSkuList=SKU010,SKU011&parent=GroupA"/>
</route>
Common Pitfalls
-
The
quoteUniqueNamemust match an existing Quote in Pricefx. If the Quote does not exist, the operation will fail. -
SKUs in
quoteSkuListmust be valid product SKUs already loaded in Pricefx. -
If
quoteSkuListis empty or missing, no products will be added.