occupierAccount
Looks up an occupier account based on postcode and optionally their last 4 digits of the account number.
Arguments
Returns
OccupierAccountPossible Errors
Allowed Viewers
Rate Limits
| Key | Steps |
|---|---|
ip |
['5/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.
query OccupierAccount(
$postcode: String!,
$shortcode: String
) {
occupierAccount(
postcode: $postcode,
shortcode: $shortcode
) {
account
address
date
occupyToken
propertyId
}
}
Variables
{
"postcode": "oil-try-hundred-they-serve",
"shortcode": "charge-trial-address-certain-professor"
}
Response
{
"data": {
"occupierAccount": {
"account": "arm-here-candidate-leg-style",
"address": "town-along-article-subject-amount",
"date": "event-brother-before-agree-point",
"occupyToken": "seat-rather-suffer-production-hope",
"propertyId": 94699845
}
}
}