createContractGroup
Create a new contract group. If a group with the same properties already exists, it is returned as-is.
Arguments
Input fields for creating a contract group.
- KT-CT-10053: Invalid validity period.
- KT-CT-10054: Duplicate contracts in membership set.
- KT-CT-10055: Unknown trait type.
- KT-CT-10056: Invalid trait data.
- KT-CT-10057: Duplicate trait types in contract group.
- KT-CT-10058: A contract group with these properties already exists.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
Examples
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 CreateContractGroup($input: CreateContractGroupInput!) {
createContractGroup(input: $input) {
contractGroupIdentifier
}
}
Variables
{
"input": CreateContractGroupInput
}
Response
{
"data": {
"createContractGroup": {
"contractGroupIdentifier": "67216934"
}
}
}