Our documentation is changing, please click here to enjoy it!
This API route allows you to update user info / profiles in the Accengage database.
Operations
|
|
Parameter | Model |
body | Data FieldValue Target Criterion |
Response | |
---|---|
body | |
Return code | |
returnCode | Description |
| Update successful |
1 | A database error occured |
2 | Parse error |
3 | No updateUser field |
4 | No or bad user |
5 | No or bad partner |
6 | No or bad deviceId |
7 | No or bad field to update |
9 | No or bad targets, unknown field |
10 | No or bad targets, unknown operator or value |
11 | deviceId and targets defined together |
Examples
Request | Body | Description |
---|---|---|
| Updates a user | |
POST /updateUser.php | Updates a group of users; in this example, we target people with a language ID equal to "en" and deviceId equal to "765c8469b85e0a4e4656fdfb388ff3474c62c252", plus the specific deviceId "846c8469b85e0a4e4656fdfb388ff3474c62c908" |