Publish a feature set revision
Publishes the set's next revision: every feature it grants and what each is worth. A published revision never changes; to change a set, publish another. With rollout: all every customer who holds the set gets it; with new_only only purchases from now on do. The revision is checked against every product that points at the set (a one-time product needs reset never or a fixed period, and no rate plan; a priced entry needs a subscription billed monthly or more often, in the rate plan's currency). Publishing fixes the type and metric_id of every feature it lists. Secret and trusted tokens may call it; a limited token may not (403).
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
feature_set_id*stringThe feature set id.
The revision.
application/json- body
The next revision of a feature set.
rollout*stringall gives the revision to every customer who holds the set. new_only gives it to purchases from now on, while earlier buyers keep the revision they had.
"all""new_only"entries*array<>Every feature the set grants, each listed once. A feature left out is no longer granted by this revision.
items <= 200Success.
application/json- response
One published version of a feature set: what each of its features is worth. A revision never changes; a change publishes a new one.
object?stringAlways feature_set_revision.
feature_set_id?stringThe feature set.
revision?integer1 for the first revision, then one more each time.
published_at?stringWhen it was published.
date-timerollout?stringall gives it to every customer who holds the set. new_only gives it to purchases from now on, while earlier buyers keep the revision they had.
"all""new_only"entries?array<>The features and what each is worth, as stored (defaults filled in, decimals without trailing zeros).
test?booleanTest or live.
curl -X POST 'https://api.comecero.com/api/v1/feature_sets/string/revisions' \ -H 'Content-Type: application/json' \ -d '{ "rollout": "all", "entries": [ { "feature_key": "sso", "value": true }, { "feature_key": "seats", "limit_per_unit": "1" }, { "feature_key": "api_calls", "limit": "10000" } ]}'{ "object": "feature_set_revision", "feature_set_id": "fs_pro", "revision": 2, "published_at": "2026-11-10T12:00:00Z", "rollout": "all", "entries": [ { "feature_key": "sso", "value": true }, { "feature_key": "seats", "limit_per_unit": "1" }, { "feature_key": "api_calls", "limit": "10000", "reset": "billing_period", "hard_limit": false } ], "test": true}Get a feature set GET
One feature set, with its newest revision in full in `latest_revision`. Secret and trusted tokens may call it; a limited token may not (`403`).
Get a feature set revision GET
One published revision of a feature set, with its entries. Secret and trusted tokens may call it; a limited token may not (`403`).