Product image position

Product image position

abater
Shopify Partner
8 0 2

Hello

 

Does anyone know if it's possible to set the product image position/order when using the `productCreateMedia` mutation? Or otherwise how I can order the product images?

Reply 1 (1)

csam
Shopify Staff (Retired)
267 40 51

Hi @abater 

 

There's a specific mutation to order product media called productReorderMedia. You can see an example of this here: https://shopify.dev/api/examples/product-media#reordering-media-objects

 

 

To learn more visit the Shopify Help Center or the Community Blog.