Back to Developer changelog

Locale fields on MarketWebPresence now return ShopLocale object

API

Effective January 15, 2024

Action required

As of 2024-04 the following fields on the MarketWebPresence object will no longer return locale strings and will instead make use of the ShopLocale type:

  • defaultLocale
  • alternateLocales

We’re making this change as it allows callers to query for more information regarding locales on a market, such as whether it is published or primary. Please ensure to update your API calls using MarketWebPresence.defaultLocale or MarketWebPresence.alternateLocales to use the ShopLocale type.

Learn more about the MarketWebPresence object on Shopify.dev.