Skip to content

PriceGroupBusinessAccount_Update_Assigned#


Description#

This function updates a price group business account 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
businessaccount_id
businessaccount_title
Edit_businessaccount
Number
String
String
ID of the Business Account.
Business Account title
Business Account code
assigned Boolean Boolean value indicating if the price group is assigned to the business account

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": "PriceGroupBusinessAccount_Update_Assigned",
    "PriceGroup_ID": 5,
    "BusinessAccount_ID": 4,
    "Assigned": 1
}

Example Response#

{
    "success": 1
}

Error Responses#

Error Code Error Message Error Description
MER-CUS-JSN-00019 Business account not found Business account not found