跳到主要内容
版本:202201

创建Script Tag

POST 

/openapi/2022-01/script_tags_new

请求

请求体

    srcstring必填

    Script file url, for example: https://www.shoplazza.com/x.js

    display_scopestring必填

    Display scope, for example: index

    event_typestring

    Tag type, for example: myapp

    默认值: app

响应

200

数据结构
    script_tag object
    idstring
    示例: f50950fa-40ec-441f-b98d-e1869050dbf2
    display_scopestring
    示例: all
    event_typestring
    示例: app
    srcstring
    示例: https://shoplazza.com/x.js
    created_atstring
    示例: 2024-04-29T03:22:50Z
    updated_atstring
    示例: 2024-04-29T03:22:50Z