Skip to content

PriceGroupQualifyingProduct_Update_Assigned#


Description#

This function updates a price group qualifying product assignment.

Request Parameters#

Parameter
Type Description
pricegroup_id
pricegroup_code
edit_pricegroup
Number
String
String
ID of the Price Group.
Price Group code
Price Group code
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
assigned Boolean Boolean value indicating if the qualifying product is assigned to the price group

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": "PriceGroupQualifyingProduct_Update_Assigned",
    "PriceGroup_ID": 2,
    "Product_ID": 1,
    "Assigned": 1
}

Example Response#

{
    "success": 1
}