Skip to main content
Version: 202201

Create Script Tag

POST 

/openapi/2022-01/script_tags_new

Request

Body

    srcstringrequired

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

    display_scopestringrequired

    Display scope, for example: index

    event_typestring

    Tag type, for example: myapp

    Default value: app

Responses

200

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