Reference
Storefront API Permissions
After Getting Started, grant these Storefront API permissions to your storefront's token. In Shopify admin, under Sales channels, click Headless and select your storefront. In the Storefront API permissions card, click Edit.
Required
| Scope | Enables |
|---|---|
unauthenticated_read_product_listings | Products, collections, search, and recommendations |
unauthenticated_read_selling_plans | Subscription and selling-plan options on products and cart lines |
unauthenticated_write_checkouts | Cart operations and checkout |
unauthenticated_read_content | Pages, blogs, and articles |
Optional
Grant optional scopes only when your storefront queries the related data.
| Scope | Enables |
|---|---|
unauthenticated_read_product_inventory | Inventory quantities, such as quantityAvailable; not required for the default availability indicators |
unauthenticated_read_product_tags | The tags field on products; not required for tag filters |
unauthenticated_read_metaobjects | Custom content stored in metaobjects |
Customer sign-in uses separate Customer Account API permissions. See Authentication for account setup and Shopify's scope reference for additional permissions.
See Environment Variables for token configuration and Storefront API for query validation and runtime behavior.