提交申报信息


POST https://openapi.chukou1.cn:81/v1/directExpressOrders/declare
接口说明: 提交申报信息
Http 200 - 成功
Http 400 - 提交的数据有误,请检查

输入参数

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

满足正则: ^[a-zA-Z0-9\-_]*$

长度: 0 ~ 50

必须

包裹Id(第三方系统自定义Id,客户+包裹Id 具有唯一性)

SMT23015236489

TrackingNumber string

None.

尾程服务商跟踪号

Weight decimal number

None.

必须

重量(g) [取值是向上取整的]

600

Length decimal number

浮点数格式: 8,2

长(cm)

25

Width decimal number

浮点数格式: 8,2

宽(cm)

10

Height decimal number

浮点数格式: 8,2

高(cm)

20

Skus Collection of SkuObject

None.

必须

SKU列表

VatCode string

None.

Vat税号或者IOSS号码

vatcode

ShipToAddress ShipToAddress

None.

必须

收货地址,联系人

Sender AddressWithContact

None.

发件人信息

输入参数的json形式
{
  "PackageId": "sample string 1",
  "TrackingNumber": "sample string 2",
  "Weight": 3,
  "Length": 4,
  "Width": 5,
  "Height": 6,
  "Skus": [
    {
      "Sku": "sample string 1",
      "Quantity": 2,
      "Weight": 3,
      "DeclareValue": 4,
      "NewDeclareValue": {
        "Value": 1,
        "Currency": "sample string 2"
      },
      "ExportsDeclareValue": {
        "Value": 1,
        "Currency": "sample string 2"
      },
      "DeclareNameEn": "sample string 5",
      "DeclareNameCn": "sample string 6",
      "ProductName": "sample string 7",
      "Price": 8,
      "HsCode": "sample string 9",
      "SaleURL": "sample string 10"
    },
    {
      "Sku": "sample string 1",
      "Quantity": 2,
      "Weight": 3,
      "DeclareValue": 4,
      "NewDeclareValue": {
        "Value": 1,
        "Currency": "sample string 2"
      },
      "ExportsDeclareValue": {
        "Value": 1,
        "Currency": "sample string 2"
      },
      "DeclareNameEn": "sample string 5",
      "DeclareNameCn": "sample string 6",
      "ProductName": "sample string 7",
      "Price": 8,
      "HsCode": "sample string 9",
      "SaleURL": "sample string 10"
    }
  ],
  "VatCode": "sample string 7",
  "ShipToAddress": {
    "TaxId": "sample string 1",
    "HouseNumber": "sample string 2",
    "Contact": "sample string 3",
    "Phone": "sample string 4",
    "Email": "sample string 5",
    "Country": "sample string 6",
    "Province": "sample string 7",
    "City": "sample string 8",
    "Street1": "sample string 9",
    "Street2": "sample string 10",
    "Postcode": "sample string 11"
  },
  "Sender": {
    "Contact": "sample string 1",
    "Phone": "sample string 2",
    "Email": "sample string 3",
    "Country": "sample string 4",
    "Province": "sample string 5",
    "City": "sample string 6",
    "Street1": "sample string 7",
    "Street2": "sample string 8",
    "Postcode": "sample string 9"
  }
}

返回结果

None.