pfx-api:addProducts

Adds products, specified by their SKU.

Properties

Option

Type

Default

Description

Option

Type

Default

Description

outputTarget

string

 

Defines output target for data in the exchange. It can be stored in the header, property or body.

outputTargetName

string

 

Defines output target name for the target type header and property. Put here the name of exchange header and name of exchange property.

quoteSkuList

string

 

Contains SKUs to be added. Items are separated by a comma.

parent

string

 

 

connection

string

 

Defines connection to Pricefx. This is an optional parameter and if it is not mentioned, the connection is taken from the Spring bean named pricefx.

This method takes the exchange body as input data.

Examples

<route> <from uri="direct:start"/> <to uri="pfx-api:addProducts?quoteSkuList=1,2,3&amp;parent=ROOT"/> <to uri="mock:end"/> </route>

IntegrationManager version 5.8.0