OrderCancelReason enum

Version unstable

Represents the reason that the order is being canceled. Valid values are: customer, fraud, inventory, declined, other.

Values

  • CUSTOMER

    The customer wanted to cancel the order.

  • DECLINED

    Payment was declined.

  • FRAUD

    The order was fraudulent.

  • INVENTORY

    There was insufficient inventory.

  • OTHER

    Some other reason not listed.

Types that return OrderCancelReason

Version 2021-10 (Release candidate)

Represents the reason that the order is being canceled. Valid values are: customer, fraud, inventory, declined, other.

Values

  • CUSTOMER

    The customer wanted to cancel the order.

  • DECLINED

    Payment was declined.

  • FRAUD

    The order was fraudulent.

  • INVENTORY

    There was insufficient inventory.

  • OTHER

    Some other reason not listed.

Types that return OrderCancelReason

Version 2021-07 (Latest)

Represents the reason that the order is being canceled. Valid values are: customer, fraud, inventory, declined, other.

Values

  • CUSTOMER

    The customer wanted to cancel the order.

  • DECLINED

    Payment was declined.

  • FRAUD

    The order was fraudulent.

  • INVENTORY

    There was insufficient inventory.

  • OTHER

    Some other reason not listed.

Types that return OrderCancelReason

Version 2021-04

Represents the reason that the order is being canceled. Valid values are: customer, fraud, inventory, declined, other.

Values

  • CUSTOMER

    The customer wanted to cancel the order.

  • DECLINED

    Payment was declined.

  • FRAUD

    The order was fraudulent.

  • INVENTORY

    There was insufficient inventory.

  • OTHER

    Some other reason not listed.

Types that return OrderCancelReason

Version 2021-01

Represents the reason that the order is being canceled. Val