Generate Storefront Access Token

Generate the storefront access token for setting up the affiliate public store:

To generate the storefront access token, install the Headless channelarrow-up-right from the Shopify app store.

Install the Headless channel from the Shopify app store

This will open up the Storefronts section.

Storefronts

Here, click on Create storefront.

Click on Create Storefront

To access the Storefront API, click on Manage.

Storefront API > Click on Manage

This will open up the Storefront API section.

Storefront API

Next, click on Edit to update the Storefront API permissions.

Storefront API permissions > Click on Edit

After this, enable the "unauthenticated_read_product_inventory" permission.

circle-info

The following Storefront API permissions need to be enabled:

  • unauthenticated_read_product_listings

  • unauthenticated_read_product_inventory

  • unauthenticated_read_product_tags

  • unauthenticated_read_customers

  • unauthenticated_write_customers

  • unauthenticated_read_content

  • unauthenticated_read_checkouts

  • unauthenticated_write_checkouts

Please note that most of these permissions are enabled by default.

Enable the "unauthenticated_read_product_inventory" permission

Finally, click on Save.

Click on Save

You can copy the generated storefront API access token and use it to set up the affiliate public store.

Generate Storefront Access Token

Last updated

Was this helpful?