Data Sync
Automated CourierMate data synchronization
Automated Sync Setup
To enable automated daily syncs, set up a scheduled task using one of these methods:
Option 1: GitHub Actions (Recommended)
- Create a workflow file in your repository
- Schedule it to run daily at your preferred time
- Use the API endpoints below to trigger syncs
Option 2: External Cron Service
- Use services like cron-job.org or EasyCron
- Schedule HTTP requests to your sync URLs
- Monitor execution logs
Towns Master Sync
Expected columns:
town_name, area_code, province, city_name, is_remote, zone, on_request, lat, lng
Rate Lanes Sync
Expected columns:
service, origin_area, destination_area, from_kgs, to_kgs, first_kgs_included, base_fee, per_kg_rate, fuel_pct, fuel_min
⚠️ This will replace all existing rate lanes
Sync History
No sync history yet