PATCH - Update Lead
Modify/update fields in an existing lead.
Last updated
Modify/update fields in an existing lead.
Last updated
const myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer <API TOKEN>");
const requestOptions = {
method: "GET",
headers: myHeaders,
redirect: "follow"
};
fetch("https://bizmate.fasttask.net/api/v1/lead/{{leadid}}", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
curl --location 'https://bizmate.fasttask.net/api/v1/lead/{{leadid}}' \
--header 'Authorization: Bearer <API TOKEN>'{
"id": 1,
"name": "John",
"age": 30
}{
"error": "Invalid request"
}