Comment on page
Post Devices
If a user owns a mobile device, call this endpoint to store the devices. If provided, desktop users will be able to see available mobile offers.
Parameter | Description | Type | Example |
---|---|---|---|
aff_id | Any Integer | 60000 | |
api_key | Any String | 941bd1fecf7e6596823b895e04df3a0c | |
wall_code | String | nQug | |
user_id | The affiliate's user ID. Max length 255 bytes | String | user12345 |
Field | Note | Type | Example |
---|---|---|---|
devices | An array that any combination of iphone , ipad , or android . Provide an empty array to clear existing devices. | array | ["iphone", "ipad", "android"] |
The response will contain the list of user devices after the update.
{
"data": {
"devices": [
"android"
]
}
}
Last modified 3mo ago