Pharmacy

The endpoints here allows a Merchant to query the pharmacy within our network.

Search is done based on parameters like State, LGA and specific location. Response from this API endpoint is paginated showing 15 pharmacies per page.

Search Pharmacies

SEARCH BY PHARMACY NAME

GET https://sandbox.insurpass.com/api/merchant/search_pharmacies?pharmacy_name=Jahban Pharmacy

This endpoint will allow the Merchant to search for a pharmacy within their network by the name of the pharmacy.

Headers

NameTypeDescription

Authorization*

String

Bearer {$secret-key}/{$api-key}

Content-Type*

String

application/json

{
    "success": true,
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1387,
                "pharmacy_code": "WHP11424",
                "pharmacy_name": "Safari Pharmacy B & M",
                "state_of_premise": "Delta",
                "lga": "Udu",
                "pharmacy_address": "B&M Plaza, Opposite Fantasia, Before Police Post, Orhuwhorun Road, Igbogidi, Udu, Warri",
                "created_at": "2021-04-24T17:17:13.000000Z",
                "updated_at": "2021-04-24T17:17:13.000000Z"
            },
            {
                "id": 1388,
                "pharmacy_code": "WHP11425",
                "pharmacy_name": "Safari Pharmacy  Ovalaux Mall",
                "state_of_premise": "Delta",
                "lga": "Okpe",
                "pharmacy_address": "Ovalaux Mall, Km 4, Eku Osubi Road, by Lawfab Hotel, Osubi, Warri",
                "created_at": "2021-04-24T17:17:13.000000Z",
                "updated_at": "2021-04-24T17:17:13.000000Z"
            },
            {
                "id": 1384,
                "pharmacy_code": "WHP11421",
                "pharmacy_name": "Safari Pharmacy Ogunu",
                "state_of_premise": "Delta",
                "lga": "Warri South",
                "pharmacy_address": "46, Ogunu Road, Warri, Delta State",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1385,
                "pharmacy_code": "WHP11422",
                "pharmacy_name": "Safari Pharmacy Legacy House ",
                "state_of_premise": "Delta",
                "lga": "Uvwie",
                "pharmacy_address": "Legacy House, Airport Road, by Westend Hospital Junction, Ugborikoko, Warri\n",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1386,
                "pharmacy_code": "WHP11423",
                "pharmacy_name": "Safari Pharmacy Cedar House",
                "state_of_premise": "Delta",
                "lga": "Warri South",
                "pharmacy_address": "Cedar House, 41 Airport Road, by Edjeba Junction, Warri.",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1383,
                "pharmacy_code": "WHP11420",
                "pharmacy_name": "HYCARE PHARMACEUTICAL SERVICE LIMITED",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "28, Suncity Plaza, Lokogoma, Abuja",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1381,
                "pharmacy_code": "WHP11418",
                "pharmacy_name": "Vatican Pharma Consult",
                "state_of_premise": "Lagos",
                "lga": "Surulere",
                "pharmacy_address": "Number 5, Akerele Street, Surulere",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1382,
                "pharmacy_code": "WHP11419",
                "pharmacy_name": "Lamed Pharmacy",
                "state_of_premise": "Plateau",
                "lga": "Jos North",
                "pharmacy_address": "Steve Son, House Bukuru Expressway, Near PHC Clinic, Bukuru Jos, Plateau",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1380,
                "pharmacy_code": "WHP11417",
                "pharmacy_name": "Reinomed Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Shomolu",
                "pharmacy_address": "Number 24, Bajulaiye road, Shomolu, Lagos",
                "created_at": "2021-04-24T17:17:10.000000Z",
                "updated_at": "2021-04-24T17:17:10.000000Z"
            },
            {
                "id": 1378,
                "pharmacy_code": "WHP11415",
                "pharmacy_name": "Divine Care Pharmacy Thomas Estate",
                "state_of_premise": "Lagos",
                "lga": "Eti Osa",
                "pharmacy_address": "2, Ayodele Close, Thomas Estate, Ajah, Lagos",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1377,
                "pharmacy_code": "WHP11435",
                "pharmacy_name": "Skylark Pharmacy Wuse Zone 3",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "D9, Sky Memorial Complex, Michael Opara Street, Wuse.",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1379,
                "pharmacy_code": "WHP11416",
                "pharmacy_name": "Rozec Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Eti Osa",
                "pharmacy_address": "Association Road, Dolphin Estate, Ikoyi, Lagos",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1374,
                "pharmacy_code": "WHP11432",
                "pharmacy_name": "Niveron Pharmacy and Healthcare Ltd",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "24 Etsu Jetta Street, Phase 1 Jikwoyi,Abuja ",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            },
            {
                "id": 1376,
                "pharmacy_code": "WHP11434",
                "pharmacy_name": "Jaa-eez Pharmacy ",
                "state_of_premise": "Kano",
                "lga": "Kano Municipal",
                "pharmacy_address": "7, Tahir House, Zoo Road, Kano ",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            },
            {
                "id": 1375,
                "pharmacy_code": "WHP11433",
                "pharmacy_name": "Newton Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Ojo",
                "pharmacy_address": "Suite 3 & 4, Opposite Adoff Bus-Stop, Iba-LASU Express way, Lagos",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            }
        ],
        "first_page_url": "http://sandbox.insurpass.com/api/pharmacies?page=1",
        "from": 1,
        "last_page": 74,
        "last_page_url": "http://sandbox.insurpass.com/merchant/pharmacies?page=74",
        "next_page_url": "http://sandbox.insurpass.com/merchant/pharmacies?page=2",
        "path": "http://sandbox.insurpass.com/pharmacies",
        "per_page": 15,
        "prev_page_url": null,
        "to": 15,
        "total": 1097
    },
    "response_message": "Pharmacies retrieved successfully",
    "response_code": ""
}

