Skip to content

BusinessAccountCustomer_Update_Assigned#


Description#

This function updates a customer assignment on a business account.

Request Parameters#

Parameter
Type Description
businessaccount_id
edit_businessaccount
businessaccount_title
Number
String
String
The business id updated account
The business name for the updated account
The business name for the updated account
customer_id
edit_customer
customer_login
Number
String
String
The customer id
The customer login
The customer login
assigned Boolean Boolean value indicating if the customer is assigned to the business account.

Response Parameters#

Parameter
Type Description
success Number 1 indicating a successful request.
0 indicating an unsuccessful request.

Example Request#

{
    "Store_code": "beta",
    "Function": "BusinessAccountCustomer_Update_Assigned",
    "BusinessAccount_ID": 2,
    "Customer_ID": 11,
    "Assigned": 1
}

Example Response#

{
    "success": 1
}