Skip to content

Instantly share code, notes, and snippets.

@sameg14
Last active February 19, 2016 22:18
Show Gist options
  • Save sameg14/2e0242044891323401fd to your computer and use it in GitHub Desktop.
Save sameg14/2e0242044891323401fd to your computer and use it in GitHub Desktop.
Final UPM ESP attributes
{
"core":{
"id":"string",
"active":"bool",
"first_name":"string",
"last_name":"string",
"email":"string",
"phone_number":"string",
"date_created":"timestamp",
"affinity_number":"int",
"date_updated":"timestamp",
"cipher":"string",
"display_name":"string",
"profile_pic":"string",
"gender":"string",
"zip":"string",
"email_opt_out":"bool",
"store_primary_wfm":"int",
"store_primary_365":"int",
"profile_pic_base_url":"string",
"birth_year":"int",
"birth_month":"int",
"birth_day":"int",
"email_hash":"string"
},
"preferences":{
"email":{
"newsletter_opt_in":"bool"
},
"esp.dietary":{
"dairy_free_preference":"bool",
"gluten_free_preference":"bool",
"healthy_eating_preference":"bool",
"vegan_preference":"bool",
"vegetarian_preference":"bool"
},
"esp.lifestyle":{
"body_beauty_preference":"bool",
"children_parenting_preference":"bool",
"health_wellness_preference":"bool",
"new_products_preference":"bool",
"online_ordering_preference":"bool",
"pets_preference":"bool",
"recipe_preference":"bool"
}
},
"program":{
"esp":{
"career_preference":"bool",
"e2_email_opt_in":"bool",
"gift_card_email_opt_in":"bool",
"partner_deal_email_opt_in":"bool",
"wfm_mobile_app_email_opt_in":"bool",
"local_store_news_preference":"bool",
"store_coupons_preference":"bool",
"newsletter_preference":"bool",
"whole_cities_email_opt_in":"bool",
"whole_planet_email_opt_in":"bool",
"whole_kids_email_opt_in":"bool",
"wfm_affinity_rewards_email_opt_in":"bool",
"365_email_opt_in":"bool",
"wfm_whole_body_benefits_email_opt_in":"bool",
"instacart_email_opt_in":"bool",
"estore_email_opt_in":"bool"
},
"wfm_mobile_app":{
"ic_zip":"string",
"terms_conditions":"string",
"tcs_version":"string",
"tcs_date_acceptance":"date",
"current_privacy_policy_version":"string",
"current_privacy_policy_date_acceptance":"date",
"ic_delivery":"bool",
"ios":{
"push":"bool",
"guided_tour":"bool"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment