Lookup zipcode
GET
pi/v2/sellers/locations/{country_code}/zipcodesLast modified: a year ago
Request
Path Params
country_code
string
required
Query Params
zipcode
string
optional
Example:
10520
Header Params
Authorization
string
required
Example:
Token {{API_TOKEN}}
Content-Type
string
optional
Example:
application/json
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
total_count
integer
required
zipcodes
array [object {11}]
required
error
boolean
required
error_code
string
required
messages
string
required
request_id
string
required
Example
{
"data": {
"total_count": 1,
"zipcodes": [
{
"id": 788785,
"country_code": "TH",
"province_id": 190,
"province_name": "Bangkok",
"province_name_local": "กรุงเทพมหานคร",
"district_id": 3356,
"district_name": "Lad Krabang",
"district_name_local": "เขตลาดกระบัง",
"zipcode": "10520",
"to_zipcode": "10520",
"is_remote": 0
}
]
},
"error": false,
"error_code": "",
"messages": "",
"request_id": 1703235643
}
Last modified: a year ago