Skip to main content
PUT
Update or archive a plan

Example request

Existing subscriptions keep billing at the price they signed up with — plan edits affect new subscriptions. Archive a plan to stop new signups without touching current subscribers.

Errors

See Errors for the error envelope and the full code taxonomy.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
hsn_code
string
interval_unit
enum<string>
Available options:
day,
week,
month,
year
interval_count
integer
Required range: x >= 1
active
boolean

Response

Updated plan.

data
object