Skip to main content
GET
/
v2
/
brands
/
{brandId}
/
sessions
/
{from}
/
{to}
Get available dates for a brand
curl --request GET \
  --url https://api.letsway.com/v2/brands/{brandId}/sessions/{from}/{to}
{
  "sessions": [
    {
      "startDateTime": "2024-03-15T14:30:00Z",
      "experienceId": "exp-123",
      "hasPassed": false
    }
  ],
  "experiences": [
    {
      "id": "exp-123",
      "title": "Scuba Diving in Bali",
      "slug": "scuba-diving-bali",
      "headline": "Dive into the crystal-clear waters of Bali",
      "priceTiers": [
        {
          "id": "tier-123",
          "name": "VIP",
          "price": 100,
          "maxQuantity": 5
        }
      ],
      "maxParticipantsCount": 10,
      "currency": "USD",
      "bookingAvailabilityMode": "group",
      "isFeatured": true,
      "isBookable": true,
      "isUnlisted": false,
      "type": "recurring",
      "coverPicture": {
        "id": "media-123",
        "originalName": "image.jpg",
        "relativePath": "/uploads/images/image.jpg",
        "mimeType": "image/jpeg",
        "fileSize": 204800,
        "status": "uploaded",
        "uploadedAt": "2024-03-01T12:00:00Z"
      },
      "hidePrice": false,
      "isNoHost": false,
      "isExclusive": true,
      "hostedBy": {
        "id": "host-123",
        "firstName": "John",
        "lastName": "Doe"
      },
      "category": {
        "id": "category-456",
        "name": "Adventure"
      }
    }
  ],
  "resourceGroupCollections": [
    {
      "resourceGroupCollections": [
        {
          "id": "rgc-123",
          "location": {
            "longitude": -122.4194,
            "latitude": 37.7749,
            "name": "San Francisco",
            "additionalInfo": "Near the Golden Gate Bridge"
          },
          "name": "Luxury Experiences",
          "resourceGroups": [
            {
              "id": "rg-123",
              "name": "Premium Group",
              "title": "Exclusive Scuba Gear",
              "experiences": [
                {
                  "id": "exp-123",
                  "title": "Scuba Diving in Bali"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Path Parameters

brandId
string

Response

200 - application/json

Available dates for a brand

sessions
object[]
required

List of available sessions

experiences
object[]
required

List of experiences with cover picture

resourceGroupCollections
object[]
required

List of resource group collections