Update a subscriptionAsk AIpatch https://api.piriod.com/subscriptions/{id}/Updates a Subscription object.Path ParamsidstringrequiredThe ID of the subscription object.Body Paramsbilling_cyclesstringThe number of billing cycles this subscription must have. If it is empty the subscription will not be terminated automatically.documentstringThe ID of the document type this subscription should create.expiration_daysstringLimit days to wait for subscription payment before starting to send payment reminders.linesarray of objectsA list of Subscription Line objects.linesADD objectaddonsarrayA list of Subscription Addon objects.addonscouponstringID of related Coupon object. Must be compatible with apply_on=subscription.notestringA simple text with a 100 characters as max length.referencesarray of objectsReference documents that must be added to the invoices created by this subscription.referencesADD objectResponse 200200Updated over 2 years ago