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.
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 TdspByPostalcode($postalCode: String!) {
tdspByPostalcode(postalCode: $postalCode) {
id
loadZone
postcode
serviceProvider
}
}
Variables
{
"postalCode": "significant-discussion-fact-nothing-crime"
}
Response
{
"data": {
"tdspByPostalcode": [
{
"id": "28180347",
"loadZone": "LZ_HOUSTON",
"postcode": "development-media-entire-class-away",
"serviceProvider": "AEP_TCC"
}
]
}
}