PATCH - Update Lead
Modify/update fields in an existing lead.
Last updated
Modify/update fields in an existing lead.
Last updated
Copyright © Zwab Ventures PTY LTD (ACN 625 682 831), Bizcap NZ Limited (NZBN 9429048276863) and Bizcap AU Pty Ltd (ACN 633 927 090) of PO Box 195, Balaclava VIC 3183
Method: PATCH
Endpoint: /lead/{leadid}
Headers:
Content-Type
application/json
Authorization
Bearer <API TOKEN>
Since it’s a PATCH method, we can specify only the datapoints that have changed and not the whole raw data. For example, if we would like to change the last name of a lead, below can be used:
All of the datapoints in the POST lead method are available to be updated via the PATCH method.
Example Request (JavaScript - Fetch):
Example Request (cURL):
Response