submit
- base
- localhost
- dev
- prod
/v2/private/finalExpenses/submit
http://localhost:1350/v2/private/finalExpenses/submit
https://dev.everdays.com/v2/private/finalExpenses/submit
https://everdays.com/v2/private/finalExpenses/submit
Available Methods​
- POST
POST /v2/private/finalExpenses/submit​
Submit the user's Final Expenses application.
Saves all provided information to the user and creates an order object containing orderId, orderType and submittedOn values.
Note
order will be located on user.preneed, not finalExpenses
Params​
| Param | Type | Description |
|---|---|---|
| name | { first: String, last: String } | The user's name |
| phone | Number | The user's phone number |
| address | { street1: String, city: String, state: String, zip: String } | The user's address |
String | The user's email address |
Example request body
body: {
name: {
first: 'Thomas',
last: 'Anderson'
},
phone: 5555555555,
address: {
street1: '123 Fake Street',
city: 'Fa',
state: 'KE',
zip: 12345
},
email: 'neo@protonmail.com'
}
Returns​
The entire user object, with orderId and submittedOn provided under the order object under user.preneed.
Example return object of just user.preneed
user: {
preneed: {
...,
order: {
orderId: 'FE-BF233C4F',
submittedOn: '2022-02-01T00:44:30.758Z',
orderType: 1
}
}
}
info
For more detailed information about each value in finalExpenses, please refer to the user model docs.