This API is used to update one or more customer profiles. You can update up to 1000 customers in a single request.

Request

The update profile request is specified as follows:

Request Headers

The following table describes the request headers:

Request HeaderDescription
keyClient profile key
content-typeapplication/json
##Request Examples
{
    "Records": [{
        "customerId": "1234568",
        "Attributes": {
            "email": "[email protected]",
            "msisdn": "911278994640",
            "name": "umtest"
        }
    }, {
        "customerId": "1234569",
        "Attributes": {
            "email": "[email protected]",
            "msisdn": "911278994642",
            "name": "umtest"
        }
    }]
}
{
    "Records": [{
        "customerId": "1234568",
        "Attributes": {
            "email": "[email protected]",
            "msisdn": "911278994640",
            "name": "umtest"
        }
    }]
}

📘

For data privacy and security reasons, the REST API is served over encrypted HTTPS. Standard HTTP is not supported.

Request Body

The following table describes the elements in the request body:

ParameterTypeMandatoryDescription
customeridStringYesCustomer ID is a Client specific ID (such as CRN) to uniquely identify a customer.
attributesStringYesString of key/value pairs to add or update.
##Response Examples
{
    "response": {
        "code": "1001",
        "description": "Queued",
        "transid": "5657er77-53c8-42ac-8a58-ee6e062cae8a"
    }
}
{
    "response": {
        "code": "1001",
        "description": "Queued",
        "transid": "5457ee77-53c8-41ac-9a58-rt6e062cae8a"
    }
}

📘

To know the status of the request

Use transid from the response and make a Get Profile status API call to get status of the request.

Response Codes

Following are the response codes this method may return:

Response CodeMessageDescription
1000QueuedReturned when the request is queued.
7000Invalid JSONReturned when an invalid service key or profile key is provided in the request.
7001Authentication failedReturned when an invalid service key or profile key is provided in the request.
7002Service Key MissingReturned when the parameter key is missing in the message request.
7003Mandatory parameters missingClick here
7006Internal error occurredReturned when an internal error occurs.
7010Source ip is not white listedReturned when a request is sent from an IP that is not whitelisted in IMIconnect.
7011Invalid Attribute ValueReturned when an invalid value is provided for the customer or app profile Attributes object.
7012Batch size limit(100) exceededReturned when an API request exceeds the limit to create or update or delete using profile API.
7014Customer not foundReturned when a customer does not exists to update or delete the profile.
Language
Authorization
Header