跳到主要内容

店铺查询

POST /v1/mid-open-api/merchant/store/query
需要验证签名

接口描述

店铺查询。

提示
  1. 可用于查询店铺相关信息和授权状态

请求头

ParameterTypeRequiredDescription
AuthorizationstringMaccess_token
Content-TypestringMapplication/json

请求参数

ParameterTypeRequiredDescription
client_idstring(64)Mpp用户唯一标志
store_idstring(64)M店铺ID

返回响应

ParameterTypeRequiredDescription
client_idstringM用户id
store_idstringM店铺ID
platformenumM平台
namestringM店铺名称
store_urlstringO店铺url
categoryenumM销售类目
seller_idstringC店铺的seller_id,成功授权过的才会有
auth_statusenumM店铺授权状态: (见本文下面说明: UNAUTHORIZED,PROCESSING,SUCCESS,FAILED)
auth_fail_reasonstringC授权失败原因(授权失败时存在)

返回示例

{
"code": 200,
"message": "SUCCESS",
"data": {
"store_id": "2309060223436555",
"client_id": "IT8623090602251418231",
"platform": "ANAZON_NA",
"name": "店铺name",
"store_url": "www.xxx.com",
"category": "General Categories",
"auth_status": "SUCCESS",
"status": "NORMAL"
}
}

错误码

返回码描述解决方案
900000system error系统错误,请联系PingPong技术人员核查
900002illegal param参数有误,请根据提示更正信息
910001user not existclient_id不存在,请核对后再次发起
940002store not exist检查store_id,请核对后再次发起

附录

1、店铺审核状态

描述
UNAUTHORIZED未授权
PROCESSING授权中
SUCCESS授权成功
FAILED授权失败