Skip to main content

cemetery

/v2/private/salesAgent/lead/:id/cemetery

Available Methods​

  • POST

POST /v2/private/salesAgent/lead/:id/cemetery​

This endpoint is used by Sales Agents / Counselors to edit a lead's cemetery information.

info

The user calling this endpoint must be Sales Agent / Counselor or Everdays Admin

Params​

ParamTypeDescription
purchasedAtCemeteryBooleanWhether the plot was purchased at the cemetery.
Sales PersonNot Confirmed Yet, currently StringThe Sales Person's name.
plotNumberStringThe plot number.
contractNumberStringThe lead's contract number.
plotTypeStringThe plot type.
dateOfPurchaseDateThe date the plot was purchased.
paymentTypeEnum - ['cash', 'installments']The payment type.
Example request body
body: {
"purchasedAtCemetery": true,
"salesPerson": "Cool Guy",
"plotNumber": "12345",
"contractNumber": "54321",
"plotType": "single",
"dateOfPurchase": "2022-01-30T23:52:45.372Z",
"paymentType": "cash"
}

Returns​

The lead's user object.

Example return object of just user
user: {
...
}