店铺信息更新
需要验证签名
接口描述
更新店铺信息。
请求头
| Parameter | Type | Required | Description |
|---|---|---|---|
| Authorization | string | M | access_token |
| Content-Type | string | M | application/json |
请求参数
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | string(64) | M | 客户在PP注册后的唯一ID |
| store_id | string(64) | M | 店铺ID |
| store_url | string(256) | O | 店铺url |
| name | string(256) | O | 店铺名称 |
| category | enum | O | 销售类目,见附录: 范围-店铺销售类目 |
| extra_info | string(2048) | O | 其他的信息,json |
返回响应
| Parameter | Type | Required | Description |
|---|---|---|---|
| store_id | string | M | PP生成的店铺唯一ID |
返回示例
- 成功
- 失败
{
"code": 200,
"message": "SUCCESS",
"data": {
"store_id": "IT8623090607825418235"
}
}
{
"code": 900000,
"message": "system error",
"data": null
}
错误码
| 返回码 | 描述 | 解决方案 |
|---|---|---|
| 900000 | system error | 系统错误,请联系PingPong技术人员核查 |
| 900002 | illegal param | 参数有误,请根据提示更正信息 |
| 940002 | store not exist | 检查store_id |