创建待批准的重置请求,Agent 不能自己执行
POST/api/v1/storefront/reset
| 认证 | 请求头 Authorization: Bearer <访问令牌>,访问令牌用设备码换取,不要向用户要密码、短信验证码或 API Key |
|---|---|
| 权限 | 商家,需要 storefront:write 才能下载、上传或切换店面,只有 product:write 不够 |
响应
200
application/json
只创建待批准请求
idstring必填重置请求 ID
statusstring必填请求状态
approval_urlstring必填交给人在浏览器批准的地址
executedboolean必填创建时为 false
响应示例
{
"id": "id_example",
"status": "string",
"approval_url": "https://example.test/resource",
"executed": true
}