Store Credit Account
Requires access scope.
A store credit account contains a monetary balance that can be redeemed at checkout for purchases in the shop. The account is held in the specified currency and has an owner that cannot be transferred.
The account balance is redeemable at checkout only when the owner is authenticated via new customer accounts authentication.
Anchor to FieldsFields
- Anchor to balancebalance•Money
V2! non-null The current balance of the store credit account.
- •ID!non-null
A globally-unique ID.
- Anchor to ownerowner•Has
Store Credit Accounts! non-null The owner of the store credit account.
- Anchor to transactionstransactions•Store
Credit Account Transaction Connection! non-null The transaction history of the store credit account.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Transaction
Key Sort Keys Default:CREATED_AT Sort the underlying list by the given key.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to expires_at•time
Filter transactions by expiry date. Only applicable to StoreCreditAccountCreditTransaction objects. All other objects are handled as if they have a null expiry date.
expires_at:<='2025-01-01T00:00:00+01:00'expires_at:<='2025-12-31T23:00:00Z'- Anchor to type•string
Filter transactions by type. Any value other than the accepted values will be ignored.
creditdebitdebit_revertexpirationtype:expirationtype:credit OR type:debit_revert
Example:
Valid values:
Example:
Arguments