Add checkout EDD to your storefront
Last reviewed on by DeltaVelocity team
What checkout EDD does
Showing an accurate EDD on product and checkout pages builds buyer confidence before payment. Read how checkout EDD improves D2C conversion to see how brands use delivery promises across storefronts.
Call the EDD endpoint
Send a GET request with your Shopify store domain and the shopper's 6-digit Indian pincode:
GET https://api-prod.deltavelocity.in/edd?shop=your-store.myshopify.com&zip=560001
You can also pass province_code, province or state (for example KA or Karnataka). DeltaVelocity checks that the state matches the pincode so typos surface early.
How DeltaVelocity calculates the date
For every valid request, DeltaVelocity computes the fastest serviceable estimate across your setup:
- Looks up your brand from the connected Shopify store.
- Loads your active pickup warehouses (or synced Shopify locations if you have not configured warehouses yet).
- Checks every active courier on your brand for those pickup-to-delivery pincode pairs.
- Resolves lane TAT from pincode mapping, then zone SLAs, then exact brand lane SLAs.
- Falls back to serviceable pincodes in the same city and state if the exact pincode has no lane data.
- Applies the 11:00 AM IST daily pickup cutoff and picks the fastest lane.
A serviceable response returns serviceable: true, min_days, max_days, delivery_by, display-ready title and description strings, and an expires_at timestamp.
Handle unserviceable pincodes cleanly
When serviceable returns false, DeltaVelocity includes a structured reason along with customer-safe title and description text:
| Reason | Meaning | Storefront action |
|---|---|---|
invalid_drop_pincode |
Input is not a 6-digit Indian pincode. | Prompt the shopper to enter a valid 6-digit pincode. |
state_pincode_mismatch |
The selected state does not match that pincode. | Ask the shopper to recheck their state or pincode. |
no_serviceable_tat |
No active courier serves that pincode. | Show that delivery is unavailable for that pincode. |
pickup_warehouse_unavailable |
Your brand has no active warehouse with a pincode. | Add a warehouse pincode in DeltaVelocity settings. |
shop_not_connected |
The Shopify store is not connected. | Reconnect Shopify in Settings, Integration. |
Set a short client timeout on storefront calls. If the network request times out, fall back to a neutral shipping message instead of blocking checkout.
Related
Ship with DeltaVelocity
Connect your store, compare couriers and track COD remittance from one dashboard.