GetTerminalByZip
Returns the servicing last-mile terminal address for a US zip code.
All responses are HTTP 200. Check the status field for Success or Error.
Read-only lookup: This endpoint does not create or modify any shipment data.
No pickup-lock rule applies. Use it to verify terminal coverage or pre-populate
shipper address fields before creating a shipment.
Function Overview
- Purpose: Look up the servicing terminal for a delivery zip code before booking.
- REST Endpoint:
POST /api/public/v1/shipping/GetTerminalByZip - SOAP Operation:
GetTerminalByZip(TerminalLookupRequest) - Authentication: Required -- Bearer token in HTTP Authorization header
REST Interface
Headers
Authorization: Bearer <token>
Content-Type: application/json
Request Body
{
"zipCode": "32835"
}
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
| zipCode | string | Yes | US zip code to look up the servicing terminal |
Response -- Success
{
"status": "Success",
"errors": [],
"deliveryZipCode": "32835",
"terminalId": "FL042",
"name": "FL042 I-LOG LLC-MCO",
"address1": "2619 Consulate Dr",
"address2": "Suite 100",
"city": "Orlando",
"state": "FL",
"phone": "772-409-4398",
"email": "FL042@agentgrid.net",
"terminalZipCode": "32819"
}
Response -- Error
{
"status": "Error",
"errors": ["No servicing terminal found for zip code '00000'."],
"deliveryZipCode": null,
"terminalId": null,
"name": null,
"address1": null,
"address2": null,
"city": null,
"state": null,
"phone": null,
"email": null,
"terminalZipCode": null
}
Response Fields
| Field | Description |
|---|---|
| status | "Success" or "Error" |
| errors | Error messages when status is "Error" |
| deliveryZipCode | Echo of the requested zip code |
| terminalId | Terminal facility identifier |
| name | Terminal display name |
| address1 | Terminal street address line 1 |
| address2 | Suite, unit, etc. |
| city | Terminal city |
| state | Two-letter state code |
| phone | Terminal phone number |
| Terminal email address | |
| terminalZipCode | The terminal's own zip code (may differ from the delivery zip) |
SOAP Interface
WSDL
/soap/public/v1/shipping?singlewsdl
Authentication note: Pass your Bearer token as an HTTP header, not inside the SOAP envelope.
SOAP Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<GetTerminalByZip xmlns="http://dmwebservices.com/shipping/public/v1">
<request>
<ZipCode>32835</ZipCode>
</request>
</GetTerminalByZip>
</soapenv:Body>
</soapenv:Envelope>