pfx-google-shopping:get (product)

Gets a single product.

Properties

Option

Type

Default

Description

Option

Type

Default

Description

entity

string

 

Mandatory field. Must be set to product to be able to call this method.

applicationName

string

 

Application name for Google Shopping API.

secretFileName

 string

 

Name of a file which contains secrets for authentication.

mechantId

string

 

ID of the merchant.

productId

string

 

ID of the product to get.

Examples

Get a single product:

<route> <from uri="direct:start"/> <to uri="pfx-google-shopping:get?entity=product&amp;merchantId=369094993&amp;productId=online:cs:CZ:1111111114&amp;applicationName=pfx_test&amp;secretFileName=''' + fileWithKey.absolutePath + '''"/> <log message="Google shopping called! ${body}"/> <to uri="mock:end"/> </route>

 

IntegrationManager version 5.8.0