Pause or resume an affiliate program
POST
https://api.tamio.com/v2/affiliate-programs/pause-resume/{uuid}
Toggles the active state of an affiliate program. If the program is currently active it will be paused, and vice versa. No request body is needed; the UUID in the path identifies the program.
Path Parameters
uuid
string*
UUID of the affiliate program to pause or resume.
Responses
200
Program paused/resumed successfully
Program paused/resumed successfully
status
integer
program
AffiliateProgram
400
Validation or business logic error. Returned when:
Validation or business logic error. Returned when:
uuidis missing or not a valid UUID format
Error codes:
| Code | Description |
|---|---|
| 1002 | Affiliate program not found or does not belong to your account |
status
integer
error
string
error_code
integer
401
Missing or invalid API key
Missing or invalid API key
status
integer
error
string