---
title: OrderCancelReason - GraphQL Admin
description: Represents the reason for the order's cancellation.
api_version: 2026-01
api_name: admin
type: enum
api_type: graphql
source_url:
html: 'https://shopify.dev/docs/api/admin-graphql/latest/enums/OrderCancelReason'
md: 'https://shopify.dev/docs/api/admin-graphql/latest/enums/OrderCancelReason.md'
---
# OrderCancelReason
enum
Represents the reason for the order's cancellation.
## Valid values
* CUSTOMER
The customer wanted to cancel the order.
* DECLINED
Payment was declined.
* FRAUD
The order was fraudulent.
* INVENTORY
There was insufficient inventory.
* OTHER
The order was canceled for an unlisted reason.
* STAFF
Staff made an error.
***
## Fields
* [Order.cancelReason](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.cancelReason)
OBJECT
The `Order` object represents a customer's request to purchase one or more products from a store. Use the `Order` object to handle the complete purchase lifecycle from checkout to fulfillment.
Use the `Order` object when you need to:
* Display order details on customer account pages or admin dashboards.
* Create orders for phone sales, wholesale customers, or subscription services.
* Update order information like shipping addresses, notes, or fulfillment status.
* Process returns, exchanges, and partial refunds.
* Generate invoices, receipts, and shipping labels.
The `Order` object serves as the central hub connecting customer information, product details, payment processing, and fulfillment data within the GraphQL Admin API schema.
***
**Note:** Only the last 60 days\' worth of orders from a store are accessible from the \Order\ object by default. If you want to access older records, then you need to \request access to all orders\. If your app is granted access, then you can add the \\read\\_all\\_orders\\, \\read\\_orders\\, and \\write\\_orders\\ scopes.
***
***
**Caution:** Only use orders data if it\'s required for your app\'s functionality. Shopify will restrict \access to scopes\ for apps that don\'t have a legitimate use for the associated data.
***
Learn more about [building apps for orders and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment).
* [orderCancel.reason](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCancel#arguments-reason)
ARGUMENT
***
## Map
### Fields with this enum
* [Order.cancelReason](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.cancelReason)
### Arguments with this enum
* [orderCancel.reason](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCancel#arguments-reason)