Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mapping.travel/llms.txt

Use this file to discover all available pages before exploring further.

Mapping.Travel connects your hotel inventory to a curated set of supplier datasets. The list endpoints let you discover which suppliers the platform supports, see which ones your organization has already connected, and track any supplier requests you have submitted.

GET /api/v1/suppliers

List all active suppliers available on the platform. This endpoint does not require authentication.
GET https://api.mapping.travel/api/v1/suppliers

Response

suppliers
object[]
required
Array of active supplier objects.
total
number
required
Total number of active suppliers returned.

Example

curl https://api.mapping.travel/api/v1/suppliers
{
  "suppliers": [
    {
      "id": "a1b2c3d4-0000-0000-0000-000000000001",
      "code": "expedia",
      "name": "Expedia",
      "description": "Global online travel marketplace",
      "logoUrl": "https://cdn.mapping.travel/logos/expedia.png",
      "isActive": true
    },
    {
      "id": "a1b2c3d4-0000-0000-0000-000000000002",
      "code": "booking",
      "name": "Booking.com",
      "description": "Online accommodation platform",
      "logoUrl": "https://cdn.mapping.travel/logos/booking.png",
      "isActive": true
    }
  ],
  "total": 2
}

GET /api/v1/suppliers/my-suppliers

List the suppliers connected to your organization.
GET https://api.mapping.travel/api/v1/suppliers/my-suppliers
Authentication is required. Include your bearer token in the Authorization header.

Response

suppliers
object[]
required
Array of supplier connection objects for your organization.
total
number
required
Number of connected suppliers.

Example

curl https://api.mapping.travel/api/v1/suppliers/my-suppliers \
  -H "Authorization: Bearer <token>"

GET /api/v1/suppliers/requests

List supplier requests submitted by your organization.
GET https://api.mapping.travel/api/v1/suppliers/requests
Authentication is required.
Use this endpoint to track the status of any suppliers you have requested that are not yet on the platform.

Response

requests
object[]
required
Array of supplier request objects.
total
number
required
Total number of requests.

Example

curl https://api.mapping.travel/api/v1/suppliers/requests \
  -H "Authorization: Bearer <token>"