1.基本信息

order_shipment一件代发订单发货成功后,需要回推发货成功的订单信息及物流信息给到第三方OMS平台。

2.参数信息

名称 名称 类型 说明
platform integer 平台
event_type string 状态
timestamp string 时间
data object[] 订单信息
order_id string 订单id
order_number string 订单号
status string 状态
carrier_code string 物流编码
tracking_number string 物流单号
complete_ship_time string 发货完成时间
order_unique_code string uniqueCode数据
sku string 发货sku
qty string 对应sku发货数量
uniqueCode object 发货商品的唯一SN编码 ,可以是一串uniqueCode

3.推送示例

POST /example/uri HTTP/1.1
Host: www.example.com
Content-Type: application/json
Content-Length: 1238

  1. {
  2. "platform": "Mabang",
  3. "event_type": "order_shipment",
  4. "timestamp": "1722842715",
  5. "data": {
  6. "order_id": "123456789",
  7. "order_number": "xxxx2fff",
  8. "status": "handovered",
  9. "carrier_code": "FDX",
  10. "tracking_number": "9123456789",
  11. "complete_ship_time": "1722842715",
  12. "trackinglabel_url":"",
  13. "confirm_time":"2025-06-10 10:10:00",
  14. "order_unique_code": [{
  15. "sku": "-ALB-908",
  16. "qty": "1",
  17. "uniqueCode": ["854777721"]
  18. }]
  19. }
  20. }

4.响应

  1. {
  2. "code":200
  3. }

4.订单状态枚举

第三方 中文翻译
drafted 已付款
stock_allocated 发货中
handovered 已完成
cancelled 已NO(取消)
hold 暂停发货
shortage 缺货