details
- base
- localhost
- dev
- prod
/v2/private/salesAgent/lead/:id/details
http://localhost:1350/v2/private/salesAgent/lead/:id/details
https://dev.everdays.com/v2/private/salesAgent/lead/:id/details
https://everdays.com/v2/private/salesAgent/lead/:id/details
Available Methods​
- POST
POST /v2/private/salesAgent/lead/:id/details​
This endpoint is used by Sales Agents / Counselors to edit a lead's details.
info
The user calling this endpoint must be Sales Agent / Counselor or Everdays Admin
Params​
| Param | Type | Description |
|---|---|---|
firstName | String | The lead's first name. |
lasteName | String | The lead's last name. |
dateOfBirth | Date | The lead's birthday. |
gender | Enum - ['Male', 'Female'] | The lead's gender. |
phone | Number | The lead's phone number. |
email | String | The lead's email address. |
street | String | The lead's street. |
city | String | The lead's city. |
zip | String | The lead's zip. |
state | String | The lead's state. |
Example request body
body: {
firstName: "Bobby",
lastName: "Boucher",
dateOfBirth: "01-01-1998",
gender: "Male",
phone: "3105551234",
email: "waterboy@sclu.edu",
state: "LA",
street: "137 E Alondra Blvd",
city: "Gardena",
zip" "90248"
}
Returns​
The lead's user object.
Example return object of just user
user: {
...
}