Skip to main content

selectPrice

/v2/private/purchase/vantis/selectPrice

Available Methods​

  • PUT

PUT /v2/private/purchase/vantis/selectPrice​

This endpoint is used to update the selected price for the Vantis term life, used the same way that the final expenses works

Params​

ParamTypeDescription
currentScreenStringcurrent screen user is on - see enum
selectedPriceNumbercurrent user selected price
Example request body
  body: {
currentScreen: 'care',
selectedPrice: 70000
}

Returns​

The entire user object with an updated vantis termLife object.

Example return object with user.termLife
user: {
termLife: {
defaultPricing: {
coverage: 25000
},
incrementValue: 25000,
inflationPercentage: 0.008,
maximumPrice: 500000,
minimumPrice: 25000,
monthlyRateMultiplierLastUpdated: "2022-10-12T17:28:54.885Z",
plans: [
{
PlanID: 366,
PlanCode: 6299,
FaceMin: 25000,
FaceMax: 500000,
FaceStart: 25000
}
],
selectedPlan: 366,
lastUpdated: "2022-10-12T17:54:01.540Z",
lastViewedScreen: {
screenId: "care",
date: "2022-10-12T17:54:01.540Z"
},
priceChangeLog: [],
selectedPrice: 20000,
selectedPricing: {
coverage: 20000
}
}
}
info

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