接口地址 /supplierApi/sales/receive/addSalesAddr

请求方式 POST

consumes ["application/x-www-form-urlencoded"]

produces ["*/*"]

接口描述 添加供应商售后收货地址

请求参数

参数名称 说明 参数类型 是否必须 类型 schema
a_token header中a_token字段用于认证 header true string
addrText 详细地址(包含省市区) formData true string
isDefault 是否默认(1是,2否) formData true integer
mobile 电话 formData true string
receiver 收货人 formData true string
saleRoles 售后规则描述 formData false string
status 状态(1启用,2禁用) formData true integer

响应状态

状态码 说明 schema
200 OK 接口统一返回«API售后地址(商家收货)信息»

响应参数

参数名称 说明 类型 schema
code 接口返回码 int32
data 接口返回数据 API售后地址(商家收货)信息 API售后地址(商家收货)信息
message 接口返回消息 string

schema属性说明

API售后地址(商家收货)信息

属性名称 说明 类型 schema
addr 地址 string
area string
areaId 区id int64
city 城市 string
cityId 城市id int64
createTime 创建时间 date-time
id 售后地址id int64
isDefault 是否默认地址 1是,2否 int32
mobile 手机 string
postCode 邮编 string
province 省份 string
provinceId 省份id int64
receiver 收货人 string
saleRoles 售后规则 string
status 状态,1启用,2禁用 int32
supplierId 供应商id int64

响应示例

{
    "code": 0,
    "data": {
        "addr": "",
        "area": "",
        "areaId": 0,
        "city": "",
        "cityId": 0,
        "createTime": "",
        "id": 0,
        "isDefault": 0,
        "mobile": "",
        "postCode": "",
        "province": "",
        "provinceId": 0,
        "receiver": "",
        "saleRoles": "",
        "status": 0,
        "supplierId": 0
    },
    "message": ""
}
作者:周宁  创建时间:2024-11-13 15:28
最后编辑:周宁  更新时间:2025-04-08 14:18