GET/pricing/{shopId}

Get Pricing Data

This endpoint is used to fetch the pricing data for a specific shop.
GET/pricing/{shopId}

Important Notes

The shopId must be a valid integer.

Parameter Details

NameInTypeRequiredDescription
shopIdpathintegerRequiredThe ID of the shop to retrieve.
ratesPerPagequeryintegerOptionalThe number of items to display in a page
pageNumberqueryintegerOptionalIndicates the current page number
  • pageNumber: Specifies the page of results to retrieve. Default is 1.

Responses

StatusMeaningDescriptionSchema
200OKSuccess
400Bad RequestBad RequestNone
401UnauthorizedUnauthorizedNone
403ForbiddenForbidden - Access deniedNone
500Internal Server ErrorInternal Server ErrorNone

Response Notes

  • shopId: Unique identification number of the shop.
  • websiteCode: Source platform code for the trip data.
  • source: Car rental booking site name.
  • pickupLocation: Extracted location where the car rental starts.
  • dropLocation: Extracted location where the car rental ends.
  • pickupDate: Date of the car rental pickup.
  • dropDate: Date of the car rental drop-off.
  • pickupTime: Time of the car pickup.
  • dropTime: Time of the car drop-off.
  • vendorName: Name of the rental car provider.
  • vendorCode: Code representing the vendor.
  • carName: Name of the rented car.
  • carType: Type/category of the car (e.g., Economy, Compact).
  • price: Price including taxes.
  • basePrice: Price excluding taxes.
  • currency: Currency code used for pricing (e.g., USD, EUR).
  • carCode: Standardized code representing the car class.
  • door: Number of car doors (e.g., "5 door").
  • airCondition: Indicates if the car has air conditioning (true or false).
  • transmission: Type of car transmission (e.g., Manual, Automatic).
  • mileage: Mileage allowance (e.g., Unlimited).
  • vendorRating: Vendor rating score.
  • passengerCapacity: Number of passengers the car can accommodate (e.g., "5 persons").
  • baggageDetails: Information about baggage allowance (can be null).
  • cob: Country of booking (e.g., "US").
  • dtcollected: Timestamp when the data was collected and stored.
  • statusCode: Status code to monitor if the entry is valid (e.g., 200 for valid).
  • prepay: Indicates if the car is prepaid or not (true or false).
  • address: Full booking address of the rental location.

Example Request

# You can also use wget
curl -X GET /pricing/{shopId} \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Example responses

200 Response
[
  {
    "totalRecords": 2,
    "fetchedRecords": 2,
    "totalPages": 1,
    "currentPage": 1,
    "pageSize": 10,
    "rates": [
      {
        "shopId": 1,
        "websiteCode": "EXP",
        "source": "Expedia",
        "pickupLocation": "MDZ",
        "dropLocation": "MDZ",
        "pickupDate": "2025-06-17",
        "dropDate": "2025-06-20",
        "pickupTime": "12:00:00",
        "dropTime": "11:00:00",
        "vendorName": "Enterprise",
        "vendorCode": "ET",
        "carName": "Swift",
        "carType": "Economy",
        "price": "159.2",
        "basePrice": "13.3",
        "currency": "USD",
        "carCode": "CCAR",
        "door": "5 door",
        "airCondition": true,
        "transmission": "Manual",
        "mileage": "Unlimited",
        "vendorRating": "7.1",
        "passengerCapacity": "5 persons",
        "baggageDetails": null,
        "cob": "US",
        "dtcollected": "2025-05-29T12:40:23.124Z",
        "statusCode": 200,
        "prepay": true,
        "address": "Mendoza Intl Airport, Ruta 40 S/N, Mendoza, Argentina 00000"
      }
    ]
  }
]

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.