createQuote
Create electricity and gas quotes based on the input parameters.
Arguments
Returns
CreateQuoteOutputExamples
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 CreateQuote($input: CreateQuoteInputParams!) {
createQuote(input: $input) {
affiliateSessionId
code
electricitySupplyPoint {
...QuotedSupplyPointTypeFragment
}
gasSupplyPoint {
...QuotedSupplyPointTypeFragment
}
requestedAt
}
}
Variables
{
"input": CreateQuoteInputParams
}
Response
{
"data": {
"createQuote": {
"affiliateSessionId": "21236699",
"code": "f81f5c80-239d-4599-b98d-dc84f59dc887",
"electricitySupplyPoint": QuotedSupplyPointType,
"gasSupplyPoint": QuotedSupplyPointType,
"requestedAt": "2013-12-27T00:38:05.644918+00:00"
}
}
}