createContract
Create and actualize a new contract for an account or business.
Arguments
Possible Errors
- KT-CT-10001: Party is already under contract.
- KT-CT-10006: Account not found.
- KT-CT-10018: The provided contract subject is invalid.
- KT-CT-10019: Contract creation implies breach.
- KT-CT-10020: The provided contract party payload is invalid.
- KT-CT-10021: Business not found.
- KT-CT-10045: Contract could not be actualized.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Query Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation CreateContract($input: CreateContractInput!) {
createContract(input: $input) {
identifier
wasCreated
}
}
Variables
{
"input": CreateContractInput
}
Response
{
"data": {
"createContract": {
"identifier": "51656300",
"wasCreated": true
}
}
}