GraphQL API not creating product variants only in one site

chamuth
New Member
1 0 0

There are two sites for my product development one and my client's site.

The app was fine for both sites until about 10 hours ago.

I'm trying to use the GraphQL API to create product variants using input like this,

 

{"id":"gid://shopify/Product/6574747943069","options":["pprCurrency","Title"],"variants":[{"sku":"SKM-SKIN-130","price":"34.99","compareAtPrice":"55.00","options":["USD","Default Title"],"inventoryQuantities":{"availableQuantity":843,"locationId":"gid://shopify/Location/61117595805"}},{"sku":"SKM-SKIN-130","price":"25.00","compareAtPrice":"30.00","options":["EUR","Default Title"],"inventoryQuantities":{"availableQuantity":843,"locationId":"gid://shopify/Location/61117595805"}},{"sku":"SKM-SKIN-130","price":"10.00","compareAtPrice":"40.00","options":["GBP","Default Title"],"inventoryQuantities":{"availableQuantity":843,"locationId":"gid://shopify/Location/61117595805"}}]}

 

It works on one of my sites but it doesn't on the other (with different product id's ofcourse)

And the Graphiql app is not working for any of the sites (it has worked until about 10 hours ago on both sites, it suddenly stopped working)

Please help

0 Likes