GET QUOTE

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)

  1. Create a workflow file in your repository
  2. Schedule it to run daily at your preferred time
  3. Use the API endpoints below to trigger syncs

Option 2: External Cron Service

  1. Use services like cron-job.org or EasyCron
  2. Schedule HTTP requests to your sync URLs
  3. 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