---
title: OrderCancelReason - Customer API
description: The reason for the cancellation of the order.
api_version: unstable
api_name: customer
source_url:
  html: 'https://shopify.dev/docs/api/customer/unstable/enums/OrderCancelReason'
  md: 'https://shopify.dev/docs/api/customer/unstable/enums/OrderCancelReason.md'
---

# Order​Cancel​Reason

enum

The reason for the cancellation of the order.

## 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/customer/unstable/objects/Order#field-Order.fields.cancelReason)

  OBJECT

  A customer’s completed request to purchase one or more products from a shop. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data).

***

## Map

### Fields with this enum

* [Order.cancelReason](https://shopify.dev/docs/api/customer/unstable/objects/Order#field-Order.fields.cancelReason)
