--- title: Order Cancellation now available on GraphQL Admin API - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/order-cancellation-now-available-on-graphql-admin-api md: https://shopify.dev/changelog/order-cancellation-now-available-on-graphql-admin-api.md --- [Back to Developer changelog](https://shopify.dev/changelog) January 1, 2024 Tags: * API * 2024-01 # Order Cancellation now available on GraphQL Admin API As of GraphQL Admin API version 2024-01, you can use the [orderCancel](https://shopify.dev/docs/api/admin-graphql/2024-01/mutations/orderCancel) mutation to cancel an order. The mutation allows apps to specify some options for cancellation (eg whether or not to refund the customer, restock inventory quantities, notify the customer) as well as a reason for cancellation and a merchant-facing staff note. The mutation performs cancellation asynchronously in a background job and as such, returns a `job` that can be queried for using the [job API](https://shopify.dev/docs/api/admin-graphql/2023-10/queries/job)