Quickstart
Get a store-based delivery order live on staging in under 10 minutes. Stores must be pre-registered with Shadowfax — you'll receive a unique store_code for each outlet.
If pickup locations are not fixed, use the Marketplace integration instead.
Authentication
Shadowfax uses Token Authentication. Staging and production API keys are shared by the Shadowfax team via automated email.
Code
Environments
| Environment | Base URL | Purpose |
|---|---|---|
| Staging | https://hlbackend.staging.shadowfax.in | Integration testing, development |
| Production | https://api.shadowfax.in | Live operations |
All examples below use the staging base URL.
1. Check Serviceability
Verify that Shadowfax can serve the order from your store. Drop coordinates are optional — if omitted, delivery cost is not calculated.
Code
See Serviceability for field details.
2. Place an Order
Code
Save the sfx_order_id from the response.
3. Get Order Status
Code
4. Set Up Callbacks
Share your callback URL with the Shadowfax team for production. In staging, use the Sandbox Testing APIs to simulate status transitions.
See Callbacks for payload formats.
Next Steps
- Order Lifecycle — understand order states
- Onboarding — staging to production checklist
- API Reference — full endpoint documentation