Update plan price
Update an existing price on a plan.
Update an existing price on a plan.
application/json
TypeScript Definitions
Use the request body type in TypeScript.
0 <= value0 <= valueapplication/json
curl -X PUT "https://commet.co/api/v1/plans/string/prices/string" \ -H "Content-Type: application/json" \ -d '{}'application/json
application/json
Update an existing price on a plan.
Plan public ID
Price public ID
{
"success": true,
"data": {
"object": "plan",
"livemode": true,
"id": "string",
"planId": "string",
"billingInterval": "string",
"price": 0,
"isDefault": true,
"trialDays"
{
"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"
}
}