POST
/
open-api
/
v1
/
orders
curl --request POST \
  --url https://auth-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

Authorization
string
header
required

발급받은 시크릿 키

Body

application/json
data
object[]
required

주문 정보 리스트

주문 정보 리스트

Response

200 - */*
OK
isSuccess
boolean
required

성공 유무 주문 등록이 성공하면 true가 반환되며, 성공한 주문 정보는 orderSuccesses 필드에 포함됩니다. 주문 등록이 실패하면 false가 반환되며, orderSuccesses 필드는 비어있습니다.

실패 사유를 확인하고 싶다면, 별도로 제공되는 주문 유효성 검사 API를 통해 자세한 정보를 확인할 수 있습니다.

orderSuccesses
object[]
required

성공 항목

성공 항목