Many shops display a €0 or placeholder shipping fee until the customer reaches a later checkout step. This creates sticker shock at payment, increases abandonment, and generates support messages from customers who didn't expect the final cost.
Call /v1/check at postcode entry and use priceCents from the response to display the delivery fee immediately. When the postcode is out of zone, show why rather than hiding the cost. The customer sees the real price from the start.
# Server-side: check whether a postcode can be delivered to
curl -X POST https://api.deliveryzone.fi/v1/check \
-H "X-Api-Key: dz_live_..." \
-H "Content-Type: application/json" \
-d '{"destinationPostcode":"00100","basketValueCents":4500}'
# response
{
"canDeliver": true,
"zone": "Helsinki Center",
"priceCents": 590,
"reason": null
}We don’t deliver to this postcode. Please check the postcode or choose a different delivery address. Your order has not been charged.
Free plan. No credit card. Real setup help.