# 获取仓库信息

  • 查询仓库接口已做限流处理, 1小时内允许访问1次,仓库基础信息基本不会有变化,建议数据缓存到本地使用

接口地址 /api/order/warehouse

请求方式 POST

consumes ["application/json"]

produces ["*/*"]

接口描述 ``

请求参数

参数名称 参数说明 请求类型 是否必须 数据类型 schema
token token header true string

响应状态

状态码 说明 schema
200 OK GenericResult
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数

参数名称 参数说明 类型 schema
data WarehouseDto WarehouseDto
message string
success boolean

schema属性说明

WarehouseDto

参数名称 参数说明 类型 schema
id 仓库ID string
name 仓库名称 string
countryCode 国家代码 string
province 省份 string
city 城市 string
address 地址 string
postCode 邮编 string
measurementUnit 仓库测量单位,IN_LB:英寸磅,CM_KG:厘米公斤 string

响应示例

{
    "success": true,
    "message": "",
    "data": [
        {
            "id": "729508662706819072",
            "name": "JP-01",
            "countryCode": "JP",
            "province": "xxxxx",
            "city": "xxxxx",
            "address": "xxxxx",
            "postCode": "xxxxx",
            "measurementUnit": "CM_KG"
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Last Updated: 9/29/2022, 6:46:58 PM