Profiles
From ePrize Developers Wiki
(Difference between revisions)
(→Standard Fields) |
|||
Line 24: | Line 24: | ||
== Standard Fields == | == Standard Fields == | ||
+ | |||
+ | These are fields that are typically collected for a promotion. The specific field names will be agreed upon during creation of the [[API Key]]. | ||
* first_name | * first_name |
Revision as of 15:25, 6 April 2011
Create profile | POST /v1/{apikey}/profiles |
Fetch profile by key | GET /v1/{apikey}/profile({key})/{value} |
Fetch profile | GET /v1/{apikey}/profile/{uid} |
A profile holds a single consumer's information. It consists of a collection of key:value pairs (fields) where each key is unique within the profile. Much of the information within the profile is considered private or PII and will not be shared with an untrusted client.
Required Fields
- One primary key field to identify a consumer. This key is called {promokey} in the API documentation.
Standard Fields
These are fields that are typically collected for a promotion. The specific field names will be agreed upon during creation of the API Key.
- first_name
- last_name
- age
- address1
- address2
- address3
- city
- state
- zip
- country
- locale