# 获取商家信息

# 接口调用请求说明

http请求方式:POST
https://api.weixin.qq.com/shop/account/get_info?access_token=xxxxxxxxx

# 请求参数示例

{
}

# 回包示例

{
    "errcode": 0,
    "data": {
        "service_agent_path": "小程序path",
        "service_agent_phone": "020-888888",
        "service_agent_type": [1,2],

        "default_receiving_address": {
            "receiver_name": "张三",
            "detailed_address": "详细收货地址信息",
            "tel_number": "收货人手机号码",
            "country": "国家,选填",
            "province": "省份,选填",
            "city": "城市,选填",
            "town": "乡镇,选填"
        }
    }
}

# 请求参数说明

# 回包参数说明

参数 类型 说明
errcode number 错误码
errmsg string 错误信息
data.service_agent_path string 客服地址
data.service_agent_phone string 客服联系方式
data.service_agent_type number[] 客服类型,支持多个,0: 小程序官方客服,1: 自定义客服path 2: 联系电话
data.default_receiving_address Address 默认退货地址,用于售后超时的情况下,会让用户将商品退往此地址。
data.default_receiving_address.receiver_name string
data.default_receiving_address.detailed_address string
data.default_receiving_address.tel_number string
data.default_receiving_address.country string
data.default_receiving_address.province string
data.default_receiving_address.city string
data.default_receiving_address.town string