Convert a lead into a deal
Turns a lead into a real opportunità: the same row, the same id, the same stage history and the same activities, now attached to an anagrafica and committed to a close date. The customer record must already exist — pass party_id, creating it with anagrafiche_create_party first — and expected_close_date is required, because committing to a date is what the conversion means. The lead’s own contact details are left exactly as they are and are never written back to the anagrafica. Most organisations do not use the lead inbox: if it is off here this tool refuses and names the setting that turns it on.
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/crm/leads/{id}/convert
- Auth: HTTP bearer
Path parameters
The lead. crm_list_deals returns kind on every row; a lead is one whose kind is lead.
Headers
The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.
Request body
Response
Done. data is the tool’s own answer.
Changes
No recorded changes to this operation across all 1 revision of this API.