I have created multiple store views, pattern lang_country
.
It is my understanding that the REST API url syntax is as follows
where
becomes all
when targeting the default store view.
Now, if I create a customer from Magento frontend, while browsing a particular store view, I see the customer being created under that store view.
If I create a customer using the REST API, although using
the customer is created under “Default Store View”, exactly the same as using
.
Furthermore, if I enable Add Store Code to Urls, the swagger view shows [ Base URL:
, which seems like repeating store_code twice.
I am very confused about all this. Can someone please shed some light on
- the effect of enabling Add Store Code to Urls to REST endpoints
- how to use the REST syntax to target api actions to specific store views
Thank you