...
{
"attributes": [
{
"push_subscribe": "opted_in",
"email_subscribe": "opted_in",
"marketingEmail": true,
"marketingPush": true
}
]
}
Note: the IOS prompt for push notifications needs to be triggered afterwards to ensure that the push token is updated