Update Package
Update the a single package based on the ID supplied. This API should be used to activate and deactivate the package as well. Any changes that you do to the package will be reflected on all the next invoices (all the existing customers’ next invoices will be calculated with the new price as well).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the customer to update (MongoDB ObjectId)
^[a-fA-F0-9]{24}$"507f1f77bcf86cd799439011"
Body
Data to update the package
Set to true to activate the package, set to false to deactivate it.
Name of the package
Price of the package
Billing interval for the package
Daily, Weekly, Bi-Weekly, Monthly, Quarterly, Yearly Number of free trial days for the package
x <= 77
Response
Resource updated!
true