Zynk Workflow Documentation

This task will update inventory in Magento. See below for a sample input file.

Settings

Connection

Required
The Magento V2 connection to use. See the Connecting to Magento V2 article if you require more information on how to create/manage connections.

Fail File

Required
The XML file to save failed inventory updates to. The data will be written in the same format as the input file.

Input File

Required
The XML file containing the inventory to be updated in Magento.

Success File

Required
The XML file to save successful inventory updates to. The data will be written in the same format as the input file.

Prevent Reprocessing

Required
Set to true to prevent the same record being processed more than once by the task. This setting will only work where an <external_id> element is provided in the XML.

Store View Code

Required
The magento store view code to perform the API calls against. Default value of β€˜all’.

Zynk Settings

See Common Task Settings.

Examples

A sample input file is shown below. This will update the stock level of the product with SKU β€˜24-MB01’ to 198.

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfStockItem>
  <StockItem>
    <sku>24-MB01</sku>
    <qty>198.00000</qty>
  </StockItem>
</ArrayOfStockItem>

Back | Edit on Github