curl --request POST \
--url https://api.kelviq.com/api/v1/catalog/plans/{identifier}/features/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"planEntitlements": [
{
"feature": "3a3e92ab-90a3-4f43-8e87-9d4c8c5a9c01",
"details": {
"value": 10000,
"hasUnlimitedUsage": false,
"reset": "EVERY_MONTH",
"resetTime": "BEGINNING_OF_PERIOD",
"rollover": {},
"usageAlerts": {
"enabled": true,
"thresholds": [
75,
90
],
"thresholdType": "PERCENTAGE"
},
"hardLimit": false,
"isInherited": false,
"isValueOverridden": false
}
}
]
}
'{
"identifier": "pro-monthly",
"name": "Pro Monthly",
"description": "Pro tier billed monthly.",
"product": "0d65f7c0-7e91-4f56-9b32-13a9a6a7c1de",
"metadata": {},
"version": 3,
"isLatest": true,
"modifiedOn": "2025-04-12T08:21:14.910Z",
"createdOn": "2025-03-01T08:21:14.910Z",
"details": {
"stripeProductId": "prod_ABC123"
},
"isVisible": true,
"isImported": false,
"countries": [
"US",
"IN"
],
"license": {
"enabled": true,
"activationLimit": 3,
"activationLimitEnabled": true,
"durationUnit": "YEAR",
"durationValue": 1,
"hasExpiry": true
},
"links": [
{
"name": "Product page",
"url": "https://example.com/product"
}
],
"files": [
{
"id": "7a3e3411-cef0-4f4e-bdb6-1f74a4f4d2c0",
"name": "Plan Terms.pdf",
"file": "media/.../plans/<id>/<uuid>/terms.pdf",
"ordering": 0,
"enabled": true,
"downloadUrl": "https://api.kelviq.com/api/v1/catalog/plans/pro-monthly/file/7a3e3411-cef0-4f4e-bdb6-1f74a4f4d2c0/download/"
}
],
"ordering": 1
}Appends one or more feature entitlements to the plan. If the plan’s latest version is published, a new draft version is created automatically.
curl --request POST \
--url https://api.kelviq.com/api/v1/catalog/plans/{identifier}/features/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"planEntitlements": [
{
"feature": "3a3e92ab-90a3-4f43-8e87-9d4c8c5a9c01",
"details": {
"value": 10000,
"hasUnlimitedUsage": false,
"reset": "EVERY_MONTH",
"resetTime": "BEGINNING_OF_PERIOD",
"rollover": {},
"usageAlerts": {
"enabled": true,
"thresholds": [
75,
90
],
"thresholdType": "PERCENTAGE"
},
"hardLimit": false,
"isInherited": false,
"isValueOverridden": false
}
}
]
}
'{
"identifier": "pro-monthly",
"name": "Pro Monthly",
"description": "Pro tier billed monthly.",
"product": "0d65f7c0-7e91-4f56-9b32-13a9a6a7c1de",
"metadata": {},
"version": 3,
"isLatest": true,
"modifiedOn": "2025-04-12T08:21:14.910Z",
"createdOn": "2025-03-01T08:21:14.910Z",
"details": {
"stripeProductId": "prod_ABC123"
},
"isVisible": true,
"isImported": false,
"countries": [
"US",
"IN"
],
"license": {
"enabled": true,
"activationLimit": 3,
"activationLimitEnabled": true,
"durationUnit": "YEAR",
"durationValue": 1,
"hasExpiry": true
},
"links": [
{
"name": "Product page",
"url": "https://example.com/product"
}
],
"files": [
{
"id": "7a3e3411-cef0-4f4e-bdb6-1f74a4f4d2c0",
"name": "Plan Terms.pdf",
"file": "media/.../plans/<id>/<uuid>/terms.pdf",
"ordering": 0,
"enabled": true,
"downloadUrl": "https://api.kelviq.com/api/v1/catalog/plans/pro-monthly/file/7a3e3411-cef0-4f4e-bdb6-1f74a4f4d2c0/download/"
}
],
"ordering": 1
}Documentation Index
Fetch the complete documentation index at: https://docs.kelviq.com/llms.txt
Use this file to discover all available pages before exploring further.
The Server API Key obtained from the kelviq application. Pass as a Bearer token in the Authorization header. Example: 'Authorization: Bearer YOUR_API_KEY'
Plan identifier.
Plan version to scope the listing to (GET only).
Show child attributes
Entitlements added.
A versioned plan attached to a product. Updates create new versions; only the published version is is_latest=true.
URL-safe slug. Stable across versions.
"pro-monthly"
"Pro Monthly"
"Pro tier billed monthly."
UUID of the parent product.
"0d65f7c0-7e91-4f56-9b32-13a9a6a7c1de"
{}3
True only for the currently published version.
true
"2025-04-12T08:21:14.910Z"
"2025-03-01T08:21:14.910Z"
Provider-side identifiers (e.g. stripeProductId).
{ "stripeProductId": "prod_ABC123" }true
false
["US", "IN"]License configuration for a plan (used when issuing license keys).
Show child attributes
Show child attributes
Show child attributes
1