Shipping
Overview
The Shipping feature handles delivery logistics for Siyahfy stores. Vendors can configure shipping zones and rates, set up Cash on Delivery (COD) controls, and integrate with Delhivery — India’s leading logistics partner — for automated pickup scheduling and shipment tracking. The system calculates shipping charges dynamically based on weight, destination, and vendor-defined rate tables.
How It Works
Shipping Rate Calculation
When a customer enters their shipping address at checkout, the system:
- Looks up the vendor’s shipping rate configuration.
- Matches the destination to a shipping zone.
- Calculates the rate based on weight, price thresholds, or flat-rate rules.
- Returns available shipping options with costs.
COD (Cash on Delivery) Controls
Vendors can configure COD availability with fine-grained controls:
- Enable/disable COD globally for the store
- Set minimum and maximum order amounts for COD
- Block COD for specific pin codes or regions
- Disable COD for specific customers (via customer management)
- Add a COD surcharge (extra fee)
Delhivery Integration
Siyahfy integrates with Delhivery for:
- Pickup address management — Register and manage warehouse/pickup locations
- Shipment creation — Automatically create shipments when orders are fulfilled
- Rate estimation — Get real-time shipping cost estimates from Delhivery
- Tracking — Track shipment status via Delhivery’s tracking API
Key API Endpoints
Shipping Rate Calculation
COD Settings
Delhivery Integration
Address Suggestions
Database Tables
| Table | Purpose |
|---|---|
shipping_zones | Shipping zone definitions with rate rules per region |
shipping_rates | Rate tables linked to zones (flat, weight-based, price-based) |
cod_settings | COD configuration per store — enabled, min/max, surcharge, blocked pincodes |
delhivery_addresses | Registered pickup addresses for Delhivery integration |
orders | Stores shipping address, carrier info, tracking number per order |
Related Features
- Orders — Shipping is part of the order fulfillment flow
- Payments — COD is a payment method that depends on shipping config
- Storefront — Customers see shipping rates at checkout
- Integrations — Delhivery is a key third-party integration