This is how I creating product.
{
"product": {
"attribute_set_id": 4,
"type_id": "simple",
"sku": "B201-SKU",
"name": "B201",
"price": 25,
"status": 1,
"custom_attributes": {
"description": "Heavy Duty Brake Cables",
"meta_description": "Some describing text"
}
}
}
Best Answer
You need an additional POST with the route :
http://YOUR_MAGENTO_ADDRESS/index.php/rest/V1/products/B201-SKU/media
The basic template JSON would be something like:
After that your previously added product B201-SKU, will have the associated image.