Import Inventory Updates to Shopify
This task will update the inventory on your Shopify store using the product data in an XML file. All variants with a matching SKU will have their quantity updated.
Settings
Connection
Required
The Shopify connection to use. See Shopify Connection if you require more information on how to create/manage connections.
Fail File
Required
The XML file to output any failed uploads to.
Input File
Required
The XML file containing the products. See Shopify Inventory XML for more details.
Success File
Required
The XML file to output successful uploads to.
Lookup Inventory Id's
Required
Optionally update truth records to represent a match between SKU and inventory item ID's in Shopify.
Lookup Inventory Id's From
Required
The truth table will be updated with any products created or modified since this time. This setting will automatically update each time the task runs.
Prevent Reprocessing
Required
Optionally prevent reprocessing the same records by providing an <external_id> in the XML you provide.
Zynk Settings
See Common Task Settings.
Permissions
This task requires the following permissions in your Shopify app:
- read_locations
- read_products
- read_inventory
- write_inventory
Examples
A sample input file is shown below which updates an existing products inventory levels. See Shopify Inventory XML for more details.
<?xml version="1.0" encoding="utf-8"?>
<inventory_collection>
<inventory>
<inventory_level>
<sku>MER99AMP2</sku>
<available>15</available>
<location>Home</location>
</inventory_level>
</inventory>
</inventory_collection>