pfx-api:addProducts

pfx-api:addProducts

Add products to a Quote in Pricefx.


URI Format

pfx-api:addProducts?quoteUniqueName=MyQuote&quoteSkuList=SKU1,SKU2

Alias: addproducts


Parameters

Parameter

Type

Required

Default

Description

quoteUniqueName

String

Yes

--

Unique name of the Quote. Resolves to typedId internally.

quoteSkuList

String

Yes

--

Comma-separated list of SKUs to add to the Quote.

parent

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&amp;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&amp;quoteSkuList=SKU010,SKU011&amp;parent=GroupA"/>
</route>

Common Pitfalls

  • The quoteUniqueName must match an existing Quote in Pricefx. If the Quote does not exist, the operation will fail.

  • SKUs in quoteSkuList must be valid product SKUs already loaded in Pricefx.

  • If quoteSkuList is empty or missing, no products will be added.