How to cancel order with GraphQL API?

kishinmanglani
Shopify Partner
26 0 7

Is it possible to cancel orders with the GraphQL API yet? Or is it better to use the refundCreate mutation and refund the order that way? Would that basically cancel the order?

Replies 13 (13)
jig_r
Excursionist
24 0 3

Are there any updates to the order cancellation capability via the GraphQL API?

It seems a bit silly that everything else is available to do with order via REST, but you can't cancel using GraphQL. 

Its been about a year since this was first raised.

prakalp
New Member
2 0 2
An Updates on this thread?
jig_r
Excursionist
24 0 3

I've created a small Rails app to handle this for me, forwarding the requests from my app, to the rails app, to shopify admin api

tolgapaksoy
Shopify Partner
86 7 46

I cannot believe this isn't supported in Graphql. Just to cancel an Order, I need to setup additional logic for a REST client... Very strange, Shopify