Closed
Description
Steps to reproduce
- Install Magento from
2.1
branch. - Deploy Sample Data
- Using REST API catalogProductRepositoryV1 REF: http://devdocs.magento.com/swagger/index.html
Get Key from Admin token API
and use that key in
POST /V1/products
PUT /V1/products/{sku}
with parameter tried with both parameter one by one
- store_id=0
- storeId=0
using following JSON
{
"saveOptions": "true",
"product": {
"name": "Test11_11",
"sku": "TESTOPP_111",
"attributeSetId": "15",
"price": "10",
"weight": "10",
"status": "1",
"visibility": "3",
"customAttributes": [
{
"attributeCode": "manufacturer",
"value": "222"
},
{
"attributeCode": "store_id",
"value": "0"
},
{
"attributeCode": "tax_class_id",
"value": "0"
},
{
"attributeCode": "specialPrice",
"value": "10"
},
{
"attributeCode": "description",
"value": "44332211"
},
{
"attributeCode": "eco_collection",
"value": "1"
}
],
"typeId": "simple"
}
}
Does not support store_id / storeId field ,
but the information in product does not save to store
it save to default Store ID
GET /V1/products has parameter storeId
same i had tried with PUT & POST but not working with PUT & POST