isCustomerKnownToKraken
Check whether a given customer is known to Kraken. The typical scenario to use this query in is to be able to tell whether an inbound cancellation market message concerns a Kraken account or not. Note: At the moment, this query only works for gas customers.
Arguments
The customer's full name.
The meter number of the customer's gas meter.
The customer's postcode and city. This is expected to be a string starting with a 5-digit postcode, followed by a space and then the city name.
The customer's street and street number.
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.
query IsCustomerKnownToKraken(
$customerName: String!,
$meterNumber: String!,
$postcodeAndCity: String!,
$streetAndNumber: String!
) {
isCustomerKnownToKraken(
customerName: $customerName,
meterNumber: $meterNumber,
postcodeAndCity: $postcodeAndCity,
streetAndNumber: $streetAndNumber
)
}
Variables
{
"customerName": "morning-send-customer-mouth-direction",
"meterNumber": "design-mean-together-subject-itself",
"postcodeAndCity": "pass-experience-speech-attorney-other",
"streetAndNumber": "arm-yard-it-whole-successful"
}
Response
{
"data": {
"isCustomerKnownToKraken": true
}
}