Updating a product with REST API with POST gives me a problem wenn I want to delete the category assignment
For example the product online is assignet into 3 categories and now I want it into 2 categories only.
So my POST would be like:
{"product": {
"id": 1234,
"sku": "2345",
"name": "Nice Product",
"extension_attributes": {
"website_ids": [1],
"category_links": [{
"position": 1,
"category_id": "10"
},
{
"position": 2,
"category_id": "11"
}]
}}
}
But after this it still has assigment into 3 categories, its not deleeting the 3rd.
Btw. I have a simular question: Magento REST API Post Product and Category without "Sorting" parameter