Skip to main content

The orderCancel mutation now returns a structured jobResult

As of the 2026-10 GraphQL Admin API version, the 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.

Was this page helpful?