E-commerce shipping rates
Calculate shipping cost by distance at checkout
Charge local delivery fees that reflect how far your driver actually travels — computed in the checkout request, with pricing you can predict.
The problem
- Flat fees lose money on far orders and lose customers on near ones.
- ZIP-code tables are coarse and costly to maintain.
- Checkout latency directly hurts conversion.
How teams solve it with Wayline
Distance at checkout
One call from your store to the customer’s location.
Distance APIMulti-store pricing
1 × N matrix to quote from the nearest store.
Distance Matrix APIKeep your Google code
Switch existing Distance Matrix integrations quickly.
Google-compatible Distance Matrix API
A typical workflow
- 1
Geocode the shipping address once and cache the coordinates.
- 2
Request distance from the fulfilling store and apply your fee table (base + per-mile).
- 3
Cache results per store/address pair to avoid repeat charges for the same quote.
Frequently asked questions
Do you integrate with Shopify or WooCommerce?
Not with a packaged plugin yet. You can call the API from your store’s backend or a serverless function; our serverless guide shows how.
Start building in minutes
Create an account, grab a test key and make your first request in under five minutes.