- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2021
06:41 AM
12-09-2021
06:41 AM
Graphql products query responding with default store/view products only
Hey all!
Is there a way to list of all products in a specific store/view (similar to <store_url>/rest/<view/store_code>/v1/produts in the regular REST API)?
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2021
05:32 PM
12-12-2021
05:32 PM
Re: Graphql products query responding with default store/view products only
As far as I know, Graphql already supports this feature. You just need to call the API and it will return the correct products according to your current store.
If issue solved, Click Kudos & Accept as Solution.
LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool
LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2021
11:56 PM
12-22-2021
11:56 PM
Re: Graphql products query responding with default store/view products only
Hi thanks for your response!
The behavior I've seen is that it will return products from the default website/store/view. But I wasn't able to get products attributes from another, non-default, view.
For example, let's say that I have one view in English and another in Spanish, and the names of the products are different in this views - I wasn't able to get the names in Spanish because in not the default view.