Skip to main content
Anchor to OrderCancelUserErrorCode

OrderCancelUserErrorCode

enum

Possible error codes that can be returned by OrderCancelUserError.

Unexpected internal error happened.

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.

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?


Was this section helpful?