Post Product Image Add

POST {{baseUrl}}/product.image.add.json?product_id=<string>&image_name=<string>&type=<string>&url=<string>&label=<string>&mime=<string>&position=<integer>&content=<string>&product_variant_id=<integer>&variant_ids=<string>&store_id=<string>

Add image to product

Request Params

KeyDatatypeRequiredDescription
product_idstringDefines the product where the price has to be deleted
image_namestringDefines image's name
typestringDefines image's types that are specified by comma-separated list
urlstringDefines URL of the image that has to be added
labelstringThe name you give to the webhook
mimestringMime type of image http://en.wikipedia.org/wiki/Internet_media_type.
positionstringDefines image’s position in the list
contentstringContent(body) encoded in base64 of image file
product_variant_idstringDefines product's variants specified by variant id
variant_idsstringDefines product's variants ids
store_idstringDefines store id where the webhook should be assigned