comecerodocs

Create a feature set

POST
/feature_sets

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).

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Request Body

A feature set.

application/json
  1. body

A new feature set. It grants nothing until you publish its first revision.

feature_set_id?string

Your own id, 1 to 64 letters, digits or underscore, period, colon or dash. Must not be in use (409). none, in any case, is reserved (400, reference EnV37). Leave it out and Comecero makes one.

Match^[A-Za-z0-9_.:-]{1,64}$
name*string

Up to 100 characters.

Lengthlength <= 100

Response Body

Success.

application/json
  1. 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?string

Always feature_set.

feature_set_id?string

Your id, or fs_ plus 32 characters.

name?string

Up 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?boolean

Test or live.

date_created?string

When the set was created.

Formatdate-time
date_modified?string

When the set last changed (a revision was published).

Formatdate-time
Example Request
curl -X POST 'https://api.comecero.com/api/v1/feature_sets' \  -H 'Content-Type: application/json' \  -d '{  "feature_set_id": "fs_pro",  "name": "Pro plan"}'
Example Response
{  "object": "feature_set",  "feature_set_id": "fs_pro",  "name": "Pro plan",  "revisions": [],  "test": true,  "date_created": "2026-11-02T08:55:00Z",  "date_modified": "2026-11-02T08:55:00Z"}