Anchor to OrderCancelUserErrorCodeOrder
enumOrder Cancel User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to INTERNAL_ERRORINTERNAL_ERROR
Unexpected internal error happened.
- Anchor to INVALIDINVALID
The input value is invalid.
- Anchor to NO_REFUND_PERMISSIONNO_REFUND_PERMISSION
An order refund was requested but the user does not have the refund_orders permission.
- Anchor to NO_REFUND_TO_STORE_CREDIT_PERMISSIONNO_REFUND_TO_STORE_CREDIT_PERMISSION
An order refund was requested but the user does not have the refund_to_store_credit permission.
- Anchor to NOT_FOUNDNOT_FOUND
The record with the ID used as the input value couldn't be found.
- Anchor to STORE_CREDIT_REFUND_B2B_NOT_SUPPORTEDSTORE_CREDIT_REFUND_B2B_NOT_SUPPORTED
A store credit order refund was requested but the order is a B2B order.
- Anchor to STORE_CREDIT_REFUND_EXPIRATION_IN_PASTSTORE_CREDIT_REFUND_EXPIRATION_IN_PAST
A store credit order refund was requested but the expiration date is in the past.
- Anchor to STORE_CREDIT_REFUND_MISSING_CUSTOMERSTORE_CREDIT_REFUND_MISSING_CUSTOMER
A store credit order refund was requested but the order has no customer.
Was this section helpful?