Update a subscriber record


POST https://api.aptania.com/services/updateSubscriber

Update an existing subscriber record

Request body parameters

Parameter name Value Description Additional
tokenUUID String Unique api token used for each request. Required
subscriberUUID String Identifier for the subscriber record to update. Required
subscriberTitle String The title for the subscriber. Optional
subscriberFirstname String The firstname for the subscriber. Optional
subscriberLastname String The lastname for the subscriber. Optional
subscriberEmailaddress String The emailaddress for the subscriber. Optional
subscriberTelephone String The telephone number for the subscriber. Optional
subscriberJobRole String The job role for the subscriber. Optional
tag JSON Array Array containing the tag objects to update. Optional
subscriberAttr JSON Array Array containing the attributes to update. Optional

Example Request

                                    "tokenUUID": "xxxxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxx",
                                    "subscriberUUID" : "xxxxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxx",
                                    "subscriberTitle": "Mr",
                                    "subscriberFirstname": "John",
                                    "subscriberLastname": "Doe",
                                    "subscriberEmailaddress": "john.doe@xxxxxxx.com",
                                    "subscriberTelephone": "",
                                    "subscriberMobile": "",
                                    "subscriberJobRole": "",
                                    "tag": [{
                                            "tagID": "xxx",
                                            "opt": false
                                    }, {
                                            "tagID": "xxx",
                                            "opt": true
                                    }, {
                                            "tagID": "xxx",
                                            "opt": false
                                    "subscriberAttr": [{
                                            "attrID": "xxx",
                                            "attrValue": "Tennis"
                                    }, {
                                            "attrID": "xxx",
                                            "attrValue": "Toyoto Proace"
                                    }, {
                                            "attrID": "xxx",
                                            "attrValue": "15/03/1986"

Response body

Parameter name Value Description
error Boolean True or false value. True if the subscriber is already matched against an existing record.
status String Status code for the response.

Example Response

                               "status": "200"

To use this api you must have an account together with an api key. Please contact us for further information.