GET
/api/v1/shop/name/{shopName}Get Shop By Name
Get a list of shops by name
The API endpoint allows the user to search a shop and its details using the shop name.
Mandatory Fields - "shopName"
GET
/api/v1/shop/name/{shopName}Parameter Details
| Name | In | Type | Required | Description |
|---|---|---|---|---|
page | query | integer | Optional | The page number to retrieve. |
size | query | integer | Optional | The number of items to be displayed per page. |
shopName | path | string(string) | Required | The Name of the Shop |
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | |
| 400 | Bad Request | Request data failed validation(s) | None |
| 401 | Unauthorized | Authentication Failed! | None |
| 429 | Too Many Requests | Too Many Requests. | None |
| 500 | Internal Server Error | Internal Server Error | None |
Example Request
# You can also use wget
curl -X GET https://api.flightrates.example.com/api/v1/shop/name/{shopName} \
-H 'Accept: application/json' \
-H 'Authorization: API_KEY'
Example responses
200 Response
{
"error": false,
"shops": [
{
"_id": "6a0bf8555e39fd9e410a98ff",
"_OD": [
{
"OD": "HDOUKE",
"_flyFrom": "67fe5364708e396a7183c1d0",
"_flyTo": "67fe4926708e396a7183c1cc"
}
],
"_sources": [
"66054bd62035f94f4ad8bfa4"
],
"_alternateSources": [
"64ae65cfd06e77f95bfefea6"
],
"_carriers": [
"65ef126905a50001f87961b2"
],
"isRoundTrip": false,
"los": 0,
"_cabinClasses": [
"6013a6abf553c71d4dfbe92d"
],
"pax": {
"adults": 1,
"infants": 0,
"children": 0
},
"_pos": "64ae807cd06e77f95bff07be",
"posName": "United Kingdom",
"_currency": "64ae7d3ed06e77f95bff0563",
"currencyName": "ZMW",
"horizons": [
"0",
"3-10",
"02/05/2025",
"10/06/2025-10/08/2025"
],
"noOfStops": [
0,
1
],
"fareType": "Doctors",
"duration": {
"outbound": {
"hour": 40,
"minute": 30
},
"inbound": {
"hour": null,
"minute": null
}
},
"startDate": "2026-05-19T00:00:00.000Z",
"shopName": "Flightshop name",
"_user": "6a0aaf8da93611b858a5abf8",
"userName": "testinbound",
"deliveryMode": [
"db"
],
"isActiveStatus": true,
"isRealtime": false,
"vertical": "flightrates",
"isCustomerCreated": true,
"createdAt": "2026-05-19T05:42:45.015Z",
"updatedAt": "2026-05-19T05:42:45.015Z",
"id": "6a0bf8555e39fd9e410a98ff"
}
],
"totalData": 5,
"totalPages": 1,
"page": 1,
"size": 10
}
Need Support?
Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.