Search

주문 생성

구분
주문
Postman
URL
/v1/orders
method
POST
request
{ "orderSaveReqs" : [ { "menuId" : 1, "amount" : 3 }, { "menuId" : 2, "amount" : 4 } ] }
response
{ "code": 0, "message": "정상 처리 되었습니다", "data": { "orderId": 1, "username": "창선님하이", "totalPrice": 29000, "orderSaveReses": [ { "menuName": "짜장", "amount": 3, "price": 9000 }, { "menuName": "짬뽕", "amount": 4, "price": 20000 } ] } }
권한
USER