Bỏ qua để đến nội dung

Get Booking Sources (Direct Segment Only)

API cho đối tácAdd-on
GET
/properties/{tenant_id}/booking-sources

Retrieve the list of active booking sources for a specific property, filtered by “direct” segment. These sources represent direct booking channels (walk-in, website, phone, etc.) and exclude OTA channels (Booking.com, Airbnb, etc.).

Scope Required: properties:read

Path Parameters:

  • tenant_id (required): Property/tenant identifier

Use Cases:

  • Populate booking source dropdown in booking creation forms
  • Validate booking source values before creating bookings
  • Display available direct booking channels to API consumers
  • Show only booking sources configured for this specific property

Important Notes:

  • Only returns active booking sources for the current property
  • Filtered by booking segment = “direct”
  • Each source includes translated name and color code
  • Results are cached for 10 minutes
tenant_id
required
string
object
success
required
boolean
data
required
Array<object>
object
name
required
string
color
required
string
translated_name
required
string
Bài này có giúp được bạn không?