tdspByPostalcode
Arguments
The ZIP code to retrieve service providers for.
Full ZIP codes are accepted with or without hyphen but only the first 5 digits are used.
Returns
[PostcodeZoneMapping]Fetch service providers by zip code.
A zip code is required to perform the lookup.
Possible Errors
Allowed Viewers
Required Permissions
(No)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 TdspByPostalcode($postalCode: String!) {
tdspByPostalcode(postalCode: $postalCode) {
id
loadZone
postcode
serviceProvider
}
}
Variables
{
"postalCode": "decade-car-PM-production-skin"
}
Response
{
"data": {
"tdspByPostalcode": [
{
"id": "61345305",
"loadZone": "LZ_HOUSTON",
"postcode": "lead-ten-capital-tax-population",
"serviceProvider": "AEP_TCC"
}
]
}
}