Set default price
Set a specific price as the default for its plan. Unsets previous default.
Set a specific price as the default for its plan. Unsets previous default.
ApiKeyAuth In: header
application/json
application/json
curl -X PUT "https://commet.co/api/v1/plans/string/prices/string/default"Set a specific price as the default for its plan. Unsets previous default.
Plan public ID
Price public ID
{
"success": true,
"data": {
"id": "string",
"isDefault": true
}
}{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}