GitHub

ShopifyOrderCancelReason

enum

import { ShopifyOrderCancelReason } from '@daffodil/driver/shopify'

Represents the reason for the order's cancellation.

enum ShopifyOrderCancelReason {
  Customer = ShopifyOrderCancelReason.Customer,
  Declined = ShopifyOrderCancelReason.Declined,
  Fraud = ShopifyOrderCancelReason.Fraud,
  Inventory = ShopifyOrderCancelReason.Inventory,
  Other = ShopifyOrderCancelReason.Other,
  Staff = ShopifyOrderCancelReason.Staff,
}

Properties

Customer
ShopifyOrderCancelReason.Customer

The customer wanted to cancel the order.

Declined
ShopifyOrderCancelReason.Declined

Payment was declined.

Fraud
ShopifyOrderCancelReason.Fraud

The order was fraudulent.

Inventory
ShopifyOrderCancelReason.Inventory

There was insufficient inventory.

Other
ShopifyOrderCancelReason.Other

The order was canceled for an unlisted reason.

Staff
ShopifyOrderCancelReason.Staff

Staff made an error.