---
title: >-
  The orderCancel mutation now returns a structured jobResult - 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/posts/the-ordercancel-mutation-now-returns-a-structured-jobresult
  md: >-
    https://shopify.dev/changelog/posts/the-ordercancel-mutation-now-returns-a-structured-jobresult.md
metadata:
  effectiveApiVersion: 2026-10
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2026-06-19T16:28:45-04:00'
  postedAt: '2026-10-01T12:00:00-04:00'
  updatedAt: '2026-06-24T12:43:05-04:00'
  effectiveAt: '2026-10-01T12:00:00-04:00'
---

October 1, 2026

# The `orderCancel` mutation now returns a structured `jobResult`

DateOctober 1, 2026

Version[2026-10](https://shopify.dev/changelog?api_version=2026-10)

FlagsUpdate

SurfacesAPI

Affected APIs[Admin GraphQL API](https://shopify.dev/changelog?api_type=admin-graphql)

As of the `2026-10` [GraphQL Admin API](https://shopify.dev/docs/api/admin-graphql/latest) version, the [`orderCancel`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCancel) mutation returns a new `jobResult` field of type `OrderCancelJobResult`.

Order cancellations run asynchronously. The `jobResult` field provides a structured, cancellation-specific result, including the cancellation status, any errors, and the affected order. Use this field to check whether the cancellation completed successfully and to handle any errors.

Previously, the mutation only exposed the generic `job` field, which didn’t include cancellation-specific status or errors. The existing `job` field is unchanged and continues to work as before, so no action is required for existing integrations.
