pfx-google-shopping:batch (product)
Send products to Google Shopping.
Properties
Option | Type | Default | Description |
---|---|---|---|
| string | Â | Mandatory field. Must be set to |
| string | Â | Application name for Google Shopping API. |
| Â string | Â | Name of a file which contains secrets for authentication. |
Examples
Send products in batch:
<route>
<from uri="direct:start"/>
<setBody><constant>"[{"productId":"1"},{"productId":"2"}]"</constant></setBody>
<to uri="pfx-google-shopping:batch?entity=product&applicationName=pfx_test&secretFileName=''' + fileWithKey.absolutePath + '''"/>
<log message="Google shopping called! ${body}"/>
<to uri="mock:end"/>
</route>
Â
IntegrationManager version 5.8.0