Manage the Headless channel :
You can manage the Headless channel by creating new storefronts, rotating your private access tokens, editing store names, managing storefront permissions, order attribution, and more. The Headless channel gives you all of Shopify's channel features, such as product publishing, scheduled product publishing, analytics, and reporting sales by channel.
Here you'll be doing the following tasks :
- Add a custom storefront using the Headless channel
- View a list of your custom storefronts
- Edit storefront names
- Rotate private access tokens
- Edit storefront permissions
- Order attribution
- Delete storefronts
Add storefronts :-
You can have a maximum of 100 active storefronts and access tokens per shop.
- From your Shopify admin, under Sales channels, click Headless.
- On the Storefronts page, click Add storefront.
View custom storefronts :-
- From your Shopify admin, under Sales channels, click Headless.
- On the Storefronts page, optionally select a storefront to view it.
Edit storefront names :-
- From your Shopify admin, under Sales channels, click Headless.
- On the Storefronts page, select the storefront to rename.
- Beside Storefront name, click Edit.
- Type the new name for the storefront.
- Click Save.
Rotate private access tokens :-
- From your Shopify admin, under Sales channels, click Headless.
- On the Storefronts page, select the storefront to rotate the access tokens for.
- In the Storefront API tokens card, under Rotate private access token, click Generate new token.
- Update any applications or scripts to use the new token. The old token remains valid until you delete it.
- Beside the old private access token, click Delete.
- When prompted, click Delete token.
Request storefront permissions :-
Permissions control what Storefront API data custom storefronts can display in your Shopify store. When you install the channel, a default set of permissions is created for you. You can edit these.
!!Caution!!
Both Storefront and Admin API permissions are shared across all storefronts.
1. From your Shopify admin, under Sales channels, click Headless.
2 .On the Storefronts page, select a storefront to edit permissions for.
3. In the Storefront API permissions card, click Edit.
4. Select or deselect permissions for the store.
5. Click Save.
Order attribution :-
Order attribution is at the channel level, not the storefront level.
1.From your Shopify admin, click Orders.
2.In the Channel column, sales attributed to the Headless channel display as Headless.
Delete storefronts :-
!!Caution!!
Deleting a storefront invalidates its Storefront API tokens. This action can't be undone.
1.From your Shopify admin, under Sales channels, click Headless.
2.On the Storefronts page, select a storefront to edit permissions for.
3.In the Delete storefront card, click Delete storefront.
4.Click Delete storefront