Commission rules
List a rule's revisions
Every version this rule has been in, newest first. A revision holds the rule as it stood BEFORE one edit, so the revisions plus the live rule are its whole history: created_at is the moment that version stopped being true, and the version before it ran until then. A rule nobody has edited has no revisions. Rate changes here are forward-only and are never grandfathered, so this is a record and not an undo.
Scope: read
get/v1/rules/{id}/revisions
Request
- Base URL: https://api.affiliaterail.com
- URL: https://api.affiliaterail.com/v1/rules/{id}/revisions
- Auth: HTTP bearer
Path parameters
idstring required
Prefixed id (flw_…)
Example:flw_7uSyy9FqVLCFWrdPeZaK
Query parameters
limitstring
1 to 100, default 25
Example:25
Response
Revisions, newest first
Example response
{
"data": [
{
"id": "flr_7uSyy9FqVLCFWrdPeZaK",
"rule_id": "flw_7uSyy9FqVLCFWrdPeZaK",
"program_id": "prg_7uSyy9FqVLCFWrdPeZaK",
"snapshot": {
"id": "flw_7uSyy9FqVLCFWrdPeZaK",
"group_id": "grp_7uSyy9FqVLCFWrdPeZaK",
"partner_id": "part_7uSyy9FqVLCFWrdPeZaK",
"branches": [
{
"id": "flb_7uSyy9FqVLCFWrdPeZaK"
}
]
},
"changed_by": "usr_7uSyy9FqVLCFWrdPeZaK",
"created_at": "2026-08-21T10:15:30.000Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.