How to use API check if 'Show login link in storefront and checkout' is enabled?

How to use API check if 'Show login link in storefront and checkout' is enabled?

MKOLS
Shopify Partner
1 0 1

Hi, we have an App that needs the store to enable 'Customer Accounts'. When users log in to our App website, we will call the API "xxx.myshopify.com/admin/api/2022-07/graphql.json" with the filed 'customerAccounts' keyword. Once it's returned 'Disabled', we will notify the user and lead him to go to the "https://xxx.myshopify.com/admin/settings/checkout" to change the setting. But after Shopify's recent update last month, the setting of the customer account is changed to 'Show login link in storefront and checkout' and 'Require all customers to log in before checkout'. The old API does not support checking if users enable these features. Is there any way to check that?

Thank you.

Reply 1 (1)

Not applicable

I have same issue too.