v8
OpenAPI 3.1.02026-08-033623795.0 MBLeads
Update lead
Update the metadata or referrer information on an existing lead record.
Required permissions:
- lead:manage
- member:email:read
- access_pass:basic:read
- member:basic:read
patch/leads/{id}
Path parameters
idstring required
Example:lead_xxxxxxxxxxxxx
The unique identifier of the lead to update, starting with 'lead_'.
Request body
Response
A successful response
Example response
{
"created_at": "2023-12-01T05:00:00.401Z",
"id": "lead_xxxxxxxxxxxxx",
"product": {
"id": "prod_xxxxxxxxxxxxx",
"title": "Pickaxe Analytics"
},
"referrer": "https://twitter.com/whabormarket",
"updated_at": "2023-12-01T05:00:00.401Z",
"user": {
"email": "john.doe@example.com",
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
}
}