Update subscription API endpoint
The update subscription API endpoint allows you to make updates to the terms of an existing customer subscriptions. This added functionality allows you to programmatically update a specific subscription as your customer’s needs evolve.
This endpoint can be used to update:
- Metadata: individual keys can be removed by setting the value to null, and the entire metadata mapping can be cleared by setting metadata to null.
- Default invoice memo: update the memo on this subscription's invoices. If not provided, it is determined by the plan configuration.
- Auto collection: update whether issued invoices for this subscription will automatically be charged with the saved payment method on the due date.
- Net terms: update when the subscription’s invoices are due from after they are issued.
- Invoicing threshold: update the threshold at which an invoice will be issued for the subscription.