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
PUT https://firstpromoter.com/api/v1/leads/update
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`
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
The lead's ID inside FirstPromoter
The lead's or customer's status
signup
, active
, subscribed
, denied
, cancelled
Your lead/customer's user ID inside your application.
The lead's or customer's email
ISO date string at which the lead converted to a customer.
ISO date string at which the lead/customer cancelled
ISO date string at which the lead/customer signed up