Update credit pack
Update a credit pack's name, description, credits, price, or active status.
Update a credit pack's name, description, credits, price, or active status.
ApiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
1 <= length <= 100length <= 2551 <= value0 <= valueapplication/json
application/json
curl -X PUT "https://commet.co/api/v1/credit-packs/string" \ -H "Content-Type: application/json" \ -d '{}'application/json
application/json
Update a credit pack's name, description, credits, price, or active status.
Credit pack public ID
{
"success": true,
"data": {
"object": "credit_pack",
"livemode": true,
"id": "string",
"name": "string",
"description": "string",
"credits": 0,
"price": 0,
"isActive"
{
"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"
}
}