Skip to content

ProductImage_Update_Type#


Description#

This function updates the type of a product image.

Request Parameters#

Parameter
Type Description
productimage_id Number The id number of the product image
imagetype_id Number The id number of the image type

Response Parameters#

Parameter
Type Description
success Boolean Boolean value indicating if the api request was successful

Example Request#

{
    "Store_code": "beta",
    "Function": "ProductImage_Update_Type",
    "ProductImage_ID": 1,
    "ImageType_ID": 0
}

Example Response#

{
    "success": 1
}