Update a contract
Updates a contract’s metadata (name, PO number, activation dates) and optionally re-links its subscriptions. Best-effort re-syncs the change to the connected billing provider.
Authorizations
Server API Key
Headers
Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.
Environment ID — required when authenticating with a user JWT (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the key).
Path Parameters
The unique identifier of the entity
1 - 255Body
Input for updating a contract and optionally re-linking its subscriptions.
New contract name
255New purchase-order number
255New activation start date
New activation end date
When provided, replaces the set of subscriptions linked to the contract (subscription ref IDs)
When provided, replaces the set of subscriptions linked to the contract (subscription ref IDs)
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$Enable billing on a provision-access-only contract by creating a billing contract in the connected billing provider. Only takes effect when true and the contract has no billing yet; omitting it leaves billing unchanged. Billing is never removed by an update.
Response
The updated contract.
Response object
A billing contract as reported by the connected billing provider.
