Anchor to section titled 'undefined'

StoreCreditAccountCreditUserErrorCode
enum

Possible error codes that can be returned by StoreCreditAccountCreditUserError.


value-accountnotfound
ACCOUNT_NOT_FOUND

The store credit account could not be found.

value-creditlimitexceeded
CREDIT_LIMIT_EXCEEDED

The operation would cause the account's credit limit to be exceeded.

value-expiresatinpast
EXPIRES_AT_IN_PAST

The expiry date must be in the future.

value-mismatchingcurrency
MISMATCHING_CURRENCY

The currency provided does not match the currency of the store credit account.

value-negativeorzeroamount
NEGATIVE_OR_ZERO_AMOUNT

A positive amount must be used to credit a store credit account.

value-ownernotfound
OWNER_NOT_FOUND

Owner does not exist.


Was this section helpful?

The error code.


Was this section helpful?
Map
StoreCreditAccountCreditUserErrorCode