Create A Product And Enter An Image Url

I am creating a product like that

{
"product": "TITLE",
"price": PRICE,
"category_ids" : "IDS",
"main_pair": {"http_image_path": "IMAGE_URL"}

}

Everything is inserted, but the image does not display on the product. What am I doing wrong?