Apartma MatevΕΎ β€’ Journal
πŸ‡¬πŸ‡§ Introducing the "Price Corrector" β€” When the Community Shapes the Architecture. πŸš€"CM Relay"
πŸ‡¬πŸ‡§  Introducing the "Price Corrector" β€” When the Community Shapes the Architecture. πŸš€"CM Relay"

πŸ‡¬πŸ‡§ Introducing the "Price Corrector" β€” When the Community Shapes the Architecture. πŸš€"CM Relay"

Ustvarjeno 19.09.2026Posodobljeno 19.09.2026
cm-relayprice-correctorchannexota

How it all started: the voice of the community

When building open, community-driven tools, the best features are often the ones that emerge directly from real user needs. Shortly after we published the latest CM Relay architecture overview, a community member reached out on Reddit with a very concrete question:

What if I pay 15% commission on Booking but only 3% on Airbnb? Do I have to manually recalculate prices in my local CM for every unit, or can CM Relay automatically add the difference before sending it out?community member, r/CM_Ecosystem

That short comment was enough to add the CM Relay Price Corrector to the architecture β€” a small but effective module inside the price-push data cycle.

What is the Price Corrector and how does it work?

The local Channel Manager installation remains the single source of truth for base prices and availability. But every external channel (OTA) charges a different commission. Instead of burdening the local CM with per-channel price math, that job is handled by the Price Corrector inside the CM Relay layer.

Main features (today):

1. A percentage corrector per connection β€” each mapping (unit + channel) can have its own signed percentage (e.g. Booking.com: +15%, Airbnb: +3%, direct bookings: 0%). The same unit sold on two channels can have two different correctors. 2. Real-time recalculation β€” when the local CM triggers a price change, the outbox worker sends the base price to CM Relay. Relay multiplies it by that mapping's corrector right before calling the adapter. 3. CM stays untouched β€” the locally stored price is never modified; the correction happens only on the way out, right before it's pushed to the channel.

CM Relay Price Corrector
Base price β†’ per-channel percentage β†’ outbound price
[Local CM] -> (Base price: €100)
      β”‚
      β–Ό
[CM Relay Outbox Worker]
      β”‚
      β”œβ”€β–Ί [Price Corrector] ──► Recalculated per mapping
      β”‚                          β”œβ”€ Booking (+15%) ──► €115
      β”‚                          └─ Airbnb (+3%)  ──► €103
      β–Ό
[ChannexAdapter / Providers] ──► Prices updated on external channels

Verified on a real system

This didn't stay theoretical β€” it was tested against a real Channex sandbox: a base price of €100.00 with a +12% corrector correctly landed as €112.00 on the target, while every other, unrelated price on the same property stayed untouched.

The power of open development

This addition shows that CM Relay isn't a static piece of code, but a living platform that adapts to real needs on the ground. Special thanks to the Reddit user who suggested it!