更新时间:2024-01-12 02:38:26下载pdf
本文介绍获取店铺信息的 API。
根据店铺唯一 Code,获取店铺币种、已绑定的 App 等信息。
GET: /v1.0/sellercenter/mall/info/{mall_code}
| 参数名 | 类型 | 参数位置 | 是否必填 | 说明 | 
|---|---|---|---|---|
| mall_code | String | uri | true | 商城编号 | 
| site_code | String | query | true | 国家码 | 
| 参数名 | 类型 | 说明 | 
|---|---|---|
| result | MallOpenApiInfoVO | 返回结果 | 
result 说明
| 参数名 | 类型 | 说明 | 
|---|---|---|
| mall_code | String | 商城编号 | 
| mall_name | String | 商城名称 | 
| logo_icon | String | 商城图标 | 
| bind_app_info | List | 已绑定的商城信息 | 
| paid_types | List | 商城支持的支付方式。 
 | 
| currency | String | 币种 | 
| status | Integer | 商城状态。 
 | 
bind_app_info 说明
| 参数名 | 类型 | 说明 | 
|---|---|---|
| name | String | App 名称 | 
| status | Integer | App 状态。 
 | 
GET: /v1.0/sellercenter/mall/info/8h4tiuredd***?site_code=CN
{
    "result": {
        "mall_code": "my-mallCode",
        "logo_icon": "商品logo",
        "paid_types": [
            "wechat_pay"
        ],
        "bind_app_info": [
            {
                "name": "appName",
                "status": 1
            }
        ],
        "mall_name": "商城名称",
        "currency": "",
        "status": 1
    },
    "t": 1624957508619,
    "success": true
}
参考 错误码。
错误码 | 错误码 | 错误信息 | 说明 | | --- | --- | --- | | 2000000 | params error | 参数错误 | | 2001000 | shop does not exist | 店铺不存在 |
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