Best Practices Guide

Authentication

Channex.io use long-live token without count of use limits. As result, you can use one token to send many requests. Keep in mind, Sign In API method is slow and take about 300ms, but other methods is fast (from 10ms), as result, try to use Sign In method rarely.

Best Practices

Use cache to store Access Token. Request Access Token one time per day, or after Authentication error, as fallback. Re-use Access Token.

Restriction and Availability Updates

Channex.io process incoming ARI message by FIFO principle. Messages are processed sequentially. Do not send big updates as independent messages, this operation will take much more time, then one batch update. Combine messages together and send it as batch to Channex.io. Keep in mind, batch should be less then 10mb. Channex.io not have any limits to count of changes in one message.

If you like to update prices for 1 rate plan for 100 days, you should send one message with 100 changes instead 100 messages with 1 change per message.

Best Practices

Combine updates together and send it as single message instead batch of independent messages.

Track Updates

If you are like to track changes at Property ARI, please, use our Subscription API for that.

This mechanic provide ability to you decrease count of requests and be notified about any changes immediately after moment when it is happened.

Best Practices

Don't use Long Polling logic to track changes at Property ARI. Instead that, use our Subscription API.