StoreCreditAccountCreditTransactions
Credit transactions which increase the store credit account balance.
Table-Specific Information
Select
The server uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The server processes other filters client-side within the server.
- Id supports the '=, IN' comparison operators.
- CustomerStoreCreditAccountId supports the '=, IN' comparison operators.
For example, the following queries are processed server-side:
SELECT * FROM StoreCreditAccountCreditTransactions WHERE Id = 'Val1'
SELECT * FROM StoreCreditAccountCreditTransactions WHERE CustomerStoreCreditAccountId = 'Val1'
Insert
The following columns can be used to create a new record:
Amount, AmountCurrencyCode, ExpiresAt, CustomerStoreCreditAccountId
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Amount | Decimal | True |
Decimal money amount. | |
| AmountCurrencyCode | String | True |
Currency of the money. | |
| RemainingAmount | Decimal | True |
Decimal money amount. | |
| RemainingAmountCurrencyCode | String | True |
Currency of the money. | |
| ExpiresAt | Datetime | True |
The time at which the transaction expires. Debit transactions will always spend the soonest expiring credit first. | |
| BalanceAfterTransactionAmount | Decimal | True |
Decimal money amount. | |
| BalanceAfterTransactionCurrencyCode | String | True |
Currency of the money. | |
| CreatedAt | Datetime | True |
The date and time when the transaction was created. | |
| CustomerStoreCreditAccountId | String | True |
A globally-unique ID. |