CData Python Connector for Shopify

Build 23.0.8839

ScriptTags

Returns a list of script tags.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators:

  • Id supports the '=,IN' comparison operators.
  • Src supports the '=' comparison operator.

The connector processes other filters client-side within the connector.

For example, the following queries are processed server-side:

SELECT * FROM ScriptTags WHERE Id='VALUE'

SELECT * FROM ScriptTags WHERE Src='VALUE'

Insert

INSERT statements are mapped to the 'scriptTagCreate' GraphQL mutation.

The following columns can be used to create a new record:

Cache, Src, DisplayScope

UPDATE

UPDATE statements are mapped to the 'scriptTagUpdate' GraphQL mutation.

The following columns can be updated:

Cache, Src, DisplayScope

DELETE

DELETE statements are mapped to the 'scriptTagDelete' GraphQL mutation.

You can delete entries by specifying the 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.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839