Skip to main content
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

OK

Schema
    codestring

    error code

    messagestring

    error message

    data object
    script_tags object[]

    List of script tags

  • Array [
  • 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