I’m trying to read a customer’s store credit balance via the Admin GraphQL API from a Dev Dashboard custom app, but the storeCreditAccounts field returns ACCESS_DENIED regardless of what I try.
What I’ve tried:
-
Legacy custom app token with
read_customers+read_gift_cardsscopes → ACCESS_DENIED -
Dev Dashboard OAuth token (offline) with
read_customersscope → ACCESS_DENIED -
The error message does not include a “Required access: X” hint like other field errors do
The query:
{ customer(id: "gid://shopify/Customer/...") {
storeCreditAccounts(first: 1) {
nodes { balance { amount currencyCode } }
}
} }
Question: What scope or additional approval is required to access storeCreditAccounts? Is this restricted by plan, or is there a protected data category approval needed?
Store is on the Basic plan.
Ultimately I’m trying to display a customer’s store credit balance on a custom account dashboard page in a Dawn theme.