Add Product Images

OAuthScope

ZohoCommerce.items.CREATE

 

HTTP Request

POST https://commerce.zoho.com/store/api/v1/products//images

 

Body Parameters

ParameterValues
image*binary: Binary of the image.

 

Sample Request

Copiedcurl -i -X POST \
-H "Authorization:Zoho-oauthtoken ***" \
-H "X-com-zoho-store-organizationid:682219181" \
-H "Content-Type:multipart/form-data" \
-F "image=@\"./m-vwdrfrgh330928-van-heusen-original-imafh86cqdsgzays.jpeg\";type=image/jpeg;filename=\"m-vwdrfrgh330928-van-heusen-original-imafh86cqds
-F "image=@\"./m-vwdrfrgh330928-van-heusen-original-imafh86ggegf3mwf.jpeg\";type=image/jpeg;filename=\"m-vwdrfrgh330928-van-heusen-original-imafh86ggeg
'https://commerce.zoho.com/store/api/v1/products/1706707000000561016/images

Success Response

Copied{
"code": 0,
"message": "We've updated the item image. Nice one, by the way!",
"data": [
{
"image_name": "m-vwdrfrgh330928-van-heusen-original-imafh86cqdsgzays.jpeg",
"image_id": "1706707000000562025",
"image_alt_text": "A-line Pink Dress"
},
{
"image_name": "m-vwdrfrgh330928-van-heusen-original-imafh86ggegf3mwf.jpeg",
"image_id": "1706707000000562027",
"image_alt_text": "A-line Pink Dress"
}
]
}
This API is used to upload images of a product.