cancel
Showing results for 
Search instead for 
Did you mean: 

Magento REST API POST product.store_view_id | How to post a product with translated Product name

Magento REST API POST product.store_view_id | How to post a product with translated Product name

Hi ,

 

I`m looking for a way to translate our products in Magento store. So I created a new magento store view. And added translated data ( Like name ) on a product via Magento UI. 

 

I would like to do the same via Magento REST API, but I wasnt able to find a method on the documentation.

 

Hoping to get a help from you guys to find a method similar like POST product.store_view_id 

 

Thanks in advance,

Ruwan

1 REPLY 1

Re: Magento REST API POST product.store_view_id | How to post a product with translated Product na

There are default REST APIs in Magento2.

  1. website ID (or store ID) we have multisite : To filter according to the store or website there is no any REST APIs. To get list of product according to store or website required "REST Schema Endpoint Format". For example to get list of product for a single store we use the following call

     

     

    http://{baseurl}/rest/V1/products?searchCriteria[pageSize]=10

    suppose you have another store with store code "store2". then we use following url 

  2. http://{baseurl}/rest/store2/V1/products?searchCriteria[pageSize]=10

     

     xxswi.png

     

    For more detail REST Schema end point

List of avail APIs Megento2 Rest Apis

For According to category use following url http://myfashionstore.com/rest/store2/V1/products?searchCriteria[pageSize]=10&searchCriteria[filterG...

 

view image for call detail.

http://i.stack.imgur.com/xxswi.png