GET/api/v1/shop/{shopId}

Get Shop

Get a single Shop

The API endpoint provides a list of details of specific shops on your account. Users can access this endpoint to identify and retrieve the complete details of the shop. To obtain the shop details, send a GET request to the specified endpoint, replacing {shopId} in the URL with the actual ID of the shop.

Mandatory Fields - "shopId"

GET/api/v1/shop/{shopId}

Parameter Details

NameInTypeRequiredDescription
shopIdpathstring(string)RequiredThe ID of the Shop

Responses

StatusMeaningDescriptionSchema
200OKSuccess
400Bad RequestRequest data failed validation(s)None
401UnauthorizedAuthentication Failed!None
429Too Many RequestsToo Many Requests.None
500Internal Server ErrorInternal Server ErrorNone

Example Request

# You can also use wget
curl -X GET https://api.flightrates.example.com/api/v1/shop/{shopId} \
  -H 'Accept: application/json' \
  -H 'Authorization: API_KEY'

Example responses

200 Response
{
  "error": false,
  "shop": {
    "pax": {
      "adults": 1,
      "infants": 0,
      "children": 0
    },
    "duration": {
      "outbound": {
        "hour": 40,
        "minute": 30
      },
      "inbound": {
        "hour": null,
        "minute": null
      }
    },
    "_id": "6a0bf8555e39fd9e410a98ff",
    "_OD": [
      {
        "OD": "HDOUKE",
        "_flyFrom": "67fe5364708e396a7183c1d0",
        "_flyTo": "67fe4926708e396a7183c1cc"
      }
    ],
    "_sources": [
      {
        "_id": "66054bd62035f94f4ad8bfa4",
        "source": "Expedia",
        "code": "5",
        "status": 1,
        "channel": "OTA",
        "vertical": "flightrates",
        "isDeleted": false,
        "isActiveStatus": true,
        "id": "66054bd62035f94f4ad8bfa4"
      }
    ],
    "_alternateSources": [
      {
        "_id": "64ae65cfd06e77f95bfefea6",
        "source": "BermudAir",
        "code": "315",
        "status": 1,
        "channel": "Direct",
        "vertical": "flightrates",
        "isDeleted": false,
        "isActiveStatus": true,
        "userAirlineCode": 701,
        "id": "64ae65cfd06e77f95bfefea6"
      }
    ],
    "_carriers": [
      "65ef126905a50001f87961b2"
    ],
    "isRoundTrip": false,
    "los": 0,
    "_cabinClasses": [
      {
        "_id": "6013a6abf553c71d4dfbe92d",
        "code": 3,
        "name": "First Class",
        "isActiveStatus": true,
        "isDeleted": false,
        "id": "6013a6abf553c71d4dfbe92d"
      }
    ],
    "_pos": {
      "_id": "64ae807cd06e77f95bff07be",
      "posCode": 174,
      "countryCode": "UK",
      "region": "Europe",
      "countryName": "United Kingdom",
      "code": "POS/174",
      "isDeleted": false,
      "isActiveStatus": true,
      "id": "64ae807cd06e77f95bff07be"
    },
    "posName": "United Kingdom",
    "_currency": {
      "_id": "64ae7d3ed06e77f95bff0563",
      "iso": "ZMW",
      "symbol": "ZK",
      "isDeleted": false,
      "isActiveStatus": true,
      "id": "64ae7d3ed06e77f95bff0563"
    },
    "currencyName": "ZMW",
    "horizons": [
      "0",
      "3-10",
      "02/05/2025",
      "10/06/2025-10/08/2025"
    ],
    "noOfStops": [
      0,
      1
    ],
    "fareType": "Doctors",
    "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",
    "_schedules": [
      {
        "_id": "6a0bfa2c5e39fd9e410a9919",
        "scheduleName": "#1 Flightschedule name",
        "_shop": "6a0bf8555e39fd9e410a98ff",
        "_timezone": "64ae7e58d06e77f95bff0565",
        "timezoneName": "Europe/Mariehamn",
        "minute": "0",
        "hour": "*",
        "dayOfMonth": "*",
        "month": "*",
        "dayOfWeek": "*",
        "isActiveStatus": true,
        "startDate": "2026-05-19",
        "endDate": "2026-05-19",
        "_user": "6a0aaf8da93611b858a5abf8",
        "userName": "testinbound",
        "vertical": "flightrates",
        "isDeleted": false,
        "isCustomerCreated": true,
        "crontabExpression": "0 * * * *",
        "nextRunAt": "2026-05-19T06:00:00.000Z",
        "lastRunAt": null,
        "crontabHuman": "Every hour, every day",
        "id": "6a0bfa2c5e39fd9e410a9919"
      }
    ],
    "id": "6a0bf8555e39fd9e410a98ff"
  }
}

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.