Get a feature set
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).
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
feature_set_id*stringThe feature set id.
Success.
application/json- response
What a product grants. A product points at a feature set with its feature_set_id, and the set's published revisions say what each feature is worth.
object?stringAlways feature_set.
feature_set_id?stringYour id, or fs_ plus 32 characters.
name?stringUp to 100 characters.
latest_revision?The newest revision, the one new purchases get. Left out before the first is published, and in lists.
revisions?array<>Every published revision, oldest first.
test?booleanTest or live.
date_created?stringWhen the set was created.
date-timedate_modified?stringWhen the set last changed (a revision was published).
date-timecurl -X GET 'https://api.comecero.com/api/v1/feature_sets/string'{ "object": "feature_set", "feature_set_id": "fs_pro", "name": "Pro plan", "latest_revision": { "object": "feature_set_revision", "feature_set_id": "fs_pro", "revision": 1, "published_at": "2026-11-02T09:00:00Z", "rollout": "all", "entries": [ { "feature_key": "sso", "value": true }, { "feature_key": "api_calls", "limit": "10000", "reset": "billing_period", "hard_limit": false } ], "test": true }, "revisions": [ { "revision": 1, "published_at": "2026-11-02T09:00:00Z", "rollout": "all" } ], "test": true, "date_created": "2026-11-02T08:55:00Z", "date_modified": "2026-11-02T09:00:00Z"}Create a feature set POST
Creates an empty feature set. It grants nothing until you publish its first revision. Point a product at it with the product's `feature_set_id`. Secret and trusted tokens may call it; a limited token may not (`403`).
Publish a feature set revision POST
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`).