Creating transactions using the GraphQL Admin API

New Member
3 0 1


I am trying to create a transaction using the GraphQL API. I know that you can create one using the REST API , but I cannot find a mutation to create one using GraphQL. Also I found an order transaction input object so I assume that a mutation used to exist or is in development. Is there something I am missing?

Shopify Staff
Shopify Staff
90 8 12

Hey @evris_k,

Here are some doc links related to order transaction mutations in the GraphQL API (orderCaptureorderCloserefundCreate). It isn't possible to cancel an order via GraphQL as it is in REST at the moment, but there are plans to add this functionality in the future (previous thread here).

CalD | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit or the Shopify Web Design and Development Blog