Skip to main content

StorefrontJSScript

type StorefrontJSScript {
id: ID!
authorizedAppId: String
contentType: StorefrontJSScriptContentTypeEnum
fileName: String
isActive: Boolean!
isHighPriority: Boolean
name: String!
order: Float
scriptContent: String!
storeAppId: String
storefrontId: String!
}

Fields

idID!required
authorizedAppIdString

The id of the logged in application.

The type of javascript script content.

fileNameString

The type of javascript script content.

isActiveBoolean!required

Shows the availability status of the storefront.

isHighPriorityBoolean

Indicates if the script has a high priority and should be executed before others.

nameString!required

The storefront javascript script's name.

orderFloat

The order of the script to be executed.

scriptContentString!required

The storefront javascript script's content.

storeAppIdString

The store app's id.

storefrontIdString!required

The storefront's id.