Hello There !
Not the first time I'm struggling with GraphQL I'm still trying but I begin to feel tired of the poor documentation and the bad error return.
I'm trying to make the example of orderUpdate mutation working :
First I retrieve an order :
Second I try to modify the order with the example code of the doc :
I don't want to sound to critical because the support is good at Shopify but GraphQL is really bad documented and it doesn't encourage to use it compare to Rest.
By the way when I switch between requests in my history I have a blank screen and need to reload the page.
Solved! Go to the solution
This is an accepted solution.
If you are attempting to update an order then your input variable set only contains the order ID and nothing else. I'm not sure about the Shopify API error response, but try adding at least one additional field besides the ID. Try adding "title": "Updated Title" or something else so that there is something to update!