商户数据接口 ¶
商户信息 ¶
查询当前商户信息
请求
基本 | |
---|---|
HTTP URL | https://macromap.cxkjedu.com/api/open/merchant |
HTTP Method | GET |
请求头
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
Content-Type | string | 是 | 固定值:"application/json; charset=utf-8" |
open-token | string | 是 | app_api_token 示例值:"d13fc57d46bac217" 了解更多:获取访问凭证 api_token |
查询参数
该请求无请求参数
请求体
该请求无请求体
请求体示例
$ curl --location --request GET 'https://macromap.cxkjedu.com/api/open/merchant' \
--header 'content-type:application/json; charset=utf-8' \
--header 'open-token: d13fc57d46bac217'
响应体
名称 | 类型 | 描述 |
---|---|---|
status | string | 接口状态 SUCCESS 表示成功 |
code | int | 响应代码 200 表示成功 |
msg | string | 错误描述 |
data | data | - |
∟ id | int | 商户 id |
∟ name | string | 商户名称 |
string | 商户邮箱 | |
∟ merchant_id | string | 商户账号 |
∟ created_at | string | 商户创建时间 |
∟ updated_at | string | 商户修改时间 |
响应体示例
{
"status": "SUCCESS",
"code": 200,
"data": {
"id": 2,
"name": "宏图系统",
"email": "htbots@pbk6.cn",
"merchant_id": "cxexxxxxxxx",
"created_at": "2021-03-27T04:10:59.000000Z",
"updated_at": "2021-09-28T13:04:55.000000Z"
}
}