Users
A user is someone who will be placing a print order.
Requires:
Scope
Users are scoped by application. This means that the user can use multiple applications that use the MILK Books API and not be confused about why they already have an account. Users are identified by email address, and a users email address must be unique per application.
Actions
URL | Verb | Information |
---|---|---|
/user | POST | Create a new user. |
Attributes
The user object is intentionally very light. The MILK Books API does not store user profiles, only the minimum amount of data required to identify and authenticate unique users. More complex profile data storage is the responsibility of the application.
Field | Data Type | Required | Additional Information |
---|---|---|---|
EmailAddress | String | Y | Unique per Application |
Password | String | Y | (Doesn't have to come from the user - could be randomly generated and stored in the client application for example) |
ExternalUserId | String | For identifying users in another system - i.e. for customer support |