W8海外仓系统|API文档
  1. 02 一件代发
W8海外仓系统|API文档
  • W8WMS API 简介
  • 01 公共接口
    • 获取机场
      POST
    • 获取自提类型
      POST
    • 获取仓库
      POST
    • 获取渠道
      POST
    • 获取可选服务
      POST
  • 02 一件代发
    • 创建产品
      POST
    • 查询产品
      POST
    • 创建入库单
      POST
    • 查询入库单
      POST
    • 创建出库单
      POST
    • 查询出库单
      POST
    • 查询库存
      POST
    • 打印箱唛
      POST
    • 退回出库单
      POST
    • 退回入库单
      POST
    • 获取价格
      POST
  • 03 中转
    • 下单
      POST
    • 删除中转订单
      POST
    • 删除出库单
      POST
    • 查询中转订单
      POST
    • 查询出库单
      POST
    • 创建出库预约单
      POST
  1. 02 一件代发

获取价格

开发中
POST
/commonApi/dropshipping/queryPrice

请求参数

Header 参数
token
string 
必需
Body 参数application/json
param
object 
必需
houseCode
string 
仓库编码
必需
isPriceApi
integer 
可选
country
string 
国家
必需
goodsType
string 
包裹类型
可选
postcode
string 
邮编
可选
piece
integer 
总件数
必需
weight
integer 
总重
必需
channelCode
string 
渠道编码
可选
volumes
array [object {4}] 
可选
示例
{
    "param": {
        "houseCode":"QCK",
        "isPriceApi":1,
        "country":"US",
        "goodsType":"",
        "postcode":"",
        "piece":1,
        "weight":10,
        "channelCode":"SZEYB-DL",
        "volumes":[{
            "piece":1,
            "length":"10",
            "width":"10",
            "height":"10"
        }]
    }
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/commonApi/dropshipping/queryPrice' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "param": {
        "houseCode":"QCK",
        "isPriceApi":1,
        "country":"US",
        "goodsType":"",
        "postcode":"",
        "piece":1,
        "weight":10,
        "channelCode":"SZEYB-DL",
        "volumes":[{
            "piece":1,
            "length":"10",
            "width":"10",
            "height":"10"
        }]
    }
}'

返回响应

🟢200成功
application/json
Body
actionMsg
string 
必需
code
integer 
状态码
必需
code为10 为部分成功,0 为成功
data
array [object {3}] 
必需
channelCode
string 
渠道编码
必需
ccy
string 
币别
必需
totalFee
string 
总费用
必需
errorMsg
string 
必需
msg
string 
错误信息
必需
示例
{
    "actionMsg": "string",
    "code": 0,
    "data": [
        {
            "channelCode": "string",
            "ccy": "string",
            "totalFee": "string"
        }
    ],
    "errorMsg": "string",
    "msg": "string"
}
修改于 2025-07-01 01:43:20
上一页
退回入库单
下一页
下单
Built with