Update a plan
Updates an existing plan. Only provided fields are changed. Once a plan has subscriptions, type, currency_code, and invoicing_cadence become immutable; name, plan_code, and initial_credit_quantity stay editable.
Authentication
AuthorizationBearer
API key obtained from the Grant dashboard
Path parameters
id
Request
This endpoint expects an object.
name
Display name of the plan
plan_code
Unique, human-readable plan identifier (lowercase letters, numbers, and underscores). Derived from the name when omitted.
type
Billing model: classic usage-based (usage, default) or credit-based (credits)
currency_code
Currency the plan bills in. Defaults to usd.
invoicing_cadence
How often invoices are issued. Defaults to monthly.
initial_credit_quantity
Initial credit quantity granted on subscription start (credit-based plans only)
Response
Plan updated
success
plan
request_id
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error
