Skip to main content
Anchor to StoreCreditAccountCreditUserError

StoreCreditAccountCreditUserError

object

An error that occurs during the execution of StoreCreditAccountCredit.

•StoreCreditAccountCreditUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

Adds funds to a StoreCreditAccount by creating a StoreCreditAccountCreditTransaction. The mutation accepts either a store credit account ID, a Customer ID, or a CompanyLocation ID. When you provide a customer or company location ID, it automatically creates an account if one doesn't exist for the specified currency.

Store credit accounts are currency-specific. A single owner can have multiple accounts, each holding a different currency. Use the most appropriate currency for the given store credit account owner.

Credits can optionally include an expiration date.

Arguments

•ID!
required

The ID of the store credit account or the ID of the account owner.

•StoreCreditAccountCreditInput!
required

The input fields for a store credit account credit transaction.



Was this section helpful?


Was this section helpful?