> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdateContractInput

> Input for updating a contract and optionally re-linking its subscriptions.



**Kind**: `input`

## Fields

**`activationEndDate`**: `DateTime`

New activation end date (ISO 8601)

---

**`activationStartDate`**: `DateTime`

New activation start date (ISO 8601)

---

**`contractId`**: `String!` (required)

The Stigg contract ref ID to update

---

**`environmentId`**: `UUID`

The unique identifier for the environment

---

**`name`**: `String`

New contract name

---

**`poNumber`**: `String`

New purchase-order number

---

**`setupBilling`**: `Boolean`

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.

---

**`subscriptionIds`**: `[String!]`

When provided, replaces the set of subscriptions linked to the contract (subscription ref IDs)



## Related topics

- [Update a contract](https://docs.stigg.io/api-reference/contracts/update-a-contract.md)
- [updateContract](https://docs.stigg.io/graphql-reference/mutations/updateContract.md)
- [Update contract line item rows](https://docs.stigg.io/api-reference/contracts/update-contract-line-item-rows.md)
- [UpdateIntegrationInput](https://docs.stigg.io/graphql-reference/types/UpdateIntegrationInput.md)
- [UpdateCouponInput](https://docs.stigg.io/graphql-reference/types/UpdateCouponInput.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.