Feature · Paywalls & targeting
Offering versioning & rollback
Every time you save a paywall offering, stubkit writes a full snapshot of the previous state to offering_versions. You can list the last 50 versions per offering and restore any of them with a single POST. Rollback itself gets snapshotted too — so you can un-rollback.
When to use it
- You shipped a new paywall copy and your conversion rate dropped. Restore the previous version in 2 seconds.
- An admin saved a typo. Revert instead of retyping.
- Seasonal campaigns — snapshot the Black Friday design, restore it next November.
REST endpoints
GET /v1/admin/offerings/:id/versions— last 50POST /v1/admin/offerings/:id/versions/:version_id/restore
Auto-snapshot runs on every PATCH /v1/admin/offerings/:id; you don't have to call a "save version" endpoint separately.