Orders
you can place your order and track order detail and driver live location when your order is on road
Create Order
you can place order with all required parameter , there is two address required first is your primary location and second is your delivery location (customer address and location) , customer location is currect or perfect for fast and issue less delivery
CURL : https://test.eltapp.in/v1/orders/create
KEY | VALUE | DESCRIPTION |
---|---|---|
apikey | string | *Required you can get your API_KEY from auth login api |
primary_address_id | Intenger | *Required You can add get primary_address_id from get address api |
delivery_latitude | float | *Required You can select from google map Example : 22.714564 |
delivery_longitude | float | *Required You can select from google map Example : 22.714564 |
delivery_name | string | *Required customer name or receiver person name |
delivery_contact | number | *Required customer contact number or receiver person contact number |
delivery_address | string | *Required Delivery Address With House No or Block No. |
delivery_city | RAJKOT | *Required Rajkot is default city |
order_amount | float | *Required set 0 for online order form your side and set 1 to 10,000 for COD orders |
order_id | String | *Required unique order id or invoice id or order label for identify your order to ELT Driver or your account perpose |
no_of_parcle | Integer | *Required Minimum 1 |
coupon_code | string | *Required if you don't have couponcode you can put NULL |
Get Order
you can get order detail by orderid
that you can get when order success or you can save yourself when order api response
CURL :https://test.eltapp.in/v1/orderdetails/getorderdetail
KEY | VALUE | DESCRIPTION |
---|---|---|
apikey | string | *Required you can get your API_KEY from auth login api |
orderid | Integer | *Required |
Track Driver
you can track driver in between driver allocate to order delivery, in response you can get driver detail and live location , driver location will update every 30 seconds
CURL :https://test.eltapp.in/v1/orderdetails/track
KEY | VALUE | DESCRIPTION |
---|---|---|
apikey | string | *Required you can get your API_KEY from auth login api |
orderid | Integer | *Required |