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
- balance (MoneyV2!)
- id (ID!)
- owner (HasStoreCreditAccounts!)
- transactions (StoreCreditAccountTransactionConnection!)
- 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 afterafter•String
The elements that come after the specified cursor.
- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators.
name type description acceptable_values default_value example_use 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. -
-id id Filter by idrange.- id:1234
-id:>=1234
-id:<=1234type string Filter transactions by type. Any value other than the accepted values will be ignored. - credit
-debit
-
-expiration- type:expiration
-You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax). - 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.
Arguments