Creating Plans
Learn how to create licensing plans for your products.
What is a Plan?
A Plan defines a specific licensing tier or pricing model for a Product. It contains all the licensing rules that will be applied to licenses created from it.
Plan Properties:
maxSeats- Maximum number of users (null = unlimited)expiresInDays- License expiration period (null = never expires)features- Array of feature flags
Creating a Plan
Using the Dashboard:
- Go to Plans in your dashboard
- Click "Create Plan"
- Select a product
- Enter plan name and configure settings
- Add feature flags if needed
- Click "Create"
Using the API:
POST /api/v1/admin/plans
{
"productId": "product_123",
"name": "Professional",
"maxSeats": 5,
"expiresInDays": 365,
"features": ["feature1", "feature2"]
}Example Plans
Basic Plan
{
"name": "Basic",
"maxSeats": 1,
"expiresInDays": 365,
"features": ["basic_editing"]
}Enterprise Plan
{
"name": "Enterprise",
"maxSeats": null, // Unlimited
"expiresInDays": null, // Never expires
"features": ["all_features", "api_access", "priority_support"]
}