PriceGroupCustomer_Update_Assigned#
Description#
This function is used to assign or unassign a customer from a price group.
Request Body Parameters#
| Parameter | Type | Description |
|---|---|---|
pricegroup_idpricegroup_codeedit_pricegroup |
Number String String |
ID of the Price Group. Price Group code Price Group code |
customer_idedit_customercustomer_login |
Number String String |
The customer id The customer login The customer login |
Assigned |
Boolean | True/false whether customer is assigned to this price group |
Response Parameters#
| Parameter | Type | Description |
|---|---|---|
success |
Boolean | Boolean value for if the request was successful |
Example Request#
{
"Store_Code": "{{Store_Code}}",
"Miva_Request_Timestamp": "{{$timestamp}}",
"Function": "PriceGroupCustomer_Update_Assigned",
"PriceGroup_Name": "Volume Pricing",
"Customer_login": "bheyde",
"Assigned": false
}
Example Response#
{
"success": 1
}
Error Responses#
| Error Code | Error Message | Error Description |
|---|---|---|
MER-PGR-JSN-00101 |
Price group not found | Price group not found |
MER-CUS-JSN-00056 |
Customer not found | Customer not found |