Leads
Modify existing lead/customer
Use this to update a lead/customer details from FirstPromoter using the API. You can find the lead either by id
, uid
or email
HTTP Request
PUT https://firstpromoter.com/api/v1/leads/update
PUT
Authorizations
Query Parameters
required if email or uid is null
ID of the lead or customer
required if email or id is null
UID of the lead or customer.
required if id and uid is null
Email of the lead or customer.
New uid of the lead or customer.
New email of the lead or customer.
If you want to move the lead or customer to another promoter, you can enter the referral id of the new promotion
Lead's state`
Available options:
signup
, active
, subscribed
, denied
, cancelled
ISO datetime when the lead was converted to a customer
Id of the plan the customer was assigned to. Needs to match with the plans set on FirstPromoter
Response
200
application/json
Success response
The response is of type object
.