Programs
Update a program
Settings a merchant can change from the API. Portal branding and processor connections stay in the app.
Scope: write
post/v1/programs/{id}
Request
- Base URL: https://api.affiliaterail.com
- URL: https://api.affiliaterail.com/v1/programs/{id}
- Auth: HTTP bearer
Path parameters
idstring required
Prefixed id (prg_…)
Example:prg_7uSyy9FqVLCFWrdPeZaK
Request body
Example request
{
"min_payout_minor": 2500
}Response
The updated program
Example response
{
"id": "prg_7uSyy9FqVLCFWrdPeZaK",
"currency": "USD",
"min_payout_minor": 2500,
"stats": {
"sales_minor": 2500,
"commissions_minor": 2500
},
"created_at": "2026-08-21T10:15:30.000Z",
"updated_at": "2026-08-21T10:15:30.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.