批量获取出库单状态


POST http://openapi.ck1info.com/v1/outboundOrders/{idType}
接口说明: 批量获取出库单状态,根据返回的Status属性判断订单是否创建成功
只返回存在的订单信息
Http 200 - 成功
Http 404 - packageId不存在

输入参数

URI Parameters
名称类型格式要求是否必须描述示例值
idType IdType

None.

必须

输入参数id的类型

Body Parameters
名称类型格式要求是否必须描述示例值
Ids Collection of string

None.

必须

处理号或跟踪号,每次请求不超过20个

输入参数的json形式
{
  "Ids": [
    "sample string 1",
    "sample string 2"
  ]
}

返回结果

名称类型格式要求是否必须描述示例值
PackageId string

None.

出库包裹ID

MN006T0005

Ck1PackageId string

None.

CK1处理号

MN20160808TST0001

Status CreateStatus

None.

状态

Creating

HandleStatus OutboundOrderStatus

None.

处理状态

Submitted

UnShippedReason UnShippedReason

None.

未发货原因

TrackingNumber string

None.

跟踪号

ac7cdd60d5e24

IsFinalTrackingNumber boolean

None.

是否是最终跟踪号

true

InternalNumber string

None.

内部单号(在拣配仓下出库单,这个字段才有值)

CUE210413STXZ1000002

ShippingProvider string

None.

承运商

DHL

ShippingCosts Collection of ShippingCost

None.

费用列表

Weight decimal number

None.

包裹重量(g)

600

HasRemoteFee boolean

None.

是否有偏远地区费用

false

Ck1OrderShipOuted date

None.

发货时间

2015/10/28 17:25:00

返回结果的json形式
[
  {
    "PackageId": "sample string 1",
    "Ck1PackageId": "sample string 2",
    "Status": "Creating",
    "HandleStatus": "Delete",
    "RetryCount": 3,
    "UnShippedReason": {
      "ReasonCode": "sample string 1",
      "ReasonText": "sample string 2",
      "ExtendMessage": "sample string 3"
    },
    "TrackingNumber": "sample string 4",
    "IsFinalTrackingNumber": true,
    "InternalNumber": "sample string 5",
    "ShippingProvider": "sample string 6",
    "ShippingCosts": [
      {
        "Money": 1,
        "Currency": "sample string 2",
        "Type": "None",
        "Remark": "sample string 3"
      },
      {
        "Money": 1,
        "Currency": "sample string 2",
        "Type": "None",
        "Remark": "sample string 3"
      }
    ],
    "Weight": 7.1,
    "HasRemoteFee": true,
    "Ck1OrderShipOuted": "2024-11-14T06:13:30.036+08:00"
  },
  {
    "PackageId": "sample string 1",
    "Ck1PackageId": "sample string 2",
    "Status": "Creating",
    "HandleStatus": "Delete",
    "RetryCount": 3,
    "UnShippedReason": {
      "ReasonCode": "sample string 1",
      "ReasonText": "sample string 2",
      "ExtendMessage": "sample string 3"
    },
    "TrackingNumber": "sample string 4",
    "IsFinalTrackingNumber": true,
    "InternalNumber": "sample string 5",
    "ShippingProvider": "sample string 6",
    "ShippingCosts": [
      {
        "Money": 1,
        "Currency": "sample string 2",
        "Type": "None",
        "Remark": "sample string 3"
      },
      {
        "Money": 1,
        "Currency": "sample string 2",
        "Type": "None",
        "Remark": "sample string 3"
      }
    ],
    "Weight": 7.1,
    "HasRemoteFee": true,
    "Ck1OrderShipOuted": "2024-11-14T06:13:30.036+08:00"
  }
]