/v1/customers/{customer}/subscriptions/{subscription_exposed_id}Update a customer subscription
Updates an existing subscription on a customer using the supplied configuration. Use the subscription identifiers to select the resource and provide only the settings you want to change, such as items, billing behavior, discounts, or cancellation details. Changes to plans or quantities can affect proration and the next amount charged.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Optional subscription fields to update, submitted as form data; omitted fields retain their current values.
customer and subscription_exposed_id must each be identifiers no longer than 5000 characters. Constrained values include billing_cycle_anchor as now or unchanged, collection_method as charge_automatically or send_invoice, and cancellation_details.feedback as one of the specified feedback values. application_fee_percent must be between 0 and 100 with at most two decimal places.