주문 API
주문 등록
주문 API
주문 등록
주문 등록 전, 먼저 주문 유효성 검사 API를 통해 주문을 등록할 수 있는지 확인 뒤 등록 API를 사용하길 권장드립니다.
POST
/
open-api
/
v1
/
orders
curl --request POST \
--url https://gw-staging.delivered.co.kr/global-ship/open-api/v1/orders \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"data": [
{
"warehouseId": 1,
"sender": {
"name": "홍길동",
"contact": "01012345678"
},
"recipient": {
"country": "US",
"name": "test kim",
"contact": "1235551234",
"email": "test@domain.co.kr",
"address": "Centum jungang-ro, Haeundae-gu",
"addressDetail": "20F, 90",
"city": "Busan",
"state": "Busan",
"zipCode": "48059",
"personalCustomsClearanceCode": "1234567890"
},
"orderInfo": {
"mallOrderNumber": "ORDER202501010001",
"carrier": "FEDEX",
"incoterms": "DAP",
"domesticShippingNumber": "65434235223",
"isExportDeclaration": true,
"exportPurpose": "SAMPLE"
},
"packageInfo": {
"width": 11.76,
"length": 11.76,
"height": 11.76,
"actualWeight": 3.26,
"quantity": 1,
"serviceType": "POD"
},
"items": [
{
"name": "test item",
"price": 10000,
"currency": "KRW",
"quantity": 1,
"actualWeight": 3.22,
"hscode": "1234567890",
"itemUrl": "https://www.delivered.co.kr/en",
"itemCode": "1234567890"
}
]
}
]
}'
{
"isSuccess": true,
"orderSuccesses": [
{
"orderId": 1,
"mallOrderNumber": "ORD202501010001"
}
]
}
Authorizations
발급받은 시크릿 키
Body
application/json
Response
200 - */*
OK
The response is of type object
.
curl --request POST \
--url https://gw-staging.delivered.co.kr/global-ship/open-api/v1/orders \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"data": [
{
"warehouseId": 1,
"sender": {
"name": "홍길동",
"contact": "01012345678"
},
"recipient": {
"country": "US",
"name": "test kim",
"contact": "1235551234",
"email": "test@domain.co.kr",
"address": "Centum jungang-ro, Haeundae-gu",
"addressDetail": "20F, 90",
"city": "Busan",
"state": "Busan",
"zipCode": "48059",
"personalCustomsClearanceCode": "1234567890"
},
"orderInfo": {
"mallOrderNumber": "ORDER202501010001",
"carrier": "FEDEX",
"incoterms": "DAP",
"domesticShippingNumber": "65434235223",
"isExportDeclaration": true,
"exportPurpose": "SAMPLE"
},
"packageInfo": {
"width": 11.76,
"length": 11.76,
"height": 11.76,
"actualWeight": 3.26,
"quantity": 1,
"serviceType": "POD"
},
"items": [
{
"name": "test item",
"price": 10000,
"currency": "KRW",
"quantity": 1,
"actualWeight": 3.22,
"hscode": "1234567890",
"itemUrl": "https://www.delivered.co.kr/en",
"itemCode": "1234567890"
}
]
}
]
}'
{
"isSuccess": true,
"orderSuccesses": [
{
"orderId": 1,
"mallOrderNumber": "ORD202501010001"
}
]
}