Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

Introducing a webhook topic for customer account settings

API

As of API version 2024-07 of the GraphQL Admin API, your app can subscribe to the customer_account_settings/update webhook topic.

This webhook is triggered when a merchant changes customer account settings.

For example, if a merchant chooses new customer account, requires login on checkout and shows login link on online store, the payload in the webhook will look like:

{
 url: 'https://shopify.com/1234567890/account',
 customer_accounts_version: 'new_customer_accounts',
 login_required_at_checkout: true,
 login_links_visible_on_storefront_and_checkout: true
}

If a merchant chooses classic customer account, does not require login on checkout and does not show login link on online store, the payload in the webhook will look like:

{
 url: null,
 customer_accounts_version: 'classic',
 login_required_at_checkout: false,
 login_links_visible_on_storefront_and_checkout: false
}

Learn more about these webhooks on Shopify.dev