获取脚本标签列表
GET /openapi/2023-10/script_tags
权限:read_script_tags
Query参数
参数名
说明
必填
类型
限制
示例
page
页码
否
[integer]
1
page_size
每页数量
否
[integer]
25
sort
排序
否
[string]
id: ID
created_at_gmt: 创建时间
updated_at_gmt: 更新时间
-id
filter[display_scope]
脚本执行页面
否
[string]
all: 所有页面
online_store: 正常浏览页面
order_status: 订单结果页面
all
示例响应内容
{
"data": [
{
"id": 1234,
"src": "<script src=\"https://eg.com/jqeury.js\"></script>",
"display_scope": "all",
"created_at_gmt": "2021-09-09 00:00:00",
"updated_at_gmt": "2021-09-09 00:00:00"
}
],
"links": {
"first": "https://example.hotishop.com/openapi/2023-10/script_tags?page=1",
"last": "https://example.hotishop.com/openapi/2023-10/script_tags?page=40",
"prev": null,
"next": "https://example.hotishop.com/openapi/2023-10/script_tags?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 40,
"path": "https://example.hotishop.com/openapi/2023-10/script_tags",
"per_page": "1",
"to": 1,
"total": 40
}
}
Last updated