Skip to content

ProductKit_Generate_Variants#


Description#

This function updates the type of a product image.

Request Parameters#

Parameter
Type Description
product_id
Edit_Product
Product_Code
Product_SKU
Number
String
String
String
ID Number of product
Product code string
Product code string
Product SKU string
pricing_method Number The pricing method of the product

Response Parameters#

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

Example Request#

{
    "Store_code": "beta",
    "Function": "ProductKit_Generate_Variants",
    "Product_ID": 1,
    "Pricing_Method": 0
}

Example Response#

{
    "success": 1
}