评估价格
POST
http://api.intergo.cn/open-api/open/makeOrder/v1/rating
OPENAPI - 制单
请求参数
Header 参数
Authorization
string
认证 Token
默认值:
Bearer test1
Body 参数application/json
makeServiceCode
string
渠道编码
示例值:
CC1
customNo
string
客户单号
示例值:
customNo
weightUnit
string
必需
示例值:
cm/kg
freightPayment
integer <int32>
必需
示例值:
1
taxPayment
integer <int32>
可选
示例值:
2
currencyCode
string
申报货币编码
示例值:
USD
batteryOptions
integer <int32>
必需
示例值:
0
insuranceCharges
number
申报保险费
示例值:
1.2
freightCharges
number
申报运费
示例值:
1.22
signatureService
integer <int32>
可选
示例值:
1
purchaseNo
string
采购单号
示例值:
1234
invoiceNo
string
发票单号
示例值:
1234
reasonForExport
string
可选
示例值:
1
termsOfShipment
string
可选
示例值:
1
referenceNo1
string
参考号一
示例值:
12222
referenceNo2
string
参考号二
示例值:
11111
pkgList
array[object (PackageVo) {5}]
箱单信息
pkgNo
string
客户箱号
示例值:
C00001-1
length
number
箱体长
示例值:
12
breadth
number
箱体宽
示例值:
12
height
number
箱体高
示例值:
12
netWeight
number
箱体实重
示例值:
12
packageProduct
array[object (ProductVo) {8}]
可选
productEnName
string
产品英文品名
>= 0 字符<= 128 字符
示例值:
test
productCnName
string
产品中文品名
>= 0 字符<= 128 字符
示例值:
测试
commodityCode
string
海关编码
>= 0 字符<= 16 字符
示例值:
10001000
unitPrice
number
商品单价
示例值:
1.22
unitNumber
integer <int32>
商品数量
示例值:
1
unit
string
商品数量单位
示例值:
EA
proWeight
number
产品重量
示例值:
1
originCountryCode
string
产地国二字码
示例值:
CN
logisticsFeePayerAddress
object (AddressVo)
可选
contact
string
联系人
>= 0 字符<= 64 字符
示例值:
TOM
companyName
string
公司
>= 0 字符<= 64 字符
示例值:
DEMO company
phone
string
电话
>= 0 字符<= 20 字符
示例值:
000000000
countryCode
string
国家二字码
>= 0 字符<= 2 字符
示例值:
US
province
string
省/州
>= 0 字符<= 35 字符
示例值:
IN
city
string
城市
>= 0 字符<= 32 字符
示例值:
shenzhen
postCode
string
邮编
>= 0 字符<= 16 字符
示例值:
123456
address1
string
地址一
>= 0 字符<= 50 字符
address2
string
地址二
>= 0 字符<= 50 字符
address3
string
地址三
>= 0 字符<= 50 字符
doorplate
string
DHL门牌号
>= 0 字符<= 16 字符
account
string
付费账号
>= 0 字符<= 32 字符
vatNo
string
VAT税号
>= 0 字符<= 32 字符
iossNo
string
ioss税号
>= 0 字符<= 32 字符
residential
boolean
是否非FBA地址
addressCode
string
可选
>= 0 字符<= 16 字符
示例值:
MDT5
email
string
邮箱
>= 0 字符<= 50 字符
示例值:
****@163.com
taxFeePayerAddress
object (AddressVo)
可选
recipientAddress
object
必需
contact
string
联系人
>= 0 字符<= 64 字符
示例值:
TOM
companyName
string
公司
>= 0 字符<= 64 字符
示例值:
DEMO company
phone
string
电话
>= 0 字符<= 20 字符
示例值:
000000000
countryCode
string
国家二字码
>= 0 字符<= 2 字符
示例值:
US
province
string
省/州
>= 0 字符<= 35 字符
示例值:
IN
city
string
城市
>= 0 字符<= 32 字符
示例值:
shenzhen
postCode
string
邮编
>= 0 字符<= 16 字符
示例值:
123456
address1
string
地址一
>= 0 字符<= 50 字符
address2
string
地址二
>= 0 字符<= 50 字符
address3
string
地址三
>= 0 字符<= 50 字符
doorplate
string
DHL门牌号
>= 0 字符<= 16 字符
account
string
付费账号
>= 0 字符<= 32 字符
vatNo
string
VAT税号
>= 0 字符<= 32 字符
iossNo
string
ioss税号
>= 0 字符<= 32 字符
residential
boolean
必需
addressCode
string
可选
>= 0 字符<= 16 字符
示例值:
MDT5
email
string
邮箱
>= 0 字符<= 50 字符
示例值:
****@163.com
importerAddress
object (AddressVo)
可选
示例
{
"makeServiceCode": "CC1",
"customNo": "customNo",
"weightUnit": "cm/kg",
"freightPayment": 1,
"taxPayment": 2,
"currencyCode": "USD",
"batteryOptions": 0,
"insuranceCharges": 1.2,
"freightCharges": 1.22,
"signatureService": 1,
"purchaseNo": "1234",
"invoiceNo": "1234",
"reasonForExport": "1",
"termsOfShipment": "1",
"referenceNo1": "12222",
"referenceNo2": "11111",
"pkgList": [
{
"pkgNo": "C00001-1",
"length": 12,
"breadth": 12,
"height": 12,
"netWeight": 12
}
],
"packageProduct": [
{
"productEnName": "test",
"productCnName": "测试",
"commodityCode": "10001000",
"unitPrice": 1.22,
"unitNumber": 1,
"unit": "EA",
"proWeight": 1,
"originCountryCode": "CN"
}
],
"logisticsFeePayerAddress": {
"contact": "TOM",
"companyName": "DEMO company",
"phone": "000000000",
"countryCode": "US",
"province": "IN",
"city": "shenzhen",
"postCode": "123456",
"address1": "string",
"address2": "string",
"address3": "string",
"doorplate": "string",
"account": "string",
"vatNo": "string",
"iossNo": "string",
"residential": true,
"addressCode": "MDT5",
"email": "****@163.com"
},
"taxFeePayerAddress": {
"contact": "TOM",
"companyName": "DEMO company",
"phone": "000000000",
"countryCode": "US",
"province": "IN",
"city": "shenzhen",
"postCode": "123456",
"address1": "string",
"address2": "string",
"address3": "string",
"doorplate": "string",
"account": "string",
"vatNo": "string",
"iossNo": "string",
"residential": true,
"addressCode": "MDT5",
"email": "****@163.com"
},
"recipientAddress": {
"contact": "TOM",
"companyName": "DEMO company",
"phone": "000000000",
"countryCode": "US",
"province": "IN",
"city": "shenzhen",
"postCode": "123456",
"address1": "string",
"address2": "string",
"address3": "string",
"doorplate": "string",
"account": "string",
"vatNo": "string",
"iossNo": "string",
"residential": true,
"addressCode": "MDT5",
"email": "****@163.com"
},
"importerAddress": {
"contact": "TOM",
"companyName": "DEMO company",
"phone": "000000000",
"countryCode": "US",
"province": "IN",
"city": "shenzhen",
"postCode": "123456",
"address1": "string",
"address2": "string",
"address3": "string",
"doorplate": "string",
"account": "string",
"vatNo": "string",
"iossNo": "string",
"residential": true,
"addressCode": "MDT5",
"email": "****@163.com"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://api.intergo.cn/open-api/open/makeOrder/v1/rating' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"makeServiceCode": "CC1",
"customNo": "customNo",
"weightUnit": "cm/kg",
"freightPayment": 1,
"taxPayment": 2,
"currencyCode": "USD",
"batteryOptions": 0,
"insuranceCharges": 1.2,
"freightCharges": 1.22,
"signatureService": 1,
"purchaseNo": "1234",
"invoiceNo": "1234",
"reasonForExport": "1",
"termsOfShipment": "1",
"referenceNo1": "12222",
"referenceNo2": "11111",
"pkgList": [
{
"pkgNo": "C00001-1",
"length": 12,
"breadth": 12,
"height": 12,
"netWeight": 12
}
],
"packageProduct": [
{
"productEnName": "test",
"productCnName": "测试",
"commodityCode": "10001000",
"unitPrice": 1.22,
"unitNumber": 1,
"unit": "EA",
"proWeight": 1,
"originCountryCode": "CN"
}
],
"logisticsFeePayerAddress": {
"contact": "TOM",
"companyName": "DEMO company",
"phone": "000000000",
"countryCode": "US",
"province": "IN",
"city": "shenzhen",
"postCode": "123456",
"address1": "string",
"address2": "string",
"address3": "string",
"doorplate": "string",
"account": "string",
"vatNo": "string",
"iossNo": "string",
"residential": true,
"addressCode": "MDT5",
"email": "****@163.com"
},
"taxFeePayerAddress": {
"contact": "TOM",
"companyName": "DEMO company",
"phone": "000000000",
"countryCode": "US",
"province": "IN",
"city": "shenzhen",
"postCode": "123456",
"address1": "string",
"address2": "string",
"address3": "string",
"doorplate": "string",
"account": "string",
"vatNo": "string",
"iossNo": "string",
"residential": true,
"addressCode": "MDT5",
"email": "****@163.com"
},
"recipientAddress": {
"contact": "TOM",
"companyName": "DEMO company",
"phone": "000000000",
"countryCode": "US",
"province": "IN",
"city": "shenzhen",
"postCode": "123456",
"address1": "string",
"address2": "string",
"address3": "string",
"doorplate": "string",
"account": "string",
"vatNo": "string",
"iossNo": "string",
"residential": true,
"addressCode": "MDT5",
"email": "****@163.com"
},
"importerAddress": {
"contact": "TOM",
"companyName": "DEMO company",
"phone": "000000000",
"countryCode": "US",
"province": "IN",
"city": "shenzhen",
"postCode": "123456",
"address1": "string",
"address2": "string",
"address3": "string",
"doorplate": "string",
"account": "string",
"vatNo": "string",
"iossNo": "string",
"residential": true,
"addressCode": "MDT5",
"email": "****@163.com"
}
}'
返回响应
🟢200成功
*/*
Body
code
integer <int32>
错误码
data
object (MakeCheckPriceRespDTO)
返回数据
code
string
可选
name
string
可选
weightUnit
string
可选
weight
string
可选
monetaryValue
string
可选
currencyCode
string
可选
description
string
可选
msg
string
错误提示
示例
{
"code": 0,
"data": {
"code": "string",
"name": "string",
"weightUnit": "string",
"weight": "string",
"monetaryValue": "string",
"currencyCode": "string",
"description": "string"
},
"msg": "string"
}
修改于 2025-04-25 01:43:08