--- title: >- Locale fields on MarketWebPresence now return ShopLocale object - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: >- https://shopify.dev/changelog/locale-fields-on-marketwebpresence-now-return-shoplocale-object md: >- https://shopify.dev/changelog/locale-fields-on-marketwebpresence-now-return-shoplocale-object.md metadata: effectiveApiVersion: 2024-04 affectedApi: [] primaryTag: displayName: API handle: api secondaryTag: displayName: Update handle: update indicatesActionRequired: true createdAt: '2024-01-09T09:36:38-05:00' postedAt: '2024-01-15T09:00:00-05:00' updatedAt: '2024-12-13T17:24:40-05:00' effectiveAt: '2024-01-15T09:00:00-05:00' --- January 15, 2024 Tags: * Action Required * API * 2024-04 # Locale fields on `MarketWebPresence` now return `ShopLocale` object As of `2024-04` the following fields on the [`MarketWebPresence`](https://shopify.dev/docs/api/admin-graphql/2024-04/objects/MarketWebPresence) object will no longer return locale strings and will instead make use of the [`ShopLocale`](https://shopify.dev/docs/api/admin-graphql/unstable/objects/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](https://shopify.dev/docs/api/admin-graphql/2024-04/objects/MarketWebPresence).