Skip to main content

Arguments

postalCode : String! required

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.

Allowed Viewers

Customer Partner User Third party

Required Permissions

(No)

Query Complexity

1

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

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" } ] } }