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).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the customer to update (MongoDB ObjectId)
"507f1f77bcf86cd799439011"
Data to update the package
Set to true to activate the package, set to false to deactivate it.
The name of the package. Name of the package
Price of the package
The billing interval for the package. Possible values: Daily, Weekly, Bi-Weekly, Monthly, Quarterly, Yearly.
Billing interval for the package
Daily, Weekly, Bi-Weekly, Monthly, Quarterly, Yearly The number of free trial days. Send 0 if no free trial days. Min:0, Max:7.
Number of free trial days for the package
x <= 77
Resource updated!
true