When I try to update a product, created via the REST V1 API, only the values are updated for de default website. Unfortunattely I can't find any possibility to send website id's within te json. Does anyone have experienced this before?
The data I send for the update to /V1/products/123456:
{"product":{"sku":"123456","name":"D4D0123299","price":21,"type_id":"simple","custom_attributes":[],"extension_attributes":{"stock_item":{"use_config_manage_stock":1}}}}"
Linking the product to specific websites is done with a second request, after creating it via /V1/products, to /V1/products/123456/websites (POST) with this data foreach website:
"{"productWebsiteLink":{"sku":"D4D01232","websiteId":1}}"
"{"productWebsiteLink":{"sku":"D4D01232","websiteId":2}}"
The Magento 2 version is 2.1.0