A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi
I'm trying to update a product variant by assigning a preexisting image(of the same product) to a product variant by using their ids.
All the ids(product, variant, image) are correct. The authentication is successful. I'm using the PUT endpoint with the correct URL.
I'm using this documentation: https://shopify.dev/api/admin/rest/reference/products/product-variant#index-2021-07
What is the problem here?
And is it possible to use graphQL to add an existing image to an existing variant?
Issue resolved. Check all id's again