Skip to content

UpdateDevice

Field Type Required Description
platform string one of: ios, android
type string one of: phone, tablet
model string
osVersion string Version of the OS on the device
appVersion string Version of the app on the device
localeCode string Default locale code of the device
lastActivity string format: date-time
loggedInCustomerId `string null`
pushToken `string null`
attributes array[BasicDeviceAttribute]
{
"platform": "ios",
"type": "phone",
"model": "Pixel3",
"osVersion": "10",
"appVersion": "10",
"localeCode": "de-DE",
"lastActivity": "2019-10-03T16:01:13.582Z",
"loggedInCustomerId": "7e06af60-53c9-4fe9-be83-48c1cafb6cce",
"pushToken": "YOUR_REGISTRATION_TOKEN_1",
"attributes": [
{
"code": "preferredTheme",
"value": "blue"
}
]
}