CustomersVersion: v3
Create customer lead
POST/affiliate-manager/{locationId}/affiliates/{affiliateId}/lead/create
Create or update a lead for an affiliate customer.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
affiliate-manager. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Path Parameters
locationIdstringrequired
Location Id
Example:
ve9EPM428h8vShlRW1KTaffiliateIdstringrequired
Affiliate Id
Example:
ve9EPM428h8vShlRW1KTBody
firstNamestring
First Name
Example:
JohnlastNamestring
Last Name
Example:
Deophonestring
phone
Example:
+91 88888 88888campaignIdstringrequired
Campaign Id
Example:
ve9EPM428h8vShlRW1KTcontactIdstring
CRM contact identifier
Example:
ve9EPM428h8vShlRW1KTResponse
Successful response
_idstringrequired
Customer identifier
Example:
ve9EPM428h8vShlRW1KTlocationIdstringrequired
Location identifier
Example:
ve9EPM428h8vShlRW1KTaffiliateIdstringrequired
Affiliate identifier
Example:
ve9EPM428h8vShlRW1KTcampaignIdstringrequired
Campaign identifier
Example:
ve9EPM428h8vShlRW1KTcontactIdstringrequired
Contact identifier
Example:
ve9EPM428h8vShlRW1KTfirstNamestring
Customer first name
Example:
JohnlastNamestring
Customer last name
Example:
Doephonestring
Customer phone number
Example:
+15551234567typestring
Customer type
Available options
leadcustomerdroppedExample:
customersubscriptionIdstring
Subscription identifier
Example:
sub_123dueAtstring<date-time>
Customer due date
Example:
2026-01-01T00:00:00.000Zdeletedbooleanrequired
Whether the customer is deleted
Example:
falseisDisabledbooleanrequired
Whether the customer is disabled
Example:
truecreatedAtstring<date-time>
Customer creation timestamp
Example:
2026-01-01T00:00:00.000ZupdatedAtstring<date-time>
Customer update timestamp
Example:
2026-01-01T00:00:00.000Z