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
Key | Datatype | Required | Description |
---|---|---|---|
product_id | string | Defines the product where the price has to be deleted | |
image_name | string | Defines image's name | |
type | string | Defines image's types that are specified by comma-separated list | |
url | string | Defines URL of the image that has to be added | |
label | string | The name you give to the webhook | |
mime | string | Mime type of image http://en.wikipedia.org/wiki/Internet_media_type. | |
position | string | Defines image’s position in the list | |
content | string | Content(body) encoded in base64 of image file | |
product_variant_id | string | Defines product's variants specified by variant id | |
variant_ids | string | Defines product's variants ids | |
store_id | string | Defines store id where the webhook should be assigned |