Check Zip Codes
GEThttps://api.goodsdelivery.io/v1/coverage/:zipCodes
Authorization: x-api-key
name: x-api-keytype: apiKeyscopes: brand
in: header
Use this endpoint to check if we support a specific zip-code or several zip-codes.
Request
Path Parameters
zipCodes stringrequired
List of zip codes, comma separated
Responses
- 200
- 404
If the request is valid, the response will contain a list with the status of each requested zip code.
- application/json
- Schema
- Example (from schema)
- Example
Schema
success booleanrequired
object objectrequired
{
"success": true,
"object": {
"name": "string",
"pickUpZipCodes": [
"string"
],
"dropOffZipCodes": [
"string"
],
"operatingDays": [
"monday"
],
"services": [
{
"serviceType": "SAME_DAY",
"jobType": "DELIVERY"
}
],
"timeZone": "string"
}
}
{
"success": true,
"object": {
"name": "New York",
"pickUpZipCodes": [
"10005",
"10006"
],
"dropOffZipCodes": [
"10005",
"10007"
],
"services": [
{
"serviceType": "SAME_DAY",
"jobType": "DELIVERY"
},
{
"serviceType": "NEXT_DAY",
"jobType": "DELIVERY"
},
{
"serviceType": "SAME_DAY",
"jobType": "RETURN"
},
{
"serviceType": "NEXT_DAY",
"jobType": "RETURN"
}
],
"operatingDays": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday"
]
}
}
No coverage found
- application/json
- Schema
- Example (from schema)
Schema
message stringrequired
Human readable error message.
code stringrequired
Machine readable error message.
more url
More help on the error here.
{
"message": "string",
"code": "string",
"more": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://api.goodsdelivery.io/v1/coverage/:zipCodes' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
ResponseClear