v1
latestOpenAPI 3.0.32026-07-248257161.1 KBSubscription Plan
Update subscription plan details
Use this endpoint to update subscription plan details
put/subscription-plans/{subscriptionPlanId}
Path parameters
subscriptionPlanIdstring uuid required
Unique identifier of the subscription plan.
Headers
X-Amzn-Trace-Idstring
HTTP request identifier allow to trace individual request sent from client to service.
Request body
Example request
{
"name": "starter_plan_CF34509",
"reference": "starter_plan_CF34509",
"amount": 10000,
"currency": "XOF",
"nbrInstallments": 12,
"installmentIntervalDays": 7,
"customerMessage": "Please on the link below to pay your installement from mycompany? Ref order is Order_XFG567"
}Response
subscription plan is updated successfully
Example response
{
"id": "fbd2053b-638d-4133-957e-3caf63e6b79c",
"name": "starter_plan_CF34509",
"reference": "starter_plan_CF34509",
"amount": 10000,
"currency": "XOF",
"nbrInstallments": 12,
"installmentIntervalDays": 7,
"customerMessage": "Please on the link below to pay your installement from mycompany? Ref order is Order_XFG567",
"createdAt": "2022-03-29 10:00:00,000"
}