创建待批准的重置请求,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
}