REST and GraphQL APIs permission discontinuity on shop request

Hi there,

we are definitely migrating from REST API to GraphQL API, as recommended by Shopify.

However, there is a field that has always been available with REST API with no permissions and that now requires new permissions. It is the “shop.primary_locale” field in REST API. In GraphQL API, instead of belonging to the “Shop” object like in REST, it belongs to the ShopLocale object (ShopLocale - GraphQL Admin) and it requires new read_locales or read_markets_home permissions.

Could you remove this permission requirement? Or could you include just the primary locale in the Shop object as it was with REST to maintain backward compatibility? It will make the migration very complex if we have to ask new permissions to thousands of merchants. Moreover, this field is not to access all locales or markets, it is just to know the shop primary locale, which in principle seems data specific to the store.

Thanks and kind regards.

2 Likes

Hi Sinuhe,

DMing you for more detail on migrating your app.