Update Lead
PATCH
https://backend.test-hyegro.com/leads/{lead_id}
Request
Path Params
lead_id
integer
Lead Id
Query Params
schema
Schema
Any of
Body Params application/json
full_lead_name
Full Lead Name
Any of
lead_source
Lead Source
Any of
first_name
First Name
Any of
last_name
Last Name
Any of
company_name
Company Name
Any of
title
Title
Any of
industry
Industry
Any of
email
Email
Any of
phone
Phone
Any of
mobile
Mobile
Any of
lead_status
Lead Status
Any of
lead_rating
Lead Rating
Any of
address
Address
Any of
city
City
Any of
state
State
Any of
country
Country
Any of
postal_code
Postal Code
Any of
website
Website
Any of
annual_revenue
Annual Revenue
Any of
currency
Currency
Any of
number_of_employees
Number Of Employees
Any of
notes
Notes
Any of
created_at
Created At
Any of
updated_at
Updated At
Any of
created_by
Created By
Any of
updated_by
Updated By
Any of
created_by_name
Created By Name
Any of
updated_by_name
Updated By Name
Any of
interested_products
Interested Products
Any of
assigned_to
Assigned To
Any of
assigned_to_name
Assigned To Name
Any of
last_activity
Last Activity
Any of
salutation
Salutation
Any of
designation
Designation
Any of
lead_score
Lead Score
Any of
cf1
Cf1
Any of
cf2
Cf2
Any of
cf3
Cf3
Any of
cf4
Cf4
Any of
cf5
Cf5
Any of
cf6
Cf6
Any of
cf7
Cf7
Any of
cf8
Cf8
Any of
cf9
Cf9
Any of
cf10
Cf10
Any of
Example
{
"full_lead_name": "string",
"lead_source": "string",
"first_name": "string",
"last_name": "string",
"company_name": "string",
"title": "string",
"industry": "string",
"email": "user@example.com",
"phone": "string",
"mobile": "string",
"lead_status": "string",
"lead_rating": "string",
"address": "string",
"city": "string",
"state": "string",
"country": "string",
"postal_code": "string",
"website": "string",
"annual_revenue": 0,
"currency": "string",
"number_of_employees": 0,
"notes": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"created_by": 0,
"updated_by": 0,
"created_by_name": "string",
"updated_by_name": "string",
"interested_products": [
"string"
],
"assigned_to": 0,
"assigned_to_name": "string",
"last_activity": "2019-08-24T14:15:22Z",
"salutation": "string",
"designation": "string",
"lead_score": 0,
"cf1": "string",
"cf2": "string",
"cf3": "string",
"cf4": "string",
"cf5": "string",
"cf6": "string",
"cf7": "string",
"cf8": "string",
"cf9": "string",
"cf10": "string"
}
Responses
🟢200OK
application/json
Body
full_lead_name
Full Lead Name
Any of
lead_source
Lead Source
Any of
first_name
First Name
Any of
last_name
Last Name
Any of
company_name
Company Name
Any of
title
Title
Any of
industry
Industry
Any of
email
Email
Any of
phone
Phone
Any of
mobile
Mobile
Any of
lead_status
Lead Status
Any of
lead_rating
Lead Rating
Any of
address
Address
Any of
city
City
Any of
state
State
Any of
country
Country
Any of
postal_code
Postal Code
Any of
website
Website
Any of
annual_revenue
Annual Revenue
Any of
currency
Currency
Any of
number_of_employees
Number Of Employees
Any of
notes
Notes
Any of
created_at
Created At
Any of
updated_at
Updated At
Any of
created_by
Created By
Any of
updated_by
Updated By
Any of
created_by_name
Created By Name
Any of
updated_by_name
Updated By Name
Any of
interested_products
Interested Products
Any of
assigned_to
Assigned To
Any of
assigned_to_name
Assigned To Name
Any of
last_activity
Last Activity
Any of
salutation
Salutation
Any of
designation
Designation
Any of
lead_score
Lead Score
Any of
cf1
Cf1
Any of
cf2
Cf2
Any of
cf3
Cf3
Any of
cf4
Cf4
Any of
cf5
Cf5
Any of
cf6
Cf6
Any of
cf7
Cf7
Any of
cf8
Cf8
Any of
cf9
Cf9
Any of
cf10
Cf10
Any of
id
integer
Id
Example
{
"full_lead_name": "string",
"lead_source": "string",
"first_name": "string",
"last_name": "string",
"company_name": "string",
"title": "string",
"industry": "string",
"email": "user@example.com",
"phone": "string",
"mobile": "string",
"lead_status": "string",
"lead_rating": "string",
"address": "string",
"city": "string",
"state": "string",
"country": "string",
"postal_code": "string",
"website": "string",
"annual_revenue": 0,
"currency": "string",
"number_of_employees": 0,
"notes": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"created_by": 0,
"updated_by": 0,
"created_by_name": "string",
"updated_by_name": "string",
"interested_products": [
"string"
],
"assigned_to": 0,
"assigned_to_name": "string",
"last_activity": "2019-08-24T14:15:22Z",
"salutation": "string",
"designation": "string",
"lead_score": 0,
"cf1": "string",
"cf2": "string",
"cf3": "string",
"cf4": "string",
"cf5": "string",
"cf6": "string",
"cf7": "string",
"cf8": "string",
"cf9": "string",
"cf10": "string",
"id": 0
}
🟠422Parameter Error
Modified at 2025-04-15 14:01:56