UNPKG

inventora-shopify-admin-api

Version:

Shopify Admin API is a NodeJS library built to help developers easily authenticate and make calls against the Shopify API. It was inspired by and borrows heavily from ShopifySharp.

32 lines (27 loc) 867 B
import { ShopifyObject } from "./base"; import { ScriptTagDisplayScope } from "../enums/script_tag_display_scope"; /** * An entity representing a Shopify script tag. */ export interface ScriptTag extends ShopifyObject { /** * The date and time the script tag was created. */ created_at?: string; /** * Where the script tag should be included on the store. Known values are 'online_store', 'order_status' or 'all'. Defaults to 'all'. */ display_scope?: ScriptTagDisplayScope; /** * DOM event which triggers the loading of the script. Currently, 'onload' is the only accepted value. */ event?: "onload"; /** * Specifies the src of the script tag, i.e. which URL to load it from. */ src: string; /** * The date and time the script tag was updated. */ updated_at?: string; }