Skip to main content
inputCreateContractInput

Fields

activationEndDate
DateTime

Optional contract activation end date (ISO 8601)

activationStartDate
DateTime

Optional contract activation start date (ISO 8601)

contractId
String

Your own ID for the contract, which makes creating it idempotent: sending the same one again returns the existing contract instead of creating a second. Omit it and one is generated, but then a retry cannot be told apart from a new contract. Recommended whenever a retry is possible.

customerId
String!
required

The Stigg customer ref ID the contract belongs to

environmentId
UUID

The unique identifier for the environment

name
String

Optional contract name

poNumber
String

Optional purchase-order number

setupBilling
Boolean
default:true

Whether to set up billing for the contract by creating a billing contract in the connected billing provider. When false, the contract only provisions access (grants entitlements) and no billing contract is created. Defaults to true.

subscriptions

Subscriptions to attach to the contract. May be empty; each entry creates a new subscription or references an existing custom subscription.