Is it possible to assign categories to a product using the api? I tried this:
curl --user admin@example.com:pass --header 'Content-Type: application/json' -d '{"category_ids": "[1108,1109,4]"}' -X PUT 'http://www.example.com/api/stores/1/products/5536'
But got this response:
{“message”:“Bad Request: Product must belong to some category created by the owner company.”,“status”:400}