Order Cancel
쿠팡에서 취소된 주문 정보를 Vendor로 전송하는 API 입니다.
- API 호출 방향 : Coupang -> Vendor
- URL : /v1/3pfl/order/cancel
- Interface Style : Restful API
- HTTP Protocol : HTTPS
- Method : POST
Request Body
| Property Name | Parent Object | Data Type | Size | Mandatory | Description |
| orderId | Root | String | 20 | Y | 쿠팡 내부 관리용 주문번호 |
| cancelReason | Root | Enum | 100 | Y |
SimpleRemorse("단순변심"), ProductFailure("제품하자") DeliveryComplaint("배송불만") OtherProducts("다른제품") ETC("기타") |
| vendorItemCancelList | Root | Array | Y | 주문 취소 벤더 아이템 목록 | |
| vendorItemId | vendorItemCancelList | Long | Y | 주문 취소 벤더 아이템 id | |
| quantity | vendorItemCancelList | Long | Y | 주문 취소 벤더 아이템 수량 |
Request Example
{
"orderId": "9900000001",
"cancelReason": "OtherProducts",
"vendorItemCancelList": [
{
"vendorItemId": 88000001,
"quantity": 1
}
]
}
Response
| Property Name | Data Type | Size | Mandatory | Description |
| errorCode | String | 20 | N | 결과값
|
| errorReason | String | 100 | N | 에러 사유 |
Response Example
{
"errorCode": "0",
"errorReason": null
}