确认激活店面,未确认不会改线上指针
POST/api/v1/storefront/releases/{id}/activate
| 认证 | 请求头 Authorization: Bearer <访问令牌>,访问令牌用设备码换取,不要向用户要密码、短信验证码或 API Key |
|---|---|
| 权限 | 商家,需要 storefront:write 才能下载、上传或切换店面,只有 product:write 不够 |
路径参数
path
idstring必填发布 ID
路径示例
/api/v1/storefront/releases/id_example/activate请求体
application/json
未确认不会改指针
confirmboolean必填必须是 true
请求示例
{
"confirm": true
}响应
200
application/json
成功时 code 为 200,资源在 data
idstring必填发布 ID
activeboolean必填确认后为 true
响应示例
{
"id": "id_example",
"active": true
}