Update a subscription
Patches metadata on a subscription: name, description, trial period, billing flags, subscription-level discount, spending thresholds, price escalation, and tags. This endpoint does not modify the priced item set. To change items, see the Updating a Subscription examples. When an edit of a sent subscription saves its terms but the offer is not reissued with them, the call fails with a message that says so and the terms stay saved but cannot be signed; send this request again with an empty body to retry issuing the saved terms.
Authorizations
API key authentication. Pass your API key as a Bearer token.
Headers
2026-04-01 A unique string that makes a retried write safe. If you send the same request with the same key within 24 hours, the API returns the stored response and does not run the request again. A 5xx or 429 response is not stored, so a retry with that key runs the request again.
255"ik_a1b2c3d4e5f6"
Path Parameters
Unique identifier for the subscription
Body
Billing configuration
Description
"Annual enterprise subscription"
Subscription-level discount (percentage only)
Maximum spend threshold
Key-value metadata (null value removes key)
Minimum spend threshold
Subscription name
"Acme Corp - Enterprise"
Price escalation config
Renewal configuration
Tag IDs
Trial period in days
30
Response
Success
Users assigned to the subscription, such as its owner
Billing configuration
Contract configuration
When the subscription was created
"2025-12-15T10:30:00Z"
ISO 4217 currency code
"USD"
Customer ID
"cust_abc123"
Unique identifier
"sub_abc123"
Key-value metadata
Subscription name
"Acme Corp - Enterprise"
Pending version changes
Renewal configuration
Subscription status
draft, active, canceled, approved "active"
When the subscription was last updated
"2026-04-04T10:00:05Z"
When the subscription was activated
"2026-01-01T00:00:00Z"
Current active version ID
"subv_abc123"
Subscription-level discount
Maximum spend threshold
Minimum spend threshold
Plan ID
"pln_abc123"
Price escalation configuration
Trial period in days
30