feat(app): add read_locations to access scopes

Required to auto-fetch primary store location during OAuth so inventory
can be assigned correctly during product imports.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
MOHAN 2026-08-22 00:46:37 +05:30
parent 190403a468
commit b84e21b4f2

View File

@ -21,7 +21,7 @@ api_version = "2026-07"
[access_scopes] [access_scopes]
# Learn more at https://shopify.dev/docs/apps/tools/cli/configuration#access_scopes # Learn more at https://shopify.dev/docs/apps/tools/cli/configuration#access_scopes
scopes = "write_products,write_files,write_inventory,write_publications" scopes = "write_products,write_files,write_inventory,write_publications,read_locations"
[auth] [auth]
redirect_urls = [ "https://racenationapi.thedomainnest.com/auth/callback" ] redirect_urls = [ "https://racenationapi.thedomainnest.com/auth/callback" ]