Skip to main content
Anchor to storeCreditAccountCredit

storeCreditAccountCredit

mutation

Requires write_store_credit_account_transactions access scope.

Creates a credit transaction that increases the store credit account balance by the given amount. This operation will create an account if one does not already exist. A store credit account owner can hold multiple accounts each with a different currency. Use the most appropriate currency for the given store credit account owner.

•StoreCreditAccountCreditInput!required

The input fields for a store credit account credit transaction.

•ID!required

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


Was this section helpful?

Anchor to StoreCreditAccountCreditPayload returnsStoreCreditAccountCreditPayload returns

Anchor to storeCreditAccountTransactionstoreCreditAccountTransaction
•StoreCreditAccountCreditTransaction

The store credit account transaction that was created.

•[StoreCreditAccountCreditUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?