SEARCH PHARMACY BY CODE

GET https://sandbox.insurpass.com/api/merchant/search_pharmacies?pharmacy_code=WHP10819

This endpoint will allow the user to search for a pharmacy within their network by using the code for the pharmacy

Headers

NameTypeDescription

Authorization*

String

Bearer {$secret-key}/{$api-key}

Content-Type*

String

application/json

{
    "success": true,
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1387,
                "pharmacy_code": "WHP11424",
                "pharmacy_name": "Safari Pharmacy B & M",
                "state_of_premise": "Delta",
                "lga": "Udu",
                "pharmacy_address": "B&M Plaza, Opposite Fantasia, Before Police Post, Orhuwhorun Road, Igbogidi, Udu, Warri",
                "created_at": "2021-04-24T17:17:13.000000Z",
                "updated_at": "2021-04-24T17:17:13.000000Z"
            },
            {
                "id": 1388,
                "pharmacy_code": "WHP11425",
                "pharmacy_name": "Safari Pharmacy  Ovalaux Mall",
                "state_of_premise": "Delta",
                "lga": "Okpe",
                "pharmacy_address": "Ovalaux Mall, Km 4, Eku Osubi Road, by Lawfab Hotel, Osubi, Warri",
                "created_at": "2021-04-24T17:17:13.000000Z",
                "updated_at": "2021-04-24T17:17:13.000000Z"
            },
            {
                "id": 1384,
                "pharmacy_code": "WHP11421",
                "pharmacy_name": "Safari Pharmacy Ogunu",
                "state_of_premise": "Delta",
                "lga": "Warri South",
                "pharmacy_address": "46, Ogunu Road, Warri, Delta State",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1385,
                "pharmacy_code": "WHP11422",
                "pharmacy_name": "Safari Pharmacy Legacy House ",
                "state_of_premise": "Delta",
                "lga": "Uvwie",
                "pharmacy_address": "Legacy House, Airport Road, by Westend Hospital Junction, Ugborikoko, Warri\n",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1386,
                "pharmacy_code": "WHP11423",
                "pharmacy_name": "Safari Pharmacy Cedar House",
                "state_of_premise": "Delta",
                "lga": "Warri South",
                "pharmacy_address": "Cedar House, 41 Airport Road, by Edjeba Junction, Warri.",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1383,
                "pharmacy_code": "WHP11420",
                "pharmacy_name": "HYCARE PHARMACEUTICAL SERVICE LIMITED",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "28, Suncity Plaza, Lokogoma, Abuja",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1381,
                "pharmacy_code": "WHP11418",
                "pharmacy_name": "Vatican Pharma Consult",
                "state_of_premise": "Lagos",
                "lga": "Surulere",
                "pharmacy_address": "Number 5, Akerele Street, Surulere",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1382,
                "pharmacy_code": "WHP11419",
                "pharmacy_name": "Lamed Pharmacy",
                "state_of_premise": "Plateau",
                "lga": "Jos North",
                "pharmacy_address": "Steve Son, House Bukuru Expressway, Near PHC Clinic, Bukuru Jos, Plateau",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1380,
                "pharmacy_code": "WHP11417",
                "pharmacy_name": "Reinomed Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Shomolu",
                "pharmacy_address": "Number 24, Bajulaiye road, Shomolu, Lagos",
                "created_at": "2021-04-24T17:17:10.000000Z",
                "updated_at": "2021-04-24T17:17:10.000000Z"
            },
            {
                "id": 1378,
                "pharmacy_code": "WHP11415",
                "pharmacy_name": "Divine Care Pharmacy Thomas Estate",
                "state_of_premise": "Lagos",
                "lga": "Eti Osa",
                "pharmacy_address": "2, Ayodele Close, Thomas Estate, Ajah, Lagos",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1377,
                "pharmacy_code": "WHP11435",
                "pharmacy_name": "Skylark Pharmacy Wuse Zone 3",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "D9, Sky Memorial Complex, Michael Opara Street, Wuse.",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1379,
                "pharmacy_code": "WHP11416",
                "pharmacy_name": "Rozec Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Eti Osa",
                "pharmacy_address": "Association Road, Dolphin Estate, Ikoyi, Lagos",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1374,
                "pharmacy_code": "WHP11432",
                "pharmacy_name": "Niveron Pharmacy and Healthcare Ltd",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "24 Etsu Jetta Street, Phase 1 Jikwoyi,Abuja ",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            },
            {
                "id": 1376,
                "pharmacy_code": "WHP11434",
                "pharmacy_name": "Jaa-eez Pharmacy ",
                "state_of_premise": "Kano",
                "lga": "Kano Municipal",
                "pharmacy_address": "7, Tahir House, Zoo Road, Kano ",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            },
            {
                "id": 1375,
                "pharmacy_code": "WHP11433",
                "pharmacy_name": "Newton Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Ojo",
                "pharmacy_address": "Suite 3 & 4, Opposite Adoff Bus-Stop, Iba-LASU Express way, Lagos",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            }
        ],
        "first_page_url": "http://fruiti-api.test/api/pharmacies?page=1",
        "from": 1,
        "last_page": 74,
        "last_page_url": "http://sandbox.insurpass.com/api/merchant/pharmacies?page=74",
        "next_page_url": "http://sandbox.insurpass.com/api/merchant/pharmacies?page=2",
        "path": "http://sandbox.insurpass.com/api/pharmacies",
        "per_page": 15,
        "prev_page_url": null,
        "to": 15,
        "total": 1097
    },
    "response_message": "Pharmacies retrieved successfully",
    "response_code": ""
}

