Order Change
기주문의 배송지 및 배송일 변경 정보를 Vendor로 전송하는 API 입니다.
- API 호출 방향 : Coupang -> Vendor
- URL : /v1/3pfl/order/shippingAddress
- 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 | 쿠팡 내부 관리용 주문번호 |
| changedRecipientInfo | Root | Array | |||
| recipientCustomerName | changedRecipientInfo | String | 255 | Y | |
| zipcode | changedRecipientInfo | String | 6 | Y | |
| shippingAddr1 | changedRecipientInfo | String | 255 | Y | |
| shippingAddr2 | changedRecipientInfo | String | 255 | Y | |
| recipientPhoneNumber | changedRecipientInfo | String | 20 | Y | |
| orderCustomerPhoneNumber | changedRecipientInfo | String | 20 | Y | |
| shipmentNote | Root | String | 255 | Y | 배송 시 요구 사항 |
| targetVendorItem | Root | Array | Y | ||
| vendorItemId | targetVendorItem | String | 20 | Y | 쿠팡에서 생성하는 벤더아이템 번호 |
| promiseDeliveryDate | targetVendorItem | String | N | 배송예정일 |
Request Example
{
"orderId": "9900000001",
"changedRecipientInfo":
{
"recipientCustomerName": "김철수",
"zipcode": "10101",
"shippingAddr1": "새로운 수취인 주소",
"shippingAddr2": "새로운 수취인 상세 주소",
"recipientPhoneNumber": "010-1111-2222",
"orderCustomerPhoneNumber": null
},
"shipmentNote": null,
"targetVendorItem": [
{
"vendorItemId": "88000001",
"promiseDeliveryDate": "2019-12-09 23:59:59"
}
]
}
Response
| Property Name | Data Type | Size | Mandatory | Description |
| errorCode | String | 20 | N |
결과값
|
| errorReason | String | 100 | N | 에러 사유 |
Response Example
{
"errorCode": "N",
"errorReason": null
}
유의사항
- 배송지가 변경되는 경우 PDD가 변경될 수 있습니다. (우편번호가 바뀌면 휴일이 바뀌기 때문에), 이러한 경우에는 업체에서 배송/회수 트래킹 API를 이용해 변경된 PDD를 전송해줘야 합니다.