---
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
metadata:
  effectiveApiVersion: 2024-01
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2023-12-05T14:22:31-05:00'
  postedAt: '2024-01-01T00:01:00-05:00'
  updatedAt: '2024-12-13T17:24:40-05:00'
  effectiveAt: '2024-01-01T00:01:00-05:00'
---

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)
