Generate Storefront Access Token

Paul

Last Update 10 місяців тому

To generate the storefront access token, install the Headless channel from the Shopify app store.

This will open up the Storefronts section.

Here, click on Create storefront.

To access the Storefront API, click on Manage.

This will open up the Storefront API section > click on Edit to update the Storefront API permissions.

After this, enable the "unauthenticated_read_product_inventory" permission.

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.

Finally, click on Save.

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

You can use this to set up the affiliate store or affiliate public store options for affiliates in your program.