Skip to main content

travel

/v2/private/healthAndCare/travel

Available Methods​

  • POST

POST /v2/private/healthAndCare/travel​

Saves the User's selection for the Travel step

Params​

ParamTypeDescription
valueNumberThe id of the Travel option selected by the User
Example request body
body: {
value: 1;
}

Returns​

The entire user object, with healthAndCare.travel updated.

Example return object of just user.healthAndCare
user: {
...,
healthAndCare: {
...,
travel: { value: 1 },
lastScreen: {
screen: "travel",
date: "2022-03-22T19:07:00.892Z"
},
}
}
info

For more detailed information about each value in healthAndCare, please refer to the user model docs.