Update
Update Order
PUT
/api/orders/{orderId}
Access Permissions
Role
Description
ADMIN
어드민
MANAGER
관리자
SELLER
판매자
CUSTOMER
구매자
Request Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Request Body
Name
Type
Description
state
String
주문 상태
address
String
배송지
memo
String
요청사항
Response
{
"status": 200,
"data": {
"addressId": 101,
"orderId": 98765,
"userId": 12345,
"state": "주문완료",
"address": {
"addressId": 1,
"zip": "12354",
"address": "서울시 서초구 서초대로1",
"addressDetail": "123호",
"recipientName": "홍길동",
"phoneNumber": "010-1234-5678"
},
"orderItems": [
{
"productId": 67890,
"quantity": 2,
"originalPrice": 30000,
"discountedPrice": 19900,
"productName": "계산기",
"productOption": "분홍/ L",
"categoryCode": 110124,
"companyId": "주피터"
},
{
"productId": 12345,
"quantity": 30,
"originalPrice": 3000,
"discountedPrice": 1500,
"productName": "영양간식 맛밤",
"productOption": "80g",
"categoryCode": 132316,
"companyId": "가을청과"
}
],
"deliveryPrice": 2500,
"payment_method": "CREDIT_CARD",
"memo": "부재 시 문 앞에 놔주세요."
"createdDate": "2024-09-27 12:00:00"
},
"error": null,
"timeStamp": "2024-09-27 12:00:00"
}
Last updated