acceptQuote
Accept a quote, creating the associated account, agreements, and activation processes, and initializing switch-in workflows for each activation process.
Arguments
Input fields for accepting a quote on supply points.
Returns
AcceptQuoteAccept a quote, creating the associated account, agreements, and activation processes, and initializing switch-in workflows for each activation process.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-1132: Unauthorized.
- KT-CT-3811: Invalid IBAN.
- KT-CT-4121: Invalid phone number.
- KT-CT-4122: Invalid email.
- KT-CT-4137: Invalid Title.
- KT-CT-4321: Serializer validation error.
- KT-CT-4410: Invalid postcode.
- KT-CT-5412: No account user exists with the given id.
- KT-CT-6710: Unable to create referral.
- KT-CT-7899: An internal error occurred.
- KT-FR-3814: Invalid payment day.
- KT-FR-4110: Age incorrect.
- KT-FR-4113: Invalid name.
- KT-FR-4114: Account not found.
- KT-FR-4611: T&C not accepted or not acceptable.
- KT-FR-4612: Unable to create agreement.
- KT-FR-4616: Supply start date invalid.
- KT-FR-4617: Incompatible subscription type.
- KT-FR-4618: The quote request has already been accepted.
- KT-FR-4622: Unexpected error while accepting a quote.
- KT-FR-4623: Withdrawal period is mandatory for this sale.
- KT-FR-4712: Invalid meter readings data.
- KT-FR-4713: Invalid data. Reading date cannot be in the future.
- KT-FR-7712: Invalid affiliate session.
- KT-FR-7713: Authenticated organizations should not use affiliate sessions.
Allowed Viewers
Required Permissions
(No)Rate Limits
| Key | Steps |
|---|---|
ip |
['10/m'] |
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 AcceptQuote($input: AcceptQuoteInputType!) {
acceptQuote(input: $input) {
accountNumber
preSignedKey
supplyContracts {
...SupplyContractConnectionTypeConnectionFragment
}
}
}
Variables
{
"input": AcceptQuoteInputType
}
Response
{
"data": {
"acceptQuote": {
"accountNumber": "A-9829CC2C",
"preSignedKey": "effort-about-building-cut-shake",
"supplyContracts": SupplyContractConnectionTypeConnection
}
}
}