https://www.westmonth.com/openapi/productCategory/getDeliveryRegionshttps://testing.westmonth.com/openapi/productCategory/getDeliveryRegions| 参数名 | 类型 | 必填 | 示例值 | 说明 |
|---|---|---|---|---|
| Authorization | string | 是 | authorization | 身份验证Token |
| Content-Type | string | 是 | application/json | 建议固定传此值 |
| 参数名 | 类型 | 必填 | 默认值 | 可选值 | 说明 |
|---|---|---|---|---|---|
| code | string | 否 | - | - | 国家二字码,用于筛选特定国家的发货区域 |
| 字段 | 类型 | 说明 |
|---|---|---|
| status | string | 状态(success:成功) |
| message | string | 响应信息描述 |
| data | array | 业务数据(发货区域列表) |
| 字段 | 类型 | 说明 |
|---|---|---|
| id | integer | 区域ID |
| name | string | 区域名称 |
| code | string | 区域编码(国家二字码) |
| logo | string | 区域LOGO的URL地址 |
{
"status": "success",
"message": "success",
"data": [
{
"id": 5,
"name": "中国",
"code": "CN",
"logo": "https://oss.westmonth.com/catalog/delivery_regions/中国国旗.svg"
}
]
}{
"code": 3,
"msg": "授权无效 authorization timestamp error",
"data": []
}| HTTP status code | 错误码 | 错误信息 | 描述 |
|---|
| 版本 | 日期 | 修改说明 |
|---|---|---|
| v1.0 | 2025-01-01 | 初始版本 |