/v1/subscriptions/{subscription_exposed_id}Update a subscription
Updates an existing subscription's billing and collection settings, prices, quantities, discounts, or other configurable properties. Supply only the fields you want to change, and use proration_behavior to control how subscription changes affect invoicing when applicable. Use the invoice preview flow to review proration calculations before applying changes.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Optional form-encoded subscription update. Supply only the properties that you want to change.
subscription_exposed_id must identify the subscription and must not exceed 5,000 characters. billing_mode.type is required when billing_mode is supplied and must be flexible; constrained values such as billing_cycle_anchor, collection_method, and proration_behavior must match their listed enums. description must not exceed 500 characters, and application_fee_percent must be between 0 and 100 with at most two decimal places.