Skip to content

Instantly share code, notes, and snippets.

@jmarbach
Created June 11, 2019 20:10
Show Gist options
  • Save jmarbach/7d02c74b3d2a0b96a572b001226c6965 to your computer and use it in GitHub Desktop.
Save jmarbach/7d02c74b3d2a0b96a572b001226c6965 to your computer and use it in GitHub Desktop.
customer.io per_user_data nested objects
{
"data": {
"headline": "Roadrunner spotted in Albuquerque!",
"date": 1511315635,
"text": "We received reports of a roadrunner in your immediate area! Head to your dashboard to view more information!"
},
"per_user_data": [
{
"id": "wiley",
"data": {
"voucher_code": "FESwYm"
}
},
{
"email": "road@runner.net",
"data": {
"voucher_code": "cYm6XJ"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment