Version: 202607
List script tags
GET/openapi/2026-07/script_tags
Retrieves a paginated list of all script tags in a shop's storefront.
Request
Query Parameters
cursor string
Cursor for pagination
page_size int32
Page size
event_type string
Type of event
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
- ]
codestring
error code
messagestring
error message
data object
script_tags object[]
List of script tags
idstring
Created script tag ID
display_scopestring
Indicates where the script tag is applied
srcstring
URL of the script file
event_typestring
The tag type, as specified during creation
created_atstring
The timestamp when the script tag was created. Format: YYYY-MM-DDTHH:mm:ssZ
updated_atstring
The timestamp when the script tag was last updated. Format: YYYY-MM-DDTHH:mm:ssZ
cursorstring
Cursor for pagination
has_moreboolean
Whether there are more records
{
"code": "string",
"message": "string",
"data": {
"script_tags": [
{
"id": "string",
"display_scope": "string",
"src": "string",
"event_type": "string",
"created_at": "string",
"updated_at": "string"
}
],
"cursor": "string",
"has_more": true
}
}