ProductImage_Delete
#
Description#
This function removes an image from a product.
Note
This function does not remove the image from the server, just the image assignment from the product.
Request Body Parameters#
Parameter |
Type | Description |
---|---|---|
ProductImage_ID |
Number | Image Id to remove |
Response Parameters#
Parameter |
Type | Description |
---|---|---|
success |
Boolean | Boolean value for if the request was successful |
Example Request#
{
"Store_Code": "{{Store_Code}}",
"Miva_Request_Timestamp": "{{$timestamp}}",
"Function": "ProductImage_Delete",
"ProductImage_ID": 1
}
Example Response#
{
"success": 1
}
Error Responses#
error field | error message | description |
---|---|---|
Error | Missing required parameter | Missing ProcuctImage_ID parameter |