Convert Lead
POST/billing/api/v1/leads/:leadId/convert
Converts a lead into a customer: completes the customer's contact/billing fields (identity, name, billing email, bill profile, custom fields, status, and preventAutoClose) and backfills any placeholder addresses from the lead's completed address. Status and preventAutoClose keep the customer's current values when omitted (a customer that is already closed stays closed); Closed is never accepted as an explicit status. Type, account number, and parent are preserved (client-supplied values for those are ignored). The API does not support reversing a conversion.
Request
Responses
- 204
- 400
- 404
No Content
Bad Request
Not Found