Open tarunisrani opened 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" }
Save the order details in server. Also update the order Input (order_id, restaurant_id, item_id, quant) Output success/fail