Approve an affiliate program
POST
https://api.tamio.com/v2/agency/affiliate-programs/approve/{uuid}
Approves a public affiliate program for listing in the affiliate network. Agency owners can approve programs from their clients. The program must not already be approved.
Path Parameters
uuid
string*
UUID of the affiliate program to approve
Responses
200
Affiliate program approved successfully
Affiliate program approved successfully
status
integer
program
AffiliateProgram
400
Validation or business-logic error.
Validation or business-logic error.
| Code | Description |
|---|---|
1002 | Affiliate program not found |
10317 | Program is already approved |
403 | Not authorized |
status
integer
error
string
error_code
integer
401
Unauthorized – invalid or missing Bearer token
Unauthorized – invalid or missing Bearer token
status
integer
error
string