Use this to update a lead/customer details from FirstPromoter using the API. You can find the lead either by id
, uid
or email
PUT https://firstpromoter.com/api/v1/leads/update
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 are 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 referral (lead or customer) to another promoter, you can enter the referral id of the new promotion
Set this to true
, If you want to move only the referral (lead or customer) to another promoter.
NB: if set to true
, the rewards/commissions associated with the referral will not be moved.
Lead's state`
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
Success response
The response is of type object
.