Hi,
When i want to create products on shopify by importing my sql database. When i map the feelds, i can not choos to use a photo url for the picture of the shopify product
Hi,
When i want to create products on shopify by importing my sql database. When i map the feelds, i can not choos to use a photo url for the picture of the shopify product
Hi Steine! It is impossible to specify a photo URL while importing data to Shopify Products. Skyvia works via Shopify API and its API does not provide such a possibility:
https://help.shopify.com/en/api/reference/products/product
Matrixfy has no problem importhing a photo URL while importing to shopify products - using the Shopify API. So "impossible" seems off-base to me.
https://shopify.dev/api/admin-rest/2023-01/resources/product-image#resource-object
Lookup the product, get the Id . then lookup the product-image using the product ID and update. Seems straight forward.
Something like this:
With multiple images, it gets a bit more complex because "FirstOrDefault" won't do, would need to either retrieve an array and parse it or add additional lookup filters to the product image.