Anchor to StoreCreditAccountDebitTransactionStore
objectStore Credit Account Debit Transaction
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•Money
After Transaction V2!non-null The balance of the account after the transaction.
- Anchor to createdAtcreated•Date
At Time!non-null The date and time when the transaction was created.
- Anchor to eventevent•Store
Credit System Event!non-null The event that caused the store credit account transaction.
- •ID!non-null
A globally-unique ID.
- Anchor to originorigin•Store
Credit Account Transaction Origin The origin of the store credit account transaction.
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•Store
Input Credit 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•Store
Credit Account Transaction Credit Account Debit Transaction The store credit account transaction that was created.
- Anchor to userErrorsuser•[Store
Errors Credit Account Debit User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?