ProductKit_Generate_Variants#
Description#
This function updates the type of a product image.
Request Parameters#
| Parameter | Type | Description | 
|---|---|---|
product_idEdit_ProductProduct_CodeProduct_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": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "ProductKit_Generate_Variants",
    "Product_ID": 1,
    "Pricing_Method": 0
}
Example Response#
{
    "success": 1
}