getQuoteByCode
Returns the calculated quotes related to a quote request.
Arguments
The ID of the quote request.
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.
query GetQuoteByCode($code: UUID!) {
getQuoteByCode(code: $code) {
affiliateSessionId
code
electricitySupplyPoint {
...QuotedSupplyPointTypeFragment
}
gasSupplyPoint {
...QuotedSupplyPointTypeFragment
}
requestedAt
}
}
Variables
{
"code": "0950cc90-68ed-4fb2-9feb-933033d10d65"
}
Response
{
"data": {
"getQuoteByCode": {
"affiliateSessionId": "36508239",
"code": "fa0c9219-9c7a-459f-978d-f9be2a2e81b3",
"electricitySupplyPoint": QuotedSupplyPointType,
"gasSupplyPoint": QuotedSupplyPointType,
"requestedAt": "2003-02-14T06:19:56.845756+00:00"
}
}
}