Solved

Unable to select multiple images for a variant

nishantsharm485
Shopify Partner
1 0 0

Hello,

I'm encountering an issue while trying to select multiple images for a variant in my custom user interface. I'm using the API to manage products and variants. Despite my efforts, I can't seem to resolve this problem. Can anyone provide guidance or suggestions on how to address this issue effectively?

Thank you in advance for your assistance!

 

Best regards,

 

Accepted Solution (1)

Ashish_Shah
Shopify Staff
20 7 9

This is an accepted solution.

Hello @nishantsharm485 

There can only be one media associated with a variant today.

https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/ProductVariantInput

ALIAS | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Reply 1 (1)

Ashish_Shah
Shopify Staff
20 7 9

This is an accepted solution.

Hello @nishantsharm485 

There can only be one media associated with a variant today.

https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/ProductVariantInput

ALIAS | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog