Does the PATCH /leads/{id} endpoint actually work? I’m trying to update an identified Lead via such a call using a very basic python3 script but so far am having absolutely no luck whatsoever…
More specifically, I want to archive a lead through an API call.
I’m getting the following error : {“success”:false,“data”:null,“additional_data”:null,“error”:“provided dataset is not valid”,“error_info”:“child “is_archived” fails because [“is_archived” must be a boolean]”}
Hi @daniele, we troubleshot this via email already but for others who encounter a similar situation, send “is_archived”: true for a successful request