Update a customer plan.
PATCH
Secret API key operationId: update_plan/v1/billing/customer-plans/{id} Authorization
Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.
Path parameters
idstring<uuid> requiredPlan id
Request body · required
activebooleandescriptionstringintervalstringis_publicbooleannamestringper_seat_centsinteger<int64> int64price_centsinteger<int64> int64
Responses
200 Plan updated
{
"data": {
"active": false,
"created_at": "2026-01-15T09:30:00Z",
"currency": "string",
"description": "string",
"id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f",
"interval": "string",
"is_public": false,
"key": "pro_team",
"name": "string",
"per_seat_cents": 0,
"price_cents": 0
},
"error": {
"code": "string",
"message": "string"
},
"meta": {
"timestamp": "string"
},
"success": false
} 404 No such plan
422 Invalid input
Request
curl -X PATCH "http://localhost:8080/v1/billing/customer-plans/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f" \
-H "Content-Type: application/json" \
-d '{
"active": false,
"description": "string",
"interval": "string",
"is_public": false,
"name": "string",
"per_seat_cents": 0,
"price_cents": 0
}'Try it
live requestPATCH
http://localhost:8080/v1/billing/customer-plans/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f