Skip to content

ProductKit_Update_Parts#


Description#

This function updates the parts of 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
attribute_id
edit_attribute
attribute_code
Number
String
String
The id number of the attribute
The code of the attribute
The code of the attribute
AttributeTemplateattribute_id Number The attribute template id of the product attribute
option_id Number The option id number of the product
part_ids Number The id numbers of the product parts
quantities Number The part quantities for the product kit

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_Update_Parts",
    "Product_ID": 1,
    "Attribute_ID": 9,
    "AttributeTemplateAttribute_ID": 1,
    "Option_ID": 4,
    "Part_IDs": 205,
    "Quantities": 1
}

Example Response#

{
    "success": 1
}