details
- base
- localhost
- dev
- prod
/v2/private/healthAndCare/details
http://localhost:1350/v2/private/healthAndCare/details
https://dev.everdays.com/v2/private/healthAndCare/details
https://everdays.com/v2/private/healthAndCare/details
Available Methods​
- POST
POST /v2/private/healthAndCare/details​
Saves user's name and email information and updates a detailsConfirmed flag
Params​
| Param | Type | Description |
|---|---|---|
| name | { first: String, last: String } | The user's name |
String | The user's email address |
Example request body
body: {
name: {
first: 'Thomas',
last: 'Anderson'
},
email: 'neo@protonmail.com'
}
Returns​
The entire user object, with user.name and user.email updated, and healthAndCare updated with lastScreen and detailsConfirmed.
Example return object of just user.healthAndCare
user: {
name: ...,
email: ...,
healthAndCare: {
...,
lastScreen: {
screen: "details",
date: "2022-03-22T19:07:00.892Z"
},
detailsConfirmed: true
}
}
info
For more detailed information about each value in healthAndCare, please refer to the user model docs.