I'm trying to create simple product using REST API.
Product is created but having issues with Images.
Here is my JSON for it.
{
"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",
"image" : "error.png",
"small_image": "error.png",
"thumbnail": "error.png"
}
}
}
Note: I've uploaded image under pub/media/catalog/product
When i open products grid at admin, Image is displayed there. Take a look at below.
Also when i click at grid on Image it showing image is Popup !!!!
But when i open that product image is not there as well as at Frontend.
Also executed upgrade,cache,indexer commands but image is not showing both ends.
What is missing ?? Any one has idea about this ??
Thanks in Advance.
