v1
latestOpenAPI 3.0.12026-07-225791279.7 KBSubscription Plans
Update Plan Details
This endpoint updates the editable properties of an existing subscription plan, including its name, description, trial period, and billing limit.
patch/subscription/api/v1/subscription-plans/{planCode}
Path parameters
planCodestring required
The unique identifier of the subscription plan.
Request body
Example request
{
"name": "Pro Monthly Plus",
"description": "Updated monthly subscription",
"trialPeriodDays": 7,
"billingLimit": 24
}Response
Subscription plan details updated successfully
Example response
{
"success": true,
"message": "Plan updated",
"data": {
"id": 34,
"name": "The FIRST Day",
"description": "Superior marketing",
"amount": 800,
"currency": "NGN",
"interval": "MONTHLY",
"intervalCount": 1,
"trialPeriodDays": 5,
"billingLimit": 2,
"status": "ACTIVE",
"planCode": "PLN_DD41251",
"createdAt": "2026-07-08T16:42:53.051861",
"updatedAt": "2026-07-08T17:25:31.342977889"
}
}