Update add-on
Update an add-on's name, description, or pricing.
Update an add-on's name, description, or pricing.
application/jsonTypeScript Definitions
Use the request body type in TypeScript.
1 <= length <= 100length <= 2550 <= value0 <= value0 <= valueapplication/json
curl -X PUT "https://commet.co/api/v1/addons/string" \ -H "Content-Type: application/json" \ -d '{}'application/json
application/json
application/json
Update an add-on's name, description, or pricing.
Add-on public ID or slug
{
"success": true,
"data": {
"object": "addon",
"livemode": true,
"id": "string",
"name": "string",
"slug": "string",
"description": "string",
"basePrice": 0,
"consumptionModel"
{
"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"
}
}{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}