Register

zipcodeGet

https://sandbox-api.srpago.com/v1/zipcode/57200

Obtén por medio del código postal la información asociada a ese ZipCode.

headers

AuthorizationBasic

Content-Typeapplication/json


Example Request

curl - cURL	
 
curl --location --request GET 'https://sandbox-api.srpago.com/v1/zipcode/57200' \
--header 'AuthorizationToken: {{API_KEY}} {{API_SECRET}}'

Example Response

{
  "success": true,
  "result": [
    {
      "town": "Papalote Museo del Niño",
      "typeTown": "Gran usuario",
      "zip_code": "11111",
      "city": "Miguel Hidalgo",
      "country": "MX",
      "state": "Ciudad de México"
    }
  ]
}