createQuoteForAccount
Create a quote for switching product.
Arguments
Possible Errors
- KT-CT-1111: Unauthorized.
- KT-CT-1112: 'Authorization' header not provided.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-4616: Unable to create a quote.
- KT-CT-4631: Unable to quote for the chosen market.
- KT-CT-4645: No supply point found belonging to the account for the provided identifier.
- KT-CT-4924: Unauthorized.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Required Permissions
Can query quotes Can switch productQuery 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 CreateQuoteForAccount($input: CreateQuoteForAccountInput!) {
createQuoteForAccount(input: $input) {
quoteRequest {
...MarketSupplyQuoteRequestTypeFragment
}
}
}
Variables
{
"input": CreateQuoteForAccountInput
}
Response
{
"data": {
"createQuoteForAccount": {
"quoteRequest": MarketSupplyQuoteRequestType
}
}
}