Skip to content

ProductVariantList_Delete#


Description#

This function deletes a list of product variants.

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
ProductVariant_ids Number The id numbers of the product variants to be deleted

Response Parameters#

Parameter
Type Description
success Boolean Boolean value indicating if the API request was successful
processed Number The number of product variants deleted

Example Request#

{
    "Store_Code": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "ProductVariantList_Delete",
    "Product_ID": 1,
    "ProductVariant_IDs": 8
}

Example Response#

{
    "success": 1,
    "processed": 1
}