cancel
Showing results for 
Search instead for 
Did you mean: 

Graphql products query responding with default store/view products only

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

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

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.