LeadAttributes
Attributes for creating and updating a lead. The LeadAttributes input type in Bunny's GraphQL API, with its fields and an example.
{
"firstName": "",
"lastName": "",
"title": "",
"phone": "",
"mobile": "",
"email": "",
"linkedinUrl": "",
"company": "",
"street": "",
"city": "",
"state": "",
"zip": "",
"country": "",
"website": "",
"leadSourceId": "456123",
"leadStatusId": "456123",
"ownerUserId": "456123",
"campaignCode": "",
"groupId": "456123",
"entityId": "456123",
"accountTypeId": "456123",
"industryId": "456123",
"revenue": 123,
"employees": 123,
"description": "",
"convertedAt": "2022-06-01T00:00:00Z",
"ipAddress": "",
"createdAt": "2022-06-01T00:00:00Z",
"updatedAt": "2022-06-01T00:00:00Z"
}
| Name | Type | Description |
|---|---|---|
| firstName | String | First name of the contact person |
| lastName | String | Last name of the contact person |
| title | String | Job title of the contact person |
| phone | String | Phone number for the contact person |
| mobile | String | Mobile number for the contact person |
| String | Email address for the contact person | |
| linkedinUrl | String | Link to the contact’s LinkedIn profile |
| company | String | Company of the lead |
| street | String | Street address of the lead |
| city | String | City of the lead |
| state | String | State of the lead |
| zip | String | Zip/PostalCode for the lead |
| country | String | Country of the lead |
| website | String | Company website URL |
| leadSourceId | ID | Source of the lead |
| leadStatusId | ID | Status of the lead |
| ownerUserId | ID | Owner of the lead |
| campaignCode | String | Campaign code |
| groupId | ID | Group that the lead belongs to |
| entityId | ID | The entity this lead belongs to |
| accountTypeId | ID | Type of account |
| industryId | ID | Industry of the lead |
| revenue | Int | Annual revenue of the lead |
| employees | Int | Number of employees |
| description | String | Description of the lead |
| convertedAt | ISO8601DateTime | Datetime the lead was converted to an account |
| ipAddress | String | Remote IP address of the lead |
| createdAt | ISO8601DateTime | Datetime the lead was created |
| updatedAt | ISO8601DateTime | Datetime the lead was last updated |