API
退货订单状态变更事件
更新时间: 2023-09-15 15:09:33 访问次数:337

事件名称:EVENT_OMS_RMA_STATUS_CHANGE
事件说明:退货订单状态变更时,触发事件。订单状态有:已下单、已抓单、已揽收、已收件、待处理、已完成、已销毁、已取消

字段说明

请求

名称 类型 必填 字段 说明
uuid String(30) Y 记录唯一ID
orderNo String Y WINIT退货订单号
sellerOrderNo String N 卖家退货订单号 下单时填写的客户订单号
outboundOrderNo String Y WINIT出库订单号
destroyOutboundOrderNo String Y 销毁出库单号
rmaNo String Y RMA号
status String Y 状态
OD:已下单
LC:已抓单
PC:已揽收
RE:已收件
WP:待处理
OC:已完成
DT:已销毁
CD:已取消
statusTime DateTime Y 状态时间(时间戳) 时间戳
isReturnLabel String Y 是否ReturnLabel订单
Y-是,N-否
expressNo String Y 退货运单号
仓库扫描的实际跟踪号
customerExpressNo String Y 客户退货运单号
当非returnLabel退货时,表示客户下单时录入的跟踪号。
当returnLabel退货时,表示系统生成的跟踪号。
returnReason String Y 退货原因
DF:派送失败
BR:客户退货
warehouseCode String Y 退货仓库
estimateSkuList String Y 下单商品明细
–|merchandiseSerno String Y 商品条码
–|merchandiseCode String Y 商品编码
–|specification String Y 规格
–|skuCodeThird String N 第三方编码
–|merchandiseGrade String Y 商品等级
GOOD:良品
DEFECTIVE:不良品
–|originalMerchandiseCode String N 原商品编码
–|ownerCode String Y 货主编码
–|managementType String Y 商品管理方式
SI:单品管理
SKU:商品管理
–|handleMethod String Y 处理方式
SA:直接上架
NS:新品拍照上架
DE:销毁

–|quantity Integer Y 数量
–|length BigDecimal Y 长(CM)
–|width BigDecimal Y 宽(CM)
–|height BigDecimal Y 高(CM)
–|volume BigDecimal Y 体积(CBM)
–|weight BigDecimal Y 重量(KG)
–|itemList Array N 单品条码集合
–|–|itemSerno String N 单品条码
actualSkuList String Y 实际上架商品明细
–|merchandiseSerno String Y 商品条码
–|merchandiseCode String Y 商品编码
–|specification String Y 规格
–|skuCodeThird String N 第三方编码
–|merchandiseGrade String Y 商品等级(良品/不良品)
GOOD:良品
DEFECTIVE:不良品
–|originalMerchandiseCode String N 原商品编码
–|ownerCode String Y 货主编码
–|managementType String Y 商品管理方式
SI:单品管理
SK:商品管理
–|handleMethod String Y 处理方式
SA:直接上架
NS:新品拍照上架
GOOD_SA:良品上架
DEFECTIVE_SA:不良品上架
DE:销毁
–|quantity Integer Y 数量
–|length BigDecimal Y 长(CM)
–|width BigDecimal Y 宽(CM)
–|height BigDecimal Y 高(CM)
–|volume BigDecimal Y 体积(CBM)
–|weight BigDecimal Y 重量(KG)
–|itemList Array N 单品条码集合
–|–|itemSerno String N 单品条码

返回

注:返回success即可,无需加引号逗号等其他信息

名称 类型 字段 说明
success String(7) 接收成功 消息接收成功
fail String(4) 接收失败 消息接收失败

示例

解密后报文示例

  1. [
  2. {
  3. "uuid": "bd5b028b-369d-494f-bf73-58514ca80a08",
  4. "orderNo": "W010001",
  5. "status": "OC",
  6. "statusTime": 1660118978433,
  7. "warehouseCode": "US0001",
  8. "isReturnLabel": "Y",
  9. "expressNo": "1112121",
  10. "customerExpressNo": "1121212",
  11. "rmaNo": "12121212",
  12. "outboundOrderNo": "WO001010",
  13. "destroyOutboundOrderNo": "WO001010",
  14. "returnReason": "DF",
  15. "estimateSkuList": [
  16. {
  17. "merchandiseSerno": "M0001",
  18. "merchandiseCode": "auto0001",
  19. "merchandiseGrade": "GOOD",
  20. "originalMerchandiseCode": "auto0002",
  21. "ownerCode": "99991",
  22. "managementType": "SI",
  23. "handleMethod": "SA",
  24. "quantity": "1",
  25. "length": "10",
  26. "width": "7",
  27. "height": "6",
  28. "volume": "0.06",
  29. "weight": "0.5",
  30. "itemList": [
  31. {
  32. "itemSerno": "S0001001"
  33. }
  34. ]
  35. }
  36. ],
  37. "actualSkuList": [
  38. {
  39. "merchandiseSerno": "M0001",
  40. "merchandiseCode": "auto0001",
  41. "merchandiseGrade": "GOOD",
  42. "originalMerchandiseCode": "auto0002",
  43. "ownerCode": "99991",
  44. "managementType": "SI",
  45. "handleMethod": "SA",
  46. "quantity": "1",
  47. "length": "10",
  48. "width": "7",
  49. "height": "6",
  50. "volume": "0.06",
  51. "weight": "0.5",
  52. "itemList": [
  53. {
  54. "itemSerno": "S0001001"
  55. }
  56. ]
  57. }
  58. ]
  59. }
  60. ]

开发者返回的示例

  1. success

#

关键词