Anchor to StoreCreditAccountCreditUserErrorCodeStore
enumStore Credit Account Credit User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to ACCOUNT_NOT_FOUNDACCOUNT_NOT_FOUND
The store credit account could not be found.
- Anchor to CREDIT_LIMIT_EXCEEDEDCREDIT_LIMIT_EXCEEDED
The operation would cause the account's credit limit to be exceeded.
- Anchor to EXPIRES_AT_IN_PASTEXPIRES_AT_IN_PAST
The expiry date must be in the future.
- Anchor to MISMATCHING_CURRENCYMISMATCHING_CURRENCY
The currency provided does not match the currency of the store credit account.
- Anchor to NEGATIVE_OR_ZERO_AMOUNTNEGATIVE_OR_ZERO_AMOUNT
A positive amount must be used to credit a store credit account.
- Anchor to OWNER_NOT_FOUNDOWNER_NOT_FOUND
Owner does not exist.
- Anchor to UNSUPPORTED_CURRENCYUNSUPPORTED_CURRENCY
The currency provided is not currently supported.
Was this section helpful?