ghl_affiliate_update_customer_state
Updates whether an affiliate's customer is disabled, letting you enable or disable customer access through the affiliate manager API.
Instructions
Update customer state Update the disabled state of a customer for an affiliate. Endpoint: PATCH /affiliate-manager/{locationId}/affiliates/{affiliateId}/customers/{customerId}/state (Version header: v3; source: v3/affiliate-manager-v3.json) Requires a Sub-Account (location) token. OAuth scopes: affiliate-manager.write
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| customerId | Yes | Customer Id | |
| locationId | Yes | Location Id | |
| affiliateId | Yes | Affiliate Id |