Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to StoreCreditAccountCreditUserErrorCode

StoreCreditAccountCreditUserErrorCode

enum

Possible error codes that can be returned by StoreCreditAccountCreditUserError.

•

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.

•

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.

•

Owner does not exist.

Anchor to UNSUPPORTED_CURRENCYUNSUPPORTED_CURRENCY
•

The currency provided is not currently supported.


Was this section helpful?