Unique identifier of the customer for whom labels are being modified.
Request Parameters
Parameter
Data Type
Description
add
Array
Array of label objects to add to the customer.
-labelName
String
Name of the label to add. Required.
remove
Array
Array of label objects to remove from the customer.
-labelName
String
Name of the label to remove. Required.
Sample Response
{
"entity": 564663098,
"warnings": []
}
Response Parameter
Parameter
Data Type
Description
success
Boolean
Indicates whether the label change was successful (true or false).
message
String
Details about the result of the operation.
errorCode
String
Error code if the request failed.
errors
Array
List of individual error messages, if any.
API Specific Error Codes
Error Code
Description
Reason
33001
User labels not found
This error occurs when the specified labels for the user cannot be found. Usually happens if the user does not have any labels assigned or the label references are incorrect.
8015
Customer not found
This error occurs when the given userId or identifiers do not match any existing customer in the system. Often caused by invalid or missing user ID.
33000
Label not found
This error occurs when an incorrect or non-existent labelName is provided in the request body.