Anchor to StoreCreditAccountDebitTransactionStore
Store Credit Account Debit Transaction
object
Requires access scope.
A debit transaction which decreases the store credit account balance.
Anchor to FieldsFields
- Anchor to accountaccount•Store
Credit Account!non-null The store credit account that the transaction belongs to.
- Anchor to amountamount•Money
V2!non-null The amount of the transaction.
- Anchor to balanceAfterTransactionbalance•
After Transaction MoneyV2!non-null The balance of the account after the transaction.
- Anchor to createdAtcreated•
At DateTime!non-null The date and time when the transaction was created.
- •ID!non-null
A globally-unique ID.
Was this section helpful?
Anchor to MutationsMutations
- •mutation
Creates a debit transaction that decreases the store credit account balance by the given amount.
- Anchor to debitInputdebit•
Input StoreCredit Account Debit Input!required The input fields for a store credit account debit transaction.
- •ID!required
The ID of the store credit account or the ID of the account owner.
Arguments
- Anchor to storeCreditAccountTransactionstore•
Credit Account Transaction The store credit account transaction that was created.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?