SEARCH PHARMACY BY STATE OF PREMISE

GET https://sandbox.insurpass.com/api/merchant/search_pharmacies?state_of_premise=F.C.T

This endpoint will allow a user to search for pharmacies within a particular state of premise.

Headers

NameTypeDescription

Authorization*

String

Bearer {$secret-key}/{$api-key}

Content-Type*

String

application/json

{
    "success": true,
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1387,
                "pharmacy_code": "WHP11424",
                "pharmacy_name": "Safari Pharmacy B & M",
                "state_of_premise": "Delta",
                "lga": "Udu",
                "pharmacy_address": "B&M Plaza, Opposite Fantasia, Before Police Post, Orhuwhorun Road, Igbogidi, Udu, Warri",
                "created_at": "2021-04-24T17:17:13.000000Z",
                "updated_at": "2021-04-24T17:17:13.000000Z"
            },
            {
                "id": 1388,
                "pharmacy_code": "WHP11425",
                "pharmacy_name": "Safari Pharmacy  Ovalaux Mall",
                "state_of_premise": "Delta",
                "lga": "Okpe",
                "pharmacy_address": "Ovalaux Mall, Km 4, Eku Osubi Road, by Lawfab Hotel, Osubi, Warri",
                "created_at": "2021-04-24T17:17:13.000000Z",
                "updated_at": "2021-04-24T17:17:13.000000Z"
            },
            {
                "id": 1384,
                "pharmacy_code": "WHP11421",
                "pharmacy_name": "Safari Pharmacy Ogunu",
                "state_of_premise": "Delta",
                "lga": "Warri South",
                "pharmacy_address": "46, Ogunu Road, Warri, Delta State",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1385,
                "pharmacy_code": "WHP11422",
                "pharmacy_name": "Safari Pharmacy Legacy House ",
                "state_of_premise": "Delta",
                "lga": "Uvwie",
                "pharmacy_address": "Legacy House, Airport Road, by Westend Hospital Junction, Ugborikoko, Warri\n",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1386,
                "pharmacy_code": "WHP11423",
                "pharmacy_name": "Safari Pharmacy Cedar House",
                "state_of_premise": "Delta",
                "lga": "Warri South",
                "pharmacy_address": "Cedar House, 41 Airport Road, by Edjeba Junction, Warri.",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1383,
                "pharmacy_code": "WHP11420",
                "pharmacy_name": "HYCARE PHARMACEUTICAL SERVICE LIMITED",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "28, Suncity Plaza, Lokogoma, Abuja",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1381,
                "pharmacy_code": "WHP11418",
                "pharmacy_name": "Vatican Pharma Consult",
                "state_of_premise": "Lagos",
                "lga": "Surulere",
                "pharmacy_address": "Number 5, Akerele Street, Surulere",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1382,
                "pharmacy_code": "WHP11419",
                "pharmacy_name": "Lamed Pharmacy",
                "state_of_premise": "Plateau",
                "lga": "Jos North",
                "pharmacy_address": "Steve Son, House Bukuru Expressway, Near PHC Clinic, Bukuru Jos, Plateau",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1380,
                "pharmacy_code": "WHP11417",
                "pharmacy_name": "Reinomed Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Shomolu",
                "pharmacy_address": "Number 24, Bajulaiye road, Shomolu, Lagos",
                "created_at": "2021-04-24T17:17:10.000000Z",
                "updated_at": "2021-04-24T17:17:10.000000Z"
            },
            {
                "id": 1378,
                "pharmacy_code": "WHP11415",
                "pharmacy_name": "Divine Care Pharmacy Thomas Estate",
                "state_of_premise": "Lagos",
                "lga": "Eti Osa",
                "pharmacy_address": "2, Ayodele Close, Thomas Estate, Ajah, Lagos",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1377,
                "pharmacy_code": "WHP11435",
                "pharmacy_name": "Skylark Pharmacy Wuse Zone 3",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "D9, Sky Memorial Complex, Michael Opara Street, Wuse.",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1379,
                "pharmacy_code": "WHP11416",
                "pharmacy_name": "Rozec Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Eti Osa",
                "pharmacy_address": "Association Road, Dolphin Estate, Ikoyi, Lagos",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1374,
                "pharmacy_code": "WHP11432",
                "pharmacy_name": "Niveron Pharmacy and Healthcare Ltd",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "24 Etsu Jetta Street, Phase 1 Jikwoyi,Abuja ",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            },
            {
                "id": 1376,
                "pharmacy_code": "WHP11434",
                "pharmacy_name": "Jaa-eez Pharmacy ",
                "state_of_premise": "Kano",
                "lga": "Kano Municipal",
                "pharmacy_address": "7, Tahir House, Zoo Road, Kano ",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            },
            {
                "id": 1375,
                "pharmacy_code": "WHP11433",
                "pharmacy_name": "Newton Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Ojo",
                "pharmacy_address": "Suite 3 & 4, Opposite Adoff Bus-Stop, Iba-LASU Express way, Lagos",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            }
        ],
        "first_page_url": "http://sandbox.insurpass.com/api/pharmacies?page=1",
        "from": 1,
        "last_page": 74,
        "last_page_url": "http://sandbox.insurpass.com/merchant/pharmacies?page=74",
        "next_page_url": "http://sandbox.insurpass.com/merchant/pharmacies?page=2",
        "path": "http://sandbox.insurpass.com/pharmacies",
        "per_page": 15,
        "prev_page_url": null,
        "to": 15,
        "total": 1097
    },
    "response_message": "Pharmacies retrieved successfully",
    "response_code": ""
}

