Manuál

Krajiny


Zoznam krajín

URL
GET /api/v1/countries/list
Parameters
Name Type Method Required Default Description
number int GET no 1 Stránkovanie.
Request
(empty)
Response
HTTP 200 - OK
Host: example.org
Content-Type: application/vnd.shoptec.v1.0+json; charset=utf-8
{
    "page": 1,
    "pages": 1,
    "itemsCount": 2,
    "itemsPerPage": 10,
    "countries": [
        {
            "id": 1,
            "code": "sk",
            "name": "Slovensko"
        },
        {
            "id": 2,
            "code": "cz",
            "name": "\u010cesko"
        }
    ]
}

Počet krajín

URL
GET /api/v1/countries/count
Request
(empty)
Response
HTTP 200 - OK
Host: example.org
Content-Type: application/vnd.shoptec.v1.0+json; charset=utf-8
{
    "count": 195
}

Pomohlo? Áno Nie

Začnite nezáväzne zadarmo na 14 dní.

Otázky? Volajte +421 221 028 004