DSYNC can consume XML feed as a source and push to Shopify. It can be done via our standard API endpoint added to authorized Shopify system.
The 'image create' API of Shopify is pretty straightforward, it needs 3 fields:
- the base64 encoded image which you get from the feed
- filename of the image which can be either defaulted or made up
- the Shopify product ID of the product for which you are adding an image
The last bit can be tricky - you need to know the Shopify product ID when sending requests to Shopify which means
a) the product must already exist in Shopify
b) you need to have the product ID somewhere on the XML feed
You will not be able to create images without a matching element which identifies the product in Shopify.
- Add the product ID on the XML feed (there's a stock code which I believe is currently the SKU - if they change the stock code to the product ID we will be able to match this)
- custom setup via callback (paid); we first get the product ID based on the SKU from the feed, then create an image using our callback functionality
- The reason why this is a paid custom job is we will need to test the sample data from the feed (need to figure out if we get all the images for all products in one XML or if it's one by one kind of thing)
- if it's all the images, need to find out how we call the feed and if there's some kind of filtering available (last updated date for example) or if we get all product every time. All products every time could cause duplicate images being created for products in Shopify in which case ...
-- custom development (additional endpoint 'Image' in Shopify)