CustomersVersion: v3
Update customer state
PATCH/affiliate-manager/{locationId}/affiliates/{affiliateId}/customers/{customerId}/state
Update the disabled state of a customer for an affiliate.
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:
ve9EPM428h8vShlRW1KTcustomerIdstringrequired
Customer Id
Example:
ve9EPM428h8vShlRW1KTBody
isDisabledbooleanrequired
disabled
Example:
trueResponse
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