# How to determine primary market in GraphQL?

**URL:** <https://community.shopify.dev/t/how-to-determine-primary-market-in-graphql/18849>\
**Category:** Markets\
**Tags:** new-gql-apis\
**Created:** [July 10, 2025, 5:51am UTC](https://community.shopify.dev/t/how-to-determine-primary-market-in-graphql/18849 "2025-07-10T05:51:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mathieu\_Nunez](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@Mathieu\_Nunez](https://community.shopify.dev/u/Mathieu_Nunez)\
**Post date:** [July 10, 2025, 5:51am UTC](https://community.shopify.dev/t/how-to-determine-primary-market-in-graphql/18849/1 "2025-07-10T05:51:45Z")

</div>

In GraphQL the primary field of the Market object is marked as deprecated but has no documentation on alternatives. Is there an alternative on how to determine if a market is the primary?

---

<div class="post-metadata">

**Author:** ![KyleG-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/kyleg-shopify/32/6799_2.png) [@KyleG-Shopify](https://community.shopify.dev/u/KyleG-Shopify)\
**Post date:** [July 10, 2025, 3:00pm UTC](https://community.shopify.dev/t/how-to-determine-primary-market-in-graphql/18849/2 "2025-07-10T15:00:15Z")

</div>

Hey @Mathieu_Nunez, our changelog post here outlines the move away from the primary market concepts and the available endpoints

> **[New Markets APIs - Shopify developer changelog](https://shopify.dev/changelog/new-markets-apis)**
>
> Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities.

---

<div class="post-metadata">

**Author:** ![Mathieu\_Nunez](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@Mathieu\_Nunez](https://community.shopify.dev/u/Mathieu_Nunez)\
**Post date:** [July 10, 2025, 10:32pm UTC](https://community.shopify.dev/t/how-to-determine-primary-market-in-graphql/18849/3 "2025-07-10T22:32:57Z")

</div>

Thanks @KyleG-Shopify
