ghl_affiliate_update
Replace an existing affiliate for a location by sending the complete affiliate record; omitted fields are cleared, so include all details to avoid unintended data loss.
Instructions
Update Affiliate Replace an affiliate for a location. Fields omitted from the body are cleared, so send the complete affiliate. Endpoint: PUT /affiliate-manager/{locationId}/affiliates/{affiliateId} (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). | |
| locationId | Yes | Location Id | |
| affiliateId | Yes | Affiliate Id |