when i try to create a store front access token for my public sales channel i got this error “App must be extendable to create a storefront access token” why this such error coming?
during response X-Request-ID : 9edbbdcf-692d-4403-9496-e7e104f93e3f
I want to answer my own question achieve this solution you must have the following requirements:
Enabled sales channel (You can find it in Apps->your app->app setup)
Api scopes with following values: read_products,write_products,unauthenticated_read_content,unauthenticated_read_customer_tags,unauthenticated_read_product_tags,unauthenticated_read_product_listings,unauthenticated_write_checkouts,unauthenticated_read_checkouts,unauthenticated_write_customers,unauthenticated_read_customers
Just to clarify were you able to create store front token from your app?
Where I can enable sales channel from the partner org or the store.
I thought I can generate store front token from my app but getting "
"App must be extendable to create a storefront access token."
There are 4 tabs “Overview” / “Configuration” / “API Login Data” / “App Settings”
On “Configuration” I can edit the “Admin-API-Integration” (used so far) und configure the “Storefront-API-Integration” (not used so far).
The other 3 tabs don’t seem to have any matching setting.
In “Admin-API-Integration” there are no “unauthenticated_***” scopes.
I just need to get all availableCountries of the shop which is now deprected for the RestAPI and I never used the storefront API so far. This doc says the localization Object (where I can find availableCountries) doesn’t need any access scopes.
Seems to be whole day work just to figure out, how to get the availableCountries? I’m struggling from one problem to the next and maximally confused.