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?