Add feature to plan
Attach a feature to a plan with limits, overage, and credits configuration.
Attach a feature to a plan with limits, overage, and credits configuration.
application/json
TypeScript Definitions
Use the request body type in TypeScript.
1 <= lengthtrue00 <= valuefalsefalse00 <= valueapplication/json
application/json
curl -X POST "https://commet.co/api/v1/plans/string/features" \ -H "Content-Type: application/json" \ -d '{ "featureId": "string" }'application/json
Public ID of the feature
Attach a feature to a plan with limits, overage, and credits configuration.
Plan public ID
{
"success": true,
"data": {
"object": "plan",
"livemode": true,
"planId": "string",
"featureId": "string",
"enabled": true,
"includedAmount": 0,
"unlimited": true,
"overageEnabled"
{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}