ScriptTags
Returns a list of script tags.
Table-Specific Information
Select
The driver uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The driver processes other filters client-side within the driver.
- Id supports the '=,IN' comparison operators.
- Src supports the '=,IN' comparison operators.
For example, the following queries are processed server side:
SELECT * FROM ScriptTags
SELECT * FROM ScriptTags WHERE Id = 'Val1'
SELECT * FROM ScriptTags WHERE Src = 'Val1'
Insert
The following columns can be used to create a new record:
Cache, Src, DisplayScope
Update
The following columns can be updated:
Cache, Src, DisplayScope
Delete
You can delete entries by specifying the following column:
Id
Columns
Name | Type | ReadOnly | References | Description |
Id [KEY] | String | True |
A globally-unique ID. | |
LegacyResourceId | String | True |
The ID of the corresponding resource in the REST Admin API. | |
Cache | Bool | False |
Whether the Shopify CDN can cache and serve the script tag. If 'true', then the script will be cached and served by the CDN. The cache expires 15 minutes after the script tag is successfully returned. If 'false', then the script will be served as is. | |
Src | String | False |
The URL to the remote script. | |
DisplayScope | String | False |
The page or pages on the online store that the script should be included. | |
CreatedAt | Datetime | True |
The date and time when the script tag was created. | |
UpdatedAt | Datetime | True |
The date and time when the script tag was last updated. |