Product API to link existing picture to product

Product API to link existing picture to product

Ričardas
Shopify Partner
1 0 0

I have manually uploaded all product pictures to shopify and now trying to link them to products using API.

I haven't found a working solution neither for REST to GRAPHQL how to resuse exactly the same picture.

 

media object requires ulr and providing it, shopify each time creates a new picture.

 

BTW, it works manually via admin. 

 

Is there any way to link existing pictures to shopify products using API?

Replies 0 (0)