获取价格
开发中
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
状态码
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