平台订单回调


POST https://openapi.chukou1.cn/v1/outboundOrders/PlatformOrder/Callback
接口说明: 平台订单回调接口,用于接收WMS出库信息并推送至对应平台
Http 200 - 成功
Http 400 - 参数错误

输入参数

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

长度: 0 ~ 50

客户代码(内部参数,不显示在API文档)

WarehouseCode string

长度: 0 ~ 50

必须

出口易仓库代码

US

PlatformCode string

长度: 0 ~ 50

必须

平台代码:TikTok, Temu, eBay

TikTok

ShippingMode integer

None.

必须

尾程模式 0.仓配一体,1.仓配分离(Temu 平台面单)

0

ParcelId string

长度: 0 ~ 100

必须

服务商订单号

PO123456789

PackagId string

长度: 0 ~ 100

TTS的包裹 packageID

OrderId string

长度: 0 ~ 100

TTS的 orderid字段

CreateTime string

None.

必须

WMS接单时间 yyyy-MM-dd HH:mm:ss

2024-01-01 12:00:00

PickupTime string

None.

必须

WMS拣货时间 yyyy-MM-dd HH:mm:ss

2024-01-01 12:30:00

Country string

长度: 0 ~ 10

必须

发货仓所在国家(二字码)

US

City string

长度: 0 ~ 100

发货仓所在城市

TimeZone integer

None.

必须

时区,例如:0, 8, -5

8

ShippedTime string

None.

必须

出库时间 yyyy-MM-dd HH:mm:ss

2024-01-01 13:00:00

HandOverTime string

None.

必须

交接时间 yyyy-MM-dd HH:mm:ss

2024-01-01 14:00:00

ShippingProviderId string

长度: 0 ~ 100

必须

配送服务商ID(TikTok必填)

ShippingProviderName string

长度: 0 ~ 200

配送服务商(如果有传,需要匹配对应平台的服务商名称)(eBay必填)

ShippingProviderProduct string

长度: 0 ~ 200

配送服务商的物流服务(eBay平台必填)

TrackingNumber string

长度: 0 ~ 100

必须

运单号

YT4567890123CN

ShippingFee string

长度: 0 ~ 50

运费(eBay平台必填)保留两位小数的字符串

Currency string

长度: 0 ~ 10

币种(eBay平台必填)

Length integer

None.

包裹⻓度(cm)(eBay平台必填)

Width integer

None.

包裹宽度(cm)(eBay平台必填)

Height integer

None.

包裹⾼度(cm)(eBay平台必填)

Weight integer

None.

包裹重量(g)(eBay平台必填)

SkuList Collection of PlatformOrderCallbackSku

None.

SKU列表

输入参数的json形式
{
  "ClientCode": "sample string 1",
  "WarehouseCode": "sample string 2",
  "PlatformCode": "sample string 3",
  "ShippingMode": 4,
  "ParcelId": "sample string 5",
  "PackagId": "sample string 6",
  "OrderId": "sample string 7",
  "CreateTime": "sample string 8",
  "PickupTime": "sample string 9",
  "Country": "sample string 10",
  "City": "sample string 11",
  "TimeZone": 12,
  "ShippedTime": "sample string 13",
  "HandOverTime": "sample string 14",
  "ShippingProviderId": "sample string 15",
  "ShippingProviderName": "sample string 16",
  "ShippingProviderProduct": "sample string 17",
  "TrackingNumber": "sample string 18",
  "ShippingFee": "sample string 19",
  "Currency": "sample string 20",
  "Length": 1,
  "Width": 1,
  "Height": 1,
  "Weight": 1,
  "SkuList": [
    {
      "SkuId": "sample string 1",
      "PlatformTransactionId": "sample string 2",
      "SkuCode": "sample string 3",
      "SkuProdName": "sample string 4",
      "Quantity": 5,
      "SkuInvQty": 1,
      "Length": 1,
      "Width": 1,
      "Height": 1,
      "Weight": 1
    },
    {
      "SkuId": "sample string 1",
      "PlatformTransactionId": "sample string 2",
      "SkuCode": "sample string 3",
      "SkuProdName": "sample string 4",
      "Quantity": 5,
      "SkuInvQty": 1,
      "Length": 1,
      "Width": 1,
      "Height": 1,
      "Weight": 1
    }
  ]
}

返回结果

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

None.

是否推送成功

Message string

None.

错误信息

RawResponse string

None.

平台响应内容

返回结果的json形式
{
  "Success": true,
  "Message": "sample string 2",
  "RawResponse": "sample string 3"
}