Store Credit Account Credit User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- code (StoreCreditAccountCreditUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Store
Credit Account Credit User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- storeCreditAccountCredit (StoreCreditAccountCreditPayload)
- •mutation
Adds funds to a
by creating a. The mutation accepts either a store credit account ID, aCustomerID, or aID. 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.
- •ID!required
The ID of the store credit account or the ID of the account owner.
- Anchor to creditInputcredit•Store
Input Credit Account Credit Input! required The input fields for a store credit account credit transaction.
Arguments
- •ID!