Owner: Dev Team | Last Updated: 2026-02-21 | Status: Current
Managing sales channels and integration with Channel Manager (Bokun).
Sales channels determine where bookings come from. Booking supports direct sales through its own widget, partner channels, and integration with OTA platforms via Channel Manager.
| Field | Type | Description |
|---|---|---|
name |
string | Channel name |
platform |
string | Platform (enum: ChannelPlatform) |
link |
string | Channel link |
is_active |
boolean | Active status |
max_tickets |
integer | Maximum tickets |
min_to_close |
integer | Minimum to close sales |
tickets_left |
integer | Remaining tickets |
days |
json | Operating days |
| Type | Description |
|---|---|
| Direct | Own embed widget |
| Partner | Partner websites |
| Channel Manager | OTA platforms (Bokun, etc.) |
Bokun uses Basic Auth via BokunBasicAuthMiddleware:
Authorization: Basic base64(BOKUN_API_USER:BOKUN_API_PASS)
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/cm/plugin/definition |
Plugin definition |
| POST | /api/v1/cm/product/search |
Product search |
| POST | /api/v1/cm/product/getById |
Get product by ID |
| POST | /api/v1/cm/availability |
Availability check |
| POST | /api/v1/cm/booking/reserve |
Reserve |
| POST | /api/v1/cm/booking/confirm |
Confirm booking |
| POST | /api/v1/cm/booking/cancel |
Cancel booking |
| POST | /api/v1/cm/booking/amend |
Amend booking |
Channel Manager maps external products to internal Experiences:
Files:
app/Services/ChannelManager/ProductService.phpapp/Http/Controllers/ChannelManager/ProductController.phpBookings from Channel Manager are stored in ChannelManagerExternalBooking:
| Field | Description |
|---|---|
confirmation_code |
Confirmation code from CM |
company_id |
Company |
type |
Booking type |
Linking a channel to a company:
| Field | Description |
|---|---|
channel_id |
Channel |
supplier_id |
Supplier ID |
company_id |
Company |
supplier_code |
Supplier code |
| File | Purpose |
|---|---|
app/Models/Channel.php |
Channel model |
app/Models/ChannelExperience.php |
Channel-Experience link |
app/Models/ChannelSupplier.php |
Channel supplier |
app/Models/ChannelManagerExternalBooking.php |
External bookings |
app/Services/ChannelService.php |
Channel business logic |
app/Services/ChannelManager/BookingService.php |
CM bookings |
app/Services/ChannelManager/ProductService.php |
CM products |
routes/channelManager.php |
CM routes |
app/Http/Middleware/BokunBasicAuthMiddleware.php |
CM authentication |
resources/js/pages/salesChannels/ |
Frontend pages |
| Date | Author | Change |
|---|---|---|
| 2026-02-21 | Documentation Team | Initial creation |
Up: Guides