SEARCH BY PHARMACY LGA

GET https://sandbox.insurpass.com/api/merchant/search_pharmacies?lga=Abuja Municipal

This endpoint will allow a user search for Pharmacies around a particular LGA

Headers

NameTypeDescription

Authorization*

String

Bearer {$secret-key}/{$api-key}

Content-Type*

String

application/json

{
    "success": true,
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1387,
                "pharmacy_code": "WHP11424",
                "pharmacy_name": "Safari Pharmacy B & M",
                "state_of_premise": "Delta",
                "lga": "Udu",
                "pharmacy_address": "B&M Plaza, Opposite Fantasia, Before Police Post, Orhuwhorun Road, Igbogidi, Udu, Warri",
                "created_at": "2021-04-24T17:17:13.000000Z",
                "updated_at": "2021-04-24T17:17:13.000000Z"
            },
            {
                "id": 1388,
                "pharmacy_code": "WHP11425",
                "pharmacy_name": "Safari Pharmacy  Ovalaux Mall",
                "state_of_premise": "Delta",
                "lga": "Okpe",
                "pharmacy_address": "Ovalaux Mall, Km 4, Eku Osubi Road, by Lawfab Hotel, Osubi, Warri",
                "created_at": "2021-04-24T17:17:13.000000Z",
                "updated_at": "2021-04-24T17:17:13.000000Z"
            },
            {
                "id": 1384,
                "pharmacy_code": "WHP11421",
                "pharmacy_name": "Safari Pharmacy Ogunu",
                "state_of_premise": "Delta",
                "lga": "Warri South",
                "pharmacy_address": "46, Ogunu Road, Warri, Delta State",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1385,
                "pharmacy_code": "WHP11422",
                "pharmacy_name": "Safari Pharmacy Legacy House ",
                "state_of_premise": "Delta",
                "lga": "Uvwie",
                "pharmacy_address": "Legacy House, Airport Road, by Westend Hospital Junction, Ugborikoko, Warri\n",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1386,
                "pharmacy_code": "WHP11423",
                "pharmacy_name": "Safari Pharmacy Cedar House",
                "state_of_premise": "Delta",
                "lga": "Warri South",
                "pharmacy_address": "Cedar House, 41 Airport Road, by Edjeba Junction, Warri.",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1383,
                "pharmacy_code": "WHP11420",
                "pharmacy_name": "HYCARE PHARMACEUTICAL SERVICE LIMITED",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "28, Suncity Plaza, Lokogoma, Abuja",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1381,
                "pharmacy_code": "WHP11418",
                "pharmacy_name": "Vatican Pharma Consult",
                "state_of_premise": "Lagos",
                "lga": "Surulere",
                "pharmacy_address": "Number 5, Akerele Street, Surulere",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1382,
                "pharmacy_code": "WHP11419",
                "pharmacy_name": "Lamed Pharmacy",
                "state_of_premise": "Plateau",
                "lga": "Jos North",
                "pharmacy_address": "Steve Son, House Bukuru Expressway, Near PHC Clinic, Bukuru Jos, Plateau",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1380,
                "pharmacy_code": "WHP11417",
                "pharmacy_name": "Reinomed Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Shomolu",
                "pharmacy_address": "Number 24, Bajulaiye road, Shomolu, Lagos",
                "created_at": "2021-04-24T17:17:10.000000Z",
                "updated_at": "2021-04-24T17:17:10.000000Z"
            },
            {
                "id": 1378,
                "pharmacy_code": "WHP11415",
                "pharmacy_name": "Divine Care Pharmacy Thomas Estate",
                "state_of_premise": "Lagos",
                "lga": "Eti Osa",
                "pharmacy_address": "2, Ayodele Close, Thomas Estate, Ajah, Lagos",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1377,
                "pharmacy_code": "WHP11435",
                "pharmacy_name": "Skylark Pharmacy Wuse Zone 3",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "D9, Sky Memorial Complex, Michael Opara Street, Wuse.",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1379,
                "pharmacy_code": "WHP11416",
                "pharmacy_name": "Rozec Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Eti Osa",
                "pharmacy_address": "Association Road, Dolphin Estate, Ikoyi, Lagos",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1374,
                "pharmacy_code": "WHP11432",
                "pharmacy_name": "Niveron Pharmacy and Healthcare Ltd",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "24 Etsu Jetta Street, Phase 1 Jikwoyi,Abuja ",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            },
            {
                "id": 1376,
                "pharmacy_code": "WHP11434",
                "pharmacy_name": "Jaa-eez Pharmacy ",
                "state_of_premise": "Kano",
                "lga": "Kano Municipal",
                "pharmacy_address": "7, Tahir House, Zoo Road, Kano ",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            },
            {
                "id": 1375,
                "pharmacy_code": "WHP11433",
                "pharmacy_name": "Newton Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Ojo",
                "pharmacy_address": "Suite 3 & 4, Opposite Adoff Bus-Stop, Iba-LASU Express way, Lagos",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            }
        ],
        "first_page_url": "http://sandbox.insurpass.com/api/pharmacies?page=1",
        "from": 1,
        "last_page": 74,
        "last_page_url": "http://sandbox.insurpass.com/merchant/pharmacies?page=74",
        "next_page_url": "http://sandbox.insurpass.com/merchant/pharmacies?page=2",
        "path": "http://sandbox.insurpass.com/pharmacies",
        "per_page": 15,
        "prev_page_url": null,
        "to": 15,
        "total": 1097
    },
    "response_message": "Pharmacies retrieved successfully",
    "response_code": ""
}

