Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

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.