修改指定卡片的浮窗展示状态,设置是否在观众端以浮窗形式显示目标卡片。
说明
该接口已经不再维护,建议调用 ExplainProduct 接口更新商品卡片浮窗展示状态。
请求频率:单用户请求频率限制为 120 次/分钟。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息详见公共参数。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ExplainProductAPI | 接口名称。当前 API 的名称为 ExplainProductAPI 。 |
Version | String | 是 | 2020-06-01 | 接口版本。当前 API 的版本为 2020-06-01 。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
ActivityId | Long | 是 | 17791682871580 | 直播间 ID。您可以通过调用 ListActivityAPI 接口查询 ID。 |
ProductId | Long | 是 | 492046 | 卡片 ID。您可以通过调用 GetActivityProductAPI 接口查询 ID。 |
ExplainStatus | Integer | 是 |
| 讲解状态。开启直播时移功能才会显示本字段,详见商品卡片。
|
FloatingStatus | Integer | 是 |
| 该卡片是否浮窗展示。支持以下两种取值。
|
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Status | Boolean |
| 更新菜单操作状态。支持以下两种取值。
|
POST https://livesaas.volcengineapi.com/?Action=ExplainProductAPI&Version=2020-06-01 { "ActivityId": 17791682871580, "ExplainStatus": 1, "FloatingStatus": 1, "ProductId": 492046 }
{ "ResponseMetadata": { "RequestId": "201806041104200100100232280022D30", "Action": "ExplainProductAPI", "Version": "2020-06-01", "Service": "livesaas", "Region": "cn-north-1", "SystemTime": 1656067132 }, "Result": { "Status": true } }
下表提供了该接口特有的错误码,公共错误码请参见公共错误码和错误码文档。
状态码 | 错误码 | 错误信息 | 说明 |
---|---|---|---|
403 | OperationDenied.InteractionScriptExecuting | Operation is denied because interaction script is executing. | 由于当前播放的录播直播视频包含商品脚本,更新直播间中商品卡片的讲解状态或浮窗展示状态失败。请在当前录播直播视频播放结束后重试。 |