cancel
Showing results for 
Search instead for 
Did you mean: 

REST Api product Catalog Not Responding to Changes In Store View

REST Api product Catalog Not Responding to Changes In Store View

Hello,

 

Me and my company are developing an Angular site for a client that communicates with Magento2 over Magento's build in REST api.

 

One of the requirements of the site is that there are multiple locals, that have slightly different catalogs of products. In this case we have a US store and EU store that have very similar but different products.

 

I'm using the API endpoint

{{API_URL}}/rest/{{STORE_VIEW_CODE}}/V1/products

With some extra searchCriteria

 

The problem is when I change the "{{STORE_VIEW_CODE}}" from one store view code to another, I see absolutely no difference in the payloads even though based on my configuration I should see different results. I've even confirmed that my store view changes are indeed applying by using the Luma front-end on my Magento2 install.

 

This is slightly hard to explain so here's a a gif of the behaviour.

 

http://i.imgur.com/gBUObKX.gifv


As you can see from the GIF the "Websites" configuration of the product seems to have NO effect on the returning catalog call.

 

 I would expect to see that turning off the product in specific store views would remove the product from the REST api call.