GET /states
Permite obtener una lista de estados

Permite obtener una lista estandar de estados filtrado por un pais.

Formatos soportados

json

Errores

Code Description
500 Servidor no disponible

Ejemplos

   === Respuesta del servidor ===
[
  {
    "id": 2137,
    "iso": "01",
    "name": "Aguascalientes"
  },
  {
    "id": 2136,
    "iso": "02",
    "name": "Baja California"
  },
  {
    "id": 2135,
    "iso": "03",
    "name": "Baja California Sur"
  },
  {
    "id": 2122,
    "iso": "04",
    "name": "Campeche"
  },
  {
    "id": 2121,
    "iso": "05",
    "name": "Chiapas"
  },
  {
    "id": 2134,
    "iso": "06",
    "name": "Chihuahua"
  },
  {
    "id": 2133,
    "iso": "07",
    "name": "Coahuila"
  },
  {
    "id": 2132,
    "iso": "08",
    "name": "Colima"
  },
  {
    "id": 2120,
    "iso": "09",
    "name": "Distrito Federal"
  },
  {
    "id": 2131,
    "iso": "10",
    "name": "Durango"
  },
  {
    "id": 2130,
    "iso": "11",
    "name": "Guanajuato"
  },
  {
    "id": 2119,
    "iso": "12",
    "name": "Guerrero"
  },
  {
    "id": 2118,
    "iso": "13",
    "name": "Hidalgo"
  },
  {
    "id": 2129,
    "iso": "14",
    "name": "Jalisco"
  },
  {
    "id": 2117,
    "iso": "15",
    "name": "México"
  },
  {
    "id": 2128,
    "iso": "16",
    "name": "Michoacán"
  },
  {
    "id": 2116,
    "iso": "17",
    "name": "Morelos"
  },
  {
    "id": 2127,
    "iso": "18",
    "name": "Nayarit"
  },
  {
    "id": 2115,
    "iso": "19",
    "name": "Nuevo León"
  },
  {
    "id": 2114,
    "iso": "20",
    "name": "Oaxaca"
  },
  {
    "id": 2113,
    "iso": "21",
    "name": "Puebla"
  },
  {
    "id": 2112,
    "iso": "22",
    "name": "Querétaro"
  },
  {
    "id": 2111,
    "iso": "23",
    "name": "Quintana Roo"
  },
  {
    "id": 2126,
    "iso": "24",
    "name": "San Luis Potosí"
  },
  {
    "id": 2125,
    "iso": "25",
    "name": "Sinaloa"
  },
  {
    "id": 2124,
    "iso": "26",
    "name": "Sonora"
  },
  {
    "id": 2110,
    "iso": "27",
    "name": "Tabasco"
  },
  {
    "id": 2109,
    "iso": "28",
    "name": "Tamaulipas"
  },
  {
    "id": 2108,
    "iso": "29",
    "name": "Tlaxcala"
  },
  {
    "id": 2107,
    "iso": "30",
    "name": "Veracruz"
  },
  {
    "id": 2106,
    "iso": "31",
    "name": "Yucatán"
  },
  {
    "id": 2123,
    "iso": "32",
    "name": "Zacatecas"
  }
]

Parámetros

Nombre del parámetro Descripción
country_id
requerido

Identificador del pais

Validations:

  • Must be a number.