Quickstart
Get a quick-commerce delivery order live on staging in a few minutes. You'll need your client credentials and store unique_code mapping from your Shadowfax integration POC.
Environments
| Environment | Base URL |
|---|---|
| Staging | https://dale.staging.shadowfax.in |
| Production | https://dale.shadowfax.in |
All examples below use the staging base URL.
1. Generate a Token
Quick Commerce uses OAuth2 client-credentials — see Authentication for the full token request and response. Save the access_token from the response; tokens expire after 3600 seconds and must be refreshed before expiry.
2. Create an Order
All fields inside eta_details are optional.
Code
Save the awb_number from the response — it identifies the shipment in all subsequent calls. See Create Order for the full payload including return, product, and seller details.
3. Mark Ready for Pickup
Code
4. Set Up Webhooks
Two separate pushes are delivered to your registered webhook URL while an order is active: order-status changes (created, out for delivery, arrived, etc.) and rider GPS location. Share your webhook URL and expected auth headers with your Shadowfax integration POC.
See Order Status Callbacks and Live Order Location for the payload schemas.
Next Steps
- Create Order — full payload and
eta_detailsfield reference - Edit / Update Order — OTPs, pickup racks, product updates
- Cancel Order — cancellation window and payload
- API Reference — interactive endpoint documentation