计算海外仓出库包裹的可用服务列表及所需运费


POST http://openapi.ck1info.com/v1/pricing/all/outbound/package
接口说明: 计算海外仓出库包裹的可用服务列表及所需运费

输入参数

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

None.

发货服务代码

USRPP

Weight decimal number

范围: 0.01 ~ 1000000

必须

重量(g)

Length decimal number

范围: 0.01 ~ 1000000

必须

长(cm)

Width decimal number

范围: 0.01 ~ 1000000

必须

宽(cm)

Height decimal number

范围: 0.01 ~ 1000000

必须

高(cm)

WarehouseId string

满足正则: ^[a-zA-Z0-9\-_]{1,10}$

长度: 0 ~ 10

必须

仓库代号

US

Country string

长度: 0 ~ 100

必须

发往国家(支持标准二字简称)

United States

Postcode string

长度: 0 ~ 50

发往地区邮编(当地派送必须)

83301

Address string

长度: 0 ~ 200

收件人详细地址

172 Meadowview lane

City string

长度: 0 ~ 100

发往地区城市

Idaho

Province string

长度: 0 ~ 100

发往地区省/州

Twin Falls

IncludeUnsuccessful boolean

None.

包含计费失败的结果默认不包含

输入参数的json形式
{
  "ServiceCode": [
    "sample string 1",
    "sample string 2"
  ],
  "Weight": 1,
  "Length": 2,
  "Width": 3,
  "Height": 4,
  "WarehouseId": "sample string 5",
  "Country": "sample string 6",
  "Postcode": "sample string 7",
  "Address": "sample string 8",
  "City": "sample string 9",
  "Province": "sample string 10",
  "IncludeUnsuccessful": true
}

返回结果

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

None.

服务代码

USRPP

ServiceName string

None.

服务名称

美国本地快捷签收派送

Success boolean

None.

是否计费成功

true

Message string

None.

计费信息(不成功原因)

ChargeInfo ChargeInfo

None.

费用信息

TotalCharge ChargeSummary

None.

总费用

LogisticsTimes LogisticsTime

None.

派送时效(小时)

返回结果的json形式
{
  "ServiceCode": "sample string 1",
  "ServiceName": "sample string 2",
  "Success": true,
  "Message": "sample string 4",
  "ChargeInfo": {
    "Summary": [
      {
        "Currency": "sample string 1",
        "Amount": 2
      },
      {
        "Currency": "sample string 1",
        "Amount": 2
      }
    ],
    "Detail": [
      {
        "Currency": "sample string 1",
        "Amount": 2,
        "ChargeName": "sample string 3",
        "Remark": "sample string 4"
      },
      {
        "Currency": "sample string 1",
        "Amount": 2,
        "ChargeName": "sample string 3",
        "Remark": "sample string 4"
      }
    ]
  },
  "TotalCharge": {
    "Currency": "sample string 1",
    "Amount": 2
  },
  "LogisticsTimes": {
    "Min": 1,
    "Max": 2
  }
}