Programs
Approve an affiliate
Approves the affiliate for the program and returns the affiliate with their program details. Approving an already approved affiliate changes nothing and still returns 200. On an actual change it fires Affiliate approved for program triggers and emails the affiliate if the program’s approval notification is on (except affiliates whose account was created through the API or an import).
Errors: 404 if the affiliate is not a member of the program, 409 if the program is archived, 403 for external-network affiliates and affiliate prospects. Team members’ API keys need the Manage programs permission.
PUT
Approve an affiliate