ProductKit_Variant_Count
#
Description#
This function returns the number of variants in a product kit.
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 |
Response Parameters#
Parameter |
Type | Description |
---|---|---|
success |
Boolean | Boolean value indicating if the api request was successful |
variants |
Number | The number of variants in the product kit |
Example Request#
{
"Store_Code": "{{Store_Code}}",
"Miva_Request_Timestamp": "{{$timestamp}}",
"Function": "ProductKit_Variant_Count",
"Product_ID": 1
}
Example Response#
{
"success": 1,
"data": {
"variants": 1
}
}