API
查询发货供应商
更新时间: 2019-10-16 20:24:32 访问次数:8102

接口说明

在创建入库单时,如果提货方式是自发物流,需要指定发货供应商。
查询可以标记的国内发货供应商列表,若无则填:其他;标准海外仓入库必选

接口名称

winit.ups.carrier.getCarriers

请求说明

请求内容 说明
URL https://openapi.winit.com.cn/openapi/service
接口测试 https://sandboxopenapi.winit.com.cn/openapi/service
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,1000有需要可申请加大。

请求入参

名称 类型 必填 说明 示例
shipperType String(50) Y 承运人类型: CUSTOMER-自发物流 CUSTOMER

请求示例

  1. {
  2. "action": "winit.ups.carrier.getCarriers",
  3. "app_key": "rebecca",
  4. "client_id":"ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
  5. "client_sign":"60C07A894E3A38131DD5EDAE8F33C0CF",
  6. "data": {
  7. "shipperType": "CUSTOMER"
  8. },
  9. "format": "json",
  10. "language": "zh_CN",
  11. "platform": "OWNERERP",
  12. "sign": "D2BBCDAEF3598F2E716C8CC6A7F2D14E",
  13. "sign_method": "md5",
  14. "timestamp": "2016-09-09 10:52:58",
  15. "version": "1.0"
  16. }

返回出参

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

名称 类型 必传 说明 示例
carrierList Array Y 发货供应商list
shipperCode String(50) Y 承运人编码 LB
shipperName String(50) Y 承运人名称 龙邦

返回示例

  1. {
  2. "code": "0",
  3. "msg": "操作成功",
  4. "data": {"carrierList": [
  5. {
  6. "shipperName": "龙邦",
  7. "shipperCode": "LB"
  8. },
  9. {
  10. "shipperName": "TOLL IPEC PTY LTD",
  11. "shipperCode": "TOLL IPEC PTY LTD"
  12. },
  13. {
  14. "shipperName": "Australia Post-Sunyee",
  15. "shipperCode": "110000010"
  16. },
  17. {
  18. "shipperName": "Yodel Ltd",
  19. "shipperCode": "1001371"
  20. },
  21. {
  22. "shipperName": "P2P eSolutions Ltd",
  23. "shipperCode": "10001862"
  24. },
  25. {
  26. "shipperName": "DHL Express",
  27. "shipperCode": "DHL Express"
  28. },
  29. {
  30. "shipperName": "XDP",
  31. "shipperCode": "1000311"
  32. },
  33. {
  34. "shipperName": "圆通",
  35. "shipperCode": "YT"
  36. },
  37. {
  38. "shipperName": "Deutsche Post AG",
  39. "shipperCode": "10000675"
  40. },
  41. {
  42. "shipperName": "德邦",
  43. "shipperCode": "DB"
  44. },
  45. {
  46. "shipperName": "UPS",
  47. "shipperCode": "UPS_LM"
  48. },
  49. {
  50. "shipperName": "Parcelforce",
  51. "shipperCode": "10005573"
  52. },
  53. {
  54. "shipperName": "中通",
  55. "shipperCode": "ZT"
  56. },
  57. {
  58. "shipperName": "Fedex_SV",
  59. "shipperCode": "Fedex"
  60. },
  61. {
  62. "shipperName": "Dynamic Parcel Distribution",
  63. "shipperCode": "10000509"
  64. },
  65. {
  66. "shipperName": "DE POST",
  67. "shipperCode": "DE POST_LM"
  68. },
  69. {
  70. "shipperName": "TOLL Priority",
  71. "shipperCode": "TOLL Priority"
  72. },
  73. {
  74. "shipperName": "DHL Global Forwarding",
  75. "shipperCode": "DGF"
  76. },
  77. {
  78. "shipperName": "优速",
  79. "shipperCode": "YS"
  80. },
  81. {
  82. "shipperName": "Royal Mail",
  83. "shipperCode": "10000312"
  84. },
  85. {
  86. "shipperName": "HKD Global Logistics",
  87. "shipperCode": "HKD"
  88. },
  89. {
  90. "shipperName": "USPS",
  91. "shipperCode": "United States Postal Service"
  92. },
  93. {
  94. "shipperName": "Total Quality Logistics",
  95. "shipperCode": "TQL"
  96. },
  97. {
  98. "shipperName": "Australia Post",
  99. "shipperCode": "UBI_LM"
  100. },
  101. {
  102. "shipperName": "UK DPD",
  103. "shipperCode": "10001145"
  104. },
  105. {
  106. "shipperName": "DHL Global Mail",
  107. "shipperCode": "DHL Global Mail"
  108. },
  109. {
  110. "shipperName": "Fastway Couriers",
  111. "shipperCode": "Fastway Couriers"
  112. },
  113. {
  114. "shipperName": "DHL Vertriebs GmbH",
  115. "shipperCode": "10000552"
  116. },
  117. {
  118. "shipperName": "Colissimo",
  119. "shipperCode": "100006271"
  120. },
  121. {
  122. "shipperName": "Fedex",
  123. "shipperCode": "Fedex SP"
  124. },
  125. {
  126. "shipperName": "PR",
  127. "shipperCode": "Parcel Research"
  128. },
  129. {
  130. "shipperName": "Australia Post_WYM",
  131. "shipperCode": "AUPOST_WYM"
  132. },
  133. {
  134. "shipperName": "DHL Freight GmbH",
  135. "shipperCode": "10002865"
  136. },
  137. {
  138. "shipperName": "B2C Europe",
  139. "shipperCode": "110000005"
  140. },
  141. {
  142. "shipperName": "韵达",
  143. "shipperCode": "YD"
  144. },
  145. {
  146. "shipperName": "panther group",
  147. "shipperCode": "1026371"
  148. },
  149. {
  150. "shipperName": "Panther",
  151. "shipperCode": "L20160720"
  152. }
  153. ]}
  154. }