Posted on

Magento 2 api rest update product per store id. Ot working

I did all the changes that user Emizen-tech https://stackoverflow.com/users/6333615/emizen-tech recomend:

https://stackoverflow.com/questions/37744874/magento2-rest-api-save-product-detail-per-store-view-not-working

but when I send my PUT request for changing a price it does not work:

http://www.myshop.com/index.php/rest/V1/products/mysku/storeID=0

The result is:

{ “message”: “Invalid product data: %1” “parameters”: [1]

0: “Invalid attribute set entity type”

}

The issue is how I pass the parameter Store Id in the URL.
How can I separate the sku from the parameter Store Id??

Leave a Reply

Your email address will not be published. Required fields are marked *