Get country list

**GET** baseURL/delivery/countries

This request will get a list of countries. The country_id may be used for all other following queries later.

Response Fields


KEY type Desc
country_id number internal country id
name string country name
country_code string two-digit country code
country_phone_code string country phone code

RESPONSE

{
    "data": [
        {
            "country_id": 1,
            "name": "Afghanistan",
            "country_code": "AF",
            "country_phone_code": "93"
        },
        {
            "country_id": 2,
            "name": "Albania",
            "country_code": "AL",
            "country_phone_code": "355"
        },
        {
            "country_id": 3,
            "name": "Algeria",
            "country_code": "DZ",
            "country_phone_code": "213"
        },
        {
            "country_id": 4,
            "name": "American Samoa",
            "country_code": "AS",
            "country_phone_code": "1-684"
        },
        {
            "country_id": 5,
            "name": "Andorra",
            "country_code": "AD",
            "country_phone_code": "376"
        }
}

Get country by country code

**GET** baseURL/delivery/countries/{{country_code}}

This call allows you to retrieve a specific country’s information by providing a two-digit country_code

Query Params


country_code REQUIRED

Two-digit country code in ISO format.

Possible values type
e.g. SG string

**GET** baseURL/delivery/countries/SG

RESPONSE

{
    "data": {
        "country_id": 193,
        "name": "Singapore",
        "country_code": "SG",
        "country_phone_code": "65"
    }
}

Getting Started

Jobs

Customers

Drivers