Skip to content

Instantly share code, notes, and snippets.

@wochap
Last active January 18, 2017 15:23
Show Gist options
  • Save wochap/bcbdb57608b06e513740591c8b358bf4 to your computer and use it in GitHub Desktop.
Save wochap/bcbdb57608b06e513740591c8b358bf4 to your computer and use it in GitHub Desktop.
Zicomarket api doc

Contact

1. Get countries and regions

[GET] api

Example

GET

Link: api

Response

{
  "countries": [
    ...manyCountries, {
      "id": 123,
      "name": "Peru",
      "regions": [
        ...manyRegions, {
          "id": 1234,
          "name": "Tacna",
          "provinces": [
            ...manyProvinces, {
              "id": 1234,
              "name": "Tacna",
              "cities": [
                ...manyCities, {
                  "id": 1234,
                  "name": "Tacna"
                }
              ]   
            }
          ]
        }
      ]
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment