API
创建出库单-新
更新时间: 2024-01-03 10:38:01 访问次数:19605

接口说明

本接口可以创建出库单并提交至“确认中”状态。支持智能推荐
“确认中”的出库单无法修改,只可作废。

注:接口可选两种对接形式:
1、下单直接提交
2、下单提交为草稿,万邑联补充资料后提交
二者仅接口名不同,入参和返回参数都一致

接口名称

接口名 说明
wh.outbound.createSubmittedOrder 下单至已提交
wh.outbound.createOrder 下单至草稿

请求说明

请求内容 说明
URL https://openapi.winit.com.cn/openapi/service
接口测试 https://sandboxopenapi.winit.com.cn/openapi/service
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
接口版本version 2.0 当前版本(修改电商平台入参相关字段)
1.0 预计2023年6月停用,查看历史版本

请求入参

名称 类型 必填 说明 示例
shipperOrderNo String(40) N 卖家订单号
isRepeat String(1) Y shipperOrderNo是否允许重复
Y:允许重复
N:不允许重复
推荐填写N,可避免操作失误重复发货
warehouseCode String(40) Y 仓库编码
仓库编码,通过接口 queryWarehouse对应的warehouseCode 或者通过在页面物流代码,输入万邑通账号和token得到仓库编码
DE0001
winitProductCode String(32) Y 最后一公里派送方式编码
可通过接口queryDeliveryWay查询
OSF810556
consigneeType String() O 收货人类型,仅自提出库必填
OTHER:其他
FBA_NONVC:FBA转仓-非VC
FBA_VC:FBA转仓-VC
OTHER_TRANSFER:转第三方仓
inventoryServiceType String() N 库存类型
2B:ToB整箱出库(必须大写)
2C:ToC销售出库(必须大写)
当为空时,默认为2C销售出库
如需2B整箱出库,请联系商务开通权限,未开通不生效
storeType String(100) N 电商平台类型
eBay,Amazon,Wish,TikTok,Temu,Shopify,OTTO,AliExpess,Other
platformAccount String(128) N 电商平台账号ID
详见电商平台字段说明
US-A16Q3SBG9UE1XO
platformOrderId String(128) N 电商平台订单ID
详见电商平台字段说明
112-345-1432
receiverCountry String(50) Y 收件人国家名称
1.可填写英文全称
2.可填写ISO国家二字码
DE
receiverCity String(50) Y 收件人城市 Herten NRW
receiverState String(50) Y 收件人州名称
receiverPostcode String(50) Y 收件人邮政编码
详见收件信息-邮编格式说明
45701
receiverAddressLine1 String(100) Y 收件人街道1
根据物流渠道不同,填写的要求不相同 DHL快递柜收件人地址填写说明
817995256 Postfiliale 560
receiverAddressLine2 String(100) N 收件人街道2
根据物流渠道不同,填写的要求不相同
receiverHouseNo String(60) O 门牌号
根据物流渠道不同,门牌号需要必填
0
receiverName String(60) Y 收件人姓名
收件人姓名不可为空
huangxh
receiverPhone String(128) O 收件人电话
receiverEmail String(50) N 收件人电子邮箱
buyerCompany String(100) N 收件人公司名称
美国DGM渠道收件人公司为必填,要求为英文收件人公司(详细要求见价卡)
万邑通
receiverVATNo String(100) N 收件人VAT
receiverVATEORINo String(100) N 收件人VAT/EORI,已弃用
VATNo String(128) O 卖家VAT
卖家VAT号,需先注册进口商(万邑联-个人中心-服务设置- 出口商/进口商管理-查看-VAT信息-VAT)
1.英国发欧盟,欧盟发英国的订单,根据渠道要求是否必填
2.渠道未要求必填的订单,如为英国出库订单,可填写
iossNo String(128) N IOSS编码
salesAmount BigDecimal(6,2) N 销售金额
限制0.01-999999.99
currency String(128) N 销售金额币种
merchandiseList Object Y 商品明细list
–|merchandiseCode String(64) Y 商品编码
winit注册的商品编码(SKU)
–|specification String(64) N 规格
如果商品在winit注册时填写了规格,则为必填项 否则不传
–|quantity Integer(16) O 要发货的某个商品的单品数量。数量必须>0。
注意:
若不入参SKU类型及库存单元标准件数,则该字段必填
若入参了outboundQuantity出库箱数,则该字段不可填
–|skuType String(32) N SKU类型:
SINGLE:单一产品
SUITE:套装产品
BOX:箱产品
–|skuStandardQuantity Integer(10) N 库存单元标准件数
–|outboundQuantity Integer(10) O 出库箱数
若入参SKU类型或库存单元标准件数,则出库箱数必填
若不入参SKU类型及库存单元标准件数,则出库箱数不可填
–|thirdPartyBarcode String(128) N 第三方条码
–|packingBatchNo Sring(128) N 产品批次号
–|batchDate Sring(128) N 批次日期
–|platformTransactionId Sring(64) N 若电商平台类型选择为eBay,请填写订单在平台的transation ID;
若电商平台类型选择为TikTok,请填写订单在平台的Package ID。
详见电商平台字段说明
–|platformItemId Sring(64) N 若电商平台类型选择为eBay,请填写商品在平台的Item ID;
若电商平台类型选择为TikTok,请填写商品在平台的Product ID。
详见电商平台字段说明
–|platformSellerId String(256) N ebay的sellerID 详见电商平台订单相关字段说明 testuser_houlingzhong
–|platformBuyerId String(256) N Ebay的buyerID 详见电商平台订单相关字段说明 lilazngirl2303
–|merchandiseGrade Sring(128) N 商品等级
已弃用,请参考库存属性inventoryAttribute
GOOD:良品(必须大写)
DEFECTIVE:不良品(必须大写)
当卖家开启商品等级(良品/不良品)的时候填入。如需商品等级管理,请联系商务开通权限以及安排业务流程培训,未开通权限之前入参无效
–|ownerCode Sring(128) N 货主编码
已弃用,请参考库存属性inventoryAttribute
当卖家开启货主管理的时候填入。如需商品货主管理商品,请联系商务开通权限以及安排业务流程培训,未开通权限之前入参无效
–|–|inventoryAttribute Array N 库存属性list
–|–|tagName String() O 库存属性CODE值如下:
stockGrade:商品等级
当卖家开启商品等级(良品/不良品)的时候填入。如需商品等级管理,请联系商务开通权限,未开通权限之前入参无效)
stockOrg:库存组织
当卖家开通库存组织管理必填,未开通权限之前入参无效
stockOwner: 货主编码
–|–|tagValue String() O 当tagName为stockGrade时,入参商品等级
GOOD:良品(必须大写)
DEFECTIVE:不良品(必须大写)
当tagName为stockOrg时,入参库存组织编码
当tagName为stockOwner时,入参货主编码
pickUpSupplier String() O 提货方
PL:卖家自提
CY:第三方物流公司自提
仅在使用自提出库的物流产品时必填。若不入参请去除该字段
logisticsSupplierName String(100) O 第三方物流公司名称
当提货方(pickUpSupplier)为:CY时必填
当提货方为(pickUpSupplier):PL时去除该字段
selfPickTrackingOrBOLNo String(50) N 第三方物流公司快递单号或BOL
当提货方(pickUpSupplier)为:CY时选填
当提货方(pickUpSupplier)为:PL时去除该字段
packageMode String() N 出库加包装
packageMerchandiseCode String() N 指定包材出库商品编码
packageType String() N 包材类型
VASList Array N 增值服务list
–|serviceCode String() N 增值服务编码
可查询通过接口queryDeliveryWay查询出参中的产品渠道对应可供选择serviceCode增值服务
输入赋值详见 增值服务参数说明
OSF777778
–|VASList.attrList Array N 增值明细信息list
–|–|attrCode String() N 可查询通过接口queryDeliveryWay查询出参中的attrCode ISA
–|–|attrValue String(20) N 增值服务值 100

请求示例

  1. {
  2. "action": "wh.outbound.createSubmittedOrder",
  3. "app_key": "rebecca",
  4. "client_id": "ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
  5. "data": {
  6. "winitProductCode": "OSF810556",
  7. "warehouseCode": "DE0001",
  8. "shipperOrderNo": "testforpaketservice",
  9. "isRepeat": "Y",
  10. "inventoryServiceType": "",
  11. "storeType": "tiktok",
  12. "platformAccount": "US-A16Q3SBG9UE1XO",
  13. "platformOrderId": "112-345-1432",
  14. "VATNo": "",
  15. "iossNo": "",
  16. "buyerCompany": "万邑通 ",
  17. "receiverCountry": "DE",
  18. "receiverCity": "Herten NRW",
  19. "receiverState": "",
  20. "receiverName": "huangxh",
  21. "receiverPostcode": "45701",
  22. "receiverHouseNo": "0",
  23. "receiverAddressLine1": "817995256 Postfiliale 560",
  24. "receiverAddressLine2": "",
  25. "receiverPhone": "",
  26. "receiverEmail": "123@winit.com.cn",
  27. "salesAmount": "10000",
  28. "currency": "USD",
  29. "receiverVATEORINo": "UK1029304",
  30. "merchandiseList": [
  31. {
  32. "merchandiseCode": "auto_picking_001",
  33. "specification": "",
  34. "quantity": "1",
  35. "platformTransactionId": "t1",
  36. "platformItemId": "i1",
  37. "platformSellerId": "s1",
  38. "platformBuyerId": "b1",
  39. "ownerCode": ""
  40. }
  41. ],
  42. "pickUpSupplier": "",
  43. "logisticsSupplierName": "",
  44. "selfPickTrackingOrBOLNo": "",
  45. "VASList": [
  46. {
  47. "serviceCode": "OSF777778",
  48. "attrList": [
  49. {
  50. "attrCode": "ISA",
  51. "attrValue": "50"
  52. }
  53. ]
  54. }
  55. ]
  56. },
  57. "format": "json",
  58. "language": "zh_CN",
  59. "platform": "OWNERERP",
  60. "sign": "7E01B49A6248103BD10914A4363940BF",
  61. "sign_method": "md5",
  62. "timestamp": "2014-07-30 11:03:48",
  63. "version": "2.0",
  64. "client_sign": "CC04B2493C7BC3CFAA97DFB7F98D3CFC"
  65. }

1.标准海外仓出库

  1. {
  2. "action": "wh.outbound.createSubmittedOrder",
  3. "app_key": "rebecca",
  4. "client_id": "ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
  5. "data": {
  6. "winitProductCode": "OSF810556",
  7. "warehouseCode": "DE0001",
  8. "shipperOrderNo": "testforpaketservice",
  9. "isRepeat": "Y",
  10. "inventoryServiceType": "",
  11. "storeType": "ebay",
  12. "VATNo": "",
  13. "iossNo": "",
  14. "buyerCompany": "万邑通 ",
  15. "receiverCountry": "DE",
  16. "receiverCity": "Herten NRW",
  17. "receiverState": "",
  18. "receiverName": "huangxh",
  19. "receiverPostcode": "45701",
  20. "receiverHouseNo": "0",
  21. "receiverAddressLine1": "817995256 Postfiliale 560",
  22. "receiverAddressLine2": "",
  23. "receiverPhone": "",
  24. "receiverEmail": "123@winit.com.cn",
  25. "merchandiseList": [
  26. {
  27. "merchandiseCode": "auto_sku_005",
  28. "specification": "",
  29. "quantity": "1",
  30. "platformTransactionId": "t1",
  31. "platformItemId": "i1",
  32. "platformSellerId": "s1",
  33. "platformBuyerId": "b1"
  34. }
  35. ],
  36. "pickUpSupplier": "",
  37. "logisticsSupplierName": "",
  38. "selfPickTrackingOrBOLNo": "",
  39. "VASList": [
  40. {
  41. "serviceCode": "OSF777778",
  42. "attrList": [
  43. {
  44. "attrCode": "ISA",
  45. "attrValue": "50"
  46. }
  47. ]
  48. }
  49. ]
  50. },
  51. "format": "json",
  52. "language": "zh_CN",
  53. "platform": "OWNERERP",
  54. "sign": "8E46367BC73479683B439F49C085D6B4",
  55. "sign_method": "md5",
  56. "timestamp": "2014-07-30 11:03:48",
  57. "version": "2.0",
  58. "client_sign": "648B6128B24ACE078D19736F364CC6E1"
  59. }

2.带有增值服务

例如追踪守护

  1. {
  2. "action": "wh.outbound.createSubmittedOrder",
  3. "app_key": "rebecca",
  4. "client_id": "ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
  5. "data": {
  6. "warehouseCode": "US0001",
  7. "orderType": "OSF81",
  8. "receiverPostcode": "32066",
  9. "receiverCountry": "US",
  10. "shipperOrderNo": "",
  11. "pickUpSupplier": "PL",
  12. "logisticsSupplierName": "123",
  13. "selfPickTrackingOrBOLNo": "123",
  14. "inventoryServiceType": "2C",
  15. "isRepeat": "Y",
  16. "VATNo": "",
  17. "iossNo": "",
  18. "VASList": [
  19. {
  20. "serviceCode": "OSF777778",
  21. "attrList": [
  22. {
  23. "attrCode": "ISA",
  24. "attrValue": "50"
  25. }
  26. ]
  27. }
  28. ],
  29. "merchandiseList": [
  30. {
  31. "merchandiseCode": "auto_sku_005",
  32. "specification": "",
  33. "quantity": "1",
  34. "platformTransactionId": "t1",
  35. "platformItemId": "i1",
  36. "platformSellerId": "s1",
  37. "platformBuyerId": "b1"
  38. }
  39. ],
  40. "winitProductCode": "OSF810595",
  41. "invoiceUrl": "",
  42. "buyerCompany": "万邑通 ",
  43. "receiverName": "huangxh",
  44. "receiverHouseNo": "",
  45. "receiverAddressLine1": "Unit 8/39 Hill Road",
  46. "receiverAddressLine2": "",
  47. "receiverCity": "mayo",
  48. "receiverState": "fl",
  49. "receiverPhone": "",
  50. "receiverEmail": "123@winit.com.cn"
  51. },
  52. "format": "json",
  53. "language": "zh_CN",
  54. "platform": "OWNERERP",
  55. "sign": "FE51D582CFFB5F1C6C7F786735D89C7F",
  56. "sign_method": "md5",
  57. "timestamp": "2014-07-30 11:03:48",
  58. "version": "2.0",
  59. "client_sign": "8309DBFCD4CF7236AF4F9E31321BD1FE"
  60. }

3.门牌号填写

  1. {
  2. "action": "wh.outbound.createSubmittedOrder",
  3. "app_key": "rebecca",
  4. "client_id": "ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
  5. "data": {
  6. "warehouseCode": "DE0001",
  7. "orderType": "OSF81",
  8. "receiverPostcode": "45701",
  9. "receiverCountry": "DE",
  10. "shipperOrderNo": "testforpaketservice",
  11. "pickUpSupplier": "",
  12. "logisticsSupplierName": "",
  13. "selfPickTrackingOrBOLNo": "",
  14. "inventoryServiceType": "",
  15. "isRepeat": "Y",
  16. "VATNo": "",
  17. "iossNo": "",
  18. "merchandiseList": [
  19. {
  20. "merchandiseCode": "auto_sku_005",
  21. "specification": "",
  22. "quantity": "1",
  23. "platformTransactionId": "t1",
  24. "platformItemId": "i1",
  25. "platformSellerId": "s1",
  26. "platformBuyerId": "b1"
  27. }
  28. ],
  29. "winitProductCode": "OSF810556",
  30. "invoiceUrl": "",
  31. "buyerCompany": "万邑通 ",
  32. "receiverName": "huangxh",
  33. "receiverHouseNo": "560",
  34. "receiverAddressLine1": "817995256 Postfiliale 560",
  35. "receiverAddressLine2": "",
  36. "receiverCity": "Herten NRW",
  37. "receiverState": "",
  38. "receiverPhone": "",
  39. "receiverEmail": "123@winit.com.cn"
  40. },
  41. "format": "json",
  42. "language": "zh_CN",
  43. "platform": "OWNERERP",
  44. "sign": "C4DBE9271FE60498D2E2C141FA2C9835",
  45. "sign_method": "md5",
  46. "timestamp": "2014-07-30 11:03:48",
  47. "version": "2.0",
  48. "client_sign": "F03028D73D07B777C7498E0916B865BD"
  49. }

4.自提出库单

  1. {
  2. "action": "wh.outbound.createSubmittedOrder",
  3. "app_key": "rebecca",
  4. "client_id": "ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
  5. "data": {
  6. "warehouseCode": "US0001",
  7. "orderType": "OSF82",
  8. "receiverPostcode": "45701",
  9. "receiverCountry": "DE",
  10. "shipperOrderNo": "testforselfpickup",
  11. "pickUpSupplier": "CY",
  12. "logisticsSupplierName": "local UPS",
  13. "selfPickTrackingOrBOLNo": "",
  14. "inventoryServiceType": "",
  15. "isRepeat": "Y",
  16. "VATNo": "",
  17. "iossNo": "",
  18. "merchandiseList": [
  19. {
  20. "merchandiseCode": "auto_sku_005",
  21. "specification": "",
  22. "quantity": "1"
  23. }
  24. ],
  25. "winitProductCode": "OSF820823",
  26. "invoiceUrl": "",
  27. "buyerCompany": "万邑通 ",
  28. "receiverName": "huangxh",
  29. "receiverHouseNo": "560",
  30. "receiverAddressLine1": "817995256 Postfiliale 560",
  31. "receiverAddressLine2": "",
  32. "receiverCity": "Herten NRW",
  33. "receiverState": "",
  34. "receiverPhone": "",
  35. "receiverEmail": "123@winit.com.cn"
  36. },
  37. "format": "json",
  38. "language": "zh_CN",
  39. "platform": "OWNERERP",
  40. "sign": "F4D68658878BC8B9AA9CD9A6D4341E20",
  41. "sign_method": "md5",
  42. "timestamp": "2014-07-30 11:03:48",
  43. "version": "2.0",
  44. "client_sign": "BE76556C25C7EF6EE8768F89A6142FDC"
  45. }

4.1第三方面单出库

  1. {
  2. "action":"wh.outbound.createSubmittedOrder",
  3. "app_key":"cxtestcb@163.com",
  4. "data":{
  5. "warehouseCode":"US0001",
  6. "shipperOrderNo":"xiaochen",
  7. "inventoryServiceType":"2C",
  8. "isRepeat":"Y",
  9. "VATNo":"123",
  10. "merchandiseList":[
  11. {
  12. "merchandiseCode":"cxtestmmCCC",
  13. "specification":"",
  14. "merchandiseGrade":"GOOD",
  15. "quantity":"2"
  16. }
  17. ],
  18. "VASList":[
  19. {
  20. "serviceCode":"OSF24WW008",
  21. "attrList":[
  22. {
  23. "attrCode":"ORDER_PMT",
  24. "attrValue":"CARTON_BOX"
  25. }
  26. ]
  27. }
  28. ],
  29. "winitProductCode":"OSF822006556"
  30. },
  31. "format":"json",
  32. "language":"zh_CN",
  33. "platform":"ABC",
  34. "sign":"00000000000000000000000000000000",
  35. "sign_method":"md5",
  36. "timestamp":"2014-07-30 11:03:48",
  37. "version":"2.0"
  38. }

4.2自提2.0

  1. {
  2. "action":"wh.outbound.createSubmittedOrder",
  3. "app_key":"rebecca",
  4. "data": {
  5. "warehouseCode":"US0001",
  6. "orderType":"OSF82",
  7. "receiverPostcode":"32066",
  8. "receiverCountry":"US",
  9. "shipperOrderNo":"",
  10. "pickUpSupplier": "",
  11. "logisticsSupplierName": "",
  12. "selfPickTrackingOrBOLNo": "",
  13. "inventoryServiceType":"",
  14. "isRepeat":"Y",
  15. "storeType":" ",
  16. "salesAmount":"",
  17. "currency":"",
  18. "receiverVATEORINo":"",
  19. "platformAccount":"",
  20. "platformOrderId":"",
  21. "VATNo":"",
  22. "consigneeType":"OTHER",
  23. "VASList": [
  24. {
  25. "serviceCode": "OSF8V1295"
  26. }
  27. ],
  28. "merchandiseList": [
  29. {
  30. "merchandiseCode":"chenzc0011",
  31. "specification":"",
  32. "quantity":"2"
  33. }
  34. ],
  35. "winitProductCode":"OSF823006602",
  36. "invoiceUrl":"",
  37. "buyerCompany":"winit ",
  38. "receiverName":"huangxh",
  39. "receiverHouseNo":"11",
  40. "receiverAddressLine1":" 22 boulevard de la paix ",
  41. "receiverAddressLine2":"",
  42. "receiverCity":"mayo",
  43. "receiverState":"fl",
  44. "receiverPhone":"13411112222",
  45. "receiverEmail":"123@winit.com.cn"
  46. },
  47. "format":"json",
  48. "language":"zh_CN",
  49. "platform":"ABC",
  50. "sign":"00000000000000000000000000000000",
  51. "sign_method":"md5",
  52. "timestamp":"2014-07-30 11:03:48",
  53. "version":"2.0"
  54. }

5.销毁出库单

  1. {
  2. "action": "wh.outbound.createSubmittedOrder",
  3. "app_key": "rebecca",
  4. "client_id": "ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
  5. "data": {
  6. "warehouseCode": "US0001",
  7. "orderType": "OSF83",
  8. "receiverPostcode": "45701",
  9. "receiverCountry": "DE",
  10. "shipperOrderNo": "testforselfpickup",
  11. "pickUpSupplier": "CY",
  12. "logisticsSupplierName": "local UPS",
  13. "selfPickTrackingOrBOLNo": "",
  14. "inventoryServiceType": "",
  15. "isRepeat": "Y",
  16. "VATNo": "",
  17. "merchandiseList": [
  18. {
  19. "merchandiseCode": "auto_sku_005",
  20. "specification": "",
  21. "quantity": "1",
  22. }
  23. ],
  24. "winitProductCode": "OSF830859",
  25. "invoiceUrl": "",
  26. "buyerCompany": "万邑通 ",
  27. "receiverName": "huangxh",
  28. "receiverHouseNo": "560",
  29. "receiverAddressLine1": "817995256 Postfiliale 560",
  30. "receiverAddressLine2": "",
  31. "receiverCity": "Herten NRW",
  32. "receiverState": "",
  33. "receiverPhone": "",
  34. "receiverEmail": "123@winit.com.cn"
  35. },
  36. "format": "json",
  37. "language": "zh_CN",
  38. "platform": "OWNERERP",
  39. "sign": "BC9EFBA4B1D45E4EE5E65D1D7B385D2E",
  40. "sign_method": "md5",
  41. "timestamp": "2014-07-30 11:03:48",
  42. "version": "2.0",
  43. "client_sign": "54D2914BFCC36485028FAA8043F04A49"
  44. }

6.带有收件人公司

  1. {
  2. "action": "wh.outbound.createSubmittedOrder",
  3. "app_key": "rebecca",
  4. "client_id": "ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
  5. "data": {
  6. "warehouseCode": "US0001",
  7. "orderType": "OSF81",
  8. "receiverPostcode": "32066",
  9. "receiverCountry": "US",
  10. "shipperOrderNo": "buyerCompany",
  11. "buyerCompany": "万邑通 ",
  12. "pickUpSupplier": "",
  13. "logisticsSupplierName": "",
  14. "selfPickTrackingOrBOLNo": "",
  15. "inventoryServiceType": "",
  16. "isRepeat": "Y",
  17. "VATNo": "",
  18. "merchandiseList": [
  19. {
  20. "merchandiseCode": "auto_sku_005",
  21. "specification": "",
  22. "quantity": "1",
  23. }
  24. ],
  25. "winitProductCode": "OSF810595",
  26. "invoiceUrl": "",
  27. "receiverName": "huangxh",
  28. "receiverHouseNo": "",
  29. "receiverAddressLine1": "3647 Old State Route 32",
  30. "receiverAddressLine2": "",
  31. "receiverCity": "Mayo",
  32. "receiverState": "fl",
  33. "receiverPhone": "",
  34. "receiverEmail": "123@winit.com.cn"
  35. },
  36. "format": "json",
  37. "language": "zh_CN",
  38. "platform": "OWNERERP",
  39. "sign": "95BB17F6AEE6D3FD6026B1818173BFA2",
  40. "sign_method": "md5",
  41. "timestamp": "2014-07-30 11:03:48",
  42. "version": "2.0",
  43. "client_sign": "1BBEFE32390EA66E3E3D038745BE0D17"
  44. }

7.带有增值:出库加包装

  1. {
  2. "action": "wh.outbound.createSubmittedOrder",
  3. "app_key": "rebecca",
  4. "client_id": "ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
  5. "data": {
  6. "warehouseCode": "US0001",
  7. "orderType": "OSF81",
  8. "receiverPostcode": "32066",
  9. "receiverCountry": "US",
  10. "shipperOrderNo": "buyerCompany",
  11. "buyerCompany": "万邑通 ",
  12. "pickUpSupplier": "",
  13. "logisticsSupplierName": "",
  14. "selfPickTrackingOrBOLNo": "",
  15. "inventoryServiceType": "",
  16. "isRepeat": "Y",
  17. "VATNo": "",
  18. "VASList": [
  19. {
  20. "serviceCode": "OSF24WW008",
  21. "attrList": [
  22. {
  23. "attrCode": "PACKAGE_MODE",
  24. "attrValue": "PACKAGING_CUSTOMER"
  25. },
  26. {
  27. "attrCode": "PACKAGE_TYPE_MATERIAL",
  28. "attrValue": "CARTON_BOX"
  29. },
  30. {
  31. "attrCode": "PACKAGE_MERCHANDISE_CODE",
  32. "attrValue": "test01"
  33. }
  34. ]
  35. }
  36. ],
  37. "merchandiseList": [
  38. {
  39. "merchandiseCode": "auto_sku_002",
  40. "specification": "",
  41. "quantity": "1"
  42. }
  43. ],
  44. "winitProductCode": "OSF810595",
  45. "invoiceUrl": "",
  46. "receiverName": "huangxh",
  47. "receiverHouseNo": "",
  48. "receiverAddressLine1": "3647 Old State Route 32",
  49. "receiverAddressLine2": "",
  50. "receiverCity": "Mayo",
  51. "receiverState": "fl",
  52. "receiverPhone": "",
  53. "receiverEmail": "123@winit.com.cn"
  54. },
  55. "format": "json",
  56. "language": "zh_CN",
  57. "platform": "OWNERERP",
  58. "sign": "8B8EC41D7317704AF5379C2F038103D2",
  59. "sign_method": "md5",
  60. "timestamp": "2014-07-30 11:03:48",
  61. "version": "2.0",
  62. "client_sign": "0B59DB7D510D58B1F503698DE49C6C72"
  63. }

8.带订单销售金额和VAT/EORI

  1. {
  2. "action": "wh.outbound.createSubmittedOrder",
  3. "app_key": "rebecca",
  4. "client_id": "ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
  5. "data": {
  6. "warehouseCode": "US0001",
  7. "orderType": "OSF81",
  8. "receiverPostcode": "32066",
  9. "receiverCountry": "US",
  10. "shipperOrderNo": "buyerCompany",
  11. "buyerCompany": "万邑通 ",
  12. "pickUpSupplier": "",
  13. "logisticsSupplierName": "",
  14. "selfPickTrackingOrBOLNo": "",
  15. "inventoryServiceType": "",
  16. "isRepeat": "Y",
  17. "VATNo": "",
  18. "VASList": [
  19. {
  20. "serviceCode": "OSF24WW008",
  21. "attrList": [
  22. {
  23. "attrCode": "ORDER_PMT",
  24. "attrValue": "CARTON_BOX"
  25. }
  26. ]
  27. }
  28. ],
  29. "merchandiseList": [
  30. {
  31. "merchandiseCode": "auto_sku_002",
  32. "specification": "",
  33. "quantity": "1"
  34. }
  35. ],
  36. "winitProductCode": "OSF810595",
  37. "invoiceUrl": "",
  38. "receiverName": "huangxh",
  39. "receiverHouseNo": "",
  40. "receiverAddressLine1": "3647 Old State Route 32",
  41. "receiverAddressLine2": "",
  42. "receiverCity": "Mayo",
  43. "receiverState": "fl",
  44. "receiverPhone": "",
  45. "receiverEmail": "123@winit.com.cn"
  46. },
  47. "format": "json",
  48. "language": "zh_CN",
  49. "platform": "OWNERERP",
  50. "sign": "BC485BCAB28001EEE913A209D5622E07",
  51. "sign_method": "md5",
  52. "timestamp": "2014-07-30 11:03:48",
  53. "version": "2.0",
  54. "client_sign": "35CBE32F32A25695EE1B591B897CFFC2"
  55. }

9.开通库存组织

  1. {
  2. "action":"wh.outbound.createSubmittedOrder",
  3. "app_key":"rebecca",
  4. "client_id":"ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
  5. "data":{
  6. "winitProductCode":"OSF810556",
  7. "warehouseCode":"DE0001",
  8. "shipperOrderNo":"testforpaketservice",
  9. "isRepeat":"Y",
  10. "inventoryServiceType":"",
  11. "storeType":"Amazon",
  12. "platformAccount":"US-A16Q3SBG9UE1XO",
  13. "platformOrderId":"112-345-1432",
  14. "eBaySellerId":"",
  15. "eBayBuyerId":"",
  16. "VATNo":"",
  17. "iossNo":"",
  18. "buyerCompany":"万邑通 ",
  19. "receiverCountry":"DE",
  20. "receiverCity":"Herten NRW",
  21. "receiverState":"",
  22. "receiverName":"huangxh",
  23. "receiverPostcode":"45701",
  24. "receiverHouseNo":"0",
  25. "receiverAddressLine1":"817995256 Postfiliale 560",
  26. "receiverAddressLine2":"",
  27. "receiverPhone":"",
  28. "receiverEmail":"123@winit.com.cn",
  29. "salesAmount":"10000",
  30. "currency":"USD",
  31. "receiverVATEORINo":"UK1029304",
  32. "merchandiseList":[
  33. {
  34. "merchandiseCode":"auto_sku_005",
  35. "specification":"",
  36. "quantity":"1",
  37. "eBayTransactionId":"",
  38. "eBayItemId":"",
  39. "ownerCode":"",
  40. "inventoryAttribute":[
  41. {
  42. "tagName ":"stockOrg",
  43. "tagValue":"AAA"
  44. }
  45. ]
  46. }
  47. ],
  48. "pickUpSupplier":"",
  49. "logisticsSupplierName":"",
  50. "selfPickTrackingOrBOLNo":"",
  51. "VASList":[
  52. {
  53. "serviceCode":"OSF777778",
  54. "attrList":[
  55. {
  56. "attrCode":"ISA",
  57. "attrValue":"50"
  58. }
  59. ]
  60. }
  61. ]
  62. },
  63. "format":"json",
  64. "language":"zh_CN",
  65. "platform":"OWNERERP",
  66. "sign":"7E01B49A6248103BD10914A4363940BF",
  67. "sign_method":"md5",
  68. "timestamp":"2014-07-30 11:03:48",
  69. "version":"2.0",
  70. "client_sign":"CC04B2493C7BC3CFAA97DFB7F98D3CFC"
  71. }

返回出参

返回参数说明:正确的返回编码code:0及结果data,错误的返回错误码及错误信息msg。

名称 类型 必填 说明 示例
orderNo String(80) Y 出库订单号
splitType String() Y BW:仓群间拆单
WW:仓群内拆单
NONE:不拆单
orderNoList Array Y 出库订单号列表,拆单时返回多个
recommendWinitProductName String() N 推荐派送方式名称
开启智能推荐且自动发货时返回
recommendWinitProductCode String() N 推荐派送方式编码
开启智能推荐且自动发货时返回
recommendWarehouseName String() N 推荐仓库名称
开启智能推荐且自动发货时返回
recommendWarehouseCode String() N 推荐仓库编码
开启智能推荐且自动发货时返回

返回示例

1.不拆单

  1. {
  2. "code": "0",
  3. "msg": "操作成功",
  4. "data": {
  5. "orderNo": "WO0000012327",
  6. "orderNoList": [
  7. "WO0000012327"
  8. ],
  9. "splitType": "NONE"
  10. }
  11. }

2.仓群间拆单或仓群内拆单

  1. {
  2. "code": "0",
  3. "msg": "操作成功",
  4. "data": {
  5. "orderNo":"WO0000012321",
  6. "orderNoList":[
  7. "WO0000012321",
  8. "WO0000012322"
  9. ],
  10. "splitType": "BW"
  11. }
  12. }

3、开启智能推荐:推荐结果和下单结果不一致
未开启自动发货:

  1. {
  2. "code": "02010250180",
  3. "msg": "选择的仓库和推荐的仓库不一致,建议重新选择!推荐仓库:【USTX】-【USTX Warehouse】, 推荐派送方式:【OSF811006991】-【UPS - Ground (Standard 1-5 Business Days)-US】.",
  4. "data": ""
  5. }

开启自动发货

  1. {
  2. "code": "0",
  3. "msg": "操作成功",
  4. "data": {
  5. "recommendWinitProductName": "UPS - Ground (Standard 1-5 Business Days)-US",
  6. "orderNo": "WO0000004481",
  7. "recommendWarehouseName": "USTX Warehouse",
  8. "recommendWarehouseCode": "USTX",
  9. "recommendWinitProductCode": "OSF811006991",
  10. "orderNoList": ["WO0000004481"],
  11. "splitType": "NONE"
  12. }
  13. }