ghl_affiliate_mark_payout_method_primary
Sets an affiliate's payout method as the default for payouts and removes primary status from any other method.
Instructions
Mark Payout Method As Primary Make this payout method the one payouts default to. Any other method stops being primary. Endpoint: PATCH /affiliate-manager/{locationId}/affiliate/{affiliateId}/payout-method/{payoutMethodId}/primary (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 |
|---|---|---|---|
| locationId | Yes | Location Id | |
| affiliateId | Yes | Affiliate Id | |
| payoutMethodId | Yes | Payout Method Id |