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. Possible `error_code` values:
Validation or business-logic error. Possible error_code values:
1002– ResourceNotFound: affiliate program not found10317– AffiliateProgramAlreadyApproved: program is already approved403– NotAuthorised: user cannot approve this program
status
integer
error
string
error_code
integer
401
Unauthorized – invalid or missing Bearer token
Unauthorized – invalid or missing Bearer token
status
integer
error
string