tarunisrani / Swiggy-Hackathrone

0 stars 0 forks source link

API 3 #4

Open tarunisrani opened 7 years ago

tarunisrani commented 7 years ago

Save the order details in server. Also update the order Input (order_id, restaurant_id, item_id, quant) Output success/fail

nishantbhb commented 7 years ago

path: /saveorder

Input: @RequestBody OrderDetails order

Body: { "orderId":"6485963", "restId": "70793708", "oi": [{ "itemId": "92827444", "qty": "1" }, { "itemId": "92826964", "qty": "5" } ]

}

Output:

{ status: "Success" }