GraphQL query for Store Credit Status on the CustomerAccountsV2 object

Would be great to be able to query the store to see if they have the below setting turned on or off.

image

I know we can query if a specific customer has the new Customer Accounts turned on / off, and then if the customer has a store credit account or not, but would be great to just check the Store Credit Status directly.

Any chance we can get it added as a field on the CustomerAccountsV2 object? CustomerAccountsV2 - GraphQL Admin

Hey Lewis,

Thanks for this feature request - could you describe how this ability would be useful to you? That will help the internal team to understand the benefits of investing in supporting this.

Hey @Liam-Shopify,

Sure thing - I’m building an app that heavily leverages store credit, but that part of the app only really needs to be turned on if they have this switch turned on or alternatively, I can tell them that they need to turn that setting on in order to offer them that specific feature within the app.

Right now, I have to show a message to basically say ‘Make sure you’ve turned this setting on’ because all I can tell is if they’re on New Customer Accounts or not, which isn’t ideal, especially if they do already have this option turned on. So from an onboarding perspective, it’d be great to know this so I can determine how the UI of the app is handled.

Thanks for this description Lewis - super helpful for our product teams to get this context!

HI again Lewis- after connecting with the internal product team, they’ve confirmed there’s no immediate plan to build out support for this, but they do understand that being able to query the state would be beneficial - but unfortunately there’s no ETA o when this will be added to the roadmap. I think for now you’ll need to rely on the static message to merchants, which isn’t ideal.