selectPrice
- base
- localhost
- dev
- prod
/v2/private/finalExpenses/selectPrice
http://localhost:1350/v2/private/finalExpenses/selectPrice
https://dev.everdays.com/v2/private/finalExpenses/selectPrice
https://everdays.com/v2/private/finalExpenses/selectPrice
Available Methods​
- PUT
PUT /v2/private/finalExpenses/selectPrice​
Save the user's selected price for their Final Expenses.
Params​
| Param | Type | Description | Notes |
|---|---|---|---|
| selectedPrice | Number | The price the user has selected for thieir Final Expenses | |
| currentScreen | Number | The screenId of the current screen the user is on. | Reference for screenIds |
Example request body
body: { selectedPrice: 13000, currentScreen: 2 }
Returns​
The entire user object, with finalExpenses.selectedPricesaved to the user and with lastViewedScreen updated.
Example return object of just user.finalExpenses
user: {
preneed: {
finalExpenses: {
...
selectedPrice: 13000,
lastViewedScreen: {
screenId: 2,
date: "2022-02-08T18:33:57.019Z"
},
}
}
}
info
For more detailed information about each value in finalExpenses, please refer to the user model docs.