SEARCH BY PHARMACY ADDRESS

GET https://sandbox.insurpass.com/api/merchant/search_pharmacies?pharmacy_address=Garki 2, Abuja

This endpoint will allow a user to search for Pharmacies using the address of the Pharmacy

Headers

NameTypeDescription

Authorization*

String

Bearer {$secret-key}/{$api-key}

Content-Type*

String

application/json

{
    "success": true,
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1387,
                "pharmacy_code": "WHP11424",
                "pharmacy_name": "Safari Pharmacy B & M",
                "state_of_premise": "Delta",
                "lga": "Udu",
                "pharmacy_address": "B&M Plaza, Opposite Fantasia, Before Police Post, Orhuwhorun Road, Igbogidi, Udu, Warri",
                "created_at": "2021-04-24T17:17:13.000000Z",
                "updated_at": "2021-04-24T17:17:13.000000Z"
            },
            {
                "id": 1388,
                "pharmacy_code": "WHP11425",
                "pharmacy_name": "Safari Pharmacy  Ovalaux Mall",
                "state_of_premise": "Delta",
                "lga": "Okpe",
                "pharmacy_address": "Ovalaux Mall, Km 4, Eku Osubi Road, by Lawfab Hotel, Osubi, Warri",
                "created_at": "2021-04-24T17:17:13.000000Z",
                "updated_at": "2021-04-24T17:17:13.000000Z"
            },
            {
                "id": 1384,
                "pharmacy_code": "WHP11421",
                "pharmacy_name": "Safari Pharmacy Ogunu",
                "state_of_premise": "Delta",
                "lga": "Warri South",
                "pharmacy_address": "46, Ogunu Road, Warri, Delta State",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1385,
                "pharmacy_code": "WHP11422",
                "pharmacy_name": "Safari Pharmacy Legacy House ",
                "state_of_premise": "Delta",
                "lga": "Uvwie",
                "pharmacy_address": "Legacy House, Airport Road, by Westend Hospital Junction, Ugborikoko, Warri\n",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1386,
                "pharmacy_code": "WHP11423",
                "pharmacy_name": "Safari Pharmacy Cedar House",
                "state_of_premise": "Delta",
                "lga": "Warri South",
                "pharmacy_address": "Cedar House, 41 Airport Road, by Edjeba Junction, Warri.",
                "created_at": "2021-04-24T17:17:12.000000Z",
                "updated_at": "2021-04-24T17:17:12.000000Z"
            },
            {
                "id": 1383,
                "pharmacy_code": "WHP11420",
                "pharmacy_name": "HYCARE PHARMACEUTICAL SERVICE LIMITED",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "28, Suncity Plaza, Lokogoma, Abuja",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1381,
                "pharmacy_code": "WHP11418",
                "pharmacy_name": "Vatican Pharma Consult",
                "state_of_premise": "Lagos",
                "lga": "Surulere",
                "pharmacy_address": "Number 5, Akerele Street, Surulere",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1382,
                "pharmacy_code": "WHP11419",
                "pharmacy_name": "Lamed Pharmacy",
                "state_of_premise": "Plateau",
                "lga": "Jos North",
                "pharmacy_address": "Steve Son, House Bukuru Expressway, Near PHC Clinic, Bukuru Jos, Plateau",
                "created_at": "2021-04-24T17:17:11.000000Z",
                "updated_at": "2021-04-24T17:17:11.000000Z"
            },
            {
                "id": 1380,
                "pharmacy_code": "WHP11417",
                "pharmacy_name": "Reinomed Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Shomolu",
                "pharmacy_address": "Number 24, Bajulaiye road, Shomolu, Lagos",
                "created_at": "2021-04-24T17:17:10.000000Z",
                "updated_at": "2021-04-24T17:17:10.000000Z"
            },
            {
                "id": 1378,
                "pharmacy_code": "WHP11415",
                "pharmacy_name": "Divine Care Pharmacy Thomas Estate",
                "state_of_premise": "Lagos",
                "lga": "Eti Osa",
                "pharmacy_address": "2, Ayodele Close, Thomas Estate, Ajah, Lagos",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1377,
                "pharmacy_code": "WHP11435",
                "pharmacy_name": "Skylark Pharmacy Wuse Zone 3",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "D9, Sky Memorial Complex, Michael Opara Street, Wuse.",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1379,
                "pharmacy_code": "WHP11416",
                "pharmacy_name": "Rozec Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Eti Osa",
                "pharmacy_address": "Association Road, Dolphin Estate, Ikoyi, Lagos",
                "created_at": "2021-04-24T17:17:09.000000Z",
                "updated_at": "2021-04-24T17:17:09.000000Z"
            },
            {
                "id": 1374,
                "pharmacy_code": "WHP11432",
                "pharmacy_name": "Niveron Pharmacy and Healthcare Ltd",
                "state_of_premise": "F.C.T",
                "lga": "AMAC",
                "pharmacy_address": "24 Etsu Jetta Street, Phase 1 Jikwoyi,Abuja ",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            },
            {
                "id": 1376,
                "pharmacy_code": "WHP11434",
                "pharmacy_name": "Jaa-eez Pharmacy ",
                "state_of_premise": "Kano",
                "lga": "Kano Municipal",
                "pharmacy_address": "7, Tahir House, Zoo Road, Kano ",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            },
            {
                "id": 1375,
                "pharmacy_code": "WHP11433",
                "pharmacy_name": "Newton Pharmacy",
                "state_of_premise": "Lagos",
                "lga": "Ojo",
                "pharmacy_address": "Suite 3 & 4, Opposite Adoff Bus-Stop, Iba-LASU Express way, Lagos",
                "created_at": "2021-04-24T17:17:08.000000Z",
                "updated_at": "2021-04-24T17:17:08.000000Z"
            }
        ],
        "first_page_url": "http://sandbox.insurpass.com/api/pharmacies?page=1",
        "from": 1,
        "last_page": 74,
        "last_page_url": "http://sandbox.insurpass.com/merchant/pharmacies?page=74",
        "next_page_url": "http://sandbox.insurpass.com/merchant/pharmacies?page=2",
        "path": "http://sandbox.insurpass.com/pharmacies",
        "per_page": 15,
        "prev_page_url": null,
        "to": 15,
        "total": 1097
    },
    "response_message": "Pharmacies retrieved successfully",
    "response_code": ""
}