submit
- base
- localhost
- dev
- prod
/v2/private/purchase/truStage/submit
http://localhost:1350/v2/private/purchase/truStage/submit
https://dev.everdays.com/v2/private/purchase/truStage/submit
https://everdays.com/v2/private/purchase/truStage/submit
Available Methods​
- POST
POST /v2/private/purchase/truStage/submit​
This endpoint will be used when the user selects a product on the Solution page.
This endpoint will update truStage object in DB to save the coverageAmount and productCode.
Params​
| Param | Type | Description |
|---|---|---|
| productCode | String Enum - ['2016 SITERM80', '2017 SITERM80 B2', '2020 MSIWLALB', '2016 GA Whole Life'] | productCode is the type of product ben selected |
| coverageAmount | Number | The coverage Amount is a total amount the user selected |
| page | String | page is the name of current user page on |
Example request body
body: {
"productCode": "2016 SITERM80",
"coverageAmount": 9000,
"page": "solution"
}
Returns​
The entire user object. user.purchase data will be updated and the truStage data.
Example return object with user.purchase
user: {
...,
"truStage": {
"productSelected": {
"coverageAmount": "8000",
"productCode": "2016 SITERM80",
"submittedOn": "2023-03-20T14:12:18.730Z"
}
}
}