CData Python Connector for Shopify

Build 26.0.9655

CData Python Connector for Shopify

Overview

The CData Python Connector for Shopify allows developers to write Python scripts with connectivity to Shopify. The connector wraps the complexity of accessing Shopify data in an interface commonly used by Python connectors to common database systems.

Key Features

  • WHL installation packages that enable installation with "pip install".
  • Supported for Python 3.10 or newer on Windows, Linux, and macOS.
  • Write and execute SQL queries to fetch and update data in Shopify.
  • Custom dialect class that enables SQLAlchemy 1.3 and 1.4 to use this connector.

Getting Started

See Getting Started to install the connector to your Python distribution and to create a basic connection to Shopify.

Using the Python Connector/Using from Tools

See Using the Connector for examples of executing basic SELECT, INSERT, UPDATE, DELETE, and EXECUTE queries with the module's provided classes.

See Using from Tools to connect Shopify data to tools such as Pandas or Petl.

SQLAlchemy ORM

SQLAlchemy can be leveraged to model the tables in Shopify with mapped classes. See From SQLAlchemy for instructions for configuring the Python connector with SQLAlchemy.

Pandas

Pandas' DataFrames can be used alongside the connector to generate analytical graphics. See From Pandas for a guide.

Schema Discovery

See Schema Discovery to query the provided system tables, which allows users to discover the available tables, views, and stored procedure, alongside additional information about their columns or parameters.

Advanced Features

Advanced Features details additional features supported by the connector, such as defining user defined views, ssl configuration, remoting, caching, firewall/proxy settings, and advanced logging.

SQL Compliance

See SQL Compliance for a syntax reference and code examples outlining the supported SQL.

Data Model

See Data Model for the available database objects. This section also provides more detailed information on querying specific Shopify entities.

Connection String Options

The Connection properties describe the various options that can be used to establish a connection.

CData Python Connector for Shopify

Getting Started

Connecting to Shopify

For information on the available WHL files for supported environments, and how to install the appropriate file for your Python distribution, see Package Installation.

For information on the module to import, and how to configure the necessary connection properties in a connection string, see Establishing a Connection.

Other available connection properties can be used to configure other aspects of the connector capabilities.

Python Version Support

The CData Python Connector for Shopify can be installed and used in Python 3.10 or newer.

Shopify Version Support

The connector models the Shopify Admin APIs as a relational database.

See Also

  • Using the Connector: Establish connections and query Shopify through Python code.
  • From SQLAlchemy: Use SQLAlchemy to establish a connection with dialect URL, and interact with Shopify data using mapped classes and Sessions.

CData Python Connector for Shopify

Package Installation

Dependencies

The Python connectors require that Python 3.10 or newer be installed.

Installation

The CData Python Connector for Shopify is available as a WHL file for Windows, Linux, and Mac. Each connector is built using the Python 3.10 Stable ABI (indicated by the abi3 tag in the filename), so a single wheel supports any Python 3.10 or newer installation — there is no need to match your exact Python minor version. Use the "pip install" command with the appropriate WHL file for your platform.

Windows:

pip install cdata_shopify_connector-26.0.9655-cp310-abi3-win_amd64.whl

Linux:

pip install cdata_shopify_connector-26.0.9655-cp310-abi3-linux_x86_64.whl

macOS:

pip install cdata_shopify_connector-26.0.9655-cp310-abi3-macosx_12_0_arm64.whl

The macOS wheel supports arm64 (Apple Silicon) architectures only on macOS 12 and newer.

Regardless of the environment, certain distributions might require that the "pip3 install" command be used instead, to differentiate from a Python 2 distribution that might exist already. After installation, confirm whether the connector is successfully installed by running the "pip list" command. If "cdata_shopify_connector" is present in the list output by the command, then the installation was successful.

Upgrading

When upgrading, "pip install" does not automatically clean up old JRE files. To avoid leftover files that could cause JVM errors, uninstall the previous version before installing the new one.

Licensing

After the installation is complete, a separate step is needed to activate a license for the connector. Among the CData assets in the distribution's site packages, there is an install-license tool that activates this license. From within the distribution's site-packages folder, after navigating to the "cdata/installlic_shopify" folder, simply use a command like the below to activate the license. Omitting the <key> argument activates a trial license:

  • Windows:
    ./install-license.exe <key>
  • Linux / Mac:
    ./install-license.sh <key>

Sometimes, file access issues may cause pip to install the connector in a fallback file path that is not the python distribution's main or primary site-packages location. This can make it difficult to find where the connector was installed, and from there, the license activator. In that event, this python script below will print out the full file path of the connector's native file. This file will be stored in the mentioned cdata folder, from which the installlic_shopify folder is trivial to find:

import os
import cdata.shopify
path = os.path.abspath(cdata.shopify.__file__)
print(path)

Uninstallation

If the connector needs to be uninstalled for any reason, do so by running the pip uninstall command, as in the example below:

pip uninstall cdata-shopify-connector

CData Python Connector for Shopify

Establishing a Connection

The objects available within our connector are accessible from the "cdata.shopify" module. To use the module's objects directly:

  1. Import the module as follows:
    import cdata.shopify as mod
  2. To establish a connection string, call the connect() method from the connector object using an appropriate connection string, such as:
    mod.connect("InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;")

Connecting to Shopify

This section describes how to connect to Shopify from the web, a desktop application, or a headless application. The supported authentication methods are OAuth and OAuthClient.

OAuth Authentication

Shopify supports OAuth authentication. In all cases, AuthScheme must be set to OAuth, and you must create a custom OAuth application. See Creating a Custom OAuth Application for more information.

Desktop Applications

Follow the steps below to authenticate with the credentials for a custom OAuth application.

Get and Refresh the OAuth Access Token

After setting the following, you are ready to connect:

  • InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to avoid repeating the OAuth exchange and manually setting the OAuthAccessToken.
  • OAuthClientId: Set this to the client Id assigned when you registered your application.
  • OAuthClientSecret: Set this to the client secret assigned when you registered your application.
  • CallbackURL: Set this to the redirect URI defined when you registered your application.
When you connect, the connector opens Shopify's OAuth endpoint in your default browser. Log in and grant permissions to the application. The connector then completes the OAuth process:
  1. The connector obtains an access token from Shopify and uses it to request data.
  2. The OAuth values are saved in the location specified in OAuthSettingsLocation. These values persist across connections.
The connector refreshes the access token automatically when it expires.

Web Applications

When connecting via a Web application, you need to register a custom OAuth application with Shopify. You can then use the connector to get and manage the OAuth token values. See Creating a Custom OAuth Application for more information.

Get an OAuth Access Token

Set the following connection properties to obtain the OAuthAccessToken:

Then call stored procedures to complete the OAuth exchange:

  1. Call the GetOAuthAuthorizationURL stored procedure. Set the AuthMode input to WEB and the CallbackURL to the Redirect URI you specified in your application settings. The stored procedure returns the URL to the OAuth endpoint.
  2. Navigate to the URL that the stored procedure returned in Step 1. Log in and authorize the web application. You are redirected back to the callback URL.
  3. Call the GetOAuthAccessToken stored procedure. Set the AuthMode input to WEB. Set the Verifier input to the code parameter in the query string of the redirect URI.

After you have obtained the access and refresh tokens, you can connect to data and refresh the OAuth access token automatically.

Automatic Refresh of the OAuth Access Token

To have the connector automatically refresh the OAuth access token, set the following on the first data connection.

On subsequent data connections, set the following:

Headless Machines

To configure the driver to use OAuth with a user account on a headless machine, you need to authenticate on another device that has an internet browser.

  1. Choose one of two options:
    • Option 1: Obtain the OAuthVerifier value as described in "Obtain and Exchange a Verifier Code" below.
    • Option 2: Install the connector on a machine with an internet browser and transfer the OAuth authentication values after you authenticate through the usual browser-based flow, as described in "Transfer OAuth Settings" below.
  2. Then configure the connector to automatically refresh the access token on the headless machine.

Option 1: Obtain and Exchange a Verifier Code

To obtain a verifier code, you must authenticate at the OAuth authorization URL.

Follow these steps:

  1. First, set the following properties: Then call the GetOAuthAuthorizationURL stored procedure with the appropriate CallbackURL. Open the URL returned by the stored procedure in a browser.
    • Log in and grant permissions to the connector. You are then redirected to the redirect URI. There is a parameter called code appended to the redirect URI. Note the value of this parameter. Later you will set this in the OAuthVerifier connection property.
Next, you need to exchange the OAuth verifier code for OAuth refresh and access tokens.

On the headless machine, set the following connection properties to obtain the OAuth authentication values:

  • InitiateOAuth: Set this to REFRESH.
  • OAuthVerifier: Set this to the noted verifier code (the value of the code parameter in the redirect URI).
  • OAuthClientId: Set this to the client Id in your custom OAuth application settings.
  • OAuthClientSecret: Set this to the client secret in the custom OAuth application settings.
  • OAuthSettingsLocation: Set this to persist the encrypted OAuth authentication values to the specified location.

Test the connection to generate the OAuth settings file, then re-set the following properties to connect:

  • InitiateOAuth: Set this to REFRESH.
  • OAuthClientId: Set this to the client Id assigned when you registered your application.
  • OAuthClientSecret: Set this to the client secret assigned when you registered your application.
  • OAuthSettingsLocation: Set this to the location containing the encrypted OAuth authentication values. Make sure this location gives read and write permissions to the connector to enable the automatic refreshing of the access token.

Option 2: Transfer OAuth Settings

Before connecting on a headless machine, install and create a connection with the driver on a device that supports an internet browser. Set the connection properties as described in "Desktop Applications" above.

After completing the instructions in "Desktop Applications", the resulting authentication values are encrypted and written to the location specified by OAuthSettingsLocation. The default filename is "OAuthSettings.txt".

Test the connection to generate the OAuth settings file, then copy the OAuth settings file to your headless machine.

On the headless machine, set the following connection properties to connect to data:

  • InitiateOAuth: Set this to REFRESH.
  • OAuthClientId: Set this to the client Id assigned when you registered your application.
  • OAuthClientSecret: Set this to the client secret assigned when you registered your application.
  • OAuthSettingsLocation: Set this to the location of the OAuth settings file you copied from the machine with the browser. Make sure this location gives read and write permissions to the connector to enable the automatic refreshing of the access token.

OAuth Client Authentication

Shopify supports OAuth authentication using the Client Credentials grant flow. You must create a custom OAuth application, define the required scopes, and install the application on the store where you want to retrieve data. See Creating a Custom OAuth Application for more information.

Note: The Client Credentials flow is available only for apps developed by your own organization and installed on stores that you own.

To connect, set the following properties:

  • AuthScheme: Set to OAuthClient to perform authentication using the Client Credentials grant type.
  • OAuthClientId: Set this to the client Id assigned when you registered your application.
  • OAuthClientSecret: Set this to the client secret assigned when you registered your application.

CData Python Connector for Shopify

Configuring JNI

Java Native Interface (JNI) is a standard programming interface for writing Java native methods and embedding the Java virtual machine into native applications.

The connector leverages the JNI for improved performance on Mac and Linux.

Configure the Config INI File

The Linux and Mac editions of the Shopify python connector are configured with an ini file. This file is used to set several parameters, including JNI behavior. This file is to be located in:

{path_to_distribution_site-packages}/cdata/config.ini

Ensure that any configuration properties you set in the ini file fall under the following section name (adjust the 311 number if you are using an different python version from 3.11):

  • For Linux:
    [shopify.cpython-311-x86_64-linux-gnu.so]
  • For Mac:
    [shopify.cpython-311-darwin.so]

Configure the JNI connector's behavior by editing the properties in the connector's config.ini file. The connector can be configured as follows:

  • LOGFILE: Set this the same way as the CDATA_LOGFILE envrionment variable below.
  • JAVA_HOME: Configure the path to the JVM library location used to launch the JVM.
  • CLASS_PATH: Use a colon-separated list to configure the paths to the third-party jar libraries.

Configure Environment Variables

Additionally, set the following environment variables:

  • CDATA_JAVA_HOME: Configure the path to the JVM library location used to launch the JVM.
  • CDATA_JVM_OPTIONS: Place JVM options here.
  • CDATA_LOGFILE: Set this in the following scheme: <SCHEME>://<TAG>[|<LEVEL>]

    • SCHEME: The options are STDOUT, FILE.
      • STDOUT: Both the native wrapper and odbc core log into stdout. The Logfile and Verbosity properties can override the behavior of ODBC core.
      • FILE: The native wrapper logs into <FILENAME> while the odbc core logs into <FILENAME>.driver.log. The Logfile and Verbosity properties can override the behavior of ODBC core.
    • TAG
      • For STDOUT, set this to 1. For FILE, set this to the filename.
    • LEVEL
      • Set to one of: FATAL | ERROR | WARNING | INFO | DEBUG

The following are some examples of this syntax:

  • STDOUT://1|DEBUG
  • FILE:///tmp/my_py.log|DEBUG

Custom Logger

The Python connector supports a custom logging mechanism for redirecting log output to any destination, such as a cloud storage service or logging framework. Use setCustomLoggerFactory() to register a factory function that creates a logger instance for each connection.

The factory function receives the context string from the Logfile connection property (the portion after CUSTOM://) and must return an object with a writeLog(verbosity, message) method.

To enable custom logging:

  1. Call setCustomLoggerFactory() with your factory function before opening connections.
  2. Set Logfile to CUSTOM:// followed by a context string to identify the connection.
  3. Set Verbosity to the desired log level.

The following example demonstrates a custom logger factory that creates a separate logger instance per connection:

import cdata.shopify as mod
import time

class MyLogger:
    def __init__(self, loggerId):
        self.loggerId = loggerId
    def writeLog(self, verbosity, message):
        print("[MyLogger " + self.loggerId + "] " + message)

def createLogger(context):
    return MyLogger(context[len("MyLoggerId="):])

mod.setCustomLoggerFactory(createLogger)

conn1 = mod.connect("...;Logfile=CUSTOM://MyLoggerId=1;Verbosity=2;")
# do something with conn1
time.sleep(1)  # Wait for logs to flush from conn1

conn2 = mod.connect("...;Logfile=CUSTOM://MyLoggerId=2;Verbosity=2;")
# do something with conn2
time.sleep(1)  # Wait for logs to flush from conn2

CData Python Connector for Shopify

Creating a Custom OAuth Application

Creating a Custom OAuth Application

Since the connector is not registered with Shopify you must use custom OAuth credentials to connect via web, desktop, or headless server. To register an app and obtain the client credentials, such as the OAuthClientId and OAuthClientSecret, follow these steps:

  1. Log in to the Shopify Dev Dashboard.
  2. Select Apps > Create app.
  3. Enter a name for the application and click Create.
  4. In the Access section, specify the required scopes (see Establishing a Connection). If you are using the Authorization Code grant flow (OAuth), also specify a redirection URL:
    • For Desktop authentication, set the redirection URL to local host; for example, http://localhost:33333, the provider's default.
    • For Web authentication, select a different port of your choice and set the CallbackURL to the exact reply URL you defined.

    Note: A redirection URL is not required when using the Client Credentials grant flow (OAuthClient).

  5. Click Release.
  6. Optionally enter a name and message for the version and click Release again.
  7. Select the Settings tab to view and record the client Id and secret.
  8. Select the Home tab. From here, you can optionally install the app on a specific store or select a distribution method.

You may now use the client Id and secret credentials to access your store's data.

CData Python Connector for Shopify

Performance in GraphQL

GraphQL API Rate Limiting

Point-Based Rate Limits

GraphQL was created to overcome shortcomings that REST APIs were not designed to address. Working with GraphQL has several advantages, one of which is reducing the number of HTTP calls required to obtain all the data compared to a REST API.

However, calls to the GraphQL Admin API are limited based on estimated query costs, which means that the cost of queries over time should be considered rather than the amount of requests.

The points function in a very straightforward manner. A bucket of 1000 cost points is given to each app and store combination, with a leak rate of 50 cost points per second. This means that at any given time, the total cost of your queries cannot exceed 1,000 points, and that space in the app's bucket is created at a rate of 50 points per second. Plainly put, every second, you're given 50 points in a typical plan. Any mutation that requires you to edit, create, or delete data costs ten points. The cost of obtaining an object, on the other hand, is merely one point. Let's imagine you needed an order, but you also wanted each and every line item from that order. That isn't going to be a one-point penalty. If your order contains 10 line items, each of those line items will cost one point, and the order itself will cost one point, totaling 11 points.

The requested and actual query costs are combined to set the limit. Before the query can be executed, the app's bucket must have enough space to accommodate the desired cost. When the query is finished, the bucket is repaid the difference between the requested and actual query costs.

The cost of the request and the state of the throttle are included in the response. The following information is returned under the extensions key:

"extensions": {
    "cost": {
      "requestedQueryCost": 101,
      "actualQueryCost": 46,
      "throttleStatus": {
        "maximumAvailable": 1000,
        "currentlyAvailable": 954,
        "restoreRate": 50
      }
    }
  }
  

Taking these into consideration, our driver must calculate the appropriate quantity of data that can be retrieved each request to avoid throttling. The pagesize of a table is calculated automatically based on the number of fields and data in the table to conform to GraphQL API restrictions. Due to a low computed pagesize, performance for large tables in GraphQL may be lacking. An alternative is to increase the MaxPointsPerCall, which forces an increase in the pageisze, but we do not encourage this as it will most certainly result in throttling.

GraphQL Bulk API

Bulk operations, rather than single queries, are recommended for data replication tasks.

Bulk operations are intended to handle massive amounts of data and do not have the same cost or rate constraints as single queries. You'll have to paginate your data sets if you don't utilize the bulk query. GraphQL is cost-based, but you're still limited to a specific number per request.

With a Bulk Operation API, this is not the case. Therefore, we suggest setting UseBulkAPI to TRUE in the connection string to retrieve massive amounts of data without concerns about pagination or throttling.

CData Python Connector for Shopify

Changelog

General Changes

DateVersionSourceCategoryTypeDescription
2026-05-2726.0.9643GeneralConnectionRemoved
  • Removed the deprecated ReplaceInvalidTypesWithNull connection property. Use the ReplaceInvalidValuesWithNull property instead.
2026-05-2226.0.9638PythonRemoved
  • Remove support for Intel x64 architecture on macOS
2026-05-2126.0.9637ShopifyConnectionChanged
  • In the Schema connection property, updated the default value to the latest version ("GRAPHQL-2026-01").
2026-05-2126.0.9637ShopifyConnectionRemoved
  • In the Schema connection property, removed the deprecated "GraphQL-2025-04" option.
2026-05-1126.0.9627ShopifyData ModelAdded
  • In the GRAPHQL-2025-04, GRAPHQL-2025-07, GRAPHQL-2025-10, and GRAPHQL-2026-01 schemas, added the OrderId and OrderReturnStatus columns to the following views: ReturnLineItems, ReturnExchangeLineItems, ReturnLineItemsUnverified, and ReverseFulfillmentOrders.
2026-05-1126.0.9627ShopifyData ModelChanged
  • In the GRAPHQL-2025-04, GRAPHQL-2025-07, GRAPHQL-2025-10, and GRAPHQL-2026-01 schemas, renamed the OrdersId column in the Returns table to OrderId.
2026-05-0726.0.9623GeneralData ModelAdded
  • Added the ColumnCapabilities column to the sys_tablecolumns system table. This column is a bit mask denoting the column's write capabilities.
2026-05-0726.0.9623PythonChanged
  • Updated embedded JRE to jre-17.0.19+10 (Linux x64 / MacOs x64).
2026-04-2726.0.9613ShopifyCompatibilityAdded
  • Expanded GraphQL functionality with the following changes in the GRAPHQL-2025-04 and GRAPHQL-2025-07 schemas:
    • Added the CollectionRules table.
    • Added INSERT/DELETE support for Collections.
    • Added the CustomerGenerateActivationUrl stored procedure.
    • Added the CustomerSendAccountInviteEmail stored procedure.
    • Added the DiscountCodeRedeemCodeBulkDelete stored procedure.
    • Added the DiscountsAutomaticFreeShipping table (INSERT/UPDATE/DELETE).
    • Added INSERT/UPDATE/DELETE support for DiscountsCodeFreeShipping.
    • Added the DraftOrderComplete stored procedure.
    • Added the DraftOrderInvoiceSend stored procedure.
    • Added the FulfillmentCancel stored procedure.
    • Added the FulfillmentOrderHold stored procedure.
    • Added the FulfillmentOrderMove stored procedure.
    • Added the FulfillmentOrderReleaseHold stored procedure.
    • Added the MarketingActivities stored procedure (INSERT/UPDATE/DELETE).
    • Added the MarketingEngagementCreate stored procedure.
    • Added the OrderShippingLineDiscountAllocations view.
    • Added the OrderSuggestRefund stored procedure.
    • Added the ThemeFiles table (UPSERT/DELETE).
    • Added the ThemeFilesCopy stored procedure.
    • Added the DiscountAppCodes, DiscountBasicCodes, DiscountBxgyCodes, and DiscountFreeShippingCodes views.
    • Added the DiscountRedeemCodeBulkAdd, DiscountCodeRedeemCodeBulkDelete stored procedures.
    • Added the AppPurchases view.
    • Added the AppSubscriptionLineItemUsageRecords table (INSERT).
    • Added the AppSubscriptionTrialExtend stored procedure.
2026-04-1726.0.9603ShopifyCompatibilityRemoved
  • Removed support and related logic for REST.
2026-04-1526.0.9601GeneralQuery ExecChanged
  • String comparisons using GREATER, LESS, and CONTAINS operators are now case-insensitive by default.
2026-04-1526.0.9601ShopifyData ModelAdded
  • Added support for the GRAPHQL-2025-10, REST-2025-10 and GRAPHQL-2026-01, REST-2026-01 schemas.
2026-04-1526.0.9601ShopifyData ModelRemoved
  • Removed the deprecated 2024-04, 2024-07, 2024-10, and 2025-01 schemas for GRAPHQL and REST.
2026-04-0826.0.9594ShopifySecurityChanged
  • TLS 1.3 is now supported by default for HTTP connections.
2026-03-2625.0.9581ShopifyData ModelAdded
  • In all GraphQL schemas, added the following columns to the Metafields table: OwnerUpdatedAt and Identifier.
  • In all GraphQL schemas, in the Shop view, added the UpdatedAt column.
  • In all GraphQL schemas, in the ProductMediaImages table, added the UpdatedAt column.
2026-03-2625.0.9581ShopifyQuery ExecAdded
  • In all GraphQL schemas, added server-side filtering support for the Namespace column of the Metafields table with the '=' operator.
2026-03-1125.0.9566ShopifyData ModelAdded
  • Added INSERT/DELETE support for the CollectionProducts table in all five GraphQL schemas.
2026-02-2625.0.9553ShopifyChanged
  • Changed the Products table for pre-2025-07 GraphQL schemas. The PublishedOnCurrentPublication column is now dynamically hidden. The driver exposes this column only when the app has the unauthenticated_read_content scope and an associated publication, preventing errors for apps without an associated sales channel or publications.
2026-02-2625.0.9553ShopifyRemoved
  • Removed the ShopifyPaymentsAccountVerifications view from the GraphQL 2024-04, 2024-07, and 2025-07 schemas. The corresponding API resource no longer exists.
  • Removed the PublishedOnCurrentPublication and ResourcePublicationOnCurrentPublication* columns from the Products table in the 2025-07 GraphQL schema. These columns have been deprecated by Shopify. Use the Publications and PublicationProducts tables instead.
  • Removed the following columns from the OrderTransactions table in the 2025-07 GraphQL schema: CardPaymentDetailsName, CardPaymentDetailsBin, CardPaymentDetailsCompany, CardPaymentDetailsNumber, CardPaymentDetailsWallet, CardPaymentDetailsExpirationMonth, CardPaymentDetailsExpirationYear, CardPaymentDetailsAvsResultCode, and CardPaymentDetailsCvvResultCode. The PaymentDetailsCard* columns return the same data.
  • Removed the following columns from the RefundTransactions view in the 2025-07 GraphQL schema: CardPaymentDetailsName, CardPaymentDetailsBin, CardPaymentDetailsCompany, CardPaymentDetailsNumber, CardPaymentDetailsWallet, CardPaymentDetailsExpirationMonth, CardPaymentDetailsExpirationYear, CardPaymentDetailsAvsResultCode, and CardPaymentDetailsCvvResultCode. The PaymentDetailsCard* columns return the same data.
2026-02-2625.0.9553ShopifyAdded
  • Added the following columns to the RefundTransactions view in the 2025-07 GraphQL schema: UserId, AmountRoundingSetPresentmentMoneyAmount, AmountRoundingSetPresentmentMoneyCurrencyCode, AmountRoundingSetShopMoneyAmount, AmountRoundingSetShopMoneyCurrencyCode, CurrencyExchangeAdjustmentId, PaymentDetailsLocalPaymentDescriptor, PaymentDetailsLocalPaymentMethodName, PaymentDetailsShopPayInstallmentsPaymentMethodName, PaymentDetailsCardAvsResultCode, PaymentDetailsCardBin, PaymentDetailsCardCompany, PaymentDetailsCardCvvResultCode, PaymentDetailsCardExpirationMonth, PaymentDetailsCardExpirationYear, PaymentDetailsCardName, PaymentDetailsCardNumber, PaymentDetailsCardPaymentMethodName, and PaymentDetailsCardWallet.
2026-02-1225.0.9539ShopifyAdded
  • Added the DiscountApplicationType, DiscountApplicationTargetType, DiscountApplicationTargetSelection, DiscountApplicationTitle, DiscountApplicationValueAmount, DiscountApplicationValueCurrencyCode, and DiscountApplicationValuePercentage columns to the OrderLineItemDiscountAllocations view for the GRAPHQL-2025-04 and GRAPHQL-2025-07 schemas.
2026-02-1025.0.9537ShopifyAdded
  • Added two new schemas: REST-2025-07 and GRAPHQL-2-25-07. In these new schemas:
    • In the Shop table, PlanDisplayName column is remapped to PlanPublicDisplayName.
    • In the OrderCancel stored procedure, Refund input has been remapped to RefundMethodOriginalPaymentMethodsRefund.
    • A new input, RefundMethodStoreCreditRefundExpiresAt, has been added to the OrderCancel stored procedure.
    • The Article table now supports server-side filtering with the Title column.
    • A new column, Number, has been addded to the Orders table.
    • A new column, CurrencyExchangeAdjustmentId, has been added to the OrderTransactions table.
    • A new input, ProcessedAt, has been added to the OrderCreateManualPayment procedure.
    • The ReturnLineItems view has three new columns: ProcessedQuantity, ProcessableQuantity, and UnprocessedQuantity.
    • The Returns table has three new columns: ClosedAt, CreatedAt, and RequestApprovedAt.
    • The Fulfillments table now supports server-side filtering with the CreatedAt and UpdatedAt columns.
    • The SegmentFilters table has four new columns: IntegerMinRange, IntegerMaxRange, FloatMinRange, and FloatMaxRange.
2026-01-2325.0.9519ShopifyRemoved
  • Removed the ShopifyPaymentsAccountVerifications view from the GraphQL schemas.
2026-01-1325.0.9509GeneralAdded
  • Added support for the REGEXP_REPLACE() string function.
2026-01-1325.0.9509ShopifyAdded
  • Added the Size column to the Files table in the GraphQL schema.
2025-12-2125.0.9486PythonAdded
  • Added support for custom loggers in Python connectors on Linux and macOS.
2025-12-1625.0.9481ShopifyAdded
  • Added NotifyCustomer as an input to the SendFulfillmentRequest stored procedure in the REST schemas.
2025-12-1125.0.9476ShopifyAdded
  • Added support for OAuthClient as an AuthScheme connection property value.
2025-12-0525.0.9470GeneralAdded
  • Added support for the INSERT INTO SELECT statement, with driver-side execution for providers that do not support the operation natively.
2025-11-1925.0.9454ShopifyAdded
  • Added the FulfillmentOrderUpdatedAt column to the FulfillmentOrderLineItems view in the GraphQL schemas.
  • Added server-side filtering support for the UpdatedAt column in the FulfillmentOrders table in the GraphQL schemas.
2025-10-3025.0.9434PythonChanged
  • Updated embedded JRE to jre-17.0.17+10 (Linux x64 / MacOs x64).
2025-10-0625.0.9410GeneralAdded
  • Support for parsing datetime formats using ".S" and ",S" for milliseconds and nanoseconds.
2025-09-2225.0.9396ShopifyAdded
  • Added support for filtering the Discounts tables using the EndsAt, CreatedAt, and UpdatedAt columns.
  • Added support for INSERT, UPDATE, and DELETE operations on the CustomerAddresses table.
  • Added support for filtering the Articles table using the BlogId, Handle, and PublishedAt columns.
  • Added support for filtering the Pages table using the PublishedStatus, PublishedAt, and Id columns.
  • Added support for filtering the ArticleComments table using the CreatedAt, UpdatedAt, and PublishedAt columns.
  • Added the OrderCreateManualPayment stored procedure with Amount, CurrencyCode, OrderId, and PaymentMethod inputs.
  • Added support for filtering the Collections, Orders, Locations, and Products tables using the Key, Namespace, and Value columns.
  • The Collections and Products tables supports filtering using the Handle column.
2025-09-1525.0.9389ShopifyAdded
  • Added the Scope connection property.
2025-09-1225.0.9386GeneralAdded
  • Added the IsInsertable, IsUpdateable, and IsDeleteable columns to the sys_tables table.
2025-09-1025.0.9384GeneralChanged
  • All columns in statically defined Views are now reported as read-only.
2025-09-0325.0.9377GeneralChanged
  • Corrected the behavior when IN criteria with NULL values are used in the projection part. It now returns NULL instead of 0. For example, "NULL IN (1,2)" returns "NULL".
2025-09-0125.0.9375GeneralAdded
  • Added support for using the CAST function with infinity values. This function can cast "inf" and "-inf" to DOUBLE, FLOAT, or REAL.
2025-08-2925.0.9372ShopifyAdded
  • Added the REST-2025-04 schema.
  • Added the GRAPHQL-2025-04 schema.
  • Added the RequiresShippingMethod column to the FulfillmentServices table for SELECT, INSERT, and UPDATE operations in the GRAPHQL Data Model.
  • Added the Fee and Net columns to the ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders table in the GRAPHQL Data Model.
  • Added the RecurringPricingPlanHandle column to the AppSubscriptionLineItems table in the GRAPHQL Data Model.
  • Added the Role column for INSERT operations on the Themes table in the GRAPHQL Data Model.
  • Added the SmsMarketingConsentSourceLocationId and EmailMarketingConsentSourceLocationId columns to the Customers table in the GRAPHQL Data Model.
  • Added the Fee and Net columns to the PayoutTransactionsAdjustmentOrderTransactions table in the REST Data Model.
2025-08-2225.0.9365ShopifyAdded
  • Added the GRAPHQL-2025-01 schema.
  • Added the REST-2025-01 schema.
2025-08-2225.0.9365ShopifyRemoved
  • Removed the AccountNumer and RoutingNumber columns from the ShopifyPaymentsAccountBankAccounts table.
2025-08-2125.0.9364GeneralChanged
  • Report behavior change:
    • Fixed inconsistent string value comparisons in non-table queries.
    • For example, "SELECT 'A' = 'a'" previously returned false, but it now returns true.
2025-08-1325.0.9356GeneralChanged
  • Changed the maximum number of pages held in memory from 15 to 5 for the page providers to decrease heap usage.
2025-07-0825.0.9320ShopifyAdded
  • Added PointsBufferSize as a connection property. This property specifies the size of a point buffer used to increase the calculated wait time. Setting this property can help to prevent API throttling.
2025-07-0725.0.9319PythonRemoved
  • Removed the 32-bit version of Windows Python.
2025-07-0225.0.9314PythonRemoved
  • Removed support for Python 3.9.
2025-07-0225.0.9314ShopifyAdded
  • Added server-side filtering support for the OrderID column in the FulfillmentOrders table.
2025-06-2625.0.9308ShopifyAdded
  • Added the LocationInventoryQuantity filter to the ProductVariants view in all GRAPHQL schemas.
  • Added the Source column to the following views: AbandonedCheckoutTaxLines, DraftOrderLineItemTaxLines, DraftOrderTaxLines, FulfillmentLineItemTaxLines, OrderLineItemTaxLines, and OrderTaxLines in the GRAPHQL-2024-10 schema.
  • Added the DeliveryMethodPresentedName and DestinationLocationId columns to the AssignedFulfillmentOrders and FulfillmentOrders views in the GRAPHQL-2024-10 schema.
  • Added the BuyerExperienceConfigurationEditableShippingAddress and BuyerExperienceConfigurationDepositPercentage columns to the CompanyLocations view in the GRAPHQL-2024-10 schema.
  • Added the AppliesOnSubscription and RecurringCycleLimit columns to the DiscountsAutomaticApp view in the GRAPHQL-2024-10 schema.
  • Added the DutiesIncluded, StatusPageUrl, MerchantBusinessEntityId, TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyAmount, TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyCurrencyCode, TotalCashRoundingAdjustmentPaymentSetShopMoneyAmount, TotalCashRoundingAdjustmentPaymentSetShopMoneyCurrencyCode, TotalCashRoundingAdjustmentRefundSetPresentmentMoneyAmount, TotalCashRoundingAdjustmentRefundSetPresentmentMoneyCurrencyCode, TotalCashRoundingAdjustmentRefundSetShopMoneyAmount, and TotalCashRoundingAdjustmentRefundSetShopMoneyCurrencyCode columns to the Orders view in the GRAPHQL-2024-10 schema.
  • Added the AmountRoundingSetPresentmentMoneyAmount, AmountRoundingSetPresentmentMoneyCurrencyCode, AmountRoundingSetShopMoneyAmount, AmountRoundingSetShopMoneyCurrencyCode, PaymentDetailsLocalPaymentDescriptor, PaymentDetailsLocalPaymentMethodName, PaymentDetailsShopPayInstallmentsPaymentMethodName, PaymentDetailsCardAvsResultCode, PaymentDetailsCardBin, PaymentDetailsCardCompany, PaymentDetailsCardCvvResultCode, PaymentDetailsCardExpirationMonth, PaymentDetailsCardExpirationYear, PaymentDetailsCardName, PaymentDetailsCardNumber, PaymentDetailsCardPaymentMethodName, and PaymentDetailsCardWallet columns to the OrderTransactions view in the GRAPHQL-2024-10 schema.
  • Added the PublicationId, VariantId, and VariantTitle filters to the Products view in the GRAPHQL-2024-10 schema.
  • Added the UnitPriceMeasurementMeasuredType, UnitPriceMeasurementQuantityUnit, UnitPriceMeasurementQuantityValue, UnitPriceMeasurementReferenceUnit, and UnitPriceMeasurementReferenceValue columns to the ProductVariants view in the GRAPHQL-2024-10 schema.
  • Added the OwnerName column to the Shop view in the GRAPHQL-2024-10 schema.
  • Added the BusinessEntityId, SummaryAdvanceFeesAmount, SummaryAdvanceFeesCurrencyCode, SummaryAdvanceGrossAmount, and SummaryAdvanceGrossCurrencyCode columns to the ShopifyPaymentsAccountPayouts view in the GRAPHQL-2024-10 schema.
  • Added the AccountType column to the StaffMembers view in the GRAPHQL-2024-10 schema.
  • Added the OrderId column to the TenderTransactions view in the GRAPHQL-2024-10 schema.
  • Added the DeliveryMethodId, DeliveryMethodPresentedName, and DeliveryMethodType columns to the AssignedFulfillmentOrders and FulfillmentOrders views in the REST-2024-10 schema.
  • Added the MerchantBusinessEntityId column to the Orders view in the REST-2024-10 schema.
  • Added the AmountRounding column to the OrderTransactions view in the REST-2024-10 schema.
2025-06-2525.0.9307GeneralRemoved
  • Removed the "ADLS Gen 1" value from the ConnectionType property.
2025-06-2525.0.9307PythonAdded
  • Added support for Python 3.13 in Windows, Linux, and Mac editions.
2025-06-2525.0.9307PythonRemoved
  • Removed support for Python 3.8 as it is no longer supported.
2025-06-2325.0.9305ShopifyRemoved
  • Removed the following schemas: REST-2023-04, REST-2023-07, REST-2023-10, REST-2024-01, GRAPHQL-2023-04, GRAPHQL-2023-07, GRAPHQL-2023-10, and GRAPHQL-2024-01.
2025-06-2025.0.9302GeneralAdded
  • Created the following functions:
    • TEXT_ENCODE: encodes a string into a different charset (UTF8 → UTF7 and returns a binary array as the result).
    • TEXT_DECODE: takes a binary array and decodes it back into a string when provided the charset.
    • BASE64_ENCODE: takes a binary array and encodes it as a base64 string (varchar).
    • BASE64_DECODE: takes a base 64-encoded string and decodes it into a binary array.
2025-06-1825.0.9300GeneralChanged
  • The internal code for exception handling has been refactored. Exception messages returned during certain error conditions may now have different wording or formatting.
2025-05-2825.0.9279ShopifyChanged
  • The FulfillmentOrders view's status column now supports filtering by OPEN, CLOSED, CANCELLED, IN_PROGRESS, INCOMPLETE, ON_HOLD, and SCHEDULED.
  • The FulfillmentOrders view now also returns CLOSED FulfillmentOrders when executing a SELECT query. This is a breaking change.
2025-05-2725.0.9278GeneralRemoved
  • Removed the "Proprietary" enum option from ProxyAuthscheme.
2025-05-1625.0.9267ShopifyAdded
  • Added the InventoryMoveQuantities, InventoryAdjustQuantities, and InventoryBulkToggleActivation stored procedures to the GRAPHQL-2023-04, GRAPHQL-2023-07, GRAPHQL-2023-10, GRAPHQL-2024-01, GRAPHQL-2024-04, GRAPHQL-2024-07 and GRAPHQL-2024-10 schemas.
  • Added the InventorySetScheduledChanges stored procedure to the GRAPHQL-2024-01, GRAPHQL-2024-04, GRAPHQL-2024-07 and GRAPHQL-2024-10 schemas.
  • Added the InventorySetQuantities stored procedure in the GRAPHQL-2024-07 and GRAPHQL-2024-10 schemas.
  • Added the InventoryAdjustmentGroups and InventoryAdjustmentGroupChanges views to the GRAPHQL-2023-04, GRAPHQL-2023-07, GRAPHQL-2023-10, GRAPHQL-2024-01, GRAPHQL-2024-04, GRAPHQL-2024-07, and GRAPHQL-2024-10 schemas.
  • Added the InventoryItemInventoryLevelScheduledChanges view to the GRAPHQL-2024-01, GRAPHQL-2024-04, GRAPHQL-2024-07, and GRAPHQL-2024-10 schemas.
  • Added support for INSERT and DELETE to the InventoryItemInventoryLevels table in the GRAPHQL-2023-04, GRAPHQL-2023-07, GRAPHQL-2023-10, GRAPHQL-2024-01, GRAPHQL-2024-04, GRAPHQL-2024-07, and GRAPHQL-2024-10 schemas.
  • Added the InventoryItemId column to the InventoryItemInventoryLevelQuantities view in the GRAPHQL-2024-04, GRAPHQL-2024-07, and GRAPHQL-2024-10 schemas.
2025-05-1325.0.9264ShopifyAdded
  • Added the TrackingInfoCompany column to the Fulfillments table in the GRAPHQL 2024-10 schema.
  • Added the following tables to the GRAPHQL 2024-07 and GRAPHQL 2024-10 schemas: Menus, StoreCreditAccountCreditTransactions, and StoreCreditAccountDebitTransactions.
  • Added the following views to the GRAPHQL 2024-07 and GRAPHQL 2024-10 schemas: CustomerStoreCreditAccounts, LocalizationCountries, ProductBundleComponentOptionSelections, ProductBundleComponents, ProductOperations, StoreCreditAccountDebitRevertTransactions, and StoreCreditAccountExpirationTransactions.
  • Added input BundleComponents to the Products table and added support for creating and updating componentized products in the GRAPHQL 2024-07 and GRAPHQL 2024-10 schemas.
  • Added DELETE support for the Orders table in the GRAPHQL 2024-07 and GRAPHQL 2024-10 schemas.
  • Added INSERT/UPDATE/DELETE support for the CarrierServices view in the GRAPHQL 2024-10 schema.
2025-05-1225.0.9263PythonChanged
  • Updated embedded JRE to jre-17.0.15+6 (Linux x64 / MacOS x64) and jre-17.0.15+6 (MacOS aarch64).
2025-05-0725.0.9258ShopifyAdded
  • Added the OrderLineItemTaxLines view to all versions of GRAPHQL.
  • Added the OrderShippingLines, AbandonedCheckouts, AbandonedCheckoutTaxLines, and AbandonedCheckoutCustomAttributes views to the GRAPHQL-2024-10 schema.
  • Added server-side count support for the Collections, Companies, Customers, and UrlRedirects tables for all versions of the GRAPHQL schema.
  • Added server-side count support for the ProductVariants table in the REST 2023-04, 2023-07, 2023-10, and 2024-01 schemas.
  • Added server-side count support for the Events view for all versions of the GRAPHQL schemas.
  • Added server-side count support for the Blogs view in the GRAPHQL 2023-04, 2023-07, 2023-10, 2024-01, 2024-04, and 2024-07 schemas.
  • Added server-side count support for the Blogs table in GRAPHQL and in REST 2023-04, 2023-07, 2023-10, REST 2024-01, 2024-04, 2024-07, and REST 2024-10 schemas.
  • Added server-side count support for the DraftOrders table in all GRAPHQL and REST schema versions.
  • Added server-side count support for the Orders table in all GRAPHQL and REST schema versions.
  • Added server-side count support for the GiftCards table in all GRAPHQL and REST schema versions.
  • Added server-side count support for the Pages table in the REST 2023-04, REST 2023-07, REST 2023-10, REST 2024-01, REST 2024-04, REST 2024-07 schemas, in both GRAPHQL and REST 2024-10 schemas.
  • Added server-side count support for the Products table in both the GRAPHQL and REST 2023-04, 2023-07, 2023-10, 2024-01 schemas.
  • Added server-side count support for the Products table in the GRAPHQL 2024-04, 2024-07, and 2024-10 schemas.
  • Added NotifyCustomer and Message inputs for the INSERT operation in the Fulfillments table.
  • Added the InventoryAction pseudo-column for the DELETE operation to the FulfillmentServices table. When deleting a service, the LocationId column can be specified to determine a destination location for the inventory.
  • Added support for deactivating gift cards by updating the Enabled column.
  • Added the following columns to the GiftCards table: DeactivatedAt, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt, and UpdatedAt.
  • Added CreateVariantStrategy input for the INSERT operation in the ProductOptions table.
  • Added the UserId column to the OrderTransactions table.
  • Added support for the INSERT operation and corresponding inputs for the Orders table.
  • Added the Number column to the Orders table.
  • Added server-side filtering support for CurrentSubtotalLineItemsQuantity in the Orders table.
2025-05-0725.0.9258ShopifyChanged
  • Changed the State and FeedbackGeneratedAt pseudo-columns to columns in the AppFeedbacks table.
2025-05-0725.0.9258ShopifyDeprecated
  • Deleting gift cards is deprecated.
2025-04-3025.0.9251ShopifyAdded
  • Defined a composite key (RefundId and LineItemId) for the RefundLineItems view (GRAPHQL-2023-04 to GRAPHQL-2024-04).
  • Added an Id column as the primary key for the RefundLineItems view (GRAPHQL-2024-07 and later).
2025-04-3025.0.9251ShopifyChanged
  • CarrierServices.Id is now a primary key (all GRAPHQL schemas).
  • MetaobjectDefinitions.ID is now a primary key (all GRAPHQL schemas).
2025-04-2225.0.9243ShopifyAdded
  • In the 2024-07 and 2024-10 schemas, added the Active, SupportsServiceDiscovery, and CallbackUrl columns to the **CarrierServices** view.
  • In the 2024-07 and 2024-10 schemas, added the DefaultAddressValidationResultSummary column to the **Customers** table.
  • In the 2024-07 and 2024-10 schemas, added the DefaultAddressValidationResultSummary column to the **CustomerSegmentMembers** view.
  • In the 2024-07 and 2024-10 schemas, added the BillingAddressValidationResultSummary and ShippingAddressValidationResultSummary columns to the **DraftOrders** table.
  • In the 2024-07 and 2024-10 schemas, added the CreatedAt column to the **FulfillmentEvents** table.
  • In the 2024-07 and 2024-10 schemas, added the VariantID column to the **FulfillmentOrderLineItems** view.
  • In the 2024-07 and 2024-10 schemas, added the VariantID column to the **FulfillmentOrderLocationForMoveAvailableLineItems** view.
  • In the 2024-07 and 2024-10 schemas, added the VariantID column to the **FulfillmentOrderLocationForMoveUnavailableLineItems** view.
  • In the 2024-07 and 2024-10 schemas, added the TrackingSupport column to the **FulfillmentServices** table.
  • In the 2024-07 and 2024-10 schemas, added the SourceName, FulfillmentsCount, FulfillmentsCountPrecision, StaffMemberId, DisplayAddressValidationResultSummary, BillingAddressValidationResultSummary, and ShippingAddressValidationResultSummary columns to the **Orders** table.
  • In the 2024-07 and 2024-10 schemas, added the FinalCapture input to the **OrderTransactions** table.
  • In the 2024-07 and 2024-10 schemas, added the AppliedDiscountValueAmountCurrencyCode, AppliedDiscountValuePercentage, AppliedDiscountDescription, and GiftCardCodes inputs to the **ReturnExchangeLineItems** view.
  • In the 2024-07 and 2024-10 schemas, added the ReturnExchangeLineItems column to the **Returns** table.
  • In the 2024-07 and 2024-10 schemas, added the Metafields input to the **SellingPlanGroupSellingPlans** view.
  • In the 2024-07 and 2024-10 schemas, added the SourceId, SourceOrderTransactionId, and AdjustmentReason columns to the **ShopifyPaymentsAccountBalanceTransactions** view.
2025-04-0125.0.9222ShopifyAdded
  • Added the OrderUpdatedAt column to the OrderLineItems view in the GraphQL schema.
2025-03-1925.0.9209ShopifyAdded
  • Added the following tables to the GRAPHQL-2024-10 schema: Articles, ArticleComments, Blogs, CompanyLocationStaffMemberAssignments, GiftCardTransactionsCredit, GiftCardTransactionsDebit, MetafieldDefinitions, Pages, and Themes.
  • Added the following views to the GRAPHQL-2024-10 schema: ArticleEvents, ArticleCommentEvents, BusinessEntities, BlogEvents, CustomerAddresses, Disputes, Events, MetafieldDefinitionConstraintValues, MetafieldDefinitionStandardTemplates, MetafieldDefinitionTypes, PageEvents, ProductEvents, ProductVariantEvents, RefundOrderAdjustments, RefundShippingLines, ReturnLineItemsUnverified, ReverseFulfillmentOrders, ReverseFulfillmentOrderDeliveries, ReverseFulfillmentOrderDeliveryLineItems, and ReverseFulfillmentOrderLineItems.
  • Added the following stored procedures to the GRAPHQL-2024-10 schema: ApproveComment, EnableStandardMetafieldDefinition, MarkCommentNotSpam, MarkCommentSpam, and PublishTheme.
  • Added the following column to the Metafields table in the GRAPHQL-2024-10 schema: DefinitionId.
  • Added article, blog, and page as filtering options in the OwnerResource column of the Metafields table in the GRAPHQL-2024-10 schema.
  • Added the following view to the GRAPHQL-2024-07 schema: ReturnLineItemsUnverified.
  • Added the following columns to the Products table in the GRAPHQL-2024-01, GRAPHQL-2023-10, GRAPHQL-2023-07, and GRAPHQL-2023-04 schemas: AvailablePublicationCountPrecision and MediaCountPrecision.
  • Added the following columns to the Shop view in the GRAPHQL-2024-01, GRAPHQL-2023-10, GRAPHQL-2023-07, and GRAPHQL-2023-04 schemas: PublicationCountPrecision, PrimaryDomainMarketWebPresenceDefaultLocaleMarketWebPresencesId, PrimaryDomainMarketWebPresenceDefaultLocaleName, PrimaryDomainMarketWebPresenceDefaultLocalePrimary, and PrimaryDomainMarketWebPresenceDefaultLocalePublished.
  • Added the following columns to the Collections table in the GRAPHQL-2024-01, GRAPHQL-2023-10, GRAPHQL-2023-07, and GRAPHQL-2023-04 schemas: AvailablePublicationCountPrecision and ProductsCountPrecision.
  • Added the following columns to the Companies table in the GRAPHQL-2024-01, GRAPHQL-2023-10, GRAPHQL-2023-07, and GRAPHQL-2023-04 schemas: ContactCountPrecision, LocationCountPrecision, and OrderCountPrecision.
  • Added the following column to the DeliveryProfileLocationGroups view in the GRAPHQL-2024-01, GRAPHQL-2023-10, GRAPHQL-2023-07, and GRAPHQL-2023-04 schemas: LocationsCountPrecision.
  • Added the following column to the DiscountsCodeApp table in the GRAPHQL-2024-01, GRAPHQL-2023-10, GRAPHQL-2023-07, and GRAPHQL-2023-04 schemas: CodeCountPrecision.
  • Added the following column to the DiscountsCodeBasic table in the GRAPHQL-2024-01, GRAPHQL-2023-10, GRAPHQL-2023-07, and GRAPHQL-2023-04 schemas: CodeCountPrecision.
  • Added the following column to the DiscountsCodeBxgy table in the GRAPHQL-2024-01, GRAPHQL-2023-10, GRAPHQL-2023-07, and GRAPHQL-2023-04 schemas: CodeCountPrecision.
  • Added the following column to the DiscountsCodeFreeShipping view in the GRAPHQL-2024-01, GRAPHQL-2023-10, GRAPHQL-2023-07, and GRAPHQL-2023-04 schemas: CodeCountPrecision.
  • Added the following columns to the FulfillmentOrderLocationsForMove view in the GRAPHQL-2024-01, GRAPHQL-2023-10, GRAPHQL-2023-07, and GRAPHQL-2023-04 schemas: AvailableLineItemsCountPrecision and UnavailableLineItemsCountPrecision.
  • Added the following column to the InventoryItems table in the GRAPHQL-2024-01, GRAPHQL-2023-10, GRAPHQL-2023-07, and GRAPHQL-2023-04 schemas: LocationsCountPrecision.
  • Added the following column to the Orders table in the GRAPHQL-2024-01, GRAPHQL-2023-10, GRAPHQL-2023-07, and GRAPHQL-2023-04 schemas: CustomerJourneySummaryMomentsCountPrecision.
  • Added the following column to the SellingPlanGroups table in the GRAPHQL-2024-01, GRAPHQL-2023-10, GRAPHQL-2023-07, and GRAPHQL-2023-04 schemas: ProductCountPrecision.
2025-03-0725.0.9197ShopifyAdded
  • Added the following views to all GraphQL schemas: FulfillmentLineItems and FulfillmentLineItemTaxLines.
2025-02-1924.0.9181ShopifyAdded
  • Added the GRAPHQL-2024-10 and REST-2024-10 schemas.
2025-02-1924.0.9181ShopifyRemoved
  • Removed the following view from the GRAPHQL schema: ShopifyPaymentsAccountPermittedVerificationDocuments.
  • Removed the following views from the GRAPHQL schema: Articles, ArticleComments, Blogs, and Pages.
  • Removed the following column from the SendFulfillmentRequest stored procedure in the GRAPHQL schema: ShippingMethod.
  • Removed the following column from the GiftCards table in the GRAPHQL schema: DisabledAt.
  • Removed the following columns from the Shop view in the GRAPHQL schema: FeaturesAvalaraAvatax, FeaturesBranding, FeaturesCaptcha, FeaturesDynamicRemarketing, FeaturesHarmonizedSystemCode, FeaturesLiveView, FeaturesReports, and FeaturesShowMetrics.
  • Removed the following columns from the ShopifyPaymentsAccount view in the GraphQL schema: FraudSettingsDeclineChargeOnAvsFailure, FraudSettingsDeclineChargeOnCvcFailure, and NotificationSettingsPayouts.
  • Removed the following columns from the AbandonedCheckouts view in the REST schema: CartToken, ClosedAt, Currency, LandingSite, ReferringSite, Token, TotalWeight, and SourceName.
  • Removed the following columns from AbandonedCheckoutsItems view in the REST schema: ItemGrams and FulFillmentsService.
2025-02-1924.0.9181ShopifyChanged
  • The Id field is required for the ShopifyPaymentsAccountVerifications view in the GRAPHQL schema.
2025-02-1524.0.9177GeneralAdded
  • Added support for converting unsigned integer types to the nearest signed data type that has enough precision to hold the unsigned value.This is done for JDBC only because it does not have support for unsigned data types.
2025-02-1324.0.9175ShopifyAdded
  • Added the following tables: CompanyContacts, CompanyContactRoles, and CompanyContactRoleAssignments.
  • Added support for updating the MainContactId column in the Companies table.
2025-01-0624.0.9137ShopifyAdded
  • Added support for API Version 2024-07 which corresponds to the following new schemas: GRAPHQL-2024-07 and REST-2024-07.
  • Added the RetailLocationId column to the Orders table for schema GRAPHQL-2024-07.
  • Added the AdjustmentReason column to the PayoutTransactions view for schema REST-2024-07.
  • Added the DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout, Warnings, and PlatformDiscountIds columns to the DraftOrder table for schema GRAPHQL-2024-07.
  • Added INSERT/UPDATE support for the DiscountCodes, AcceptAutomaticDiscounts, and AllowDiscountCodesInCheckout columns in the DraftOrder table for schema GRAPHQL-2024-07.
  • Added the DeliveryMethodSourceReference column to the FulfillmentOrders and AssignedFulfillmentOrders tables for schema GRAPHQL-2024-07.
  • Added the SourceType, Type, Test, Amount, AmountCurrencyCode, FeeAmount, FeeCurrencyCode, AssociatedOrderId, AssociatedOrderName, AssociatedPayoutId, and AssociatedPayoutStatus columns to the ShopifyPaymentsAccountBalanceTransactions view for schema GRAPHQL-2024-07.
  • Added the Files table for schema GRAPHQL-2024-07.
  • Added the CreateFile and UpdateFile stored procedures for schema GRAPHQL-2024-07.
  • Added the selling_plan enum value for the Metafields table's OwnerResource filter column for schema GRAPHQL-2024-07.
2025-01-0624.0.9137ShopifyChanged
  • Changed the default schema to GRAPHQL-2024-07. The REST API is marked as legacy by Shopify.
2025-01-0624.0.9137ShopifyRemoved
  • Removed tables Countries and Provinces for schema REST-2024-07.
2024-12-1724.0.9117ShopifyChanged
  • Changed keys to AbandonedCheckoutPayloadId, ProductId, and VariantId (AbandonmentProductsAddedToCart table) in:
    • GRAPHQL-2023-04
    • GRAPHQL-2023-07
    • GRAPHQL-2023-10
    • GRAPHQL-2024-01
    • GRAPHQL-2024-04
2024-12-1724.0.9117ShopifyAdded
  • Added the RefundId column to the RefundTransactionFees and RefundLineItemDuties tables in:
    • GRAPHQL-2023-04
    • GRAPHQL-2023-07
    • GRAPHQL-2023-10
    • GRAPHQL-2024-01
    • GRAPHQL-2024-04
  • Added the CollectionId (CollectionProducts), Key (DraftOrderCustomAttributes, DraftOrderLineItemCustomAttributes, OrderCustomAttributes, OrderLineItemCustomAttributes), and PublicationId (PublicationCollections) keys in:
    • GRAPHQL-2023-04
    • GRAPHQL-2023-07
    • GRAPHQL-2023-10
    • GRAPHQL-2024-01
    • GRAPHQL-2024-04
2024-11-2724.0.9097GeneralAdded
  • Added ThreadId to LogModule output. Logfile lines now include the Thread ID associated with the action being performed.
2024-10-3124.0.9070ShopifyAdded
  • Added support for the API version 2024-04, which corresponds to two new schemas in Shopify (GraphQL-2024-04 and REST-2024-04).
2024-10-0724.0.9046ShopifyRemoved
  • Removed the AverageOrderAmountV2Amount and AverageOrderAmountV2CurrencyCode columns from the GraphQL-2023-04.Customers and GraphQL-2023-07.Customers tables.
  • Removed the ResourceLimitsSkuResourceLimitsAvailable, ResourceLimitsSkuResourceLimitsQuantityAvailable, ResourceLimitsSkuResourceLimitsQuantityLimit, and ResourceLimitsSkuResourceLimitsQuantityUsed columns from the GraphQL-2023-04.Shop and GraphQL-2023-07.Shop views.
2024-08-1624.0.8994ShopifyAdded
  • Added 34 new views related to Segments, OrderAgreements, OrderEditAgreements, and OrderRefundAgreements to all GRAPHQL schemas.
  • Added the Segments table to all GRAPHQL schemas.
2024-06-0524.0.8922PythonAdded
  • Added support for Python 3.12.
2024-05-0924.0.8895GeneralChanged
  • The ROUND function previously did not accept negative precision values. That feature has now been restored.
2024-04-1523.0.8871ShopifyAdded
  • Added schema GraphQL-2024-01 and REST-2024-01.
  • Added FulfillmentOrderLineItems, FulfillmentOrderLocationsForMove, PriceListPrices as tables (GraphQL 2023-07, 2023-10, 2024-01).
  • Added AccessAdmin, AccessStorefront, CapabilitiesPublishableEnabled, CapabilitiesTranslatableEnabled as columns to MetaobjectDefinitions (GraphQL 2023-07, 2023-10, 2024-01).
  • Added DefinitionId, TypeField, CapabilitiesPublishableStatus as columns to MetaObjects (GraphQL 2023-07, 2023-10, 2024-01).
  • Added CapabilitiesOnlineStoreTemplateSuffix as a column to MetaObjects (GraphQL 2023-10, 2024-01).
  • Added CapabilitiesOnlineStoreEnabled, CapabilitiesOnlineStoreDataCanCreateRedirects, CapabilitiesOnlineStoreDataUrlHandle, CapabilitiesRenderableEnabled, CapabilitiesRenderableDataMetaDescriptionKey, CapabilitiesRenderableDataMetaTitleKey as columns to MetaobjectDefinitions (GraphQL 2023-10, 2024-01).
  • Added AbandonedCheckoutLineItems, ShopifyPaymentsAccountBalanceTransactions, ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders, FulfillmentOrderLocationForMoveAvailableLineItems, FulfillmentOrderLocationForMoveUnavailableLineItems as tables (GraphQL 2024-01).
  • Added OrderCancel as a stored procedure (GraphQL 2024-01).
  • Added ThumbnailFieldKey, ThumbnailFieldThumbnailHex, ThumbnailFieldFileId, ThumbnailFieldFileAlt, ThumbnailFieldFileCreatedAt, ThumbnailFieldFileUpdatedAt, ThumbnailFieldFileFileStatus, ThumbnailFieldFileFileErrors, ThumbnailFieldFilePreviewStatus, ThumbnailFieldFilePreviewImageId, ThumbnailFieldFilePreviewImageAltText, ThumbnailFieldFilePreviewImageHeight, ThumbnailFieldFilePreviewImageWidth, ThumbnailFieldFilePreviewImageUrl as columns to MetaObjects (GraphQL 2024-01).
  • Added MultiCapturable as a column to OrderTransactions and RefundTransactions (GraphQL 2024-01).
  • Added PayoutTransactionsAdjustmentOrderTransactions as a table (REST 2024-01).
  • Added CurrentQuantity as a column to OrdersItems (REST 2024-01).
  • Added FinancialSummaries as a column to FulfillmentOrderLineItems (GraphQL 2024-01, REST 2024-01).
  • Added MediaId and MediaSrc as inputs to ProductVariants (GraphQL 2024-01).
2024-04-1523.0.8871ShopifyChanged
  • Changed ProductImages table's name to ProductMediaImages (GraphQL 2024-01).
2024-04-1523.0.8871ShopifyRemoved
  • Removed ResourceLimitsSkuResourceLimitsAvailable, ResourceLimitsSkuResourceLimitsQuantityAvailable, ResourceLimitsSkuResourceLimitsQuantityLimit, ResourceLimitsSkuResourceLimitsQuantityUsed (GraphQL 2023-10).
  • Removed AcceptsMarketing column from Customers (GraphQL 2024-01).
2024-03-2023.0.8845ShopifyAdded
  • Added FulfillmentOrderLineItems as a table in the REST-2023-04, REST-2023-07, and REST-2023-10 schema.
2024-03-1523.0.8840GeneralAdded
  • Created a new SQL function called STRING_COMPARE that provides java's String.compare() ability to SQL queries. Returns a number representative of the compared value of two strings
2024-02-2723.0.8823ShopifyAdded
  • Added ConfirmationNumber as a column to the Orders table in the REST-2023-07, REST-2023-10, GRAPHQL-2023-07 and GRAPHQL-2023-10 schema.
  • Added PresentmentPrices, PresentmentAmount, PresentmentCurrency, CompareAtPriceAmount, CompareAtPriceCurrency columns to ProductVariants table.
2024-02-2023.0.8816ShopifyAdded
  • Added support for API version 2023-10.
  • Table Location in the GraphQL schema and the 2023-10 version now has CUD support.
  • Added two new columns OrderName and OrderProcessedAt for the FulfillmentOrders table (GraphQL schema, 2023-10 version).
2024-02-2023.0.8816ShopifyRemoved
  • Removed deprecated column AverageOrderAmountV2Amount and AverageOrderAmountV2CurrencyCode from the Customers table (GraphQL schema, 2023-10 version).
  • Removed deprecated column BillingOn from the UsageCharges table (REST schema, 2023-10 version).
2024-01-2523.0.8790ShopifyRemoved
  • Removed deprecated column ProcessingMethod from the Orders table (REST schema).
2024-01-1823.0.8783ShopifyChanged
  • Added PublishDate, IsPublished and PublicationName columns for PublicationProducts table. The column LegacyResourceId is removed.
2024-01-1823.0.8783ShopifyAdded
  • Added MetaObjects and MetaobjectDefinitions table for the GraphQL schema.
2023-11-2923.0.8733GeneralChanged
  • The ROUND function doesn't accept the negative precision values anymore.
2023-11-2923.0.8733GeneralChanged
  • The returning types of the FDMonth, FDQuarter, FDWeek, LDMonth, LDQuarter, LDWeek functions are changed from Timestamp to Date.
  • The return type of the ABS function will be consistent with the parameter value type.
2023-11-2823.0.8732GeneralAdded
  • Added the HMACSHA256 formatter to allow for secrets to be decoded if it is in base64 format
2023-09-2023.0.8663ShopifyAdded
  • CarrierServices is new view in the GraphQL schema.
  • AppFeedbacks, and ProductResourceFeedbacks are three new tables in the GraphQL schema.
  • CarrierServices, ResourceFeedbacks, and ProductResourceFeedbacks are three new tables in the Rest schema.
  • The following list are stored-procedures added in Rest and GraphQL schema: SendFulfillmentRequest, AcceptFulfillmentRequest, RejectFulfillmentRequest, SendCancellationRequest, AcceptCancellationRequest and RejectCancellationRequest.
2023-08-3023.0.8642ShopifyAdded
  • Added Catalogs table for the GraphQL schema.
  • Added Returns table for the GraphQL schema.
  • Added ReturnLineItems table for the GraphQL schema.
  • Added PriceLists table for the GraphQL schema.
2023-08-2923.0.8641PythonAdded
  • Added support for SQLAlchemy 2.0.
2023-08-2523.0.8637ShopifyChanged
  • Changed Fulfillments.FulfillmentOrderId from pseudo-column to column.
2023-08-2223.0.8634ShopifyAdded
  • Added support for API version 2023-07, the following stored procedures have been added to the GRAPHQL-2023-07 schema to reflect the new mutations: FulfillmentOrderSplit, FulfillmentOrderMerge, CompanyContactRemoveFromCompany.
2023-08-1823.0.8630ShopifyAdded
  • Added AppliesOnEachItem, DiscountOnQuantity, DiscountPercentage, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsToAdd, ProductsToRemove, ProductsBuysToAdd, ProductsBuysToRemove pseudo-column to the DiscountsAutomaticBxgy table.
  • Added AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, MinimumQuantity, MinimumSubtotal pseudo-column to the DiscountsAutomaticBasic table.
  • Added Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove pseudo-column to the DiscountsCodeApp table.
  • Added Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove pseudo-column to the DiscountsCodeBasic table.
  • Added Code, AppliesOnEachItem, DiscountOnQuantity, DiscountPercentage, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsToAdd, ProductsToRemove, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove pseudo-column to the DiscountsCodeBxgy table.
2023-08-1723.0.8629ShopifyChanged
  • Changed ThemeId of Assets table to be key for the table.
2023-08-0423.0.8616ShopifyChanged
  • Changed Articles.PublishedStatus, Comments.PublishedStatus, CustomCollections.PublishedStatus, CustomCollections.ProductId, Pages.PublishedStatus, Products.PublishedStatus, SmartCollections.PublishedStatus, SmartCollections.ProductId from pseudo-columns to columns.
  • Changed names of 'Image.alt', 'Image.createdAt', 'Image.height', 'Image.src', 'Image.width', 'Image.attachment', Template_suffix', 'published_status' columns in Articles table, REST schema, to 'ImageAlt', 'ImageCreatedAt', 'ImageHeight', 'ImageSrc', 'ImageWidth', 'ImageAttachment', 'TemplateSuffix', 'PublishedStatus'.
  • Changed name of 'published_status' column in Comments table, REST schema, to 'PublishedStatus'.
  • Changed name of 'published_status' column in Pages table, REST schema, to 'PublishedStatus'.
2023-08-0423.0.8616ShopifyRemoved
  • Removed pseudo-column 'status' of Comments table in REST schema. Data can now be filtered server-side through 'Status' column.
2023-07-2523.0.8606ShopifyAdded
  • Added TransactionItemSource pseudo-column to the OrderTransactions table.
2023-07-2523.0.8606ShopifyChanged
  • Changed Authorization and Currency columns of OrderTransactions table to writable.
  • Changed Metafields column of Pages table to writable.
2023-07-2423.0.8605ShopifyAdded
  • Added new stored procedure CalculateRefund in REST schema, used to calculate refund transactions based on line items and shipping.
2023-07-2423.0.8605ShopifyChanged
  • Changed Metafields column of Blogs table to writeable.
2023-07-2423.0.8605ShopifyRemoved
  • Removed CalculateRefund pseudocolumn from Refunds table, used to access the endpoint for calculating refunds. Refunds will be calculated through the CalculateRefund stored procedure.
2023-07-1323.0.8594ShopifyAdded
  • Added EnableShopifyPlus connection property, when set to true, additional columns and tables will be available in the driver. This property is only available to accounts with a ShopifyPlus membership.
2023-07-1123.0.8592ShopifyAdded
  • Added Receipt column as a JSON aggregate to the OrderTransactions table.
2023-07-1123.0.8592ShopifyRemoved
  • Removed ReceiptTestcase and ReceiptAuthorization columns from OrderTransactions table.
2023-06-2023.0.8571GeneralAdded
  • Added the new sys_lastresultinfo system table.
2023-06-1923.0.8570ShopifyRemoved
  • From the ProductVariants table (in GraphQL schema) the Title column has been removed.
2023-06-1923.0.8570ShopifyChanged
  • Rest schema has been modified to REST-2023-04, which represents the REST API version 2023-04.
  • GraphQL schema has been modified to GraphQL-2023-04, which represents the 2023-04 version of the GraphQL API.
2023-06-1923.0.8570ShopifyAdded
  • Added support for pushing metafields as custom field/columns for Products and ProductVariants in the GraphQL schema.
2023-06-1923.0.8570ShopifyChanged
  • Changed the GraphQL data model to better align with and support version 2023-04 of the API.
  • The following tables are now supported in the GraphQL schema, AppSubscriptionLineItems, AppSubscriptions, Collections, Companies, CompanyLocations, Customers, DeliveryProfiles, DiscountsAutomaticApp, DiscountsAutomaticBasic, DiscountsAutomaticBxgy, DiscountsCodeApp, DiscountsCodeBasic, DiscountsCodeBxgy, DraftOrders, FulfillmentEvents, FulfillmentOrders, Fulfillments, FulfillmentServices, FulfillmentTrackingInfo, GiftCards, InventoryItems, Metafields, Orders, OrderTransactions, ProductImages, Products, ProductVariants, Publications, Refunds, ScriptTags, SellingPlanGroups, StorefrontAccessTokens, UrlRedirects.
  • The following views are now supported in the GraphQL schema, Abandonment, AbandonmentProductsAddedToCart, AbandonmentProductsViewed, AppCredits, ArticleComments, Articles, AssignedFulfillmentOrders, Blogs, CollectionProducts, CompanyEvents, CustomerEvents, DeliveryProfileLocationGroupCountries, DeliveryProfileLocationGroupCountryProvinces, DeliveryProfileLocationGroups, DeliveryProfileLocationGroupZones, DeliveryProfileUnassignedLocations, DiscountEvents, DiscountsCodeFreeShipping, DraftOrderCustomAttributes, DraftOrderEvents, DraftOrderLineItemCustomAttributes, DraftOrderLineItems, DraftOrderLineItemTaxLines, DraftOrderTaxLines, InventoryItemCountryHarmonizedSystemCodes, InventoryItemInventoryLevels, Jobs, Locations, MarketingEvents, OrderCustomAttributes, OrderDiscountApplications, OrderEvents, OrderLineItemCustomAttributes, OrderLineItemDiscountAllocations, OrderLineItems, OrderNonFulfillableLineItems, OrderRisks, OrderTaxLines, Pages, ProductOptions, PublicationCollections, PublicationProducts, RefundDuties, RefundLineItems, RefundTransactionFees, RefundTransactions, SellingPlanGroupSellingPlans, Shop, ShopifyPaymentsAccount, ShopifyPaymentsAccountBalance, ShopifyPaymentsAccountBankAccounts, ShopifyPaymentsAccountDisputes, ShopifyPaymentsAccountPayouts, ShopifyPaymentsAccountPermittedVerificationDocuments, ShopifyPaymentsAccountVerifications, StaffMembers, TenderTransactions.
  • Tables support certain CUD statements in the GraphQL schema, refer to the Data Model documentation.
2023-06-0923.0.8560ShopifyAdded
  • Added Fulfillments and Refunds as aggregate columns in Orders table of REST schema.
2023-05-1923.0.8539PythonAdded
  • Added support for Python 3.11 on Windows, Linux and Mac.
2023-05-1623.0.8536PythonRemoved
  • Removed support for Python 3.7 on Windows and Linux
2023-04-2723.0.8517ShopifyChanged
  • Changed GraphQL.DraftOrders.AppliedDiscountValue data type from "float" to "double".
  • Changed GraphQL.ProductVariants.Weight data type from "float" to "double".
2023-04-2523.0.8515GeneralRemoved
  • Removed support for the SELECT INTO CSV statement. The core code doesn't support it anymore.
2023-03-3022.0.8489ShopifyAdded
  • Added PageSize property to the Rest schema, default value is 250.
2023-03-2822.0.8487ShopifyAdded
  • Added UpdateQuantity stored procedure for the Rest schema, which allows the user to update InventoryQuantity column from ProductVariants table.
2023-02-2822.0.8459ShopifyAdded
  • Added Collections view to the GraphQL schema.
  • Added CollectionProducts view to the GraphQL schema.
  • Added Jobs view to the GraphQL schema.
  • Added CollectionReorder store procedure for the GraphQL schema, which allows the user to reorder a set of products within a specified collection.
2023-01-0422.0.8404ShopifyAdded
  • Added FulfillmentEvents view to the GraphQL schema. The view has server-side filtering support for FulfillmentId.
2022-12-1422.0.8383GeneralChanged
  • Added the Default column to the sys_procedureparameters table.
2022-12-0722.0.8376ShopifyAdded
  • In Customers table (REST and GraphQL Schema) EmailMarketingState, EmailMarketingLevel and EmailMarketingUpdatedAt columns have been added.
2022-12-0722.0.8376ShopifyChanged
  • In PriceRules table (REST Schema) the PrerequisiteSavedSearchIds column is based on the new customer_segment_prerequisite_ids field.
2022-12-0722.0.8376ShopifyRemoved
  • In Customers table (REST Schema) the AcceptsMarketing column has been removed.
  • In Customers table (GraphQL Schema) the AcceptsMarketingUpdatedAt and HasTimelineComment columns have been removed.
2022-11-2522.0.8364ShopifyAdded
  • Added Metafields view to the GraphQL schema. OwnerResource is required and only accepts "product" or "variant" as values. The view has server-side filtering support for Id and OwnerId. The GraphQL.Metafields columns Id, LegacyResourceId, Namespace, Key, Value, Type, Description, OwnerId, OwnerResource, CreatedAt and UpdatedAt correspond to the same name columns in the REST table, except for Id and LegacyResourceId. GraphQL.Metafields.Id corresponds to REST.Metafields. AdminGraphqlApiId, and GraphQL.Metafields.LegacyResourceId corresponds to REST.Metafields.Id.
  • Added Products view to the GraphQL schema. GraphQL.Products supports server-side filtering for the following columns: Id, Title, ProductType, Status, Vendor, TotalInventory, HasOnlyDefautlVariant, UpdatedAt and CreatedAt.
  • Added ProductVariants view to the GraphQL schema. GraphQL.ProductVariants supports server-side filtering for the following columns: Id, ProductId, Title, Barcode, Sku, Taxable, UpdatedAt, CreatedAt, InventoryQuantity and DeliveryProfileId.
  • Added ProductImages and ProductOptions view to the GraphQL schema.
2022-11-2522.0.8364ShopifyChanged
  • Changed REST.GraphQL.Metafields.OwnerResource column to required (except when Id is specified), and limited to the following values: shop,draft_order,product,variant,page,article,order,customer,collection,blog,product_image.
2022-11-1522.0.8354PythonChanged
  • Updated embedded JRE to jre8u345-b01(Linux x64 / MacOS x64) and jre-17.0.5+8(MacOS aarch64).
2022-11-0722.0.8346ShopifyChanged
  • For the Fulfillments table in Rest the FulfillmentOrderId pseudo column is required. The value of this column can be found in the FulfillmentOrders table. Example: Insert Into OrdersItems#Temp (ItemId) Values ('6578878840855') Insert INTO Fulfillments (FulfillmentOrderId, LocationId, LineAggregate) VALUES (315766505495, 1448280087, 'OrdersItems#Temp')
  • For the Fulfillments table in Rest, only the tracking information (TrackingCompany, TrackingNumbers, TrackingUrls) is updatable.
  • Changed how a Fulfillment is canceled. To cancel, the Status of the Fulfillment should be updated to cancel.
  • In the MetaField the new `type` field is being used to determine the data type.
2022-11-0722.0.8346ShopifyRemoved
  • HasNote and OrdersCount columns from the Customers table in GraphQL.
2022-09-3022.0.8308GeneralChanged
  • Added the IsPath column to the sys_procedureparameters table.
2022-08-2922.0.8276ShopifyAdded
  • Added INSERT support for MetaFields and dynamic tables (Products, ProductVariants).
2022-08-2922.0.8276ShopifyChanged
  • Changed how custom field names are handled. Custom fields will be pushed as either 'key' or 'namespace_key' depending on duplicates.
2022-08-0322.0.8250ShopifyRemoved
  • Removed the deprecated Basic authentication. These were deprecated by Shopify in January 2022.
  • The AppId and Password connection properties have been removed.
2022-07-2122.0.8237ShopifyAdded
  • Added Token as an authentication scheme to be used with custom apps.
2022-06-1322.0.8199ShopifyDeprecated
  • Deprecated the RowScanDepth property.
2022-05-1922.0.8174ShopifyAdded
  • Added support for the GiftCards and Users tables.
2022-05-1822.0.8173PythonAdded
  • Added support for Python 3.10 on Windows, Linux, and Mac
  • Added support for Python 3.9 on Mac
  • Added support for Mac M1
2022-05-1822.0.8173PythonRemoved
  • Removed support for Python 3.6 on Windows and Linux
2022-05-0522.0.8160ShopifyAdded
  • Added support for GraphQL Bulk operations.
  • Added the UseBulkApi and BulkPageSize connection properties.
2022-04-2522.0.8150ShopifyAdded
  • Added the AuthScheme connection property with the options of Basic and OAuth.
2022-04-1521.0.8140ShopifyChanged
  • Querying data from 'OrderTransactions' or 'DiscountCode' with UpdatedAt filter will push the filter to the parent table, respectively 'Orders' and 'PriceRule'.
2022-03-0421.0.8098ShopifyChanged
  • Added the view ShippingItemDiscountAllocations.
2022-02-2821.0.8094ShopifyChanged
  • Added write support for the Metafields table.
2022-02-0221.0.8068ShopifyChanged
  • Changed the datatype for the ShippingZones.ProfileId and ShippingZones.LocationGroupId columns from long to string as they were marked with the incorrect data type.
2021-12-0821.0.8012ShopifyAdded
  • The following columns were added to the Orders Table: TotalShippingPriceSetShopMoneyAmount and TotalShippingPriceSetShopMoneyCurrencyCode.
  • Added the Metafields view.
  • Added the column OrderUpdatedAt to tables OrderItemDiscountAllocations and OrderItemProperties.
  • Added support for delta replication for columns OrderUpdatedAt, ProductUpdatedAt and CustomerUpdatedAt.
2021-11-0921.0.7983ShopifyAdded
  • The following columns were added to the FullfillmentOrders Table: FullfillAt, Fullfillmentholds, InternationalDuties.
  • The following columns were added to the Orders Table: PaymentTermsAmount, PaymentTermsCurrency, PaymentTermsPaymentTermsName, PaymentTermsPaymentTermsType, PaymentTermsDueInDays, PaymentTermsPaymentSchedules.
  • The following columns were added to the OrderTransactions Table: PaymentsRefundsAttributesStatus, PaymentsRefundsAttributesAcquirerReferenceNumber.
  • Added the ChannelLiable column to the TaxItems table.
2021-10-2921.0.7972ShopifyChanged
  • Updated the api version to 2021-10.
2021-10-2921.0.7972ShopifyRemoved
  • Removed the ForceSSL field from Shop table.
2021-09-1321.0.7926ShopifyChanged
  • Updated the primary key data type from String to Long.
2021-09-0221.0.7915GeneralAdded
  • Added support for the STRING_SPLIT table-valued function in the CROSS APPLY clause.
2021-08-0721.0.7889GeneralChanged
  • Added the KeySeq column to the sys_foreignkeys table.
2021-08-0621.0.7888GeneralChanged
  • Added the new sys_primarykeys system table.
2021-07-2321.0.7874GeneralChanged
  • Updated the Literal Function Names for relative date/datetime functions. Previously, relative date/datetime functions resolved to a different value when used in the projection as opposed to the predicate. For example: SELECT LAST_MONTH() AS lm, Col FROM Table WHERE Col > LAST_MONTH(). Formerly, the two LAST_MONTH() methods would resolve to different datetimes. Now, they will match.
  • As a replacement for the previous behavior, the relative date/datetime functions in the criteria may have an 'L' appended to them. For example: WHERE col > L_LAST_MONTH(). This will continue to resolve to the same values that were previously calculated in the criteria. Note that the "L_" prefix will only work in the predicate - it not available for the projection.
2021-06-2621.0.7847ShopifyAdded
  • Added the AbandonedCheckoutsItems View.
2021-06-2521.0.7846ShopifyAdded
  • Added the Articles, Assets, Blogs, Comments, Pages, Redirects, ScriptTags and Themes tables.
  • Added the ApproveComment, ChangeSpamStatus, and RestoreComment stored procedures.
2021-06-1021.0.7831ShopifyAdded
  • Added the Status column to the Products table.
2021-06-1021.0.7831ShopifyChanged
  • Updated the API Version to 2021-04.
2021-04-2521.0.7785GeneralAdded
  • Added support for handling client side formulas during insert / update. For example: UPDATE Table SET Col1 = CONCAT(Col1, " - ", Col2) WHERE Col2 LIKE 'A%'
2021-04-2321.0.7783GeneralChanged
  • Updated how display sizes are determined for varchar primary key and foreign key columns so they will match the reported length of the column.
2021-04-1621.0.7776GeneralAdded
  • Non-conditional updates between two columns is now available to all drivers. For example: UPDATE Table SET Col1=Col2
2021-04-1621.0.7776GeneralChanged
  • Reduced the length to 255 for varchar primary key and foreign key columns.
2021-04-1621.0.7776GeneralChanged
  • Updated implicit and metadata caching to improve performance and support for multiple connections. Old metadata caches are not compatible - you need to generate new metadata caches if you are currently using CacheMetadata.
2021-04-1621.0.7776GeneralChanged
  • Updated index naming convention to avoid duplicates.
2021-03-1021.0.7739ShopifyAdded
  • Added the ApplicationCharges, ApplicationCredit, RecurringApplicationCharges and UsageCharges tables.

CData Python Connector for Shopify

Using the Connector

This section provides a walk-through for writing Shopify data access code in Python script.

For more information on the available data source entities and how to query them with SQL, see Data Model. For the SQL syntax, see SQL Compliance.

Connecting from Code

For information on how to deploy the connector and configure the connection to Shopify, see Package Installation and Establishing a Connection.

For information on how to connect with the shopify.connector module and its related classes, see Connecting.

Executing SQL

The connection's cursor object is used to directly execute SQL queries. For information on how to execute SELECT statements and process the returned result sets, see Querying Data. For information on to modify the data in Shopify with INSERT, UPDATE, and DELETE statements, see Modifying Data .

Executing Stored Procedures

You can call stored procedures by using the EXECUTE statement. For further information, see Calling Stored Procedures.

CData Python Connector for Shopify

Connecting

Connecting with the cdata.shopify Module:

The connector's module is used directly to establish a connection with the data source. It does this by using a connection string as its argument. For example:
import cdata.shopify as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;")

Once the connection is created, you can use it to execute subsequent SQL queries.

CData Python Connector for Shopify

Querying Data

After connecting as described in Connecting, you can use the open connection to execute SQL statements.

Executing Queries

To execute SQL statements that return data, use the execute() method. Once a query is executed, the result set is fetched from the cursor. This result set can then be iterated over to process the records individually.

For example:

cur = conn.execute("SELECT FirstName, Id FROM Customers")
rs = cur.fetchall()
for row in rs:
	print(row)

Parameterized Queries

Various Python collections, such as arrays and tuples, can act as additional arguments for the execute() method. This enables you to parameterize the queries executed and help to prevent SQL Injection.

For example:

cmd = "SELECT FirstName, Id FROM Customers WHERE FirstName = ?"
params = ["jdoe1234"]
cur = conn.execute(cmd, params)
rs = cur.fetchall()
for row in rs:
	print(row)

CData Python Connector for Shopify

Modifying Data

The connection is also used to issue INSERT, UPDATE, and DELETE commands to the data source. Parameters can be used with these statements if desired.

Note that the connector does not support transactions. As with normal write operations, all SQL statements executed by this connector affect the data source immediately. Call the connection's commit() method following the execution.

Insert

The following example adds a new record to the table:
cmd = "INSERT INTO Customers (FirstName, Id) VALUES (?, ?)"
params = ["1668776136772254", "3478365783"]
cur = conn.execute(cmd, params)
print("Records affected: ", cur.rowcount)

Update

The following example modifies an existing record in the table:
cmd = "UPDATE Customers SET Id = ? WHERE Id = ?"
params = ["3478365783", "25"]
cur = conn.execute(cmd, params)
print("Records affected: ", cur.rowcount)

Delete

The following example removes an existing record from the table:

cmd = "DELETE FROM Customers WHERE Id = ?"
params = ["25"]
cur = conn.execute(cmd, params)
print("Records affected: ", cur.rowcount)

CData Python Connector for Shopify

Calling Stored Procedures

You can execute stored procedures using either the execute() or callproc() method of the connection.

Calling Stored Procedures Using Execute()

When you call stored procedures by issuing EXECUTE commands, the stored procedure arguments are parameterized. For example:
cmd = "EXECUTE SendInvite Id = ?"
params = ["ACustomerId"]
conn.execute(cmd, params)

Calling Stored Procedures Using Callproc()

When you call stored procedured by issuing the callproc() method, the stored procedure arguments are a procedure name and a list of parameters. For example:
cur = conn.cursor()
params = ["ACustomerId"]
cur.callproc("SendInvite", params)

CData Python Connector for Shopify

Using from Tools

The connector is integrated with other tools and packages within Python.

Python Integration Guides

The following sections show how to create and use connections with the connector in common packages in Python:

Complete List of Shopify Integration Quickstarts

For information on connecting from other applications, see Shopify integration guides.

CData Python Connector for Shopify

From SQLAlchemy

The CData Python Connector for Shopify includes a Dialect class that enables integration with SQLAlchemy. Bear in mind that several aspects of connector functionality are not currently supported in SQLAlchemy 2.0 or above. If necessary, downgrade SQLAlchemy to version 1.4 or 1.3 before using this connector.

The following sections detail various aspects of this integration:

Connecting From SQLAlchemy

To construct a URL with which SQLAlchemy loads and uses the appropriate connector automatically, see Connecting

Reflecting Metadata With SQLAlchemy

To learn how to model Shopify tables with mapped classes, see Reflecting Metadata.

Querying Data From SQLAlchemy

To learn how to use mapped classes to query the associated tables, see Querying Data.

Modifying Data From SQLAlchemy

The connector provides INSERT/UPDATE/DELETE functionality in SQLAlchemy. To learn how to call the session's execute() method to affect the data in the data source, see Modifying Data.

CData Python Connector for Shopify

Connecting

Connecting With a Dialect URL

Establishing a connection using SQLAlchemy requires a specific URL format.
from sqlalchemy import create_engine
engine = create_engine("shopify:///?InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;")

For SQLAlchemy 2.0, the dialect name is shopify_2. To establish a connection, use the following URL format:

from sqlalchemy import create_engine
engine = create_engine("shopify_2:///?InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;")

CData Python Connector for Shopify

Reflecting Metadata

SQLAlchemy can act as an Object-relational Map (ORM). This enables you to treat records of a database table as instantiable records. To leverage this functionality, you must reflect the underlying metadata in one of the following ways.

Note: The following examples employ SQLAlchemy 1.4.

Modeling Data Using a Mapping Class

Use "sqlalchemy.ext.declarative.declarative_base" to declare a mapping class for the table you wish to model in the ORM. A known table in the data model is modeled either partially or completely, as shown in the following example:
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class Customers(Base):
	__tablename__ = "Customers"
	Id = Column(String, primary_key=True)
	FirstName = Column(String)
	Id = Column(String)

Automatically Reflecting Metadata

Rather than mapping tables manually, SQLAlchemy can discover the metadata for one or more tables automatically. To accomplish this across the entire data model, use automap_base:
from sqlalchemy import MetaData
from sqlalchemy.ext.automap import automap_base
meta = MetaData()
abase = automap_base(metadata=meta)
abase.prepare(autoload_with=engine)
Customers = abase.classes.Customers

You can also reflect a single table with an inspector. When reflecting this way, providing a list of specific columns to map is optional:

from sqlalchemy import MetaData, Table
from sqlalchemy import inspect
meta = MetaData()
insp = inspect(engine)
Customers_table = Table("Customers", meta)
insp.reflect_table(Customers_table, ["Id","Id"])

CData Python Connector for Shopify

Querying Data

After you use the steps in Connecting to connect, and use one of the methods in Reflecting Metadata to reflect some of the metadata, you can use a session object to query data.

Querying Data Using the Query Method

If the mapping class has been prepared, use it with a session object to query the data source. After binding the engine to the session, provide the mapping class to the session's query method.

For example:

engine = create_engine("shopify:///?InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;")
factory = sessionmaker(bind=engine)
session = factory()
for instance in session.query(Customers).filter_by(FirstName="jdoe1234"):
	print("Id: ", instance.Id)
	print("FirstName: ", instance.FirstName)
	print("Id: ", instance.Id)
	print("---------")

Querying Data Using the Execute Method

The session object can also run the query with the execute() method alongside the appropriate Table object. Assuming you have an active session, the following is just as viable:
Customers_table = Customers.metadata.tables["Customers"]
for instance in session.execute(Customers_table.select().where(Customers_table.c.FirstName == "jdoe1234")):
	print("Id: ", instance.Id)
	print("FullName: ", instance.Name)
	print("City: ", instance.BillingCity)
	print("---------")

CData Python Connector for Shopify

Executing JOINs

Implicit Joining

If mapped classes of related Shopify objects have a singular foreign key relationship, the classes are implicitly joined. After importing the necessary objects, a relationship is established between your two mapped classes, as in the example below:
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, String, Integer, DateTime, ForeignKey
from sqlalchemy.orm import sessionmaker, relationship

Base = declarative_base()
class Contact(Base):
	__tablename__ = "Contact"
	Id = Column(Integer, primary_key=True)
	Name = Column(String)
	Email = Column(String)
	BirthDate = Column(DateTime)
	AccountId = Column(String, ForeignKey("Account.Id"))
	Account_Link = relationship("Account", back_populates="Contact_Link")

class Account(Base):
	__tablename__ = "Account"
	Id = Column(String, primary_key=True)
	Name = Column(String)
	BillingCity = Column(String)
	NumberOfEmployees = Column(Integer)
	Contact_Link = relationship("Contact", order_by=Contact.Id, back_populates="Account_Link")

Once the relationship is established, the tables are queried simultaneously using the session's query() method. For example:

rs = session.query(Account, Contact).filter(Account.Id == Contact.AccountId)
for Ac, Ct in rs:
  print("AccountId: ", Ac.Id)
  print("AccountName: ", Ac.Name)
  print("ContactId: ", Ct.Id)
  print("ContactName: ", Ct.Name)

Other Join Forms

In situations where mapped classes have either no foreign keys or multiple foreign keys, you may need different forms of the JOIN query to accommodate them. Using the earlier classes as examples, the following JOIN queries are possible as well:
  • Explicit condition (necessary if there are no foreign keys in your mapped classes):
    rs = session.query(Account, Contact).join(Contact, Account.Id == Contact.AccountId)
    for Ac, Ct in rs:
  • Left-to-right relationship:
    rs = session.query(Account, Contact).join(Account.Contact_Link)
    for Ac, Ct in rs:
  • Left-to-right relationship with explicit target:
    rs = session.query(Account, Contact).join(Contact, Account.Contact_Link)
    for Ac, Ct in rs:
  • String form of a left-to-right relationship:
    rs = session.query(Account, Contact).join("Contact_Link")
    for Ac, Ct in rs:

CData Python Connector for Shopify

Other SQL Clauses

SQLAlchemy ORM also exposes support for other clauses in SQL, such as ORDER BY, GROUP BY, LIMIT, and OFFSET. All of these are supported by this connector:

ORDER BY

The following example sorts by a specified column using the session object's query() method:
rs = session.query(Customers).order_by(Customers.Size)
for instance in rs:
	print("Id: ", instance.Id)
	print("FirstName: ", instance.FirstName)
	print("Id: ", instance.Id)
	print("---------")

You can also use the session object's execute() method perform an ORDER BY. For example:

rs = session.execute(Customers_table.select().order_by(Customers_table.c.Size))
for instance in rs:

GROUP BY

The following example uses the session object's query() method to group records with a specified column:
rs = session.query(func.count(Customers.Id).label("CustomCount"), Customers.FirstName).group_by(Customers.FirstName)
for instance in rs:
	print("Count: ", instance.CustomCount)
	print("FirstName: ", instance.FirstName)
	print("---------")

You can also use the session object's execute() method to perform a GROUP BY:

rs = session.execute(Customers_table.select().with_only_columns([func.count(Customers_table.c.Id).label("CustomCount"), Customers_table.c.FirstName]).group_by(Customers_table.c.FirstName))
for instance in rs:

LIMIT and OFFSET

The following example uses the session object's query() method to skip the first 100 records and fetch the following 25:
rs = session.query(Customers).limit(25).offset(100)
for instance in rs:
	print("Id: ", instance.Id)
	print("FirstName: ", instance.FirstName)
	print("Id: ", instance.Id)
	print("---------")

You can also use the session object's execute() method to set a LIMIT or OFFSET:

rs = session.execute(Customers_table.select().limit(25).offset(100))
for instance in rs:

CData Python Connector for Shopify

Aggregate Functions

Certain aggregate functions can also be used within SQLAlchemy by using the func module.

To import this module, execute:

from sqlalchemy.sql import func

Once func is imported, the following aggregate functions are available:

COUNT

The following example counts the number of records in a set of groups using the session object's query() method.
rs = session.query(func.count(Customers.Id).label("CustomCount"), Customers.FirstName).group_by(Customers.FirstName)
for instance in rs:
	print("Count: ", instance.CustomCount)
	print("FirstName: ", instance.FirstName)
	print("---------")

You can also execute COUNT using the session object's execute() method:

rs = session.execute(Customers_table.select().with_only_columns([func.count(Customers_table.c.Id).label("CustomCount"), Customers_table.c.FirstName])group_by(Customers_table.c.FirstName))
for instance in rs:

SUM

This example calculates the cumulative amount of a numeric column in a set of groups.

rs = session.query(func.sum(Customers.Size).label("CustomSum"), Customers.FirstName).group_by(Customers.FirstName)
for instance in rs:
	print("Sum: ", instance.CustomSum)
	print("FirstName: ", instance.FirstName)
	print("---------")

You can also invoke SUM using the session object's execute() method.

rs = session.execute(Customers_table.select().with_only_columns([func.sum(Customers_table.c.Size).label("CustomSum"), Customers_table.c.FirstName]).group_by(Customers_table.c.FirstName))
for instance in rs:

AVG

This example uses the session object's query() method to calculate the average amount of a numeric column in a set of groups:
rs = session.query(func.avg(Customers.Size).label("CustomAvg"), Customers.FirstName).group_by(Customers.FirstName)
for instance in rs:
	print("Avg: ", instance.CustomAvg)
	print("FirstName: ", instance.FirstName)
	print("---------")

You can also use the session object's execute() method to invoke AVG:

rs = session.execute(Customers_table.select().with_only_columns([func.avg(Customers_table.c.Size).label("CustomAvg"), Customers_table.c.FirstName]).group_by(Customers_table.c.FirstName))
for instance in rs:

MAX and MIN

This example finds the maximum value and minimum value of a numeric column in a set of groups.
rs = session.query(func.max(Customers.Size).label("CustomMax"), func.min(Customers.Size).label("CustomMin"), Customers.FirstName).group_by(Customers.FirstName)
for instance in rs:
	print("Max: ", instance.CustomMax)
	print("Min: ", instance.CustomMin)
	print("FirstName: ", instance.FirstName)
	print("---------")

You can also use the session object's execute() method to invoke MAX and MIN:

rs = session.execute(Customers_table.select().with_only_columns([func.max(Customers_table.c.Size).label("CustomMax"), func.min(Customers_table.c.Size).label("CustomMin"), Customers_table.c.FirstName]).group_by(Customers_table.c.FirstName))
for instance in rs:

CData Python Connector for Shopify

Modifying Data

Commands can be executed individually by the session with a call to "execute()".

Obtaining the Table Object

The query supplied to this method is constructed using the associated Table object of a mapped class. This Table object is obtained from the mapped class's metadata field, as below:

Customers_table = Customers.metadata.tables["Customers"]

Once the table object is obtained, the write operations are executed in the following ways. The queries are executed immediately without the need for a call to "commit()":

Insert

The following example adds a new record to the table:

session.execute(Customers_table.insert(), {"FirstName": "1668776136772254", "Id": "3478365783"})

Update

The following example modifies an existing record in the table:

session.execute(Customers_table.update().where(Customers_table.c.Id == "25").values(FirstName="1668776136772254", Id="3478365783"))

Delete

The following example removes an existing record from the table:

session.execute(Customers_table.delete().where(Customers_table.c.Id == "25"))

CData Python Connector for Shopify

From Pandas

When combined with the connector, Pandas can be used to generate data frames that contain your Shopify data. Once created, a data frame can be passed to various other Python packages.

Connecting

Pandas relies on an SQLAlchemy engine to execute queries. Before you can use Pandas you must import it:
import pandas as pd
from sqlalchemy import create_engine
engine = create_engine("shopify:///?InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;")

Querying Data

In Pandas, SELECT queries are provided in a call to the read_sql() method, alongside a relevant connection object. Pandas executes the query on that connection, and returns the results in the form of a data frame, which can be used for a variety of purposes.
df = pd.read_sql("""
	SELECT
	   FirstName,
	   Id,
     $exNumericCol;
	FROM Customers;""", engine)
print(df)

Modifying Data

To insert new records into a table, create a new data frame, and define its fields accordingly. When that is done, call to_sql() on the data frame to perform the INSERT operation with the connector, as shown in the example below. You must set the "if _exists" argument to "append" to prevent Pandas from attempting building the table from scratch. To prevent Pandas from writing the data frame index as a column, set index=False.
df = pd.DataFrame({"FirstName": ["1668776136772254"], "Id": ["3478365783"]})
df.to_sql("Customers", con=engine, if_exists="append", index=False)

CData Python Connector for Shopify

From Matplotlib

Matplotlib contains a number of tools that can graphically model Shopify data after being fed a data frame From Pandas.

Using PyPlot

Before any Matplotlib tool, such as pyplot, can be used, it must be imported:
from matplotlib import pyplot as plt

Once a Pandas data frame is obtained, it can be used to create a plot visualizing Shopify data. For example, the following plot generates and displays a bar graph relating FirstName and Size values:

df.plot(kind="bar", x="FirstName", y=["Size"])
plt.show()

CData Python Connector for Shopify

From Petl

The connector can be used to create ETL applications and pipelines for CSV data in Python using Petl.

Install Required Modules

Install the Petl modules using the pip utility.
pip install petl

Connecting

After you import the modules, including the CData Python Connector for Shopify, you can use the connector's connect function to create a connection using a valid Shopify connection string. If you prefer not to use a direct connection, you can use a SQLAlchemy engine.
import petl as etl
import cdata.shopify as mod
cnxn = mod.connect("InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;")

Extract, Transform, and Load the Shopify Data

Create a SQL query string and store the query results in a DataFrame.
sql = "SELECT	FirstName, Id FROM Customers "
table1 = etl.fromdb(cnxn,sql)

Loading Data

With the query results stored in a DataFrame, you can load your data into any supported Petl destination. The following example loads the data into a CSV file.
etl.tocsv(table1,'output.csv')

Modifying Data

Insert new rows into Shopify tables using Petl's appenddb function.
table1 = [['FirstName','Id'],['1668776136772254','3478365783']]
etl.appenddb(table1,cnxn,'Customers')

CData Python Connector for Shopify

Schema Discovery

The extension supports schema discovery by using SQL queries to available System Tables.

Using SQL

The following sections describe the discovery of metadata through several System Tables:

CData Python Connector for Shopify

Tables and Views

The connector possesses system tables that are used to discover the tables and views available in the data model. Of these system tables, "sys_tables" and "sys_views" are used to fetch information about the available tables and views respectively:

Tables


import cdata.shopify as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_tables"
cur.execute(cmd)
rs = cur.fetchall()
for row in rs:
	print(row)

Views


import cdata.shopify as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_views"
cur.execute(cmd, params)
rs = cur.fetchall()
for row in rs:
	print(row)

CData Python Connector for Shopify

Columns

The available columns for any given table are fetched from a system table called "sys_tablecolumns". A specific table name is provided in the WHERE criteria to restrict the table from which the column information is fetched:

import cdata.shopify as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_tablecolumns WHERE TableName = 'Customers'"
cur.execute(cmd)
rs = cur.fetchall()
for row in rs:
	print(row)

CData Python Connector for Shopify

Procedures

Procedures

A system table called "sys_procedures" is queried to obtain the available stored procedures that are executed:
import cdata.shopify as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_procedures"
cur.execute(cmd)
rs = cur.fetchall()
for row in rs:
	print(row)

Parameters

The input parameters of any stored procedure are similarly obtained from the "sys_procedureparameters" system table:
import cdata.shopify as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'SendInvite'"
cur.execute(cmd)
rs = cur.fetchall()
for row in rs:
	print(row)

CData Python Connector for Shopify

Advanced Features

This section details a selection of advanced features of the Shopify connector.

User Defined Views

The connector supports the use of user defined views, virtual tables whose contents are decided by a pre-configured user defined query. These views are useful when you cannot directly control queries being issued to the drivers. For an overview of creating and configuring custom views, see User Defined Views .

SSL Configuration

Use SSL Configuration to adjust how connector handles TLS/SSL certificate negotiations. You can choose from various certificate formats;. For further information, see the SSLServerCert property under "Connection String Options" .

Firewall and Proxy

Configure the connector for compliance with Firewall and Proxy, including Windows proxies and HTTP proxies. You can also set up tunnel connections.

Caching Data

Caching Data enables faster access to data and reduces the number of API calls, improving performance. The connector supports a simple caching model where multiple connections can also share the cache over time. When configuring the cache connection, you can specify automatic or explicit data caching.

Query Processing

The connector offloads as much of the SELECT statement processing as possible to Shopify and then processes the rest of the query in memory (client-side).

For further information, see Query Processing.

Logging

For an overview of configuration settings that can be used to refine CData logging, see Logging. Only two connection properties are required for basic logging, but there are numerous features that support more refined logging, which enables you to use the LogModules connection property to specify subsets of information to be logged.

Exception Handling

For an overview of how exceptions are reported and the components of an exception, see Exception Handling.

CData Python Connector for Shopify

User Defined Views

The CData Python Connector for Shopify supports the use of user defined views: user-defined virtual tables whose contents are decided by a preconfigured query. User defined views are useful in situations where you cannot directly control the query being issued to the driver; for example, when using the driver from a tool.

Use a user defined view to define predicates that are always applied. If you specify additional predicates in the query to the view, they are combined with the query already defined as part of the view.

There are two ways to create user defined views:

  • Create a JSON-formatted configuration file defining the views you want.
  • DDL statements.

Defining Views Using a Configuration File

User defined views are defined in a JSON-formatted configuration file called UserDefinedViews.json. The connector automatically detects the views specified in this file.

You can also have multiple view definitions and control them using the UserDefinedViews connection property. When you use this property, only the specified views are seen by the connector.

This user defined view configuration file is formatted so that each root element defines the name of a view, and includes a child element, called query, which contains the custom SQL query for the view.

For example:

{
	"MyView": {
		"query": "SELECT * FROM Customers WHERE MyColumn = 'value'"
	},
	"MyView2": {
		"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
	}
}
Use the UserDefinedViews connection property to specify the location of your JSON configuration file. For example:
"UserDefinedViews", "C:\\Users\\yourusername\\Desktop\\tmp\\UserDefinedViews.json"

Defining Views Using DDL Statements

The connector is also capable of creating and altering the schema via DDL Statements such as CREATE LOCAL VIEW, ALTER LOCAL VIEW, and DROP LOCAL VIEW.

Create a View

To create a new view using DDL statements, provide the view name and query as follows:

CREATE LOCAL VIEW [MyViewName] AS SELECT * FROM Customers LIMIT 20;

If no JSON file exists, the above code creates one. The view is then created in the JSON configuration file and is now discoverable. The JSON file location is specified by the UserDefinedViews connection property.

Alter a View

To alter an existing view, provide the name of an existing view alongside the new query you would like to use instead:

ALTER LOCAL VIEW [MyViewName] AS SELECT * FROM Customers WHERE TimeModified > '3/1/2020';

The view is then updated in the JSON configuration file.

Drop a View

To drop an existing view, provide the name of an existing schema alongside the new query you would like to use instead.

DROP LOCAL VIEW [MyViewName]

This removes the view from the JSON configuration file. It can no longer be queried.

Schema for User Defined Views

In order to avoid a view's name clashing with an actual entity in the data model, user defined views are exposed in the UserViews schema by default. To change the name of the schema used for UserViews, reset the UserViewsSchemaName property.

Working with User Defined Views

For example, a SQL statement with a user defined view called UserViews.RCustomers only lists customers in Raleigh:
SELECT * FROM Customers WHERE City = 'Raleigh';
An example of a query to the driver:
SELECT * FROM UserViews.RCustomers WHERE Status = 'Active';
Resulting in the effective query to the source:
SELECT * FROM Customers WHERE City = 'Raleigh' AND Status = 'Active';
That is a very simple example of a query to a user defined view that is effectively a combination of the view query and the view definition. It is possible to compose these queries in much more complex patterns. All SQL operations are allowed in both queries and are combined when appropriate.

CData Python Connector for Shopify

SSL Configuration

Customizing the SSL Configuration

By default, the connector attempts to negotiate TLS with the server. The server certificate is validated against the default system trusted certificate store. You can override how the certificate gets validated using the SSLServerCert connection property.

To specify another certificate, see the SSLServerCert connection property.

CData Python Connector for Shopify

Firewall and Proxy

Connecting Through a Firewall or Proxy

HTTP Proxies

Note: The connector uses the system proxy settings by default, without further configuration needed. If you want to connect to other proxies, set ProxyAutoDetect to False and read further.

To authenticate to an HTTP proxy, set the following:

  • ProxyServer: the hostname or IP address of the proxy server that you want to route HTTP traffic through.
  • ProxyPort: the TCP port that the proxy server is running on.
  • ProxyAuthScheme: the authentication method the connector uses when authenticating to the proxy server.
  • ProxyUser: the username of a user account registered with the proxy server.
  • ProxyPassword: the password associated with the ProxyUser.

Other Proxies

Set the following properties:

CData Python Connector for Shopify

Caching Data

Caching Data

Caching data provides several benefits, including faster access to data and reducing the number of API calls, which improve performance. The connector supports a simple caching model where multiple connections can also share the cache over time. You can enable and configure caching features by setting the necessary connection properties.

Contents

The sections in this chapter detail the connector's caching functionality and link to the corresponding connection properties, as well as SQL statements.

Configuring the Cache Connection

Configuring the Cache Connection describes the properties that you can set when configuring the cache database.

Caching Metadata

Caching Metadata describes the CacheMetadata property. This property determines whether or not to cache the table metadata to a file store.

Automatically Caching Data

Automatically Caching Data describes how the connector automatically refreshes the cache when the AutoCache property is set.

Explicitly Caching Data

Explicitly Caching Data describes how you can decide what data is stored in the cache and when it is updated.

Data Type Mapping

Data Type Mapping shows the mappings between the data types configured in the schema and the data types in the database.

CData Python Connector for Shopify

Configuring the Cache Connection

Configuring the Caching Database

This section describes the properties for caching data to the persistent store of your choice.

CacheLocation

The CacheLocation property species the path to a file-system-based database. When caching is enabled, a file-system-based database is used by default. If CacheLocation is not specified, this database is stored at the path in Location. If neither of these connection properties are specified, the connector uses a platform-dependent default location.

CacheConnection

The CacheConnection property specifies a database driver and the connection string to the caching database.

CacheDriver and CacheProvider

Both the CacheDriver and CacheProvider properties are supported. Each specifies a database driver and the connection string to the caching database. CacheDriver is designed for Linux and MacOS; CacheProvider is Windows-based.

CData Python Connector for Shopify

Automatically Caching Data

Automatically caching data is useful when you do not want to rebuild the cache for each query. When you query data for the first time, the connector automatically initializes and builds a cache in the background. When AutoCache = true, the connector uses the cache for subsequent query executions, resulting in faster response times.

If replication is enabled, the data is generated once and then copied to local and cloud data stores. With incremental updates, the connector achieves a performance advantage over dropping the cached tables and retrieving the entire table again on every refresh. With iterative updates, the connector only performs the query from the last time that the date was refreshed. If replication is not enabled, updates to the cache require downloading the entire data set.

Configuring Automatic Caching

To automatically update the cache and return results from the local cache, set the following connection string properties:

  • AutoCache: This property automatically updates the cache when the value is set to true.
  • CacheTolerance: This property ensures that the data retrieved from the database is the most current version. The default value is 600 seconds (10 minutes). The connector checks with the data source for newer records after the tolerance interval has expired. Otherwise, it returns the data directly from the cache.

Caching the Customers Table

The following example caches the Customers table in the file specified by the CacheLocation property of the connection string.

SELECT FirstName, Id FROM Customers WHERE FirstName = 'jdoe1234'

Common Use Case

A common use for automatically caching data is to improve driver performance when making repeated requests to a live data source, such as building a report or creating a visualization. With auto caching enabled, repeated requests to the same data may be executed in a short period of time, but within an allowable tolerance (CacheTolerance) of what is considered "live" data.

CData Python Connector for Shopify

Explicitly Caching Data

With explicit caching (AutoCache = false), you decide exactly what data is cached and when to query the cache instead of the live data. Explicit caching gives you full control over the cache contents by using CACHE Statements. This section describes some strategies to use the caching features offered by the connector.

Creating the Cache

To load data in the cache, issue the following statement.

CACHE SELECT * FROM tableName WHERE ...

Once the statement is issued, any matching data in tableName is loaded into the corresponding table.

Updating the Cache

This section describes two ways to update the cache.

Updating with the SELECT Statement

The following example shows a statement that can update modified rows and add missing rows in the cached table. However, this statement does not delete extra rows that are already in the cache. This statement only merges the new rows or updates the existing rows.

CACHE SELECT * FROM Customers WHERE FirstName = 'jdoe1234'

Updating with the TRUNCATE Statement

The following example shows a statement that can update modified rows and add missing rows in the cached table. This statement can also delete rows in the cache table that are not present in the live data source.

  CACHE WITH TRUNCATE SELECT * FROM Customers WHERE FirstName = 'jdoe1234'
  

Query the Data in Online or Offline Mode

This section describes how to query the data in online or offline mode.

Online: Select Cached Tables

You can use the tableName#CACHE syntax to explicitly execute queries to the cache while still online, as shown in the following example.

SELECT * FROM Customers#CACHE

Offline: Select Cached Tables

With Offline = true, SELECT statements always execute against the local cache database, regardless of whether you explicitly specify the cached table or not. Modification of the cache is disabled in Offline mode to prevent accidentally updating only the cached data. Executing a DELETE/UPDATE/INSERT statement while in Offline mode results in an exception.

The following example selects from the local cache but not the live data source because Offline = true.

SELECT * FROM Customers WHERE FirstName='jdoe1234' ORDER BY Id ASC

Delete Data from the Cache

You can delete data from the cache by building a direct connection to the database. Note that the connector does not support manually deleting data from the cache.

Common Use Case

A common use for caching is to have an application always query the cached data and only update the cache at set intervals, such as once every day or every two hours. There are two ways in which this can be implemented:

  • AutoCache = false and Offline = false. All queries issued by the application explicitly reference the tableName#CACHE table. When the cache needs to be updated, the application executes a tableName#CACHE ... statement to bring the cached data up to date.
  • Offline = true. Caching is transparent to the application. All queries are executed against the table as normal, so most application code does not need to be aware that caching is done. To update the cached data, simply create a separate connection with Offline = false and execute a tableName#CACHE ... statement.

CData Python Connector for Shopify

Data Type Mapping

The connector maps types from the data source to the corresponding data type available in the chosen cache database. The following table shows the mappings between the data types configured in the schema and the data types in the database. Some schema types have synonyms which are all listed in the Schema column.

Data Type Mapping

Note: String columns can map to different data types depending on their length.

Schema .NET JDBC SQL Server Derby MySQL Oracle SQLite Access
int, integer, int32 Int32 int int INTEGER INT NUMBER integer LONG
smallint, short, int16 Int16 short smallint SMALLINT SMALLINT NUMBER integer SHORT
double, float, real Double double float DOUBLE DOUBLE NUMBER double DOUBLE
date DateTime java.sql.Date date DATE DATE DATE date DATETIME
datetime, timestamp DateTime java.sql.Date datetime TIMESTAMP DATETIME TIMESTAMP datetime DATETIME
time, timespan TimeSpan java.sql.Time time TIME TIME TIMESTAMP datetime DATETIME
string, varchar String java.lang.String If length > 4000: nvarchar(max), Otherwise: nvarchar(length)If length > 32672: LONG VARCHAR, Otherwise VARCHAR(length)If length > 255: LONGTEXT, Otherwise: VARCHAR(length)If length > 4000: CLOB, Otherwise: VARCHAR2(length)nvarchar(length)If length > 255: LONGTEXT, Otherwise: VARCHAR(length)
long, int64, bigint Int64 long bigint BIGINT BIGINT NUMBER bigint LONG
boolean, bool Boolean boolean tinyint SMALLINT BIT NUMBER tinyint BIT
decimal, numeric Decimal java.math.BigDecimal decimal DECIMAL DECIMAL DECIMAL decimal CURRENCY
uuid Guid java.util.UUID nvarchar(length) VARCHAR(length)VARCHAR(length) VARCHAR2(length)nvarchar(length) VARCHAR(length)
binary, varbinary, longvarbinary byte[] byte[] binary(1000) or varbinary(max) after SQL Server 2000, image otherwise BLOB LONGBLOB BLOB BLOB LONGBINARY

CData Python Connector for Shopify

Query Processing

Query Processing

CData has a client-side SQL engine built into the connector library. This enables support for the full capabilities that SQL-92 offers, including filters, aggregations, functions, etc.

For sources that do not support SQL-92, the connector offloads as much of SQL statement processing as possible to Shopify and then processes the rest of the query in memory (client-side). This results in optimal performance.

For data sources with limited query capabilities, the connector handles transformations of the SQL query to make it simpler for the connector. The goal is to make smart decisions based on the query capabilities of the data source to push down as much of the computation as possible. The Shopify Query Evaluation component examines SQL queries and returns information indicating what parts of the query the connector is not capable of executing natively.

The Shopify Query Slicer component is used in more specific cases to separate a single query into multiple independent queries. The client-side Query Engine makes decisions about simplifying queries, breaking queries into multiple queries, and pushing down or computing aggregations on the client-side while minimizing the size of the result set.

There's a significant trade-off in evaluating queries, even partially, client-side. There are always queries that are impossible to execute efficiently in this model, and some can be particularly expensive to compute in this manner. CData always pushes down as much of the query as is feasible for the data source to generate the most efficient query possible and provide the most flexible query capabilities.

More Information

For a full discussion of how CData handles query processing, see CData Architecture: Query Execution.

CData Python Connector for Shopify

Logging

Logging

Capturing connector logging can be very helpful when diagnosing error messages or other unexpected behavior.

Basic Logging

To begin capturing connector logging, set these properties:

  • Logfile: A filepath that designates the name and location of the log file.
  • Verbosity: A numerical value (1-5) that determines the amount of detail in the log. See the page in the Connection Properties section for an explanation of the five levels.
  • MaxLogFileSize: When the limit is hit, a new log is created in the same folder with the date and time appended to the end. The default limit is 100 MB. Values lower than 100 kB will use 100 kB as the value instead.
  • MaxLogFileCount: A string specifying the maximum file count of log files. When the limit is hit, a new log is created in the same folder with the date and time appended to the end and the oldest log file will be deleted. Minimum supported value is 2. A value of 0 or a negative value indicates no limit on the count.

Once these properties are set, the connector populates the log file as it carries out various tasks, such as when authentication is performed or queries are executed. If the specified file doesn't already exist, it is created.

Log Verbosity

The verbosity level determines the amount of detail that the connector reports to the Logfile. Supported Verbosity levels range from 1 to 5.

The following list describes each level:

1Setting Verbosity to 1 logs the query, the number of rows returned by it, the start of execution and the time taken, and any errors.
2Setting Verbosity to 2 logs everything included in Verbosity 1, cache queries, and additional information about the request.
3Setting Verbosity to 3 also logs HTTP headers, as well as the body of the request and the response.
4Setting Verbosity to 4 also logs transport-level communication with the data source. This includes SSL negotiation.
5Setting Verbosity to 5 also logs communication with the data source and additional details that may be helpful in troubleshooting problems. This includes interface commands.

For normal operations, Verbosity should not be set to greater than 1. At higher verbosities you can log substantial amounts of data, which can delay execution times.

To refine the logged content further by showing/hiding specific categories of information, see LogModules.

Sensitive Data

Verbosity levels of 3 and higher may capture information that you do not want shared outside of your organization. The following lists information of concern for each level:

  • Verbosity 3: The full body of the request and the response, which includes all the data returned by the connector
  • Verbosity 4: SSL certificates
  • Verbosity 5: Any extra transfer data not included at Verbosity 3, such as non human-readable binary transfer data

Note: Although we mask sensitive values, such as passwords, in the connection string and any request in the log, it is always best practice to review the logs for any sensitive information before sharing outside your organization.

Advanced Logging

You may want to refine the exact information that is recorded to the log file. This can be accomplished using the LogModules property. This property allows you to filter the logging using a semicolon-separated list of logging modules.

Example property value:

LogModules=INFO;EXEC;SSL;SQL;META;

Note that the logfile filtering triggered by the Verbosity connection property takes precedence over the filtering imposed by this connection property. This means that operations of a higher verbosity level than the level specified in the Verbosity connection property are not printed in the logfile, even if they belong to one of the modules specified in this connection property.

The available modules and submodules are:

Module Name Module Description Submodules
INFO General Information. Includes the connection string, product version (build number), and initial connection messages.
  • Connec – Information related to creating or destroying connections.
  • Messag – Generic label for messages pertaining to connections, the connection string, and product version. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
EXEC Query Execution. Includes execution messages for user-written SQL queries, parsed SQL queries, and normalized SQL queries. Success/failure messages for queries and query pages appear here as well.
  • Messag – Messages pertaining to query execution. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • Normlz – Query normalization steps. Query normalization is when the product takes the user-submitted query and rewrites the query to get the same results with optimal performance.
  • Origin – This label applies to any messages recording a user's original query (the exact, unaltered, non-normalized query executed by the user).
  • Page – Messages related to query paging.
  • Parsed – Query parsing steps. Parsing is the process of converting the user-submitted query into a standardized format for easier processing.
HTTP HTTP protocol messages. Includes HTTP requests/responses (including POST messages), as well as Kerberos related messages.
  • KERB – HTTP requests related to Kerberos.
  • Messag – Messages pertaining to HTTP protocols. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • Unpack – This label applies to messages about zipped data being returned from the service API and unpacked by the product.
  • Res – Messages containing HTTP responses.
  • Req – Messages containing HTTP requests.
WSDL Messages pertaining to the generation of WSDL/XSD files.
SSL SSL certificate messages.
  • Certif – Messages pertaining to SSL certificates.
AUTH Authentication related failure/success messages.
  • Messag – Messages pertaining to authentication. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • OAuth – Messages related to OAuth authentication.
  • Krbros – Kerberos-related authentication messages.
SQL Includes SQL transactions, SQL bulk transfer messages, and SQL result set messages.
  • Bulk – Messages pertaining to bulk query execution.
  • Cache – Messages related to reading row data from and writing row data to the product's cache for better performance.
  • Messag – Messages pertaining to SQL transactions. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • ResSet – Query resultsets.
  • Transc – Messages related to handling transactions, including information about the number of jobs executed and backup table handling.
META Metadata cache and schema messages.
  • Cache – Messages related to reading from and modifying column and table definitions in the product's cache for better performance.
  • Schema – Messages related to retrieving metadata from or modifying the service schema.
  • MemSto – Messages related to writing to or reading from in-memory metadata cache.
  • Storag – Messages relating to storing metadata on disk or in an external data store, rather than in memory.
FUNC Information related to executing SQL functions.
  • Errmsg – Error messages related to executing SQL functions.
TCP Incoming and outgoing raw bytes on TCP transport layer messages.
  • Send – Raw data sent via the TCP protocol.
  • Receiv – Raw data received via the TCP protocol.
FTP Messages pertaining to the File Transfer Protocol.
  • Info – Status messages related to communication in the FTP protocol.
  • Client – Messages related to actions taken by the FTP client (the product) during FTP communication.
  • Server – Messages related to actions taken by the FTP server during FTP communication.
SFTP Messages pertaining to the Secure File Transfer Protocol.
  • Info – Status messages related to communication in the SFTP protocol.
  • To_Server – Messages related to actions taken by the SFTP client (the product) during SFTP communication.
  • From_Server – Messages related to actions taken by the SFTP server during SFTP communication.
POP Messages pertaining to data transferred via the Post Office Protocol.
  • Client – Messages related to actions taken by the POP client (the product) during POP communication.
  • Server – Messages related to actions taken by the POP server during POP communication.
  • Status – Status messages related to communication in the POP protocol.
SMTP Messages pertaining to data transferred via the Simple Mail Transfer Protocol.
  • Client – Messages related to actions taken by the SMTP client (the product) during SMTP communication.
  • Server – Messages related to actions taken by the SMTP server during SMTP communication.
  • Status – Status messages related to communication in the SMTP protocol.
CORE Messages relating to various internal product operations not covered by other modules.
DEMN Messages related to SQL remoting.
CLJB Messages about bulk data uploads (cloud job).
  • Commit – Submissions for bulk data uploads.
SRCE Miscellaneous messages produced by the product that don't belong in any other module.
TRANCE Advanced messages concerning low-level product operations.

CData Python Connector for Shopify

Exception Handling

Exception Handling

Exceptions can be surfaced from either the API or the CData Python Connector for Shopify. Each exception will have an error code, an error message, and a SQL state.

Error Codes

The error code classifies the type of error.

0 NONE Used for unclassified errors and internally handled errors. This code also covers data source-specific errors that do not fit in any specific category.
65537 TCP_UNKNOWN_HOST Unable to resolve a hostname (DNS failure).
65538 TCP_CONNECTION_REFUSED Could not connect to the remote port.
65539 TCP_AUTH_FAILED Login failed when using a binary authentication protocol. Use this for auth errors when the protocol is not HTTP (LDAP, SASL, Kerberos, ...).
65540 TCP_TIMEOUT Did not receive a response after sending a request to the server.
65541 TCP_PROTOCOL For wire protocol drivers. Either the server sent a bad packet that we are unable to process, or we cannot construct a packet to send.
131073 TLS_SERVER_UNTRUSTED Could not verify SSL server certificate.
131074 TLS_CLIENT_UNTRUSTED Server did not accept the client certificate we sent.
196609 OAUTH_DECRYPT_FAILED OAuthEncryptKey did not decrypt the OAuthSettings file.
196610 OAUTH_MISSING_CLIENT_INFO OAuthClientId / OAuthClientSecret / OAuthJWTCert is missing.
196611 OAUTH_MISSING_PROP General OAuth property missing. OAUTH_MISSING_CLIENT_INFO is used for missing client ID/secret and JWT cert.
196612 OAUTH_NO_ACCESS_TOKEN Unable to retrieve access token. Only use this when getting a token in GetOAuthAccessToken / RefreshOAuthAccessToken.
196613 OAUTH_TOKEN_EXPIRED The access token expired. Normally used with a RefreshOAuth/OAuthException behavior.
196614 OAUTH_INVALID_PROP OAuth property has an invalid value. OAUTH_MISSING_CLIENT_INFO / OAUTH_MISSING_PROP is used if the value is not set.
262145 HTTP_REQUEST_TIMEOUT Did not receive a response from the HTTP server.
262146 HTTP_CLIENT_ERROR Generic HTTP 4xx error. Only use for 4xx errors not covered by other codes.
262147 HTTP_AUTH_FAILED HTTP 401 error.
262148 HTTP_LIMIT_EXCEEDED HTTP 429 error.
262149 HTTP_SERVER_ERROR HTTP 5xx error.
262150 HTTP_NOT_FOUND_ERROR HTTP 404 error.
327681 CORE_TIMEOUT General timeout. Not related to a specific network request.
327682 CORE_OP_NOT_ALLOWED Operation blocked by provider permissions.
327683 CORE_CONNECTION_CONFIG Connection configuration is not valid.
327684 CORE_SERIALIZE Failed to encode data into a specific format (XML, JSON, CSV, ...).
327685 CORE_DESERIALIZE Failed to decode data from a specific format (XML, JSON, CSV, ...).
393217 SQL_SYNTAX_ERROR Unable to parse a SQL query.
393218 SQL_MISSING_COLUMNS Query did not include required columns.
393219 SQL_MISSING_PARAMS Stored procedure call did not include required parameters.
393220 SQL_QUERY_NOT_SUPPORTED A part of the query is not allowed in the current context.
458753 SSH_SERVER_UNTRUSTED Could not verify SSH server.
524289 STORAGE_LIST_EXCEPTION Issue listing storage resources.
524290 STORAGE_RESOURCE_NOT_FOUND Issue finding storage resources.
524291 STORAGE_ROOT_RESOURCE_NOT_FOUND The root resource (bucket/share/drive) was not found; cannot create it in flat file drivers.
524292 STORAGE_RESOURCE_NOT_A_DIRECTORY Storage resource is not a directory.
524293 STORAGE_RESOURCE_NOT_A_FILE Storage resource is not a file.
524294 STORAGE_PERMISSIONS_DENIED Storage permissions denied.

SQL State

The SQL state is used when throwing generic provider errors to the wrapper and indicates the success or failure of a call.

Some of the common SQL states are listed below:

07007 REQUIRED_CLAUSE Class Code 07: Dynamic SQL Error.
08001 OPEN_CONNECTION Class Code 08: Connection Exception. The connection was unable to be established to the application server or other server.
08004 REJECT_CONNECTION The application server rejected establishment of the connection.
42501 PRIVILEGE_IDENTIFIED_OBJECT Class Code 42: Syntax Error or Access Rule Violation. The authorization ID does not have the privilege to perform the specified operation on the identified object.
42506 AUTH_FAILED Owner authorization failure occurred.
42601 SQL_SYNTAX A character, token, or clause is invalid or missing.

Error Message

The error message provides more detailed reasoning about why the error occurred. It provides an explanation of the issue, and may include steps on how to resolve it.

CData Python Connector for Shopify

SQL Compliance

The CData Python Connector for Shopify supports several operations on data, including querying, deleting, modifying, and inserting.

SELECT Statements

See SELECT Statements for a syntax reference and examples.

See Data Model for information on the capabilities of the Shopify API.

INSERT Statements

See INSERT Statements for a syntax reference and examples, as well as retrieving the new records' Ids.

UPDATE Statements

The primary key Id is required to update a record. See UPDATE Statements for a syntax reference and examples.

DELETE Statements

The primary key Id is required to delete a record. See DELETE Statements for a syntax reference and examples.

CACHE Statements

CACHE statements allow granular control over the connector's caching functionality. For a syntax reference and examples, see CACHE Statements.

For more information on the caching feature, see Caching Data.

EXECUTE Statements

Use EXECUTE or EXEC statements to execute stored procedures. See EXECUTE Statements for a syntax reference and examples.

Names and Quoting

  • Table and column names are considered identifier names; as such, they are restricted to the following characters: [A-Z, a-z, 0-9, _:@].
  • To use a table or column name with characters not listed above, the name must be quoted using square brackets ([name]) in any SQL statement.
  • Parameter names can optionally start with the @ symbol (e.g., @p1 or @CustomerName) and cannot be quoted.
  • Strings must be quoted using single quotes (e.g., 'John Doe').

CData Python Connector for Shopify

SQL Functions

The connector provides functions that are similar to those that are available with most standard databases. These functions are implemented in the CData provider engine and thus are available across all data sources with the same consistent API. Three categories of functions are available: string, date, and math.

The connector interprets all SQL function inputs as either strings or column identifiers, so you need to escape all literals as strings, with single quotes. For example, contrast the SQL Server syntax and connector syntax for the DATENAME function:

  • SQL Server:
    SELECT DATENAME(yy,GETDATE())
  • connector:
    SELECT DATENAME('yy',GETDATE())

String Functions

These functions perform string manipulations and return a string value. See STRING Functions for more details.

Date Functions

These functions perform date and date time manipulations. See DATE Functions for more details.

Math Functions

These functions provide mathematical operations. See MATH Functions for more details.

CData Python Connector for Shopify

STRING Functions

ASCII(character_expression)

Returns the ASCII code value of the left-most character of the character expression.

  • character_expression: The character expression.

                      SELECT ASCII('0');
                      --  Result: 48
                    

BASE64_ENCODE(input_binary)

Returns the Base64-encoded string form of a binary input.

  • input_binary: The binary value to encode.

                        SELECT BASE64_ENCODE(BinaryData);
                    -- Result: 'QmFzZTY0RW5jb2RlZA=='
                    

BASE64_DECODE(input_string)

Returns the binary result of decoding a Base64-encoded string.

  • input_string: The Base64-encoded string.

                        SELECT BASE64_DECODE('QmFzZTY0RW5jb2RlZA==');
                    -- Result: (binary output)
                    

CHAR(integer_expression)

Converts the integer ASCII code to the corresponding character.

  • integer_expression: The integer from 0 through 255.

                      SELECT CHAR(48);
                      -- Result: '0'
                    

CHARINDEX(expressionToFind ,expressionToSearch [,start_location ])

Returns the starting position of the specified expression in the character string.

  • expressionToFind: The character expression to find.
  • expressionToSearch: The character expression, typically a column, to search.
  • start_location: An optional character position to start searching for expressionToFind in expressionToSearch.

                      SELECT CHARINDEX('456', '0123456');
                      -- Result: 4

                      SELECT CHARINDEX('456', '0123456', 5);
                      -- Result: -1
                    

CHAR_LENGTH(character_expression),

Returns the number of UTF-8 characters present in the expression.

  • character_expression: The set of characters to be evaluated for length.

				 SELECT CHAR_LENGTH('sample text') FROM Account LIMIT 1
				 -- Result: 11			
				

CONCAT(string_value1, string_value2, ..., string_valueN)

Returns the string that is the concatenation of two or more string values.

  • string_value1: The first string to be concatenated.
  • string_value2: The second string to be concatenated.
  • string_valueN: (optional) Any additional strings to be concatenated.

                      SELECT CONCAT('Hello, ', 'world!');
                      -- Result: 'Hello, world!'
                    

CONTAINS(expressionToSearch, expressionToFind)

Returns 1 if expressionToFind is found within expressionToSearch; otherwise, 0.

  • expressionToSearch: The character expression, typically a column, to search.
  • expressionToFind: The character expression to find.

                      SELECT CONTAINS('0123456', '456');
                      -- Result: 1

                      SELECT CONTAINS('0123456', 'Not a number');
                      -- Result: 0
                    

ENDSWITH(character_expression, character_suffix)

Returns 1 if character_expression ends with character_suffix; otherwise, 0.

  • character_expression: The character expression.
  • character_suffix: The character suffix to search for.

                      SELECT ENDSWITH('0123456', '456');
                      -- Result: 1

                      SELECT ENDSWITH('0123456', '012');
                      -- Result: 0
                    

FILESIZE(uri)

Returns the number of bytes present in the file at the specified file path.

  • uri: The path of the file from which to read the size.

				SELECT FILESIZE('C:/Users/User1/Desktop/myfile.txt');
				-- Result: 23684
				

FORMAT(value [, parseFormat], format )

Returns the value formatted with the specified format.

  • value: The string to format.
  • format: The string specifying the output syntax of the date or numeric format.
  • parseFormat: The string specifying the input syntax of the date value. Not applicable to numeric types.

                      SELECT FORMAT(12.34, '#');
                      -- Result: 12

                      SELECT FORMAT(12.34, '#.###');
                      -- Result: 12.34

                      SELECT FORMAT(1234, '0.000E0');
                      -- Result: 1.234E3
                      
                      SELECT FORMAT('2019/01/01', 'yyyy-MM-dd');
                      -- Result: 2019-01-01
                      
                      SELECT FORMAT('20190101', 'yyyyMMdd', 'yyyy-MM-dd');
                      -- Result: '2019-01-01'
                    

HASHBYTES(algorithm, value)

Returns the hash of the input value as a byte array using the given algorithm. The supported algorithms are MD5, SHA1, SHA2_256, SHA2_512, SHA3_224, SHA3_256, SHA3_384, and SHA3_512.

  • algorithm: The algorithm to use for hashing. Must be one of MD5, SHA1, SHA2_256, SHA2_512, SHA3_224, SHA3_256, SHA3_384, or SHA3_512.
  • value: The value to hash. Must be either a string or byte array.

                      SELECT HASHBYTES('MD5', 'Test');
                      -- Result (byte array): 0x0CBC6611F5540BD0809A388DC95A615B
                    

INDEXOF(expressionToSearch, expressionToFind [,start_location ])

Returns the starting position of the specified expression in the character string.

  • expressionToSearch: The character expression, typically a column, to search.
  • expressionToFind: The character expression to find.
  • start_location: An optional character position to start searching for expressionToFind in expressionToSearch.

                      SELECT INDEXOF('0123456', '456');
                      -- Result: 4

                      SELECT INDEXOF('0123456', '456', 5);
                      -- Result: -1
                    

ISALPHABETIC(character_expression)

Returns 1 if the character expression consists only of alphabetic characters; otherwise, 0.

  • character_expression: The string expression to evaluate.

                      SELECT ISALPHABETIC('Hello');
                      -- Result: 1

                      SELECT ISALPHABETIC('Hello123');
                      -- Result: 0

                      SELECT ISALPHABETIC('Hello!');
                      -- Result: 0
                    

ISALPHANUMERIC(character_expression)

Returns 1 if the character expression consists only of alphabetic and numeric characters; otherwise, 0.

  • character_expression: The string expression to evaluate.

                      SELECT ISALPHANUMERIC('Hello123');
                      -- Result: 1

                      SELECT ISALPHANUMERIC('123');
                      -- Result: 1

                      SELECT ISALPHANUMERIC('Hello.123');
                      -- Result: 0
                    

ISNUMERIC(character_expression)

Returns 1 if the character expression consists only of numeric digits and up to one decimal point; otherwise, 0.

  • character_expression: The string expression to evaluate.

                      SELECT ISNUMERIC('123');
                      -- Result: 1

                      SELECT ISNUMERIC('123.45');
                      -- Result: 1

                      SELECT ISNUMERIC('123.45.67');
                      -- Result: 0

                      SELECT ISNUMERIC('12a3');
                      -- Result: 0
                    

JSON_EXTRACT(json, jsonpath)

Selects any value in a JSON array or object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to extract.
  • jsonpath: The XPath used to select the nodes. The JSONPath must be a string constant. The values of the nodes selected will be returned in a token-separated list.

                      SELECT JSON_EXTRACT('{"test": {"data": 1}}', '$.test');
                      -- Result: '{"data":1}'

                      SELECT JSON_EXTRACT('{"test": {"data": 1}}', '$.test.data');
                      -- Result: 1

                      SELECT JSON_EXTRACT('{"test": {"data": [1, 2, 3]}}', '$.test.data[1]');
                      -- Result: 2
                    

LEFT ( character_expression , integer_expression )

Returns the specified number of characters counting from the left of the specified string.

  • character_expression: The character expression.
  • integer_expression: The positive integer that specifies how many characters will be returned counting from the left of character_expression.

                      SELECT LEFT('1234567890', 3);
                      -- Result: '123'
                    

LEN(string_expression)

Returns the number of characters of the specified string expression.

  • string_expression: The string expression.

                      SELECT LEN('12345');
                      -- Result: 5
                    

LOCATE(substring,string)

Returns an integer representing how many characters into the string the substring appears.

  • substring: The substring to find inside larger string.
  • string: The larger string that is searched for the substring.
  • start locations: An optional integer that sets the character position (offset) from which to start searching.

				SELECT LOCATE('sample','XXXXXsampleXXXXX');
				-- Result: 6

                SELECT LOCATE('sample', 'XXXXXsampleXXXXX', 7)
                -- Result: 0
				

LOWER ( character_expression )

Returns the character expression with the uppercase character data converted to lowercase.

  • character_expression: The character expression.

                      SELECT LOWER('MIXED case');
                      -- Result: 'mixed case'
                    

LTRIM(character_expression)

Returns the character expression with leading blanks removed.

  • character_expression: The character expression.

                      SELECT LTRIM('     trimmed');
                      -- Result: 'trimmed'
                    

MASK(string_expression, mask_character [, start_index [, end_index ]])

Replaces the characters between start_index and end_index with the mask_character within the string.

  • string_expression: The string expression to be searched.
  • mask_character: The character to mask with.
  • start_index: The optional number of characters to leave unmasked at beginning of string. Defaults to 0.
  • end_index: The optional number of characters to leave unmasked at end of string. Defaults to 0.

                        SELECT MASK('1234567890','*',);
                        -- Result: '**********'
                        SELECT MASK('1234567890','*', 4);
                        -- Result: '1234******'
                        SELECT MASK('1234567890','*', 4, 2);
                        -- Result: '1234****90'  
                    

NCHAR(integer_expression)

Returns the Unicode character with the specified integer code as defined by the Unicode standard.

  • integer_expression: The integer from 0 through 65535 (0 through xFFFF).

OCTET_LENGTH(character_expression),

Returns the number of bytes present in the expression.

  • character_expression: The set of characters to be be evaluated.

				 SELECT OCTET_LENGTH('text') FROM Account LIMIT 1
				 -- Result: 4
				

PATINDEX(pattern, expression)

Returns the starting position of the first occurrence of the pattern in the expression. Returns 0 if the pattern is not found.

  • pattern: The character expression that contains the sequence to be found. The wild-card character % can be used only at the start or end of the expression.
  • expression: The expression, typically a column, to search for the pattern.

                      SELECT PATINDEX('123%', '1234567890');
                      -- Result: 1

                      SELECT PATINDEX('%890', '1234567890');
                      -- Result: 8

                      SELECT PATINDEX('%456%', '1234567890');
                      -- Result: 4
                    

POSITION(expressionToFind IN expressionToSearch)

Returns the starting position of the specified expression in the character string.

  • expressionToFind: The character expression to find.
  • expressionToSearch: The character expression, typically a column, to search.

                      SELECT POSITION('456' IN '123456');
                      -- Result: 4

                      SELECT POSITION('x' IN '123456');
                      -- Result: 0
                    

QUOTENAME(character_string [, quote_character])

Returns a valid SQL Server-delimited identifier by adding the necessary delimiters to the specified Unicode string.

  • character_string: The string of Unicode character data. The string is limited to 128 characters. Inputs greater than 128 characters return null.
  • quote_character: An optional single character to be used as the delimiter. These include:
    • a single quotation mark (')
    • a left or right bracket ([])
    • a double quotation mark (")
    • a left or right parenthesis ( () )
    • a greater or less than sign (><)
    • a left or right brace ({})
    • a backtick (`)

    If quote_character is not specified brackets are used. If an unacceptable character is supplied, it returns NULL.


                      SELECT QUOTENAME('table_name');
                      -- Result: '[table_name]'

                      SELECT QUOTENAME('table_name', '"');
                      -- Result: '"table_name"'

                      SELECT QUOTENAME('table_name', '[');
                      -- Result: '[table_name]'
                    

REGEXP_REPLACE(expr, pattern [, replacement [, position [, occurrence [, match_type]]]])

Replaces occurrences of a regular expression pattern in the input string with a specified value and returns the resulting string.

  • expr: The string expression to be searched.
  • pattern: The regular expression pattern to match.
  • replacement: (optional) The string to replace each matched occurrence of pattern with. Supports backreferences \1 through \9 and escape sequences \n, \r, \t, and \\. By default, this argument is an empty string, meaning matched portions are removed from the output string.
  • position: (optional) The 1-based starting position used when searching for regular expression matches in expr. The default is 1. All characters prior to the starting position are included in the output string unaltered. Skipped characters are ignored when calculating regular expression matches, even if they match pattern.
  • occurrence: (optional) Specifies whether all occurrences of pattern,, or only a specific occurrence of pattern are replaced. The default is 0, which means all occurrences of pattern are replaced with replacement. Set to 1 to only replace the first instance of the pattern; 2 to replace the second; etc.
  • match_type: (optional) Modifiers used to customize matching behavior. Supported values are: 'c' (case-sensitive, default), 'i' (case-insensitive), 'm' (multiline), 'n' (dot matches newline), 'x' (extended mode). These can be freely combined by including the letters back to back. For example, 'im' applies the functionality of both 'i' and 'm'. The regular expression syntax used is that of the Extended mode ('x') ignores whitespace and allows inline comments. If the pattern needs to match a literal space, it must be explicitly escaped.

                      SELECT REGEXP_REPLACE('abc123def456', '\d+', 'NUM');
                      -- Result: 'abcNUMdefNUM'

                      SELECT REGEXP_REPLACE('Hello\nHELLO\nhello', '^hello', 'X', 1, 0, 'im');
                      -- Result: 'X\nX\nX'
                    

REPLACE(string_expression, string_pattern, string_replacement)

Replaces all occurrences of a string with another string.

  • string_expression: The string expression to be searched. This can be a character or binary data type.
  • string_pattern: The substring to be found. Cannot be an empty string.
  • string_replacement: The replacement string.

                      SELECT REPLACE('1234567890', '456', '|');
                      -- Result: '123|7890'

                      SELECT REPLACE('123123123', '123', '.');
                      -- Result: '...'

                      SELECT REPLACE('1234567890', 'a', 'b');
                      -- Result: '1234567890'
                    

REPLICATE ( string_expression ,integer_expression )

Repeats the string value the specified number of times.

  • string_expression: The string to replicate.
  • integer_expression: The repeat count.

                      SELECT REPLACE('x', 5);
                      -- Result: 'xxxxx'
                    

REVERSE ( string_expression )

Returns the reverse order of the string expression.

  • string_expression: The string.

                      SELECT REVERSE('1234567890');
                      -- Result: '0987654321'
                    

RIGHT ( character_expression , integer_expression )

Returns the right part of the string with the specified number of characters.

  • character_expression: The character expression.
  • integer_expression: The positive integer that specifies how many characters of the character expression will be returned.

                      SELECT RIGHT('1234567890', 3);
                      -- Result: '890'
                    

RTRIM(character_expression)

Returns the character expression after it removes trailing blanks.

  • character_expression: The character expression.

                      SELECT RTRIM('trimmed     ');
                      -- Result: 'trimmed'
                    

SOUNDEX(character_expression)

Returns the four-character Soundex code, based on how the string sounds when spoken.

  • character_expression: The alphanumeric expression of character data.

                      SELECT SOUNDEX('smith');
                      -- Result: 'S530'
                    

SPACE(repeatcount)

Returns the string that consists of repeated spaces.

  • repeatcount: The number of spaces.

                      SELECT SPACE(5);
                      -- Result: '     '
                    

SPLIT(string, delimiter, offset)

Returns a section of the string between to delimiters.

  • string: The string to split.
  • delimiter: The character to split the string with.
  • offset: The number of the split to return. Positive numbers are treated as offsets from the left, and negative numbers are treated as offsets from the right.

                      SELECT SPLIT('a/b/c/d', '/', 1);
                      -- Result: 'a'
                      SELECT SPLIT('a/b/c/d', '/', -2);
                      -- Result: 'c'
                    

STARTSWITH(character_expression, character_prefix)

Returns 1 if character_expression starts with character_prefix; otherwise, 0.

  • character_expression: The character expression.
  • character_prefix: The character prefix to search for.

                      SELECT STARTSWITH('0123456', '012');
                      -- Result: 1

                      SELECT STARTSWITH('0123456', '456');
                      -- Result: 0
                    

STR ( float_expression [ , integer_length [ , integer_decimal ] ] )

Returns the character data converted from the numeric data. For example, STR(123.45, 6, 1) returns 123.5.

  • float_expression: The float expression.
  • length: The optional total length to return. This includes decimal point, sign, digits, and spaces. The default is 10.
  • decimal: The optional number of places to the right of the decimal point. The decimal must be less than or equal to 16.

                      SELECT STR('123.456');
                      -- Result: '123'

                      SELECT STR('123.456', 2);
                      -- Result: '**'

                      SELECT STR('123.456', 10, 2);
                      -- Result: '123.46'
                    

STUFF(character_expression , integer_start , integer_length , replaceWith_expression)

Inserts a string into another string. It deletes the specified length of characters in the first string at the start position and then inserts the second string into the first string at the start position.

  • character_expression: The string expression.
  • start: The integer value that specifies the location to start deletion and insertion. If start or length is negative, null is returned. If start is longer than the string to be modified, character_expression, null is returned.
  • length: The integer that specifies the number of characters to delete. If length is longer than character_expression, deletion occurs up to the last character in replaceWith_expression.
  • replaceWith_expression: The expression of character data that will replace length characters of character_expression beginning at the start value.

                      SELECT STUFF('1234567890', 3, 2, 'xx');
                      -- Result: '12xx567890'
                    

SUBSTRING(string_value FROM start FOR length)

Returns the part of the string with the specified length; starts at the specified index.

  • string_value: The character string.
  • start: The positive integer that specifies the start index of characters to return.
  • length: Optional. The positive integer that specifies how many characters will be returned.

                      SELECT SUBSTRING('1234567890' FROM 3 FOR 2);
                      -- Result: '34'

                      SELECT SUBSTRING('1234567890' FROM 3);
                      -- Result: '34567890'
                    
You can also drop the FROM and FOR clauses:
                    SELECT SUBSTRING('1234567890', 3, 2)
                    --Result: '34'
                    SELECT SUBSTRING('1234567890', 3)
                    --Result: '34567890'
                    

TEXT_ENCODE(input_string, charset)

Returns binary output by encoding a string using the specified character set.

  • input_string: The plain text string.
  • charset: The character set to use, such as 'UTF-8', 'ISO-8859-1'.

                    SELECT TEXT_ENCODE('Café', 'UTF-8');
                    -- Result: (binary output)
                    

TEXT_DECODE(input_binary, charset)

Returns a string decoded from binary data using the specified character set.

  • input_binary: The binary value to decode.
  • charset: The character set used for decoding.

                    SELECT TEXT_DECODE(BinaryData, 'UTF-8');
                    -- Result: 'Café'
                    

TOSTRING(string_value1)

Converts the value of this instance to its equivalent string representation.

  • string_value1: The string to be converted.

                      SELECT TOSTRING(123);
                      -- Result: '123'

                      SELECT TOSTRING(123.456);
                      -- Result: '123.456'

                      SELECT TOSTRING(null);
                      -- Result: ''
                    

TRIM(trimspec trimchar FROM string_value)

Returns the character expression with leading and/or trailing blanks removed.

  • trimspec: Optional. If included must be one of the keywords BOTH, LEADING or TRAILING.
  • trimchar: Optional. If included should be a one-character string value.
  • string_value: The string value to trim.

                      SELECT TRIM('     trimmed     ');
                      -- Result: 'trimmed'

                      SELECT TRIM(LEADING FROM '     trimmed     ');
                      -- Result: 'trimmed     '

                      SELECT TRIM('-' FROM '-----trimmed-----');
                      -- Result: 'trimmed'

                      SELECT TRIM(BOTH '-' FROM '-----trimmed-----');
                      -- Result: 'trimmed'

                      SELECT TRIM(TRAILING '-' FROM '-----trimmed-----');
                      -- Result: '-----trimmed'
                    

UNICODE(ncharacter_expression)

Returns the integer value defined by the Unicode standard of the first character of the input expression.

  • ncharacter_expression: The Unicode character expression.

UPPER ( character_expression )

Returns the character expression with lowercase character data converted to uppercase.

  • character_expression: The character expression.

                      SELECT UPPER('MIXED case');
                      -- Result: 'MIXED CASE'
                    

XML_EXTRACT(xml, xpath [, separator])

Extracts an XML document using the specified XPath to flatten the XML. A comma is used to separate the outputs by default, but this can be changed by specifying the third parameter.

  • xml: The XML document to extract.
  • xpath: The XPath used to select the nodes. The nodes selected will be returned in a token-separated list.
  • separator: The optional token used to separate the items in the flattened response. If this is not specified, the separator will be a comma.

                      SELECT XML_EXTRACT('<vowels><ch>a</ch><ch>e</ch><ch>i</ch><ch>o</ch><ch>u</ch></vowels>', '/vowels/ch');
                      -- Result: 'a,e,i,o,u'

                      SELECT XML_EXTRACT('<vowels><ch>a</ch><ch>e</ch><ch>i</ch><ch>o</ch><ch>u</ch></vowels>', '/vowels/ch', ';');
                      -- Result: 'a;e;i;o;u'
                    

CData Python Connector for Shopify

MATH Functions

ABS ( numeric_expression )

Returns the absolute (positive) value of the specified numeric expression.

  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.

                      SELECT ABS(15);
                      -- Result: 15

                      SELECT ABS(-15);
                      -- Result: 15
                    

ACOS ( float_expression )

Returns the arc cosine, the angle in radians whose cosine is the specified float expression.

  • float_expression: The float expression that specifies the cosine of the angle to be returned. Values outside the range from -1 to 1 return null.

                      SELECT ACOS(0.5);
                      -- Result: 1.0471975511966
                    

ASIN ( float_expression )

Returns the arc sine, the angle in radians whose sine is the specified float expression.

  • float_expression: The float expression that specifies the sine of the angle to be returned. Values outside the range from -1 to 1 return null.

                      SELECT ASIN(0.5);
                      -- Result: 0.523598775598299
                    

ATAN ( float_expression )

Returns the arc tangent, the angle in radians whose tangent is the specified float expression.

  • float_expression: The float expression that specifies the tangent of the angle to be returned.

                      SELECT ATAN(10);
                      -- Result: 1.47112767430373
                    

ATN2 ( float_expression1 , float_expression2 )

Returns the angle in radians between the positive x-axis and the ray from the origin to the point (y, x) where x and y are the values of the two specified float expressions.

  • float_expression1: The float expression that is the y-coordinate.
  • float_expression2: The float expression that is the x-coordinate.

                      SELECT ATN2(1, 1);
                      -- Result: 0.785398163397448
                    

CEILING ( numeric_expression ) or CEIL( numeric_expression )

Returns the smallest integer greater than or equal to the specified numeric expression.

  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.

                      SELECT CEILING(1.3);
                      -- Result: 2

                      SELECT CEILING(1.5);
                      -- Result: 2

                      SELECT CEILING(1.7);
                      -- Result: 2
                    

COS ( float_expression )

Returns the trigonometric cosine of the specified angle in radians in the specified expression.

  • float_expression: The float expression of the specified angle in radians.

                      SELECT COS(1);
                      -- Result: 0.54030230586814
                    

COT ( float_expression )

Returns the trigonometric cotangent of the angle in radians specified by float_expression.

  • float_expression: The float expression of the angle in radians.

                      SELECT COT(1);
                      -- Result: 0.642092615934331
                    

DEGREES ( numeric_expression )

Returns the angle in degrees for the angle specified in radians.

  • numeric_expression: The angle in radians, an expression of an indeterminate numeric data type except for the bit data type.

                      SELECT DEGREES(3.1415926);
                      -- Result: 179.999996929531
                    

EXP ( float_expression )

Returns the exponential value of the specified float expression. For example, EXP(LOG(20)) is 20.

  • float_expression: The float expression.

                      SELECT EXP(2);
                      -- Result: 7.38905609893065
                    

EXPR ( expression )

Evaluates the expression.

  • expression: The expression. Operators allowed are +, -, *, /, ==, !=, >, <, >=, and <=.

                      SELECT EXPR('1 + 2 * 3');
                      -- Result: 7

                      SELECT EXPR('1 + 2 * 3 == 7');
                      -- Result: true
                    

FLOOR ( numeric_expression )

Returns the largest integer less than or equal to the numeric expression.

  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.

                      SELECT FLOOR(1.3);
                      -- Result: 1

                      SELECT FLOOR(1.5);
                      -- Result: 1

                      SELECT FLOOR(1.7);
                      -- Result: 1
                    

GREATEST(int1,int2,....)

Returns the greatest of the supplied integers.

				SELECT GREATEST(3,5,8,10,1)
				-- Result: 10			
				

HEX(value)

Returns a the equivalent hex for the input value.

  • value: A string or numerical value to be converted into hex.

				SELECT HEX(866849198);
				-- Result: 33AB11AE
				
				SELECT HEX('Sample Text');
				-- Result: 53616D706C652054657874
				

JSON_AVG(json, jsonpath)

Computes the average value of a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_AVG('[1,2,3,4,5]', '$[x]');
                      -- Result: 3

                      SELECT JSON_AVG('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 3

                      SELECT JSON_AVG('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 4.5
                    

JSON_COUNT(json, jsonpath)

Returns the number of elements in a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_COUNT('[1,2,3,4,5]', '$[x]');
                      -- Result: 5

                      SELECT JSON_COUNT('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 5

                      SELECT JSON_COUNT('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 2
                    

JSON_MAX(json, jsonpath)

Gets the maximum value in a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_MAX('[1,2,3,4,5]', '$[x]');
                      -- Result: 5

                      SELECT JSON_MAX('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 5

                      SELECT JSON_MAX('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[..3]');
                      -- Result: 4
                    

JSON_MIN(json, jsonpath)

Gets the minimum value in a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_MIN('[1,2,3,4,5]', '$[x]');
                      -- Result: 1

                      SELECT JSON_MIN('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 1

                      SELECT JSON_MIN('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 4
                    

JSON_SUM(json, jsonpath)

Computes the summary value in JSON according to the JSONPath expression. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_SUM('[1,2,3,4,5]', '$[x]');
                      -- Result: 15

                      SELECT JSON_SUM('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 15

                      SELECT JSON_SUM('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 9
                    

LEAST(int1,int2,....)

Returns the least of the supplied integers.

				SELECT LEAST(3,5,8,10,1)
				-- Result: 1			
				

LOG ( float_expression [, base ] )

Returns the natural logarithm of the specified float expression.

  • float_expression: The float expression.
  • base: The optional integer argument that sets the base for the logarithm.

                      SELECT LOG(7.3890560);
                      -- Result: 1.99999998661119
                    

LOG10 ( float_expression )

Returns the base-10 logarithm of the specified float expression.

  • float_expression: The expression of type float.

                      SELECT LOG10(10000);
                      -- Result: 4
                    

MOD(dividend,divisor)

Returns the integer value associated with the remainder when dividing the dividend by the divisor.

  • dividend: The number to take the modulus of.
  • divisor: The number to divide the dividend by when determining the modulus.

				SELECT MOD(10,3);
				-- Result: 1
				

NEGATE(real_number)

Returns the opposite to the real number input.

  • real_number: The real number to find the opposite of.

				SELECT NEGATE(10);
				-- Result: -10
				
				SELECT NEGATE(-12.4)
				--Result: 12.4
				

PI ( )

Returns the constant value of pi.

                  SELECT PI()
                  -- Result: 3.14159265358979 
                

POWER ( float_expression , y )

Returns the value of the specified expression raised to the specified power.

  • float_expression: The float expression.
  • y: The power to raise float_expression to.

                      SELECT POWER(2, 10);
                      -- Result: 1024

                      SELECT POWER(2, -2);
                      -- Result: 0.25
                    

RADIANS ( float_expression )

Returns the angle in radians of the angle in degrees.

  • float_expression: The degrees of the angle as a float expression.

                      SELECT RADIANS(180);
                      -- Result: 3.14159265358979
                    

RAND ( [ integer_seed ] )

Returns a pseudorandom float value from 0 through 1, exclusive.

  • seed: The optional integer expression that specifies the seed value. If seed is not specified, a seed value at random will be assigned.

                      SELECT RAND();
                      -- This result may be different, since the seed is randomized
                      -- Result: 0.873159630165044

                      SELECT RAND(1);
                      -- This result will always be the same, since the seed is constant
                      -- Result: 0.248668584157093
                    

ROUND ( numeric_expression [ ,integer_length] [ ,function ] )

Returns the numeric value rounded to the specified length or precision.

  • numeric_expression: The expression of a numeric data type.
  • length: The optional precision to round the numeric expression to. When this is omitted, the default behavior will be to round to the nearest whole number.
  • function: The optional type of operation to perform. When the function parameter is omitted or has a value of 0 (default), numeric_expression is rounded. When a value other than 0 is specified, numeric_expression is truncated.

                      SELECT ROUND(1.3, 0);
                      -- Result: 1

                      SELECT ROUND(1.55, 1);
                      -- Result: 1.6

                      SELECT ROUND(1.7, 0, 0);
                      -- Result: 2

                      SELECT ROUND(1.7, 0, 1);
                      -- Result: 1
                      
                      SELECT ROUND (1.24);
                      -- Result: 1.0
                    

SIGN ( numeric_expression )

Returns the positive sign (1), 0, or negative sign (-1) of the specified expression.

  • numeric_expression: The expression of an indeterminate data type except for the bit data type.

                      SELECT SIGN(0);
                      -- Result: 0

                      SELECT SIGN(10);
                      -- Result: 1

                      SELECT SIGN(-10);
                      -- Result: -1
                    

SIN ( float_expression )

Returns the trigonometric sine of the angle in radians.

  • float_expression: The float expression specifying the angle in radians.

                     SELECT SIN(1);
                     -- Result: 0.841470984807897
                    

SQRT ( float_expression )

Returns the square root of the specified float value.

  • float_expression: The expression of type float.

                      SELECT SQRT(100);
                      -- Result: 10
                    

SQUARE ( float_expression )

Returns the square of the specified float value.

  • float_expression: The expression of type float.

                      SELECT SQUARE(10);
                      -- Result: 100

                      SELECT SQUARE(-10);
                      -- Result: 100
                    

TAN ( float_expression )

Returns the tangent of the input expression.

  • float_expression: The expression of type float.

                      SELECT TAN(1);
                      -- Result: 1.5574077246549
                    

TRUNC(decimal_number,precision)

Returns the supplied decimal number truncated to have the supplied decimal precision.

  • decimal_number: The decimal value to truncate.
  • precision: The number of decimal places to truncate the decimal number to.

				SELECT TRUNC(10.3423,2);
				-- Result: 10.34
				

_ROW_NUMBER_()

Returns a row index as an additional column.

				SELECT ColumnName, _ROW_NUMBER_() FROM TableName
				-- Result: ColumnData, 0
				ColumnData2, 1
				ColumnData3, 2
				

CData Python Connector for Shopify

DATE Functions

CURRENT_DATE()

Returns the current date value.

                  SELECT CURRENT_DATE();
                  -- Result: 2018-02-01
                

CURRENT_TIMESTAMP()

Returns the current time stamp of the database system as a datetime value. This value is equal to GETDATE and SYSDATETIME, and is always in the local timezone.

                  SELECT CURRENT_TIMESTAMP();
                  -- Result: 2018-02-01 03:04:05
                

DATEADD (datepart , integer_number , date [, dateformat])

Returns the datetime value that results from adding the specified number (a signed integer) to the specified date part of the date.

  • datepart: The part of the date to add the specified number to. The valid values and abbreviations are
    • year (yy, yyyy)
    • quarter (qq, q)
    • month (mm, m)
    • week (wk, ww)
    • weekday (dw)
    • dayofyear (dy, y)
    • day (dd, d)
    • hour (hh)
    • minute (mi, n)
    • second (ss, s)
    • millisecond (ms)
  • number: The number to be added.
  • date: The expression of the datetime data type.
  • dateformat: The optional output date format.

                  SELECT DATEADD('d', 5, '2018-02-01');
                  -- Result: 2018-02-06

                  SELECT DATEADD('hh', 5, '2018-02-01 00:00:00');
                  -- Result: 2018-02-01 05:00:00
                

DATEDIFF ( datepart , startdate , enddate )

Returns the difference (a signed integer) of the specified time interval between the specified start date and end date.

  • datepart: The part of the date that is the time interval of the difference between the start date and end date. The valid values and abbreviations are:
    • Year (year, yyyy, yy)
    • Quarter (quarter, qq, q)
    • Month (month, mm, m)
    • Week (week, wk, ww)
    • Weekday (weekday, dw)
    • Dayofyear (dayofyear, dy, y)
    • Day (day, dd, d)
    • Hour (hour, hh)
    • Minute (minute, mi, n)
    • Second (second, ss, s)
    • Millisecond (millisecond, ms)
  • startdate: The datetime expression of the start date.
  • enddate: The datetime expression of the end date.

                  SELECT DATEDIFF('d', '2018-02-01', '2018-02-10');
                  -- Result: 9

                  SELECT DATEDIFF('hh', '2018-02-01 00:00:00', '2018-02-01 12:00:00');
                  -- Result: 12
                

DATE_FORMAT(date,format)

Returns the date or timestamp in the format specified. This function mirrors the MySQL DATE_FORMAT function.

  • date: A date or timestamp string.
  • format: The specifier string of the desired output format. The list of supported format specifiers comes from the MySQL DATE_FORMAT function (see link to MySQL documentation above).

					SELECT DATE_FORMAT('9/4/2021 3:11:53 AM','%h')
					-- Result: 03
				  

DATEFROMPARTS(integer_year, integer_month, integer_day)

Returns the datetime value for the specified year, month, and day.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.

                    SELECT DATEFROMPARTS(2018, 2, 1);
                    -- Result: 2018-02-01
                  

DATENAME(datepart , date)

Returns the character string that represents the specified date part of the specified date.

  • datepart: The part of the date to return. The valid values and abbreviations are year (yy, yyyy), quarter (qq, q), month (mm, m), dayofyear (dy, y), day (dd, d), week (wk, ww), weekday (dw), hour (hh), minute (mi, n), second (ss, s), millisecond (ms), microsecond (mcs), and nanosecond (ns).
  • date: The datetime expression.

                     SELECT DATENAME('yy', '2018-02-01');
                     -- Result: '2018'

                     SELECT DATENAME('dw', '2018-02-01');
                     -- Result: 'Thursday'
                   

DATEPART(datepart, date [,integer_datefirst])

Returns a character string that represents the specified date part of the specified date.

  • datepart: The part of the date to return. The valid values and abbreviations are year (yy, yyyy), quarter (qq, q), month (mm, m), dayofyear (dy, y), day (dd, d), week (wk, ww), weekday (dw), hour (hh), minute (mi, n), second (ss, s), millisecond (ms), microsecond (mcs), nanosecond (ns), ISODOW, ISO_WEEK (isoweek, isowk,isoww), and ISOYEAR.
  • date: The datetime string.
  • datefirst: The optional integer representing the first day of the week. The default is 7, Sunday.

                    SELECT DATEPART('yy', '2018-02-01');
                    -- Result: 2018

                    SELECT DATEPART('dw', '2018-02-01');
                    -- Result: 5
                  

DATETIMEFROMPARTS(integer_year, integer_month, integer_day, integer_hour, integer_minute, integer_seconds, integer_milliseconds)

Returns the datetime value for the specified date parts.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.
  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.
  • seconds: The integer expression specifying the seconds.
  • milliseconds: The integer expression specifying the milliseconds.

                    SELECT DATETIMEFROMPARTS(2018, 2, 1, 1, 2, 3, 456);
                    -- Result: 2018-02-01 01:02:03.456
                  

DATETIME2FROMPARTS(integer_year, integer_month, integer_day, integer_hour, integer_minute, integer_seconds, integer_fractions, integer_precision)

Returns the datetime value for the specified date parts.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.
  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.
  • seconds: The integer expression specifying the seconds.
  • fractions: The integer expression specifying the fractions of the second.
  • precision: The integer expression specifying the precision of the fraction.

				    SELECT DATETIME2FROMPARTS(2018, 2, 1, 1, 2, 3, 456, 3);
                    -- Result: 2018-02-01 01:02:03.456
                  

DATE_TRUNC(date, datepart)

Truncates the date to the precision of the given date part. Modeled after the Oracle TRUNC function.

  • date: The datetime string that specifies the date.
  • datepart: Refer to the Oracle documentation for valid datepart syntax.

				    SELECT DATE_TRUNC('05-04-2005', 'YY');
                    -- Result: '1/1/2005'
					
                    SELECT DATE_TRUNC('05-04-2005', 'MM');
                    -- Result: '5/1/2005'                    
                  

DATE_TRUNC2(datepart, date, [weekday])

Truncates the date to the precision of the given date part. Modeled after the PostgreSQL date_trunc function.

  • datepart: One of 'millennium', 'century', 'decade', 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute' or 'second'.
  • date: The datetime string that specifies the date.
  • weekday: The optional day of the week to use as the first day for 'week'. One of 'sunday', 'monday', etc.

                    SELECT DATE_TRUNC2('year', '2020-02-04');
                    -- Result: '2020-01-01'

                    SELECT DATE_TRUNC2('week', '2020-02-04', 'monday');
                    -- Result: '2020-02-02', which is the previous Monday
                  

DAY(date)

Returns the integer that specifies the day component of the specified date.

  • date: The datetime string that specifies the date.

                    SELECT DAY('2018-02-01');
                    -- Result: 1
                  

DAYNAME(date)

Returns the name of the day of the week of the specified date.

  • date: The datetime string that specifies the date.

                    SELECT DAYNAME('8/18/2021');
                    -- Result: Wednesday
                  

DAYOFMONTH(date)

Returns the day of the month of the given date part.
  • date: The datetime string that specifies the date.

				  SELECT DAYOFMONTH('04/15/2000');
				  -- Result: 15
				  

DAYOFWEEK(date)

Returns the day of the week of the given date part.
  • date: The datetime string that specifies the date.

				  SELECT DAYOFWEEK('04/15/2000');
				  -- Result: 7
				  

DAYOFYEAR(date)

Returns the day of the year of the given date part.
  • date: The datetime string that specifies the date.

				  SELECT DAYOFYEAR('04/15/2000');
				  -- Result: 106
				  

EOMONTH(date [, integer_month_to_add ]) or LAST_DAY(date)

Returns the last day of the month that contains the specified date with an optional offset.

  • date: The datetime expression specifying the date for which to return the last day of the month.
  • integer_month_to_add: The optional integer expression specifying the number of months to add to the date before calculating the end of the month.

                  SELECT EOMONTH('2018-02-01');
                  -- Result: 2018-02-28
                  
                  SELECT LAST_DAY('2018-02-01');
                  -- Result: 2018-02-28

                  SELECT EOMONTH('2018-02-01', 2);
                  -- Result: 2018-04-30
                

EXTRACT(date_part FROM date_column_name)

Returns the last day of the month that contains the specified date with an optional offset.

  • date_part: One of the following date components: YEAR, MONTH, DAY, HOUR, MINUTE, SECOND.
  • date_column_name: The name of a date column in a table.

                  SELECT EXTRACT(YEAR FROM DateColumn)
                  -- Result: 2021
                

FDWEEK(date)

Returns the first day of the week of the given date part.
  • date: The datetime string that specifies the date.
  • weeks to add: An optional integer expression specifying the number of months to add to the date before calculating the first day of the week.

				  SELECT FDWEEK('02-08-2018');
				  -- Result: 2/4/2018

          SELECT FDWEEK('02-08-2018', 1)
          --Result: 02/11/2018
				  

FDMONTH(date)

Returns the first day of the month of the given date part.
  • date: The datetime string that specifies the date.
  • month to add: An optional integer expression specifying the number of months to add to the date before calculating the first day of the month.

				  SELECT FDMONTH('02-08-2018');
				  -- Result: 2/1/2018

          SELECT FDMONTH('02-08-2018', 1) 
          --Result: 03/01/2018
				  

FDQUARTER(date)

Returns the first day of the quarter of the given date part.
  • date: The datetime string that specifies the date.
  • quarters to add: An optional integer expression specifying the number of months to add to the date before calculating the first day of the quarter.

				  SELECT FDQUARTER('05-08-2018');
				  -- Result: 4/1/2018

          SELECT FDQUARTER('05-08-2018',1)
          --Result: 07/01/2018
				  

FILEMODIFIEDTIME(uri)

Returns the time stamp associated with the Date Modified of the relevant file.

  • uri: An absolute path pointing to a file on the local file system.

				 SELECT FILEMODIFIEDTIME('C:/Documents/myfile.txt');
				 -- Result: 6/25/2019 10:06:58 AM
				 

FROM_DAYS(datevalue)

Returns a date derived from the number of days after 1582-10-15 (based upon the Gregorian calendar). This will be equivalent to the MYSQL FROM_DAYS function.

  • datevalue: A integer value representing the number of days since 1582-10-15.

				SELECT FROM_DAYS(736000);
				-- Result: 2/6/2015
				

FROM_UNIXTIME(time, issecond)

Returns a representation of the unix_timestamp argument as a value in YYYY-MM-DD HH:MM:SS expressed in the current time zone.

  • time: The time stamp value from epoch time. Milliseconds are accepted.
  • issecond: Indicates the time stamp value is milliseconds to epoch time.

                      SELECT FROM_UNIXTIME(1540495231, 1);
                      -- Result: 2018-10-25 19:20:31

                      SELECT FROM_UNIXTIME(1540495357385, 0);
                      -- Result: 2018-10-25 19:22:37
                    

GETDATE()

Returns the current time stamp of the database system as a datetime value. This value is equal to CURRENT_TIMESTAMP and SYSDATETIME, and is always in the local timezone.

                  SELECT GETDATE();
                  -- Result: 2018-02-01 03:04:05
                

GETUTCDATE()

Returns the current time stamp of the database system formatted as a UTC datetime value. This value is equal to SYSUTCDATETIME.

In addition, GETUTCDATE can take an optional second parameter, a date and time that are converted to UTC.

                  SELECT GETUTCDATE();
                  -- For example, if the local timezone is Eastern European Time (GMT+2)
                  -- Result: 2018-02-01 05:04:05

                  SELECT GETUTCDATE('2020/08/31 13:56:00')
                  --Result: '2020-08-31 17:56:00'
                

HOUR(date)

Returns the hour component from the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT HOUR('02-02-2020 11:30:00');
				-- Result: 11
				

ISDATE(date, [date_format])

Returns 1 if the value is a valid date, time, or datetime value; otherwise, 0.

  • date: The datetime string.
  • date_format: The optional datetime format.

                      SELECT ISDATE('2018-02-01', 'yyyy-MM-dd');
                      -- Result: 1

                      SELECT ISDATE('Not a date');
                      -- Result: 0
                    

LAST_WEEK()

Returns a time stamp equivalent to exactly one week before the current date.

				SELECT LAST_WEEK();	//Assume the date is 3/17/2020	
			 -- Result: 3/10/2020 00:00:00
				

LAST_MONTH()

Returns a time stamp equivalent to exactly one month before the current date.

	
				SELECT LAST_MONTH(); //Assume the date is 3/17/2020
				-- Result: 2/17/2020 00:00:00
				

LAST_YEAR()

Returns a time stamp equivalent to exactly one year before the current date.

				SELECT LAST_YEAR();	//Assume the date is 3/17/2020	
				-- Result: 3/10/2019 00:00:00
				

LDWEEK(date)

Returns the last day of the provided week.

  • date: The datetime string.
  • weeks to add: An optional integer expression specifying the number of months to add to the date before calculating the last day of the week.

				SELECT LDWEEK('02-02-2020');
				-- Result: 2/8/2020
				

LDMONTH(date)

Returns the last day of the provided month.

  • date: The datetime string.
  • months to add: An optional integer expression specifying the number of months to add to the date before calculating the last day of the month.

				SELECT LDMONTH('02-02-2020');
				-- Result: 2/29/2020

        SELECT LDMONTH('02-08-2020', 1)
        --Result: 03/31/2020
				

LDQUARTER(date)

Returns the last day of the provided quarter.

  • date: The datetime string.
  • quarters to add: An optional integer expression specifying the number of months to add to the date before calculating the last day of the quarter.

				SELECT LDQUARTER('02-02-2020');
				-- Result: 3/31/2020

        SELECT LDQUARTER('02-02-2020',1)
        --Result: 06/30/2020
				

MAKEDATE(year, days)

Returns a date value from a year and a number of days.

  • year: The year
  • days: The number of days into the year. Value must be greater than 0.

          SELECT MAKEDATE(2020, 1);
          -- Result: 2020-01-01
        

MINUTE(date)

Returns the minute component from the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT MINUTE('02-02-2020 11:15:00');
				-- Result: 15
				

MONTH(date)

Returns the month component from the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT MONTH('02-02-2020');
				-- Result: 2
				

QUARTER(date)

Returns the quarter associated with the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT QUARTER('02-02-2020');
				-- Result: 1
				

SECOND(date)

Returns the second component from the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT SECOND('02-02-2020 11:15:23');
				-- Result: 23
				

SMALLDATETIMEFROMPARTS(integer_year, integer_month, integer_day, integer_hour, integer_minute)

Returns the datetime value for the specified date and time.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.
  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.

                      SELECT SMALLDATETIMEFROMPARTS(2018, 2, 1, 1, 2);
                      -- Result: 2018-02-01 01:02:00
                    

STRTODATE(string,format)

Parses the provided string value and returns the corresponding datetime.

  • string: The string value to be converted to datetime format.
  • format: A format string which describes how to interpret the first string input. A few special formats are available as well, including UNIX, UNIXMILIS, TICKS, and FILETICKS.

				SELECT STRTODATE('03*04*2020','dd*MM*yyyy');
				-- Result: 4/3/2020
				

SYSDATETIME()

Returns the current time stamp as a datetime value of the database system. It is equal to GETDATE and CURRENT_TIMESTAMP, and is always in the local timezone.

                  SELECT SYSDATETIME();
                  -- Result: 2018-02-01 03:04:05
                

SYSUTCDATETIME()

Returns the current system date and time as a UTC datetime value. It is equal to GETUTCDATE.

                  SELECT SYSUTCDATETIME();
                  -- For example, if the local timezone is Eastern European Time (GMT+2)
                  -- Result: 2018-02-01 05:04:05
                

TIMEFROMPARTS(integer_hour, integer_minute, integer_seconds, integer_fractions, integer_precision)

Returns the time value for the specified time and with the specified precision.

  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.
  • seconds: The integer expression specifying the seconds.
  • fractions: The integer expression specifying the fractions of the second.
  • precision : The integer expression specifying the precision of the fraction.

                      SELECT TIMEFROMPARTS(1, 2, 3, 456, 3);
                      -- Result: 01:02:03.456
                    

TO_DAYS(date)

Returns the number of days since 0000-00-01. This will only return a value for dates on or after 1582-10-15 (based upon the Gregorian calendar). This will be equivalent to the MYSQL TO_DAYS function.

  • date: The datetime string that specifies the date.

				SELECT TO_DAYS('02-06-2015');
				-- Result: 736000
				

WEEK(date)

Returns the week (of the year) associated with the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT WEEK('02-17-2020 11:15:23');
				-- Result: 8
				

YEAR(date)

Returns the integer that specifies the year of the specified date.

  • date: The datetime string.

                      SELECT YEAR('2018-02-01');
                      -- Result: 2018
                    

CData Python Connector for Shopify

Date Literal Functions

The following date literal functions can be used to filter date fields using relative intervals. Note that while the <, >, and = operators are supported for these functions, <= and >= are not.

L_TODAY()

The current day.

  SELECT * FROM MyTable WHERE MyDateField = L_TODAY()

L_YESTERDAY()

The previous day.

  SELECT * FROM MyTable WHERE MyDateField = L_YESTERDAY()

L_TOMORROW()

The following day.

  SELECT * FROM MyTable WHERE MyDateField = L_TOMORROW()

L_LAST_WEEK()

Every day in the preceding week.

  SELECT * FROM MyTable WHERE MyDateField = L_LAST_WEEK()

L_THIS_WEEK()

Every day in the current week.

  SELECT * FROM MyTable WHERE MyDateField = L_THIS_WEEK()

L_NEXT_WEEK()

Every day in the following week.

  SELECT * FROM MyTable WHERE MyDateField = L_NEXT_WEEK()
Also available:
  • L_LAST/L_THIS/L_NEXT MONTH
  • L_LAST/L_THIS/L_NEXT QUARTER
  • L_LAST/L_THIS/L_NEXT YEAR

L_LAST_N_DAYS(n)

The previous n days, excluding the current day.

  SELECT * FROM MyTable WHERE MyDateField = L_LAST_N_DAYS(3)

L_NEXT_N_DAYS(n)

The following n days, including the current day.

  SELECT * FROM MyTable WHERE MyDateField = L_NEXT_N_DAYS(3)
Also available:
  • L_LAST/L_NEXT_90_DAYS

L_LAST_N_WEEKS(n)

Every day in every week, starting n weeks before current week, and ending in the previous week.

  SELECT * FROM MyTable WHERE MyDateField = L_LAST_N_WEEKS(3)

L_NEXT_N_WEEKS(n)

Every day in every week, starting the following week, and ending n weeks in the future.

  SELECT * FROM MyTable WHERE MyDateField = L_NEXT_N_WEEKS(3)
Also available:
  • L_LAST/L_NEXT_N_MONTHS(n)
  • L_LAST/L_NEXT_N_QUARTERS(n)
  • L_LAST/L_NEXT_N_YEARS(n)

CData Python Connector for Shopify

SELECT Statements

A SELECT statement can consist of the following basic clauses.

  • SELECT
  • INTO
  • FROM
  • JOIN
  • WHERE
  • GROUP BY
  • HAVING
  • UNION
  • ORDER BY
  • LIMIT

SELECT Syntax

The following syntax diagram outlines the syntax supported by the SQL engine of the connector:

SELECT {
  [ TOP <numeric_literal> | DISTINCT ]
  { 
    * 
    | { 
        <expression> [ [ AS ] <column_reference> ] 
        | { <table_name> | <correlation_name> } .* 
      } [ , ... ] 
  }
  { 
    FROM <table_reference> [ [ AS ] <identifier> ] 
  } [ , ... ]
  [ [  
      INNER | { { LEFT | RIGHT | FULL } [ OUTER ] } 
    ] JOIN <table_reference> [ ON <search_condition> ] [ [ AS ] <identifier> ] 
  ] [ ... ] 
  [ WHERE <search_condition> ]
  [ GROUP BY <column_reference> [ , ... ]
  [ HAVING <search_condition> ]
  [ UNION [ ALL ] <select_statement> ]
  [ 
    ORDER BY 
    <column_reference> [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ]
  ]
  [ 
    LIMIT <expression>
    [ 
      { OFFSET | , }
      <expression> 
    ]
  ] 
} | SCOPE_IDENTITY() 

<expression> ::=
  | <column_reference>
  | @ <parameter> 
  | ?
  | COUNT( * | { [ DISTINCT ] <expression> } )
  | { AVG | MAX | MIN | SUM | COUNT } ( <expression> ) 
  | NULLIF ( <expression> , <expression> ) 
  | COALESCE ( <expression> , ... ) 
  | CASE <expression>
      WHEN { <expression> | <search_condition> } THEN { <expression> | NULL } [ ... ]
    [ ELSE { <expression> | NULL } ]
    END 
  | {RANK() | DENSE_RANK()} OVER ([PARTITION BY <column_reference>] {ORDER BY <column_reference>})
  | <literal>
  | <sql_function> 

<search_condition> ::= 
  {
    <expression> { = | > | < | >= | <= | <> | != | LIKE | NOT LIKE | IN | NOT IN | IS NULL | IS NOT NULL | AND | OR | CONTAINS | BETWEEN | IS DISTINCT FROM | IS NOT DISTINCT FROM } [ <expression> ]
  } [ { AND | OR } ... ] 

Examples

  1. Return all columns:
    SELECT * FROM Customers
  2. Rename a column:
    SELECT [Id] AS MY_Id FROM Customers
  3. Cast a column's data as a different data type:
    SELECT CAST(Size AS VARCHAR) AS Str_Size FROM Customers
  4. Search data:
    SELECT * FROM Customers WHERE FirstName = 'jdoe1234'
  5. Return the number of items matching the query criteria:
    SELECT COUNT(*) AS MyCount FROM Customers 
  6. Return the number of unique items matching the query criteria:
    SELECT COUNT(DISTINCT Id) FROM Customers 
  7. Return the unique items matching the query criteria:
    SELECT DISTINCT Id FROM Customers 
  8. Sort a result set in ascending order:
    SELECT FirstName, Id FROM Customers  ORDER BY Id ASC
  9. Restrict a result set to the specified number of rows:
    SELECT FirstName, Id FROM Customers LIMIT 10 
  10. Parameterize a query to pass in inputs at execution time. This enables you to create prepared statements and mitigate SQL injection attacks.
    SELECT * FROM Customers WHERE FirstName = @param
See Explicitly Caching Data for information on using the SELECT statement in offline mode.

Pseudo Columns

Some input-only fields are available in SELECT statements. These fields, called pseudo columns, do not appear as regular columns in the results, yet may be specified as part of the WHERE clause. You can use pseudo columns to access additional features from Shopify.

    SELECT * FROM Customers WHERE Pseudo = '@Pseudo'
    

Aggregate Functions

For SELECT examples using aggregate functions, see Aggregate Functions.

JOIN Queries

See JOIN Queries for SELECT query examples using JOINs.

Date Literal Functions

Date Literal Functions contains SELECT examples with date literal functions.

Window Functions

See Window Functions for SELECT examples containing window functions.

Table-Valued Functions

See Table-Valued Functions for SELECT examples with table-valued functions.

CData Python Connector for Shopify

Aggregate Functions

COUNT

Returns the number of rows matching the query criteria.

SELECT COUNT(*) FROM Customers WHERE FirstName = 'jdoe1234'

COUNT(DISTINCT)

Returns the number of distinct, non-null field values matching the query criteria.

SELECT COUNT(DISTINCT FirstName) AS DistinctValues FROM Customers WHERE FirstName = 'jdoe1234'

AVG

Returns the average of the column values.

SELECT Id, AVG(Size) FROM Customers WHERE FirstName = 'jdoe1234'  GROUP BY Id

MIN

Returns the minimum column value.

SELECT MIN(Size), Id FROM Customers WHERE FirstName = 'jdoe1234' GROUP BY Id

MAX

Returns the maximum column value.

SELECT Id, MAX(Size) FROM Customers WHERE FirstName = 'jdoe1234' GROUP BY Id

SUM

Returns the total sum of the column values.

SELECT SUM(Size) FROM Customers WHERE FirstName = 'jdoe1234'

CData Python Connector for Shopify

JOIN Queries

The CData Python Connector for Shopify supports standard SQL joins like the following examples.

Inner Join

An inner join selects only rows from both tables that match the join condition:

SELECT Customers.MultipassIdentifier, Orders.TotalPrice FROM Customers, Orders WHERE Customers.Id=Orders.CustomerId

Left Join

A left join selects all rows in the FROM table and only matching rows in the JOIN table:

SELECT Customers.MultipassIdentifier, Orders.TotalPrice FROM Customers LEFT OUTER JOIN Orders ON Customers.Id=Orders.CustomerId

CData Python Connector for Shopify

Window Functions

Window functions allow you to create computed fields from a group of rows (a window) that return a result for each row, as opposed to one computed result for a set of rows, as is the case with aggregate functions. The connector supports the following window function syntax.

Note: Window function support is an experimental feature of the connector. This functionality extends beyond the connector's core scope of being SQL-92 compliant. As such, performance with window functions may not be optimal.

Window Function Clauses

OVER

The OVER clause defines the window over which window functions are performed.

SELECT A, B, <window function> OVER (<window frame>) FROM TableName

The <window function> refers to any supported window function clause, and the <window frame> refers to one or more clauses that specify the logic by which the window is defined.

PARTITION BY

The PARTITION BY clause subdivides a window into sub-windows called partitions. For each unique value in the column specified in the PARTITION BY clause, every record with that value collectively forms an individual partition.

SELECT A, B, <window function> OVER (PARTITION BY A ORDER BY B) From Customers

The <window function> refers to any supported window function clause.

Window Functions

The connector supports math, ranking, and analytic window functions.

Math

These window functions perform mathematical operations on the records within the window.

COUNT()

Calculates the number of records in each partition. The calculated column is of the data type "int".

In each partition, every record will display the total number of records in that partition.

SELECT Name, Role, Earnings, COUNT() OVER (PARTITION BY Role) FROM Employees

COUNT_BIG()

Calculates the number of records in each partition. The calculated column is of the data type "bigint".

In each partition, every record will display the total number of records in that partition.

SELECT Name, Role, Earnings, COUNT_BIG() OVER (PARTITION BY Role) FROM Employees

MIN(numeric_column)

Calculates the minimum value of a numerical column per partition.

In each partition, every record will display the minimum value of numeric_column across the records in that partition.

SELECT Name, Role, Earnings, MIN(Earnings) OVER (PARTITION BY Role) FROM Employees

MAX(numeric_column)

Calculates the maximum value of a numerical column per partition.

In each partition, every record will display the maximum value of numeric_column across the records in that partition.

SELECT Name, Role, Earnings, MAX(Earnings) OVER (PARTITION BY Role) FROM Employees

SUM(numeric_column)

Calculates the sum of a numerical column per partition.

In each partition, every record will display the sum of numeric_column across the records in that partition.

SELECT Name, Role, Earnings, SUM(Earnings) OVER (PARTITION BY Role) FROM Employees

AVG(numeric_column)

Calculates the average value of a numerical column per partition.

In each partition, every record will display the average value of numeric_column across the records in that partition.

SELECT Name, Role, Earnings, AVG(Earnings) OVER (PARTITION BY Role) FROM Employees

MEDIAN(numeric_column)

Calculates the median value of a numerical column per partition.

In each partition, every record will display the median value of numeric_column across the records in that partition.

SELECT Name, Role, Earnings, MEDIAN(Earnings) OVER (PARTITION BY Role) FROM Employees

STDEV(numeric_column)

Calculates the standard deviation of a numerical column per partition.

In each partition, every record will display the standard deviation of numeric_column across the records in that partition.

SELECT Name, Role, Earnings, STDEV(Earnings) OVER (PARTITION BY Role) FROM Employees

STDEVP(numeric_column)

Calculates the population standard deviation of a numerical column per partition.

In each partition, every record will display the population standard deviation of numeric_column across the records in that partition.

SELECT Name, Role, Earnings, STDEVP(Earnings) OVER (PARTITION BY Role) FROM Employees

VAR(numeric_column)

Calculates the statistical standard variance of a numerical column per partition.

In each partition, every record will display the statistical standard variance of numeric_column across the records in that partition.

SELECT Name, Role, Earnings, VAR(Earnings) OVER (PARTITION BY Role) FROM Employees

VARP(numeric_column)

Calculates the variance population of a numerical column per partition.

In each partition, every record will display the variance population of numeric_column across the records in that partition.

SELECT Name, Role, Earnings, VARP(Earnings) OVER (PARTITION BY Role) FROM Employees

Ranking

These window functions rank records that fall within the window and its partitions.

RANK()

Assigns a rank number to each record in a window based on the value of the column specified in the required ORDER BY clause.

If two or more records have an equal value in the in ranked column, they all receive the same rank number and the rank count increments internally, skipping ahead one rank number for each record with a duplicate value in the ORDER BY column.

SELECT FirstName, Id, RANK() OVER (ORDER BY Id) AS Rank FROM Customers

If you add a PARTITION BY clause, a separate set of ranks is calculated for each partition.

SELECT FirstName, Id, RANK() OVER (PARTITION BY FirstName ORDER BY Id) AS Rank FROM Customers

DENSE_RANK()

Operates like the RANK() function, but it doesn't increment the internal rank counter for each record with a duplicate value in the ranked column.

This means that, while records with identical values in the ORDER BY column still share a rank number, the function never skips a rank number.

SELECT FirstName, Id, DENSE_RANK() OVER (PARTITION BY FirstName ORDER BY Id) AS Rank FROM Customers

If you add a PARTITION BY clause, a separate set of ranks is calculated for each partition.

SELECT FirstName, Id, DENSE_RANK() OVER (PARTITION BY FirstName ORDER BY Id) AS Rank FROM Customers

ROW_NUMBER()

Calculates a row number for each record. An ORDER BY clause in the OVER clause is required.

SELECT Name, Role, Earnings, ROW_NUMBER() OVER (ORDER BY Role) FROM Employees
If you define multiple partitions with PARTITION BY, a new set of row numbers are calculated for each partition.
SELECT Name, Role, Earnings, ROW_NUMBER() OVER (PARTITION BY Role ORDER BY Earnings) FROM Employees

NTILE()

Distributes rows of an ordered partition into a specified number of approximately equal groups, or buckets. It assigns each group a bucket number starting from one. For each row in a group, the NTILE() function assigns a bucket number representing the group to which the row belongs.

The syntax of NTILE() is:

NTILE(buckets) OVER (
    [PARTITION BY partition_expression, ... ]
    ORDER BY sort_expression [ASC | DESC], ...
)
The following are paramaters that NTILE() supports:

  • buckets: The number of buckets into which the rows are divided. The buckets can be an expression or subquery that evaluates to a positive integer. It cannot be a window function.
  • PARTITION BY: distributes rows of a result set into partitions to which the NTILE() function is applied.
  • ORDER BY is clause that specifies the logical order of rows in each partition to which the NTILE() is applied.

If the number of rows is not divisible by the buckets, the NTILE() function returns groups of two sizes with the difference by one. The larger groups always precede the smaller group in the order set by ORDER BY in the OVER() clause.

If the total of rows is divisible by the number of buckets, the function divides the rows evenly among buckets. The following statement creates a new table named ntile_demo that stores 10 integers:

CREATE TABLE sales.ntile_demo (
	v INT NOT NULL
);
	
INSERT INTO sales.ntile_demo(v) 
VALUES(1),(2),(3),(4),(5),(6),(7),(8),(9),(10);	
	
SELECT * FROM sales.ntile_demo;
This statement uses the NTILE() function to divide ten rows into three groups:
SELECT 
	v, 
	NTILE (3) OVER (
		ORDER BY v
	) buckets
FROM 
	sales.ntile_demo;

Analytical

These window functions perform analytical operations on the records within the window.

PERCENT_RANK()

Calculates the relative rank SQL Percentile of each row. It returns values greater than zero, but the maximum value is one. It does not count any NULL values. This function is nondeterministic.

The syntax of PERCENT_RANK() is:

PERCENT_RANK() OVER (
      [PARTITION BY partition_expression, ... ]
      ORDER BY sort_expression [ASC | DESC], ...
  )
  
This syntax uses the following parameters.

  • PARTITION BY: By default, SQL Server treats the whole data set as a single set. You can specify the PARTITION BY clause to divide data into multiple sets. The Percent_Rank function performs the analytical calculations on each set. This parameter is optional.
  • ORDER BY: Sorts the data in either ascending or descending order. This parameter is required.

CData Python Connector for Shopify

Table-Valued Functions

Table-valued functions are functions that return a table (rowset).

Note: Table-valued function support is an experimental feature of the connector. This functionality extends beyond the connector's core scope of being SQL-92 compliant. As such, performance with these functions may not be optimal.

Table-Valued Function Clauses

CROSS APPLY

The CROSS APPLY operator is used to perform a subquery on each row of a table or resultset produced by a preceding table expression.

<table_expression_1> CROSS APPLY <table_expression_2>

The second table expression can reference results from the first table expression to create derived columns or an altered recordset via a table-valued function.

Each resulting record is an instance of the record it's splitting, with all the same column values, except for the column(s) containing the value split by the function.

WITH

The WITH clause is used alongside certain table-valued functions to match against constructs within the structure being split (keys, element names, attribute names, etc.) and/or to specify metadata for the columns generated from the function.
SELECT A.ColumnName, X.DerivedColumnName FROM TableName A CROSS APPLY <table-valued function> WITH (DerivedColumnName varchar(255)) AS X

Table-Valued Functions

STRING_SPLIT(input_text,delimiter)

Takes each record in the recordset of the preceding table expression, splits the column containing delimiters (input_text) into substrings separated by the delimiter, and returns one record per substring.

  • input_text: A column whose value you want to parse.
  • delimiter: The character used to split the value of the column specified in input_text.

Suppose there is a column called "SplitColumn" with the following content:

One-Two-Three
To unpack this value across multiple records:
SELECT A.ID, X.Value FROM [TableWithDelimitedStringField] A CROSS APPLY STRING_SPLIT(A.SplitColumn,'-') WITH (Value VARCHAR(255)) AS X

-- Results:
-----------
|ID|Value|
|1|One|
|1|Two|
|1|Three|

JSONTABLE(json_content,[jsonpath])

For each record in the recordset of the preceding table expression, returns one record for each instance of a key in a JSON array (json_content) that matches the key(s) specified in the WITH clause, at the scope specified by the "jsonpath" input.

  • json_content: A JSON "table" (array of objects). The contents can nest, but this must be a single JSON array, not any other JSON structure, at the root level.
    • The values of every instance of the key(s) provided in the WITH clause are retrievable only for substructures which are immediate children of the root-level JSON array.
  • jsonpath: An optional JSONPath query defining the scope, within the json_content array, that you want to pull content from. The JSON key(s) identified in the WITH clause must exist at the scope defined in this parameter. This defaults to the JSON root ($).

Consider a sample table with a single record, including an ID column and column with JSON content called "JSONColumn" with the following content:

[
	{
		"name": "Samuel",
		"email": "sam@gmail.com",
		"extrainfo": {
			"city": "Seattle"
		}
	},
	{
		"name": "Katherine",
		"email": "kat@gmail.com",
	},
	{
		"name": "George",
		"email": "george23@gmail.com",
	},
	{
		"name": "Carlos",
		"email": "carlos32@gmail.com",
	}
]

To extract all values for a certain key, specify the scope in the JSONTABLE function and provide the desired key(s) in the WITH clause.

SELECT A.ID, X.name FROM [TableWithJSONField] A CROSS APPLY JSONTABLE(A.JSONColumn) WITH (name VARCHAR(255)) AS X

-- Results: 
|ID|name|
---------
|1 |Samuel|
|1 |Katherine|
|1 |George|
|1 |Carlos|

XMLTABLE(xml_content,[xpath,child_type])

For each record in the resultset of the preceding table expression, returns one record for each of the elements and/or attributes in an XML structure (xml_content) that match the tag name(s) and/or attribute name(s) specified in the WITH clause, at the scope specified in the "xpath" input.

  • xml_content: A column containing an XML structure.
  • xpath: An optional XPath that specifies the scope within the XML structure at which the connector extracts content matching the tag/attribute name(s) specified in the WITH clause.
    • When extracting the content of sub-elements, the connector can retrieve all content from tags at the root level, (depth 0) immediate children of the root (depth 1), and children of those children (depth 2).
    • When extracting element attribute content, the connector can retrieve all content from tags containing the specified attribute at the root level (depth 0) and from immediate children of root-level elements (depth 1).
  • child_type: An optional parameter that specifies the part(s) of the parent element (specified in the xpath input) that the column(s) provided in the WITH clause are checked against to identify content.
    • You can supply the following values:
      • 0: The column(s) in the WITH clause are checked for matches against the parent element's attribute names and sub-element tag names.
      • 1: The column(s) in the WITH clause are checked for matches against the parent element's attribute names.
      • 2: The column(s) in the WITH clause are checked for matches against the parent element's sub-element tag names.
    • When not supplied, this defaults to 0.

Extracting Sub-Element Values

Consider a sample table with a single record, including an ID column and a column with XML content called "XMLContent" with the following content:
<shoppingList>
    <item>
        <name>Apples</name>
        <quantity>3</quantity>
        <unit>Kg</unit>
    </item>
    <item>
        <name>Bread</name>
        <quantity>2</quantity>
        <unit>Loaf</unit>
		<extrainfo>
			<Type>Whole-Grain</Type>
		</extrainfo>
    </item>
    <item>
        <name>Milk</name>
        <quantity>1</quantity>
        <unit>Carton</unit>
    </item>
    <item>
        <name>Eggs</name>
        <quantity>12</quantity>
        <unit></unit>
    </item>
</shoppingList>

To extract sub-element content, specify the scope in the XMLTABLE function and provide the desired element name(s) in the WITH clause. Note that this will not work if the XMLTABLE function's child_type input is set to 1.

SELECT A.ID, X.name FROM [TableWithXMLField] A CROSS APPLY XMLTABLE(A.XMLContent,'//*/item') WITH (name VARCHAR(255)) AS X

-- Results: 
|ID|name|
---------
|1|Apples|
|1|Bread|
|1|Milk|
|1|Eggs|

Extracting Values Using Element Tag Attributes

Suppose you have this sample table with a single record, including an ID column and a column with XML content called "XMLContent" with the following content:

<restaurant>
  <dish type="appetizer">
    <name lang="en">Caprese Salad</name>
    <chef>Chef Giovanni</chef>
    <price currency="USD">9.99</price>
  </dish>
  <dish type="main-course">
    <name lang="fr">Boeuf Bourguignon</name>
    <chef>Chef Marie</chef>
    <price currency="EUR">19.99</price>
  </dish>
  <dish type="dessert">
    <name lang="es">Tres Leches Cake</name>
    <chef>Chef Alejandro</chef>
    <price currency="MXN">89.99</price>
  </dish>
</restaurant>

To extract attribute content, specify the scope in the XMLTABLE function and provide the desired attribute name(s) in the WITH clause. Note that this will not work if the XMLTABLE function's child_type input is set to 2.

SELECT A.ID, X.type FROM [TableWithXMLField] A CROSS APPLY XMLTABLE(A.XMLContent,'//*/dish') WITH (type VARCHAR(255)) AS X

-- Results: 
|ID|type|
---------
|1|appetizer|
|1|main-course|
|1|dessert|

CSVTABLE(csv_content,[delimiter])

For each record in the resultset of the preceding table expression, reads from a column that contains a CSV table (csv_content) and for each record in that CSV table, returns one record containing the value of the CSV column(s) specified in the WITH clause.

  • csv_content: A column containing a CSV table.
  • delimiter: An optional custom delimiter (instead of a comma) which splits the CSV content contained in the csv_content input.

Consider a sample table with a single record, including an ID column and a column containing CSV table called "CSVContent" with the following content:

Name;Category;Price
Apple;Fruit;0.99
Spaghetti;Pasta;5.49
Chicken Breast;Meat;8.99
Broccoli;Vegetable;2.49

To select every value in the "Name" column and account for the custom delimiter (;):

SELECT A.ID, X.Name FROM [TableWithCSVField] A CROSS APPLY CSVTABLE(A.CSVContent,';') WITH (Name VARCHAR(255)) AS X

-- Results:
|ID|Name|
-----------
|1|Apple|
|1|Spaghetti|
|1|Chicken Breast|
|1|Broccoli|

CData Python Connector for Shopify

INSERT Statements

To create new records, use INSERT statements.

INSERT Syntax

The INSERT statement specifies the columns to be inserted and the new column values. You can specify the column values in a comma-separated list in the VALUES clause, as shown in the following example:

INSERT INTO <table_name> 
( <column_reference> [ , ... ] )
VALUES 
( { <expression> | NULL } [ , ... ] ) 
  

<expression> ::=
  | @ <parameter> 
  | ?
  | <literal>
The following is an example query:
INSERT INTO Customers (Id) VALUES ('3478365783')

CData Python Connector for Shopify

UPDATE Statements

To modify existing records, use UPDATE statements.

Update Syntax

The UPDATE statement takes as input a comma-separated list of columns and new column values as name-value pairs in the SET clause, as shown in the following example:

UPDATE <table_name> SET <select_statement> | {<column_reference> = <expression> [ , ... ]} WHERE { Id = <expression>  } [ { AND | OR } ... ] 

<expression> ::=
  | @ <parameter> 
  | ?
  | <literal>

The following is an example query:

UPDATE Customers SET Id='3478365783' WHERE Id = @myId

CData Python Connector for Shopify

DELETE Statements

To delete information from a table, use DELETE statements.

DELETE Syntax

The DELETE statement requires the table name in the FROM clause and the row's primary key in the WHERE clause, as shown in the following example:

<delete_statement> ::= DELETE FROM <table_name> WHERE { Id = <expression> } [ { AND | OR } ... ]

<expression> ::=
  | @ <parameter> 
  | ?
  | <literal>

The following is an example query:

DELETE FROM Customers WHERE Id = @myId

CData Python Connector for Shopify

CACHE Statements

When caching is enabled, CACHE statements provide complete control over the data that is cached and the table to which it is cached. The CACHE statement executes the SELECT statement specified and caches its results to a table with the same name in the cache database or to table specified in <cached_table_name>. The connector updates or inserts rows to the cache depending on whether or not they already exist in the cache, so the primary key, which is used to identify existing rows, must be included in the selected columns.

See Caching Data for more information on different caching strategies.

CACHE Statement Syntax

The cache statement may include the following options that alter its behavior:

CACHE [ <cached_table_name> ] [ WITH TRUNCATE | AUTOCOMMIT | SCHEMA ONLY | DROP EXISTING | ALTER SCHEMA ] <select_statement> 

WITH TRUNCATE

If this option is set, the connector removes existing rows in the cache table before adding the selected rows. Use this option if you want to refresh the entire cache table but keep its existing schema.

AUTOCOMMIT

If this option is set, the connector commits each row individually. Use this option if you want to ignore the rows that could not be cached due to some reason. By default, the entire result set is cached as a single transaction.

DROP EXISTING

If this option is set, the connector drops the existing cache table before caching the new results. Use this option if you want to refresh the entire cache table, including its schema.

SCHEMA ONLY

If this option is set, the connector creates the cache table based on the SELECT statement without executing the query.

ALTER SCHEMA

If this option is set, the connector alters the schema of the existing table in the cache if it does not match the schema of the SELECT statement. This option results in new columns or dropped columns, if the schema of the SELECT statement does not match the cached table.

Common Queries

Use the following cache statement to cache all rows of a table:

CACHE SELECT * FROM Customers

Use the following cache statement to cache all rows of a table into the cache table CachedCustomers:

CACHE CachedCustomers SELECT * FROM Customers

Use the following cache statement for incremental caching. The DateModified column may not exist in all tables. The cache statement shows how incremental caching would work if there were such a column. Also, notice that, in this case, the WITH TRUNCATE and DROP EXISTING options are specifically omitted, which would have deleted all existing rows.

CACHE CachedCustomers SELECT * FROM Customers WHERE DateModified > '2013-04-04'

Use the following cache statements to create a table with all available columns that will then cache only a few of them. The sequence of statements cache only FirstName and Id even though the cache table CachedCustomers has all the columns in Customers.

CACHE CachedCustomers SCHEMA ONLY SELECT * FROM Customers
CACHE CachedCustomers SELECT FirstName, Id FROM Customers

CData Python Connector for Shopify

EXECUTE Statements

To execute stored procedures, you can use EXECUTE or EXEC statements.

EXEC and EXECUTE assign stored procedure inputs, referenced by name, to values or parameter names.

Stored Procedure Syntax

To execute a stored procedure as an SQL statement, use the following syntax:

 
{ EXECUTE | EXEC } <stored_proc_name> 
{
  [ @ ] <input_name> = <expression>
} [ , ... ]

<expression> ::=
  | @ <parameter> 
  | ?
  | <literal>

Example Statements

Reference stored procedure inputs by name:

EXECUTE my_proc @second = 2, @first = 1, @third = 3;

Execute a parameterized stored procedure statement:

EXECUTE my_proc second = @p1, first = @p2, third = @p3; 

CData Python Connector for Shopify

PIVOT and UNPIVOT

PIVOT and UNPIVOT can be used to change a table-valued expression into another table.

PIVOT

PIVOT rotates a table-value expression by turning unique values from one column into multiple columns in the output. PIVOT can run aggregations where required on any column value.
PIVOT Synax

 
"SELECT 'AverageCost' AS Cost_Sorted_By_Production_Days, [0], [1], [2], [3], [4]
FROM
(
SELECT DaysToManufacture, StandardCost
FROM Production.Product
) AS SourceTable
PIVOT
(
AVG(StandardCost)
FOR DaysToManufacture IN ([0], [1], [2], [3], [4])
) AS PivotTable;"

UNPIVOT

UNPIVOT carries out nearly the opposite to PIVOT by rotating columns of a table-valued expressions into column values.
UNPIVOT Sytax

 
"SELECT VendorID, Employee, Orders
FROM
(SELECT VendorID, Emp1, Emp2, Emp3, Emp4, Emp5
FROM pvt) p
UNPIVOT
(Orders FOR Employee IN
(Emp1, Emp2, Emp3, Emp4, Emp5)
)AS unpvt;"

For further information on PIVOT and UNPIVOT, see FROM clause plus JOIN, APPLY, PIVOT (Transact-SQL)

CData Python Connector for Shopify

Data Model

The CData Python Connector for Shopify models entities in the Shopify API as an easy-to-use SQL database, using tables, views, and stored procedures. These are defined in schema files, which are simple, easy-to-read text files that define the structure and organization of data.

The driver exposes API versions as distinct schemas, which you select in Schema.

Note: Shopify typically releases new API versions quarterly. If a stable API version is no longer supported, Shopify automatically defaults to the oldest supported stable version to respond to your API request. For more information on Shopify's API versioning, click this link.

Flexible Schema

The CData Python Connector for Shopify is a semi-dynamic driver. This means that it exposes a static schema but can also retrieve dynamic columns from custom fields (for example, in the Products and ProductVariants tables). To enable this feature, follow the instructions in IncludeCustomFields. Note that the search for custom fields is limited to 250 rows.

CData Python Connector for Shopify

API Version 2026-01

The CData Python Connector for Shopify models the Shopify API as relational tables, views, and stored procedures.

Set Schema to GRAPHQL-2026-01 to use this data model.

Tables

The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.

Common tables include:

Table Description
Shop Contains general settings and information about the shop.
Customers Lists customers with core profile data, marketing preferences, and tags.
Catalogs Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use.
Orders Lists orders with customer, payment, fulfillment, duty, and tax details.
DeliveryProfiles Lists saved delivery profiles that define shipping logic by product and location.
OrderTransactions Lists payment transactions associated with orders (authorization, capture, refund).
Refunds Represents refunds of items or transactions on an order, with amounts and reasons.
RefundLineItems Lists refund line item records that specify quantities and amounts refunded.
Products Lists products with titles, status, variants, media, and publishing details.
ProductVariants Lists product variants with pricing, inventory tracking, and option values.
Collections Returns manual and automated collections with titles, rules, and publication state.
CollectionProducts Lists products contained within a specified collection.
DraftOrders Lists saved draft orders for manual checkout or invoicing workflows.
DraftOrderLineItems Lists the line items included in a draft order with quantities and prices.
Fulfillments Represents shipments created for orders, including tracking and delivery status.
FulfillmentOrders Lists merchant-managed and third-party fulfillment orders with statuses and assignments.
FulfillmentEvents Lists status events (in transit, delivered) associated with fulfillments.
Locations Lists active inventory locations used for stock, fulfillment, and pickup.
InventoryItems Lists inventory items (SKU-level records) with tracking and cost data.
Metafields Lists metafields attached to one or more resource Ids.

Stored Procedures

Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing fulfillment orders, adjusting inventory across locations, and administering store configuration and content.

Using Bulk API

See UseBulkAPI for a more in-depth look at how the driver performs Shopify Bulk Operations.

CData Python Connector for Shopify

Tables

The connector models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.

CData Python Connector for Shopify Tables

Name Description
AppFeedbacks The system surfaces app feedback items that notify merchants about setup requirements or issues in the Admin.
AppSubscriptionLineItems Lists the plan components and recurring line items that comprise an app subscription.
AppSubscriptionLineItemUsageRecords Returns usage records for app subscription line items.
AppSubscriptions Lists all subscriptions created for the shop's installed app, including status and billing cycles.
ArticleComments Lists comments on blog articles with author details, content, and moderation status.
Articles Lists the shop's articles with titles, content, authorship, and publication state.
Blogs Lists the shop's blogs with titles, handles, and metadata.
CarrierServices Lists activated carrier services and the shop locations that support them for live rate calculation.
Catalogs Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use.
CollectionProducts Lists products contained within a specified collection.
Collections Returns manual and automated collections with titles, rules, and publication state.
Companies Lists business-to-business (B2B) companies configured in the shop.
CompanyContactRoleAssignments Lists role assignments mapping company contacts to their permissions.
CompanyContacts Lists contacts for companies, including identifiers, email, and role.
CompanyLocations Lists locations defined under a company, including addresses and identifiers.
CompanyLocationStaffMemberAssignments Lists staff members assigned to a company location. Actions are scoped to that location (Shopify Plus only).
CustomerAddresses Lists addresses stored on customer profiles, including default selections.
Customers Lists customers with core profile data, marketing preferences, and tags.
DeliveryProfiles Lists saved delivery profiles that define shipping logic by product and location.
DiscountsAutomaticApp Lists automatic discounts defined and managed by apps.
DiscountsAutomaticBasic Lists basic automatic discounts (for example, percentage or amount off).
DiscountsAutomaticBxgy Lists automatic buy-X-get-Y discounts.
DiscountsAutomaticFreeShipping Returns a list of automatic free shipping discounts.
DiscountsCodeApp Lists discount codes managed by apps.
DiscountsCodeBasic Lists basic code discounts (fixed/percentage off, minimums).
DiscountsCodeBxgy Lists buy-X-get-Y discount codes.
DiscountsCodeFreeShipping Lists free-shipping discounts available via discount codes.
DraftOrders Lists saved draft orders for manual checkout or invoicing workflows.
Files Lists files uploaded to Shopify (images, PDFs, media) with metadata and URLs.
FulfillmentEvents Lists status events (in transit, delivered) associated with fulfillments.
FulfillmentOrders Lists merchant-managed and third-party fulfillment orders with statuses and assignments.
Fulfillments Represents shipments created for orders, including tracking and delivery status.
FulfillmentServices Lists fulfillment services that prepare and ship orders on behalf of the merchant.
FulfillmentTrackingInfo Lists tracking details for fulfillments, including company, number, and tracking URL.
GiftCards Lists gift cards and balances (requires read_gift_cards; available for Shopify Plus/private or custom application).
GiftCardTransactionsCredit Lists credit transactions that increase a gift card balance (Shopify Plus only).
GiftCardTransactionsDebit Lists debit transactions that decrease a gift card balance (Shopify Plus only).
InventoryItemInventoryLevels Shows per-location inventory level summaries for an inventory item.
InventoryItems Lists inventory items (SKU-level records) with tracking and cost data.
InventoryShipments Returns a list of inventory items.
Locations Lists active inventory locations used for stock, fulfillment, and pickup.
MarketingActivities Returns a list of external marketing activities.
Menus Lists navigation menus used on the storefront.
MetafieldDefinitions Lists metafield definitions, including validation and presentation details.
Metafields Lists metafields attached to one or more resource Ids.
OrderRiskAssessments Lists fraud risk assessments attached to orders with scores and reasons.
Orders Lists orders with customer, payment, fulfillment, duty, and tax details.
OrderTransactions Lists payment transactions associated with orders (authorization, capture, refund).
Pages Lists the shop's informational pages used on the storefront.
PriceLists Lists price lists configured for the shop (for example, business-to-business (B2B) tiers, or markets).
ProductMediaImages Lists image media attached to products with alt text and ordering.
ProductOptions Lists product options (Size or Color). Limited by Shop.resourceLimits.maxProductOptions.
ProductOptionValues Lists all possible option values for a given product option, even if not used by a variant.
ProductResourceFeedbacks Lists product resource feedback items visible to the current application.
Products Lists products with titles, status, variants, media, and publishing details.
ProductVariants Lists product variants with pricing, inventory tracking, and option values.
Publications Lists sales channel publications configured for the shop.
Refunds Represents refunds of items or transactions on an order, with amounts and reasons.
Returns Lists returns associated with orders, including statuses and dispositions.
ScriptTags Lists script tags that inject JavaScript into storefront pages.
Segments Lists customer segments defined in the shop.
SellingPlanGroups Lists selling plan groups used for subscriptions and prepaid options.
StorefrontAccessTokens Lists storefront access tokens for private applications, scoped per application.
ThemeFiles Represents files in an online store theme.
Themes Lists the shop's themes with role and preview data.
UrlRedirects Lists URL redirects configured for the shop to preserve search engine optimization (SEO) and navigation.

CData Python Connector for Shopify

AppFeedbacks

The system surfaces app feedback items that notify merchants about setup requirements or issues in the Admin.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM AppFeedbacks

Insert

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

Message, State, FeedbackGeneratedAt

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the app feedback record.

Title String True

The name of the app that generated the feedback.

Message String True

The feedback message provided to the merchant by the app.

Url String True

The link URL included with the feedback, directing the merchant to additional details or actions.

Label String True

A context-sensitive label that describes the purpose of the link.

State String True

The current state of the feedback, indicating whether merchant action is required.

The allowed values are ACCEPTED, REQUIRES_ACTION.

FeedbackGeneratedAt Datetime True

The date and time when the feedback was generated, used to determine whether new feedback is more recent than existing records.

CData Python Connector for Shopify

AppSubscriptionLineItems

Lists the plan components and recurring line items that comprise an app subscription.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppInstallationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppSubscriptionLineItems WHERE AppInstallationId = 'Val1'

Update

The following columns can be updated:

UsagePricingPlanCappedAmount, UsagePricingPlanCappedAmountCurrencyCode

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the app subscription line item.

AppSubscriptionId String True

The globally unique identifier of the app subscription that this line item belongs to.

AppInstallationId String True

The globally unique identifier of the app installation linked to this subscription line item.

RecurringPricingPlanDiscountDurationLimitInIntervals Int True

The total number of billing intervals during which the discount is applied. If blank, the discount applies indefinitely.

RecurringPricingPlanDiscountPriceAfterDiscountAmount Decimal True

The subscription price after discounts are applied, expressed as a decimal money amount.

RecurringPricingPlanDiscountPriceAfterDiscountCurrencyCode String True

The currency code for the subscription price after discounts are applied.

RecurringPricingPlanDiscountRemainingDurationInIntervals Int True

The number of billing intervals remaining in which the discount is applied.

RecurringPricingPlanValueAmount Decimal True

The value of the recurring discount applied to each billing interval, expressed as a decimal money amount.

RecurringPricingPlanValueAmountCurrencyCode String True

The currency code for the recurring discount value applied each billing interval.

RecurringPricingPlanValuePercentage Double True

The discount rate applied to each billing interval, expressed as a percentage.

RecurringPricingPlanInterval String True

The frequency at which the merchant is billed for the app subscription, such as monthly or yearly.

RecurringPricingPlanHandle String True

The handle (unique identifier) of the app store pricing plan for the subscription.

RecurringPricingPlanPriceAmount Decimal True

The amount billed to the merchant for the subscription at each interval, expressed as a decimal money amount.

RecurringPricingPlanPriceCurrencyCode String True

The currency code for the recurring subscription price billed to the merchant.

UsagePricingPlanBalanceUsedAmount Decimal True

The total usage charges accumulated during the billing interval, expressed as a decimal money amount.

UsagePricingPlanBalanceUsedCurrencyCode String True

The currency code for the usage charges accumulated during the billing interval.

UsagePricingPlanCappedAmount Decimal False

The capped amount that limits how much a merchant can be billed for usage within a billing period. If usage exceeds this cap, the merchant must approve a new usage charge to continue using the app. Expressed as a decimal money amount.

UsagePricingPlanCappedAmountCurrencyCode String False

The currency code for the capped usage charge amount.

UsagePricingPlanInterval String True

The frequency at which usage charges for the app are billed, such as daily, monthly, or yearly.

UsagePricingPlanTerms String True

The terms and conditions governing app usage pricing. These must be provided to create usage charges and are shown to the merchant when they approve usage billing.

CData Python Connector for Shopify

AppSubscriptionLineItemUsageRecords

Returns usage records for app subscription line items.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppSubscriptionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppSubscriptionLineItemUsageRecords WHERE AppSubscriptionId = 'Val1'

Insert

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

SubscriptionLineItemId, Description, IdempotencyKey, PriceAmount, PriceCurrencyCode

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A globally-unique ID.

SubscriptionLineItemId String True

The ID of the app subscription line item that the usage record belongs to.

AppSubscriptionId String True

AppSubscriptions.Id

The ID of the app subscription.

Description String True

The description of the app usage record.

IdempotencyKey String True

A unique key generated by the client to avoid duplicate charges.

PriceAmount Decimal True

The price of the app usage record. Decimal money amount.

PriceCurrencyCode String True

The currency of the app usage record price.

CreatedAt Datetime True

The date and time when the usage record was created.

CData Python Connector for Shopify

AppSubscriptions

Lists all subscriptions created for the shop's installed app, including status and billing cycles.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppInstallationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppSubscriptions WHERE AppInstallationId = 'Val1'

Insert

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

Name, Test, ReturnUrl, TrialDays, LineItem (references AppSubscriptionLineItems)

AppSubscriptionLineItems Temporary Table Columns

Column NameTypeDescription
RecurringPricingPlanDiscountDurationLimitInIntervalsIntThe total number of billing intervals to which the discount will be applied. The discount will be applied to an indefinite number of billing intervals if this value is blank.
RecurringPricingPlanValueAmountDecimalThe value of the discount applied every billing interval. Decimal money amount.
RecurringPricingPlanValuePercentageDoubleThe value of the discount applied every billing interval. The percentage value of a discount.
RecurringPricingPlanIntervalStringThe frequency at which the subscribing shop is billed for an app subscription.
RecurringPricingPlanPriceAmountDecimalThe amount to be charged to the subscribing shop every billing interval. Decimal money amount.
RecurringPricingPlanPriceCurrencyCodeStringThe currency to be charged to the subscribing shop every billing interval. Currency of the money.
UsagePricingPlanCappedAmountDecimalThe capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount.
UsagePricingPlanCappedAmountCurrencyCodeStringThe capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money.
UsagePricingPlanTermsStringThe terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the app subscription.

AppInstallationId String True

The globally unique identifier of the app installation linked to this subscription.

Name String True

The display name of the app subscription.

Status String True

The current status of the app subscription, such as active, expired, or pending.

Test Bool True

Indicates whether the app subscription is a test transaction rather than a live subscription.

ReturnUrl String True

The URL where the merchant is redirected after approving the subscription.

TrialDays Int True

The number of trial days provided before billing begins, starting from the subscription's creation date.

CurrentPeriodEnd Datetime True

The date and time when the current billing period of the subscription ends. Returns null if the subscription is not active.

CreatedAt Datetime True

The date and time when the app subscription was created.

LineItemIds String True

The identifiers of the subscription plans attached to this app subscription.

LineItem String True

The details of the subscription plans attached to this app subscription.

CData Python Connector for Shopify

ArticleComments

Lists comments on blog articles with author details, content, and moderation status.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ArticleId supports the '=, IN' comparison operators.
  • PublishedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM ArticleComments WHERE Id = 'Val1'
  SELECT * FROM ArticleComments WHERE ArticleId = 'Val1'
  SELECT * FROM ArticleComments WHERE PublishedAt = '2023-01-01 11:10:00'
  SELECT * FROM ArticleComments WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM ArticleComments WHERE CreatedAt = '2023-01-01 11:10:00'

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the comment.

ArticleId String True

The globally unique identifier of the article associated with the comment.

ArticleTitle String True

The title of the article that the comment is attached to.

Body String True

The plain text content of the comment.

BodyHtml String True

The comment content with HTML formatting included.

Status String True

The current status of the comment, such as approved, pending, or spam.

Ip String True

The IP address from which the commenter submitted the comment.

UserAgent String True

The user agent string of the commenter's browser or application.

AuthorName String True

The display name of the commenter.

AuthorEmail String True

The email address of the commenter.

IsPublished Bool True

Indicates whether the comment has been published.

PublishedAt Datetime True

The date and time when the comment was published.

UpdatedAt Datetime True

The date and time when the comment was most recently updated.

CreatedAt Datetime True

The date and time when the comment was originally created.

CData Python Connector for Shopify

Articles

Lists the shop's articles with titles, content, authorship, and publication state.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Handle supports the '=, !=' comparison operators.
  • AuthorName supports the '=, !=' comparison operators.
  • BlogId supports the '=, !=' comparison operators.
  • BlogTitle supports the '=, !=' comparison operators.
  • IsPublished supports the '=, !=' comparison operators.
  • PublishedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Articles WHERE Id = 'Val1'
  SELECT * FROM Articles WHERE Title = 'Val1'
  SELECT * FROM Articles WHERE Handle = 'Val1'
  SELECT * FROM Articles WHERE AuthorName = 'Val1'
  SELECT * FROM Articles WHERE BlogId = 'Val1'
  SELECT * FROM Articles WHERE BlogTitle = 'Val1'
  SELECT * FROM Articles WHERE IsPublished = true
  SELECT * FROM Articles WHERE PublishedAt = '2023-01-01 11:10:00'
  SELECT * FROM Articles WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Articles WHERE CreatedAt = '2023-01-01 11:10:00'

Insert

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

Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, PublishedAt

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

AuthorUserId, Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, IsPublished, PublishedAt

The following pseudo-columns can be used to update a record:

AuthorUserId, RedirectNewHandle, Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the article.

Title String False

The title of the article as displayed in the blog.

Body String False

The full body content of the article, including HTML markup.

Handle String False

A unique, human-readable string generated from the article title and used in the article's URL.

Summary String False

A short summary of the article, which can include HTML markup. The summary is displayed by the online store theme on pages such as the home page or main blog page.

Tags String False

Short descriptive tags associated with the article for categorization and search.

TemplateSuffix String False

The name of the alternate template applied to the article. Returns null if the default 'article.liquid' template is used.

AuthorName String False

The full name of the article's author.

BlogId String False

The globally unique identifier of the blog that contains this article.

BlogTitle String False

The title of the blog that contains this article.

ImageId String True

The unique identifier of the image associated with the article.

ImageAltText String False

Alternative text describing the content or purpose of the article's image.

ImageUrl String False

The URL of the article's image.

ImageWidth Int True

The original width of the article's image in pixels. Returns null if the image is not hosted by Shopify.

ImageHeight Int True

The original height of the article's image in pixels. Returns null if the image is not hosted by Shopify.

CommentsCount Int True

The total number of comments posted on the article.

CommentPrecision String True

The level of precision applied to the comment count value.

IsPublished Bool False

Indicates whether the article is currently published and visible.

PublishedAt Datetime False

The date and time when the article became visible. Returns null if the article is not published.

UpdatedAt Datetime True

The date and time when the article was last updated.

CreatedAt Datetime True

The date and time when the article was created.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
AuthorUserId String

The identifier of the staff account associated with the article's author.

RedirectNewHandle Bool

Indicates whether a redirect is automatically created when the article handle changes. If true, the old handle redirects to the new one.

Metafields String

The metafield input values used to create or update additional metadata for the article.

CData Python Connector for Shopify

Blogs

Lists the shop's blogs with titles, handles, and metadata.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Handle supports the '=, !=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Blogs WHERE Id = 'Val1'
  SELECT * FROM Blogs WHERE Title = 'Val1'
  SELECT * FROM Blogs WHERE Handle = 'Val1'
  SELECT * FROM Blogs WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Blogs WHERE CreatedAt = '2023-01-01 11:10:00'

Insert

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

Title, Handle, TemplateSuffix, CommentPolicy

The following pseudo-column can be used to create a new record:

Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

Title, Handle, TemplateSuffix, CommentPolicy

The following pseudo-columns can be used to update a record:

RedirectArticles, RedirectNewHandle, Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the blog.

Title String False

The display title of the blog.

Handle String False

A unique, human-readable string for the blog. If not provided, the handle is automatically generated from the blog title. The handle can be customized and is used in the Liquid templating language to reference the blog.

Tags String True

A list of tags applied to the 200 most recent articles in the blog.

TemplateSuffix String False

The name of the alternate template applied to the blog. Returns null if the default 'blog.liquid' template is used.

ArticlesCount Int True

The number of articles in the blog.

ArticlesCountPrecision String True

The level of precision applied to the article count value.

CommentPolicy String False

Indicates whether readers can post comments on the blog and whether comments require moderation.

FeedLocation String True

The URL of the blog's feed provider.

FeedPath String True

The path to the blog's feed provider.

UpdatedAt Datetime True

The date and time when the blog was most recently updated.

CreatedAt Datetime True

The date and time when the blog was created.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
RedirectArticles Bool

Indicates whether blog articles are automatically redirected.

RedirectNewHandle Bool

Indicates whether a redirect is automatically created when the blog handle changes. If true, the old handle redirects to the new one.

Metafields String

Additional metadata fields attached to the blog resource.

CData Python Connector for Shopify

CarrierServices

Lists activated carrier services and the shop locations that support them for live rate calculation.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM CarrierServices

Insert

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

Name, Active, SupportsServiceDiscovery, CallbackUrl

Update

The following columns can be updated:

Name, Active, SupportsServiceDiscovery, CallbackUrl

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the carrier service.

Name String False

The name of the shipping service provider.

FormattedName String True

The display-ready, formatted name of the shipping service provider.

IconAltText String True

Alternative text that describes the content or purpose of the carrier service's image.

IconHeight Int True

The original height of the carrier service image in pixels. Returns null if the image is not hosted by Shopify.

IconId String True

The unique identifier of the carrier service image.

IconWidth Int True

The original width of the carrier service image in pixels. Returns null if the image is not hosted by Shopify.

Active Bool False

Indicates whether the carrier service is active and available to use.

SupportsServiceDiscovery Bool False

Indicates whether merchants can send test data to the carrier service through the Shopify Admin to preview shipping rate examples.

CallbackUrl String False

The callback URL endpoint that Shopify uses to request shipping rates from the carrier service.

CData Python Connector for Shopify

Catalogs

Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM Catalogs

Insert

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

Status, Title, PriceListId, PublicationId

The following pseudo-column can be used to create a new record:

CompanyLocationIds

Update

The following columns can be updated:

Status, Title, PriceListId, PublicationId

The following pseudo-column can be used to update a record:

CompanyLocationIds

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the catalog.

Status String False

The current status of the catalog, such as active or inactive.

Title String False

The display name of the catalog.

PriceListId String False

The globally unique identifier of the price list associated with the catalog.

PublicationId String False

The globally unique identifier of the publication linked to the catalog.

OperationId String True

The globally unique identifier of the operation that created or last modified the catalog.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
CompanyLocationIds String

The identifiers of the company locations associated with the catalog.

CData Python Connector for Shopify

CollectionProducts

Lists products contained within a specified collection.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CollectionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CollectionProducts WHERE CollectionId = 'Val1'

Insert

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

Id, CollectionId

Delete

You can delete entries by specifying the following columns:

Id, CollectionId

Columns

Name Type ReadOnly References Description
Id [KEY] String True

Products.Id

The globally unique identifier of the collection product record.

CollectionId [KEY] String True

Collections.Id

The globally unique identifier of the collection that this product belongs to.

Title String True

The display title of the product within the collection.

Position Int True

The position of the product in the collection's sort order.

CData Python Connector for Shopify

Collections

Returns manual and automated collections with titles, rules, and publication state.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Handle supports the '=, IN' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • Value supports the '=' comparison operator.

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

  SELECT * FROM Collections WHERE Id = 'Val1'
  SELECT * FROM Collections WHERE Title = 'Val1'
  SELECT * FROM Collections WHERE Handle = 'Val1'
  SELECT * FROM Collections WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Collections WHERE Namespace = 'Val1'
  SELECT * FROM Collections WHERE Key = 'Val1'
  SELECT * FROM Collections WHERE Value = 'Val1'

Insert

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

Title, Handle, DescriptionHtml, SortOrder, TemplateSuffix, ImageAltText, ImageUrl, RuleSetRules (references CollectionRules), RuleSetAppliedDisjunctively, SeoTitle, SeoDescription

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

ProductIds, Metafields (references Metafields)

CollectionRules Temporary Table Columns

Column NameTypeDescription
ColumnStringThe attribute that the rule focuses on.
RelationStringThe type of operator that the rule is based on.
ConditionStringThe value that the operator is applied to.
ConditionObjectMetafieldDefinitionIdStringThe metafield definition used as a rule for the condition.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

Title, Handle, DescriptionHtml, SortOrder, TemplateSuffix, ImageAltText, ImageUrl, RuleSetRules (references CollectionRules), RuleSetAppliedDisjunctively, SeoTitle, SeoDescription

The following pseudo-column can be used to update a record:

RedirectNewHandle

CollectionRules Temporary Table Columns

Column NameTypeDescription
ColumnStringThe attribute that the rule focuses on.
RelationStringThe type of operator that the rule is based on.
ConditionStringThe value that the operator is applied to.
ConditionObjectMetafieldDefinitionIdStringThe metafield definition used as a rule for the condition.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the collection.

LegacyResourceId String True

The legacy identifier of the collection in the REST Admin API.

Title String False

The display name of the collection, shown in the Shopify Admin and in sales channels such as the online store.

Handle String False

A unique, human-readable string that identifies the collection. If not specified at creation, the handle is automatically generated from the collection title using hyphens between words. For example, a collection titled 'Summer Catalog 2022' might generate the handle 'summer-catalog-2022'. The handle does not automatically change if the title changes. In themes, the handle can be referenced with Liquid, though the collection Id is preferred because it never changes.

DescriptionHtml String False

The description of the collection, including HTML formatting. This content is typically shown to customers in sales channels, depending on the theme.

ProductsCount Int True

The number of products included in the collection.

ProductsCountPrecision String True

The level of precision applied to the product count value.

SortOrder String False

The default order in which products in the collection are displayed in the Shopify Admin and in sales channels such as the online store.

The allowed values are ALPHA_ASC, ALPHA_DESC, BEST_SELLING, CREATED, CREATED_DESC, MANUAL, PRICE_ASC, PRICE_DESC.

TemplateSuffix String False

The suffix of the Liquid template used to render the collection in an online store. For example, if the value is 'custom', the 'collection.custom.liquid' template is used. If null, the default 'collection.liquid' template is used.

AvailablePublicationsCount Int True

The number of publications where the collection is published without feedback errors.

AvailablePublicationsCountPrecision String True

The level of precision applied to the available publications count.

PublishedOnCurrentPublication Bool True

Indicates whether the collection is published to the calling app's publication.

UpdatedAt Datetime True

The date and time when the collection was last updated.

FeedbackSummary String True

A summary of feedback associated with the collection.

ImageId String True

The unique identifier of the image associated with the collection.

ImageWidth Int True

The original width of the collection image in pixels. Returns null if the image is not hosted by Shopify.

ImageAltText String False

Alternative text describing the content or purpose of the collection image.

ImageHeight Int True

The original height of the collection image in pixels. Returns null if the image is not hosted by Shopify.

ImageUrl String False

The URL of the collection image.

RuleSetRules String False

The rules used to assign products to the collection.

RuleSetAppliedDisjunctively Bool False

Specifies whether products must match any or all rules to be included in the collection. If true, products must match at least one rule. If false, products must match all rules.

SeoTitle String False

The search engine optimization (SEO) title of the collection, used in search engine results.

SeoDescription String False

The SEO description of the collection, used in search engine results.

Namespace String True

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

Key String True

The key for the metafield.

Value String True

The value of the metafield.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
ProductIds String

Initial list of collection products. Only valid when creating a collection and without rules.

Metafields String

The metafields to associate with the collection.

RedirectNewHandle Bool

Whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically.

CData Python Connector for Shopify

Companies

Lists business-to-business (B2B) companies configured in the shop.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ExternalId supports the '=, !=' comparison operators.
  • Name supports the '=, !=' comparison operators.
  • CustomerSince supports the '=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Companies WHERE Id = 'Val1'
  SELECT * FROM Companies WHERE ExternalId = 'Val1'
  SELECT * FROM Companies WHERE Name = 'Val1'
  SELECT * FROM Companies WHERE CustomerSince = '2023-01-01 11:10:00'
  SELECT * FROM Companies WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Companies WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

ExternalId, Name, Note, CustomerSince

Update

The following columns can be updated:

ExternalId, Name, Note, MainContactId

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the company.

ExternalId String False

An externally supplied identifier used to uniquely reference the company outside of Shopify.

Name String False

The name of the company.

Note String False

A merchant-facing note about the company.

ContactsCount Int True

The number of contacts associated with the company.

ContactsCountPrecision String True

The level of precision applied to the contact count value.

CustomerSince Datetime True

The date and time when the company became a customer.

DefaultCursor String True

A default cursor used to retrieve the next company record in ascending ID order.

LifetimeDuration String True

The duration of time since the company became a customer, expressed as a readable interval such as '2 days', '3 months', or '1 year'.

LocationsCount Int True

The number of locations linked to the company.

LocationsCountPrecision String True

The level of precision applied to the location count value.

OrdersCount Int True

The total number of orders placed by the company across all of its locations.

OrdersCountPrecision String True

The level of precision applied to the order count value.

HasTimelineComment Bool True

Indicates whether a timeline comment has been added to the company record by the merchant.

CreatedAt Datetime True

The date and time when the company was created in Shopify.

UpdatedAt Datetime True

The date and time when the company record was last updated.

DefaultRoleId String True

The globally unique identifier of the company's default role.

DefaultRoleName String True

The name of the company's default role, such as 'admin' or 'buyer'.

DefaultRoleNote String True

A note associated with the company's default role.

MainContactId String True

The globally unique identifier of the company's main contact.

TotalSpentAmount Decimal True

The total amount spent by the company, expressed as a decimal money value.

TotalSpentCurrencyCode String True

The currency code for the company's total spent amount.

CData Python Connector for Shopify

CompanyContactRoleAssignments

Lists role assignments mapping company contacts to their permissions.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CompanyContactId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CompanyContactRoleAssignments WHERE CompanyContactId = 'Val1'

Insert

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

CompanyLocationId, CompanyContactId, RoleId

Delete

You can delete entries by specifying the following columns:

Id, CompanyContactId

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the company contact role assignment.

CompanyId String True

The globally unique identifier of the company that this role assignment belongs to.

CompanyLocationId String True

The globally unique identifier of the company location where the role is assigned.

CompanyContactId String True

The globally unique identifier of the company contact associated with this role assignment.

CreatedAt Datetime True

The date and time when the role assignment record was created.

UpdatedAt Datetime True

The date and time when the role assignment record was last updated.

RoleId String True

The globally unique identifier of the assigned role.

RoleName String True

The name of the assigned role, such as 'admin' or 'buyer'.

RoleNote String True

A note associated with the assigned role.

CData Python Connector for Shopify

CompanyContacts

Lists contacts for companies, including identifiers, email, and role.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • CompanyId supports the '=, IN' comparison operators.
  • Id supports the '=, IN' comparison operators.

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

  SELECT * FROM CompanyContacts WHERE CompanyId = 'Val1'
  SELECT * FROM CompanyContacts WHERE Id = 'Val1'

Insert

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

CompanyId, Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone, CustomerId

Update

The following columns can be updated:

Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
CompanyId String True

The globally unique identifier of the company that the contact belongs to.

Id [KEY] String False

The globally unique identifier of the company contact.

IsMainContact Bool True

Indicates whether this contact is the main contact for the company.

Title String False

The job title of the company contact.

Locale String False

The locale (language) preference of the company contact.

LifetimeDuration String True

The duration of time since the company contact was created in Shopify, expressed as a readable interval such as '1 year', '2 months', or '3 days'.

CreatedAt Datetime True

The date and time when the company contact was created in Shopify.

UpdatedAt Datetime True

The date and time when the company contact record was last updated.

CustomerId String True

The globally unique identifier of the customer linked to this contact.

CustomerFirstName String False

The first name of the customer associated with this contact.

CustomerLastName String False

The last name of the customer associated with this contact.

CustomerEmail String False

The email address of the customer associated with this contact.

CustomerPhone String False

The phone number of the customer associated with this contact.

CData Python Connector for Shopify

CompanyLocations

Lists locations defined under a company, including addresses and identifiers.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CompanyId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CompanyLocations WHERE CompanyId = 'Val1'

Insert

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

CompanyId, ExternalId, TaxRegistrationId, Name, Locale, Note, Phone, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressPhone, BillingAddressRecipient, BillingAddressZip, BillingAddressCountryCode, BillingAddressZoneCode, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressPhone, ShippingAddressRecipient, ShippingAddressZip, ShippingAddressCountryCode, ShippingAddressZoneCode

Update

The following columns can be updated:

ExternalId, Name, Locale, Note, Phone, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the company location.

CompanyId String True

Companies.Id

The globally unique identifier of the company that this location belongs to.

ExternalId String False

An externally supplied identifier used to uniquely reference the company location outside of Shopify.

TaxRegistrationId String True

The tax registration identifier of the company location.

Name String False

The display name of the company location.

Currency String True

The currency of the company location, based on the shipping address. If no shipping address is provided, the value defaults to the shop's primary market currency.

Locale String False

The preferred locale (language) of the company location.

Note String False

A merchant-facing note about the company location.

Phone String False

The phone number of the company location.

DefaultCursor String True

A default cursor used to retrieve the next company location record in ascending ID order.

OrdersCount Int True

The total number of orders placed for the company location.

OrdersCountPrecision String True

The level of precision applied to the order count value.

TaxExemptions String True

A list of tax exemptions applied to the company location.

HasTimelineComment Bool True

Indicates whether a timeline comment has been added to the company location by the merchant.

CreatedAt Datetime True

The date and time when the company location was created in Shopify.

UpdatedAt Datetime True

The date and time when the company location record was last updated.

BillingAddressId String True

The globally unique identifier of the billing address for this company location.

BillingAddressCompanyName String True

The company name listed on the billing address.

BillingAddressFirstName String True

The first name of the billing address recipient.

BillingAddressLastName String True

The last name of the billing address recipient.

BillingAddressAddress1 String True

The first line of the billing address, typically a street address or PO Box.

BillingAddressAddress2 String True

The second line of the billing address, typically an apartment, suite, or unit number.

BillingAddressCity String True

The city, town, district, or village of the billing address.

BillingAddressCountry String True

The country of the billing address.

BillingAddressPhone String True

The phone number associated with the billing address, formatted using the E.164 standard (for example, +16135551111).

BillingAddressProvince String True

The province, state, or district of the billing address.

BillingAddressRecipient String True

The name of the recipient for the billing address, such as 'Receiving Department'.

BillingAddressZip String True

The postal or ZIP code of the billing address.

BillingAddressCountryCode String True

The two-letter country code of the billing address, such as US.

BillingAddressFormattedArea String True

A comma-separated string combining the city, province, and country of the billing address.

BillingAddressZoneCode String True

The two-letter code for the region of the billing address, such as 'ON' for Ontario, Canada.

BillingAddressCreatedAt Datetime True

The date and time when the billing address record was created.

BillingAddressUpdatedAt Datetime True

The date and time when the billing address record was last updated.

BuyerExperienceConfigurationCheckoutToDraft Bool False

Indicates whether checkouts are converted into draft orders for merchant review.

BuyerExperienceConfigurationPayNowOnly Bool True

Indicates whether buyers must pay immediately at checkout, or if they can also pay later using net terms.

BuyerExperienceConfigurationEditableShippingAddress Bool False

Indicates whether buyers can edit their shipping address during checkout.

BuyerExperienceConfigurationDepositPercentage Double False

The percentage of the order total that must be paid as a deposit at checkout.

BuyerExperienceConfigurationPaymentTermsTemplateId String False

The globally unique identifier of the payment terms template applied to this location.

BuyerExperienceConfigurationPaymentTermsTemplateName String True

The display name of the payment terms template.

BuyerExperienceConfigurationPaymentTermsTemplateTranslatedName String True

The translated display name of the payment terms template.

BuyerExperienceConfigurationPaymentTermsTemplateDescription String True

The description of the payment terms template.

BuyerExperienceConfigurationPaymentTermsTemplateDueInDays Int True

The number of days between the issue date and due date when using net payment terms.

BuyerExperienceConfigurationPaymentTermsTemplatePaymentTermsType String True

The type of payment terms defined by the template.

MarketId String True

The globally unique identifier of the market associated with this company location.

ShippingAddressId String True

The globally unique identifier of the shipping address for this company location.

ShippingAddressCompanyName String True

The company name listed on the shipping address.

ShippingAddressFirstName String True

The first name of the shipping address recipient.

ShippingAddressLastName String True

The last name of the shipping address recipient.

ShippingAddressAddress1 String True

The first line of the shipping address, typically a street address or PO Box.

ShippingAddressAddress2 String True

The second line of the shipping address, typically an apartment, suite, or unit number.

ShippingAddressCity String True

The city, town, district, or village of the shipping address.

ShippingAddressCountry String True

The country of the shipping address.

ShippingAddressPhone String True

The phone number associated with the shipping address, formatted using the E.164 standard (for example, +16135551111).

ShippingAddressProvince String True

The province, state, or district of the shipping address.

ShippingAddressRecipient String True

The name of the recipient for the shipping address, such as 'Receiving Department'.

ShippingAddressZip String True

The postal or ZIP code of the shipping address.

ShippingAddressCountryCode String True

The two-letter country code of the shipping address, such as US.

ShippingAddressFormattedArea String True

A comma-separated string combining the city, province, and country of the shipping address.

ShippingAddressZoneCode String True

The two-letter code for the region of the shipping address, such as ON.

ShippingAddressCreatedAt Datetime True

The date and time when the shipping address record was created.

ShippingAddressUpdatedAt Datetime True

The date and time when the shipping address record was last updated.

TotalSpentAmount Decimal True

The total amount spent through this company location, expressed as a decimal money value.

TotalSpentCurrencyCode String True

The currency code for the total amount spent through this company location.

CData Python Connector for Shopify

CompanyLocationStaffMemberAssignments

Lists staff members assigned to a company location. Actions are scoped to that location (Shopify Plus only).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  SELECT * FROM CompanyLocationStaffMemberAssignments WHERE Id = 'Val1'
  SELECT * FROM CompanyLocationStaffMemberAssignments WHERE CompanyLocationId = 'Val1'
  SELECT * FROM CompanyLocationStaffMemberAssignments WHERE StaffMemberId = 'Val1'

Insert

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

CompanyLocationId, StaffMemberId

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the company location staff member assignment.

CompanyId String True

The globally unique identifier of the company associated with the assignment.

CompanyName String True

The display name of the company associated with the assignment.

CompanyLocationId String True

CompanyLocations.Id

The globally unique identifier of the company location where the staff member is assigned.

CompanyLocationName String True

The display name of the company location where the staff member is assigned.

StaffMemberId String True

The globally unique identifier of the assigned staff member.

StaffMemberName String True

The full name of the assigned staff member.

CData Python Connector for Shopify

CustomerAddresses

Lists addresses stored on customer profiles, including default selections.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CustomerId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CustomerAddresses WHERE CustomerId = 'Val1'

Insert

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

CustomerId, CustomerFirstName, CustomerLastName, Phone, Address1, Address2, CountryCode, ProvinceCode, City, Company, Zip

The following pseudo-column can be used to create a new record:

SetAsDefault

Update

The following columns can be updated:

CustomerId, CustomerFirstName, CustomerLastName, Phone, Address1, Address2, CountryCode, ProvinceCode, City, Company, Zip

The following pseudo-column can be used to update a record:

SetAsDefault

Delete

You can delete entries by specifying the following columns:

Id, CustomerId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the customer address.

CustomerId String False

The globally unique identifier of the customer associated with this address.

CustomerFirstName String False

The first name of the customer.

CustomerLastName String False

The last name of the customer.

CustomerName String True

The full name of the customer, derived from the first and last name.

Phone String False

The customer's phone number associated with the address.

Address1 String False

The first line of the address, typically a street address or PO Box.

Address2 String False

The second line of the address, typically an apartment, suite, or unit number.

CountryCode String False

The two-letter country code of the address, such as US.

Country String True

The name of the country for the address.

ProvinceCode String False

The alphanumeric code for the province, state, or district of the address, such as 'ON', for Ontario.

Province String True

The province, state, or district of the address.

City String False

The city, town, district, or village of the address.

Company String False

The name of the company or organization associated with the customer address.

FormattedArea String True

A comma-separated string combining the city, province, and country of the address.

Zip String False

The postal or ZIP code of the address.

Latitude Double True

The latitude coordinate of the address.

Longitude Double True

The longitude coordinate of the address.

TimeZone String True

The time zone associated with the customer address.

CoordinatesValidated Bool True

Indicates whether the address corresponds to recognized latitude and longitude values.

ValidationResultSummary String True

The validation status of the address, as determined by the Shopify Admin address validation feature.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
SetAsDefault Bool

Whether to set the address as the customer's default address.

CData Python Connector for Shopify

Customers

Lists customers with core profile data, marketing preferences, and tags.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Email supports the '=, !=' comparison operators.
  • Phone supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Customers WHERE Id = 'Val1'
  SELECT * FROM Customers WHERE Email = 'Val1'
  SELECT * FROM Customers WHERE Phone = 'Val1'
  SELECT * FROM Customers WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Customers WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

MultipassIdentifier, FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, EmailMarketingConsentMarketingState, EmailMarketingConsentMarketingOptInLevel, EmailMarketingConsentConsentUpdatedAt, EmailMarketingConsentSourceLocationId, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt, SmsMarketingConsentSourceLocationId

Update

The following columns can be updated:

MultipassIdentifier, FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, EmailMarketingConsentMarketingState, EmailMarketingConsentMarketingOptInLevel, EmailMarketingConsentConsentUpdatedAt, EmailMarketingConsentSourceLocationId, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt, SmsMarketingConsentSourceLocationId

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the customer.

MultipassIdentifier String False

A unique identifier for the customer used with Multipass login.

LegacyResourceId String True

The legacy identifier of the customer in the REST Admin API.

ValidEmailAddress Bool True

Indicates whether the customer's email address is correctly formatted and belongs to an existing domain. This does not guarantee the email address actually exists.

DisplayName String True

The display name of the customer, derived from first and last name. Falls back to the customer's email, or if unavailable, their phone number.

FirstName String False

The first name of the customer.

LastName String False

The last name of the customer.

Email String False

The email address of the customer.

Locale String False

The preferred locale (language) of the customer.

Note String False

A merchant-facing note about the customer.

Phone String False

The phone number of the customer.

State String True

The current state of the customer's account with the shop.

Tags String False

A comma-separated list of tags assigned to the customer.

CanDelete Bool True

Indicates whether the customer can be deleted from the store. Customers cannot be deleted if they have placed at least one order.

LifetimeDuration String True

The length of time since the customer was first added to the store, expressed in a readable format such as 'about 12 years'.

TaxExempt Bool False

Indicates whether the customer is exempt from being charged taxes on their orders.

TaxExemptions String False

A list of tax exemptions applied to the customer.

UnsubscribeUrl String True

The URL where the customer can unsubscribe from the store's mailing list.

VerifiedEmail Bool True

Indicates whether the customer has verified their email address. Defaults to true if the customer is created through the Shopify Admin or API.

NumberOfOrders String True

The total number of orders the customer has placed with the store.

ProductSubscriberStatus String True

The current subscription status of the customer, defined by their subscription contracts.

CreatedAt Datetime True

The date and time when the customer was created in the store.

UpdatedAt Datetime True

The date and time when the customer record was last updated.

AmountSpentAmount Decimal True

The total amount the customer has spent, expressed as a decimal money value.

AmountSpentCurrencyCode String True

The currency code for the customer's total spent amount.

DefaultAddressId String True

The globally unique identifier of the customer's default address.

DefaultAddressCoordinatesValidated Bool True

Indicates whether the default address coordinates are valid.

DefaultAddressValidationResultSummary String True

The validation status of the default address, as determined by the Shopify Admin address validation feature.

DefaultAddressName String True

The full name of the customer on the default address, based on first and last name.

DefaultAddressFirstName String False

The first name on the customer's default address.

DefaultAddressLastName String False

The last name on the customer's default address.

DefaultAddressAddress1 String False

The first line of the customer's default address, typically a street address or PO Box.

DefaultAddressAddress2 String False

The second line of the customer's default address, typically an apartment, suite, or unit number.

DefaultAddressCity String False

The city, town, district, or village of the customer's default address.

DefaultAddressCompany String False

The company or organization name listed on the customer's default address.

DefaultAddressCountry String False

The country of the customer's default address.

DefaultAddressLatitude Double True

The latitude coordinate of the customer's default address.

DefaultAddressLongitude Double True

The longitude coordinate of the customer's default address.

DefaultAddressPhone String False

The phone number associated with the default address, formatted using the E.164 standard (for example, +16135551111).

DefaultAddressProvince String False

The province, state, or district of the customer's default address.

DefaultAddressZip String False

The postal or ZIP code of the customer's default address.

DefaultAddressFormattedArea String True

A comma-separated string combining the city, province, and country of the default address.

DefaultAddressProvinceCode String False

The two-letter code for the province, state, or district of the default address, such as 'ON', for Ontario.

DefaultAddressCountryCodeV2 String False

The two-letter country code of the customer's default address, such as US.

EmailMarketingConsentMarketingState String False

The current email marketing consent state of the customer.

EmailMarketingConsentMarketingOptInLevel String False

The email marketing opt-in level set by the customer when consenting, based on M3AAWG best practice guidelines.

EmailMarketingConsentConsentUpdatedAt Datetime False

The date and time when the customer last updated their email marketing consent. If not provided, defaults to when the consent information was originally sent.

EmailMarketingConsentSourceLocationId String False

The identifier of the location where the customer provided email marketing consent.

ImageId String True

The globally unique identifier of the customer's image.

ImageWidth Int True

The original width of the customer image in pixels. Returns null if the image is not hosted by Shopify.

ImageAltText String True

Alternative text describing the content or purpose of the customer image.

ImageHeight Int True

The original height of the customer image in pixels. Returns null if the image is not hosted by Shopify.

ImageUrl String True

The URL of the customer image.

LastOrderId String True

The globally unique identifier of the customer's most recent order.

MarketId String True

The globally unique identifier of the market associated with the customer.

MergeableReason String True

The reason why the customer cannot be merged with another customer.

MergeableErrorFields String True

A list of fields preventing the customer from being merged.

MergeableIsMergeable Bool True

Indicates whether the customer can be merged with another customer.

MergeableMergeInProgressJobId String True

The identifier of the merge job in progress.

MergeableMergeInProgressResultingCustomerId String True

The identifier of the resulting customer after the merge.

MergeableMergeInProgressStatus String True

The current status of the customer merge request.

SmsMarketingConsentMarketingState String False

The current SMS marketing consent state of the customer.

SmsMarketingConsentConsentCollectedFrom String True

The source from which the customer's SMS marketing consent was collected.

SmsMarketingConsentMarketingOptInLevel String False

The SMS marketing opt-in level set by the customer when consenting to receive SMS communications.

SmsMarketingConsentConsentUpdatedAt Datetime False

The date and time when the customer last updated their SMS marketing consent. If not provided, defaults to when the consent information was originally sent.

SmsMarketingConsentSourceLocationId String False

The identifier of the location where the customer provided SMS marketing consent.

StatisticsPredictedSpendTier String True

The predicted spend tier of the customer in the shop.

StatisticsRFMGroup String True

The RFM (Recency, Frequency, Monetary) group classification of the customer.

CData Python Connector for Shopify

DeliveryProfiles

Lists saved delivery profiles that define shipping logic by product and location.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  SELECT * FROM DeliveryProfiles WHERE Id = 'Val1'
  SELECT * FROM DeliveryProfiles WHERE MerchantOwnedOnly = true

Insert

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

Name

Update

The following column can be updated:

Name

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the delivery profile.

Name String False

The display name of the delivery profile.

Default Bool True

Indicates whether this is the default delivery profile.

LegacyMode Bool True

Indicates whether legacy compatibility mode is enabled for this shop's delivery profiles.

OriginLocationCount Int True

The number of active origin locations included in this delivery profile.

ZoneCountryCount Int True

The number of countries with active delivery rates in this profile.

ActiveMethodDefinitionsCount Int True

The number of active shipping rate definitions in this delivery profile.

LocationsWithoutRatesCount Int True

The number of locations in this profile that do not have rates defined.

ProductVariantsCount Int True

The number of product variants assigned to this delivery profile.

ProductVariantsCountPrecision String True

The level of precision applied to the product variant count value.

MerchantOwnedOnly Bool True

Indicates whether the profile is restricted to delivery profiles created by the merchant.

CData Python Connector for Shopify

DiscountsAutomaticApp

Lists automatic discounts defined and managed by apps.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.
  • AppDiscountTypeTitle supports the '=, !=' comparison operators.
  • AppDiscountTypeDiscountClass supports the '=, !=' comparison operators.

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

  SELECT * FROM DiscountsAutomaticApp WHERE Title = 'Val1'
  SELECT * FROM DiscountsAutomaticApp WHERE Status = 'Val1'
  SELECT * FROM DiscountsAutomaticApp WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsAutomaticApp WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticApp WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticApp WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticApp WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeTitle = 'Val1'
  SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeDiscountClass = 'Val1'

Insert

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

Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

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

AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

The following pseudo-columns can be used to update a record:

AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the automatic app discount.

DiscountId String True

The globally unique identifier of the discount associated with this app discount.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

AppliesOnSubscription Bool False

Indicates whether the discount applies to subscription items. Subscriptions allow customers to purchase products on a recurring basis.

RecurringCycleLimit Int False

The maximum number of billing cycles during which the discount can be applied for subscriptions. For example, a value of 3 applies the discount to the first three billing cycles, while 0 applies it indefinitely.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

StartsAt Datetime False

The date and time when the discount becomes active.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount record was last updated.

AppDiscountTypeFunctionId String False

The globally unique identifier of the function that provides the app discount type.

AppDiscountTypeTitle String True

The display title of the app discount type.

AppDiscountTypeDescription String True

The description of the app discount type.

AppDiscountTypeAppKey String True

The client identifier of the app that provides the app discount type.

AppDiscountTypeDiscountClass String True

The classification of the app discount type, used for combining logic.

AppDiscountTypeTargetType String True

The target type of the app discount type. Possible values include 'SHIPPING_LINE' and 'LINE_ITEM'.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

ErrorHistoryFirstOccurredAt Datetime True

The date and time when the first error related to this discount occurred.

ErrorHistoryErrorsFirstOccurredAt Datetime True

The date and time when the first error entry was recorded in the error history.

ErrorHistoryHasSharedRecentErrors Bool True

Indicates whether the merchant has shared recent errors with the app developer.

ErrorHistoryHasBeenSharedSinceLastError Bool True

Indicates whether the merchant has shared errors with the app developer since the most recent error occurred.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
AddAllCustomers String

Whether all customers can use this discount.

CustomersToAdd String

A simple, comma-separated list of customers IDs to add.

CustomersToRemove String

A simple, comma-separated list of customers IDs to remove.

CustomerSegmentsToAdd String

A simple, comma-separated list of customers IDs to add.

CustomerSegmentsToRemove String

A simple, comma-separated list of customers IDs to remove.

CData Python Connector for Shopify

DiscountsAutomaticBasic

Lists basic automatic discounts (for example, percentage or amount off).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsAutomaticBasic WHERE Title = 'Val1'
  SELECT * FROM DiscountsAutomaticBasic WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsAutomaticBasic WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBasic WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBasic WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBasic WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

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

AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, MinimumQuantity, MinimumSubtotal, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

The following pseudo-columns can be used to update a record:

AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the automatic discount.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

ShortSummary String True

A short summary of the automatic basic discount (for example, '10% off all orders' or '$20 off orders over $100, applied automatically at checkout').

StartsAt Datetime False

The date and time when the discount becomes active.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

DiscountMinimumQuantityGreaterThanOrEqualToQuantity String True

The minimum number of items required for the discount to apply.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
AppliesOnEachItem Bool

Indicates how the discount is applied. If true, it applies to each entitled item individually. If false, the discount amount is split across all entitled items.

DiscountAmount Decimal

The value of the discount, expressed as a decimal money amount.

ProductsToAdd String

A comma-separated list of product IDs to include in the discount.

ProductsToRemove String

A comma-separated list of product IDs to exclude from the discount.

MinimumQuantity String

The minimum number of items required for the discount to apply.

MinimumSubtotal String

The minimum subtotal required for the discount to apply.

AddAllCustomers String

Whether all customers can use this discount.

CustomersToAdd String

A simple, comma-separated list of customers IDs to add.

CustomersToRemove String

A simple, comma-separated list of customers IDs to remove.

CustomerSegmentsToAdd String

A simple, comma-separated list of customers IDs to add.

CustomerSegmentsToRemove String

A simple, comma-separated list of customers IDs to remove.

CData Python Connector for Shopify

DiscountsAutomaticBxgy

Lists automatic buy-X-get-Y discounts.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsAutomaticBxgy WHERE Title = 'Val1'
  SELECT * FROM DiscountsAutomaticBxgy WHERE Status = 'Val1'
  SELECT * FROM DiscountsAutomaticBxgy WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsAutomaticBxgy WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBxgy WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBxgy WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBxgy WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

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

DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

The following pseudo-columns can be used to update a record:

DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the automatic Buy X, Get Y discount.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

StartsAt Datetime False

The date and time when the discount becomes active.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

UsesPerOrderLimit Int False

The maximum number of times this discount can be applied to a single order.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
DiscountOnQuantity String

The number of items discounted as part of the Buy X, Get Y promotion.

DiscountPercentage Double

The percentage value of the discount applied to eligible items.

ProductsToAdd String

A comma-separated list of product IDs to include in the discount.

ProductsToRemove String

A comma-separated list of product IDs to exclude from the discount.

DiscountQuantityToBuy String

The quantity of prerequisite items that must be purchased for the discount to apply.

DiscountAmountToBuy String

The amount or value associated with the prerequisite purchase for the discount.

ProductsBuysToAdd String

A comma-separated list of product IDs to add as eligible prerequisites for the discount.

ProductsBuysToRemove String

A comma-separated list of product IDs to remove from eligible prerequisites for the discount.

AddAllCustomers String

Whether all customers can use this discount.

CustomersToAdd String

A simple, comma-separated list of customers IDs to add.

CustomersToRemove String

A simple, comma-separated list of customers IDs to remove.

CustomerSegmentsToAdd String

A simple, comma-separated list of customers IDs to add.

CustomerSegmentsToRemove String

A simple, comma-separated list of customers IDs to remove.

CData Python Connector for Shopify

DiscountsAutomaticFreeShipping

Returns a list of automatic free shipping discounts.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsAutomaticFreeShipping WHERE Title = 'Val1'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE Status = 'Val1'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE AsyncUsageCount = 123
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, AppliesOnSubscription, AppliesOnOneTimePurchase, RecurringCycleLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, DiscountCountriesCountries, DiscountCountriesIncludeRestOfWorld, DiscountCountryAllAllCountries, MaximumShippingPriceAmount, DiscountMinimumQuantityGreaterThanOrEqualToQuantity, DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount

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

CountriesToAdd, CountriesToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, AppliesOnSubscription, AppliesOnOneTimePurchase, RecurringCycleLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, DiscountCountriesCountries, DiscountCountriesIncludeRestOfWorld, DiscountCountryAllAllCountries, MaximumShippingPriceAmount, DiscountMinimumQuantityGreaterThanOrEqualToQuantity, DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount

The following pseudo-columns can be used to update a record:

CountriesToAdd, CountriesToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally-unique ID.

Title String False

The title of the discount.

Status String True

The status of the discount.

Summary String True

A detailed summary of the discount.

DiscountClass String True

The class of the discount.

EndsAt Datetime False

The date and time when the discount ends. For open-ended discounts, use null.

StartsAt Datetime False

The date and time when the discount starts.

AsyncUsageCount Int True

The number of times the discount has been used.

AppliesOnSubscription Bool False

Whether the discount applies on subscription shipping lines.

AppliesOnOneTimePurchase Bool False

Whether the discount applies on regular one-time-purchase shipping lines.

CreatedAt Datetime True

The date and time when the discount was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

HasTimelineComment Bool True

Whether there are timeline comments associated with the discount.

RecurringCycleLimit Int False

The number of times a discount applies on recurring purchases (subscriptions).

ShortSummary String True

A short summary of the discount.

CombinesWithOrderDiscounts Bool False

Combines with order discounts.

CombinesWithProductDiscounts Bool False

Combines with product discounts.

CombinesWithShippingDiscounts Bool True

Combines with shipping discounts.

DiscountCountriesCountries String False

The codes for the countries where the discount can be applied.

DiscountCountriesIncludeRestOfWorld Bool False

Whether the discount is applicable to countries not defined in the shop's shipping zones.

DiscountCountryAllAllCountries Bool False

Whether the discount can be applied to all countries as shipping destination.

MaximumShippingPriceAmount Decimal False

Decimal money amount.

MaximumShippingPriceCurrencyCode String True

Currency of the money.

DiscountMinimumQuantityGreaterThanOrEqualToQuantity String False

The minimum quantity of items that's required for the discount to be applied.

DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount Decimal False

The minimum subtotal that's required for the discount to be applied.

DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalCurrencyCode String True

The three-letter currency code that represents a world currency used in a store.

TotalSalesAmount Decimal True

Decimal money amount.

TotalSalesCurrencyCode String True

Currency of the money.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
CountriesToAdd String

A simple, comma-separated list of countries to add.

CountriesToRemove String

A simple, comma-separated list of countries to remove.

CData Python Connector for Shopify

DiscountsCodeApp

Lists discount codes managed by apps.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.
  • AppDiscountTypeTitle supports the '=, !=' comparison operators.
  • AppDiscountTypeDiscountClass supports the '=, !=' comparison operators.

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

  SELECT * FROM DiscountsCodeApp WHERE Title = 'Val1'
  SELECT * FROM DiscountsCodeApp WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsCodeApp WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeApp WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeApp WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeApp WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeTitle = 'Val1'
  SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeDiscountClass = 'Val1'

Insert

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

Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountBuyerSelectionAll

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

Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountBuyerSelectionAll

The following pseudo-columns can be used to update a record:

Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the discount code app record.

DiscountId String True

The globally unique identifier of the discount associated with this app discount.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

CodesCount Int True

The number of unique discount codes generated for this discount.

CodesCountPrecision String True

The level of precision applied to the discount code count value.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

StartsAt Datetime False

The date and time when the discount becomes active.

UsageLimit Int False

The maximum number of times this discount can be used across all customers.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

HasTimelineComment Bool True

Indicates whether timeline comments have been added to the discount record.

RecurringCycleLimit Int True

The maximum number of billing cycles in which this discount can apply to subscriptions.

AppliesOncePerCustomer Bool False

Indicates whether the discount can be redeemed only once per customer.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

AppDiscountTypeFunctionId String False

The globally unique identifier of the function providing the app discount type.

AppDiscountTypeTitle String True

The display title of the app discount type.

AppDiscountTypeDescription String True

The description of the app discount type.

AppDiscountTypeAppKey String True

The client identifier of the app providing the app discount type.

AppDiscountTypeDiscountClass String True

The classification of the app discount type, used for combining logic.

AppDiscountTypeTargetType String True

The target type of the app discount type. Possible values include 'SHIPPING_LINE' and 'LINE_ITEM'.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

DiscountBuyerSelectionAll String False

Whether the discount can be applied by all buyers. This value is always 'ALL'.

ErrorHistoryFirstOccurredAt Datetime True

The date and time when the first error related to this discount occurred.

ErrorHistoryErrorsFirstOccurredAt Datetime True

The date and time when the first error entry was recorded in the error history.

ErrorHistoryHasSharedRecentErrors Bool True

Indicates whether the merchant has shared recent errors with the app developer.

ErrorHistoryHasBeenSharedSinceLastError Bool True

Indicates whether the merchant has shared errors with the app developer since the most recent error occurred.

TotalSalesAmount Decimal True

The total sales amount attributed to this discount, expressed as a decimal money value.

TotalSalesCurrencyCode String True

The currency code of the total sales amount attributed to this discount.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Code String

The code customers must enter to redeem the discount.

AddAllCustomers String

Indicates whether the discount should apply to all customers automatically.

CustomersToAdd String

A comma-separated list of customer IDs to include as eligible for the discount.

CustomersToRemove String

A comma-separated list of customer IDs to remove from discount eligibility.

CustomerSegmentsToAdd String

A comma-separated list of customer segment IDs to include as eligible for the discount.

CustomerSegmentsToRemove String

A comma-separated list of customer segment IDs to remove from discount eligibility.

CData Python Connector for Shopify

DiscountsCodeBasic

Lists basic code discounts (fixed/percentage off, minimums).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=' comparison operator.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsCodeBasic WHERE Title = 'Val1'
  SELECT * FROM DiscountsCodeBasic WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsCodeBasic WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBasic WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBasic WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBasic WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountBuyerSelectionAll, DiscountMinimumQuantityGreaterThanOrEqualToQuantity

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

Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountBuyerSelectionAll, DiscountMinimumQuantityGreaterThanOrEqualToQuantity

The following pseudo-columns can be used to update a record:

Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the discount code record.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

CodesCount Int True

The number of unique discount codes generated for this discount.

CodesCountPrecision String True

The level of precision applied to the discount code count value.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

ShortSummary String True

A short summary of the basic discount code (for example, '10% off all products' or '$5 off orders over $25').

StartsAt Datetime False

The date and time when the discount becomes active.

UsageLimit Int False

The maximum number of times this discount can be used across all customers.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

HasTimelineComment Bool True

Indicates whether timeline comments have been added to the discount record.

RecurringCycleLimit Int False

The maximum number of billing cycles in which this discount can apply to subscriptions.

AppliesOncePerCustomer Bool False

Indicates whether the discount can be redeemed only once per customer.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

CustomerGetsAppliesOnSubscription Bool False

Indicates whether the discount applies to subscription items.

CustomerGetsAppliesOnOneTimePurchase Bool False

Indicates whether the discount applies to regular one-time purchase items.

DiscountBuyerSelectionAll String False

Whether the discount can be applied by all buyers. This value is always 'ALL'.

DiscountMinimumQuantityGreaterThanOrEqualToQuantity String False

The minimum number of items required for the discount to apply.

TotalSalesAmount Decimal True

The total sales amount attributed to this discount, expressed as a decimal money value.

TotalSalesCurrencyCode String True

The currency code of the total sales amount attributed to this discount.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Code String

The code customers must enter to redeem the discount.

AppliesOnEachItem Bool

Indicates how the discount is applied. If true, it applies to each entitled item individually. If false, the discount amount is split across all entitled items.

DiscountAmount Decimal

The value of the discount, expressed as a decimal money amount.

ProductsToAdd String

A comma-separated list of product IDs to include in the discount.

ProductsToRemove String

A comma-separated list of product IDs to exclude from the discount.

AddAllCustomers String

Indicates whether all customers are automatically eligible for the discount.

CustomersToAdd String

A comma-separated list of customer IDs to include as eligible for the discount.

CustomersToRemove String

A comma-separated list of customer IDs to remove from discount eligibility.

CustomerSegmentsToAdd String

A comma-separated list of customer segment IDs to include as eligible for the discount.

CustomerSegmentsToRemove String

A comma-separated list of customer segment IDs to remove from discount eligibility.

CData Python Connector for Shopify

DiscountsCodeBxgy

Lists buy-X-get-Y discount codes.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsCodeBxgy WHERE Title = 'Val1'
  SELECT * FROM DiscountsCodeBxgy WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsCodeBxgy WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBxgy WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBxgy WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBxgy WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

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

Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

The following pseudo-columns can be used to update a record:

Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the discount code record.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

CodesCount Int True

The number of unique discount codes generated for this discount.

CodesCountPrecision String True

The level of precision applied to the discount code count value.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

StartsAt Datetime False

The date and time when the discount becomes active.

UsageLimit Int False

The maximum number of times this discount can be used across all customers.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

HasTimelineComment Bool True

Indicates whether timeline comments have been added to the discount record.

AppliesOncePerCustomer Bool False

Indicates whether the discount can be redeemed only once per customer.

UsesPerOrderLimit Int False

The maximum number of times this discount can be applied within a single order.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

CustomerGetsAppliesOnSubscription Bool True

Indicates whether the discount applies to subscription items.

CustomerGetsAppliesOnOneTimePurchase Bool True

Indicates whether the discount applies to regular one-time purchase items.

DiscountBuyerSelectionAll String True

Whether the discount can be applied by all buyers. This value is always 'ALL'.

TotalSalesAmount Decimal True

The total sales amount attributed to this discount, expressed as a decimal money value.

TotalSalesCurrencyCode String True

The currency code of the total sales amount attributed to this discount.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Code String

The code customers must enter to redeem the discount.

DiscountOnQuantity String

The number of items discounted as part of the Buy X, Get Y promotion.

DiscountPercentage Double

The percentage value of the discount applied to eligible items.

ProductsToAdd String

A comma-separated list of product Ids to include in the discount.

ProductsToRemove String

A comma-separated list of product Ids to exclude from the discount.

DiscountAmountToBuy String

The amount or value associated with the prerequisite purchase for the discount.

DiscountQuantityToBuy Double

The quantity of prerequisite items that must be purchased for the discount to apply.

ProductsBuysToAdd String

A comma-separated list of product Ids to add as eligible prerequisites for the discount.

ProductsBuysToRemove String

A comma-separated list of product Ids to remove from eligible prerequisites for the discount.

AddAllCustomers String

Indicates whether all customers are automatically eligible for the discount.

CustomersToAdd String

A comma-separated list of customer Ids to include as eligible for the discount.

CustomersToRemove String

A comma-separated list of customer Ids to remove from discount eligibility.

CustomerSegmentsToAdd String

A comma-separated list of customer segment Ids to include as eligible for the discount.

CustomerSegmentsToRemove String

A comma-separated list of customer segment Ids to remove from discount eligibility.

CData Python Connector for Shopify

DiscountsCodeFreeShipping

Lists free-shipping discounts available via discount codes.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsCodeFreeShipping WHERE Title = 'Val1'
  SELECT * FROM DiscountsCodeFreeShipping WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsCodeFreeShipping WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeFreeShipping WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeFreeShipping WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeFreeShipping WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, UsageLimit, AppliesOnSubscription, RecurringCycleLimit, AppliesOncePerCustomer, AppliesOnOneTimePurchase, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, DiscountCountriesIncludeRestOfWorld, DiscountCountryAllAllCountries, MaximumShippingPriceAmount, DiscountMinimumQuantityGreaterThanOrEqualToQuantity, DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount

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

Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove, CountriesToAdd, CountriesToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsageLimit, AppliesOnSubscription, RecurringCycleLimit, AppliesOncePerCustomer, AppliesOnOneTimePurchase, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, DiscountCountriesIncludeRestOfWorld, DiscountCountryAllAllCountries, MaximumShippingPriceAmount, DiscountMinimumQuantityGreaterThanOrEqualToQuantity, DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount

The following pseudo-columns can be used to update a record:

Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove, CountriesToAdd, CountriesToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the free shipping discount code record.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

CodesCount Int True

The number of unique discount codes generated for this discount.

CodesCountPrecision String True

The level of precision applied to the discount code count value.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

ShortSummary String True

A short summary of the free shipping discount (for example, 'Free standard shipping on orders over $50').

StartsAt Datetime False

The date and time when the discount becomes active.

UsageLimit Int False

The maximum number of times this discount can be used across all customers.

AppliesOnSubscription Bool False

Indicates whether the discount applies to shipping lines in subscription orders.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

HasTimelineComment Bool True

Indicates whether timeline comments have been added to the discount record.

RecurringCycleLimit Int False

The maximum number of billing cycles in which this discount can apply to subscription orders.

AppliesOncePerCustomer Bool False

Indicates whether the discount can be redeemed only once per customer.

AppliesOnOneTimePurchase Bool False

Indicates whether the discount applies to shipping lines in regular one-time purchase orders.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool True

Indicates whether the discount can be combined with other shipping-level discounts.

DiscountBuyerSelectionAll Bool True

Whether the discount can be applied by all customers. This value is always 'true'.

DiscountCountriesCountries String True

A list of two-letter country codes where the discount can be applied.

DiscountCountriesIncludeRestOfWorld Bool False

Indicates whether the discount applies to all other countries not explicitly included in the shop's shipping zones.

DiscountCountryAllAllCountries Bool False

Indicates whether the discount can be applied to all countries as shipping destinations. This value is always true.

MaximumShippingPriceAmount Decimal False

The maximum shipping price eligible for the discount, expressed as a decimal money amount.

MaximumShippingPriceCurrencyCode String True

The currency code of the maximum shipping price eligible for the discount.

DiscountMinimumQuantityGreaterThanOrEqualToQuantity String False

The minimum number of items required for the discount to apply.

DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount Decimal False

The minimum subtotal that's required for the discount to be applied.

DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalCurrencyCode String True

The three-letter currency code that represents a world currency used in a store.

TotalSalesAmount Decimal True

The total sales amount attributed to this discount, expressed as a decimal money value.

TotalSalesCurrencyCode String True

The currency code of the total sales amount attributed to this discount.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Code String

The code to use the discount.

AddAllCustomers Bool

Whether all customers can use this discount.

CustomersToAdd String

A simple, comma-separated list of customers IDs to add.

CustomersToRemove String

A simple, comma-separated list of customers IDs to remove.

CustomerSegmentsToAdd String

A simple, comma-separated list of customer segment IDs to add.

CustomerSegmentsToRemove String

A simple, comma-separated list of customer segment IDs to remove.

CountriesToAdd String

A simple, comma-separated list of countries to add.

CountriesToRemove String

A simple, comma-separated list of countries to remove.

CData Python Connector for Shopify

DraftOrders

Lists saved draft orders for manual checkout or invoicing workflows.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CustomerId supports the '=, !=' comparison operators.

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

  SELECT * FROM DraftOrders WHERE Id = 'Val1'
  SELECT * FROM DraftOrders WHERE Status = 'Val1'
  SELECT * FROM DraftOrders WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DraftOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DraftOrders WHERE CustomerId = 'Val1'

Insert

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

Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout

DraftOrderLineItems Temporary Table Columns

Column NameTypeDescription
TitleStringThe title of the product or variant. This field only applies to custom line items.
QuantityIntThe number of product variants that are requested in the draft order.
SkuStringThe SKU number of the product variant.
TaxableBoolWhether the variant is taxable.
RequiresShippingBoolWhether physical shipping is required for the variant.
AppliedDiscountTitleStringName of the order-level discount.
AppliedDiscountDescriptionStringDescription of the order-level discount.
AppliedDiscountValueDoubleThe order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount.
AppliedDiscountValueTypeStringType of the order-level discount.
AppliedDiscountAmountV2AmountDecimalDecimal money amount.
VariantIdStringA globally-unique ID.
WeightValueDoubleThe weight value using the unit system specified with 'unit'.
WeightUnitStringThe unit of measurement for 'value'.

Update

The following columns can be updated:

Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout

DraftOrderLineItems Temporary Table Columns

Column NameTypeDescription
TitleStringThe title of the product or variant. This field only applies to custom line items.
QuantityIntThe number of product variants that are requested in the draft order.
SkuStringThe SKU number of the product variant.
TaxableBoolWhether the variant is taxable.
RequiresShippingBoolWhether physical shipping is required for the variant.
AppliedDiscountTitleStringName of the order-level discount.
AppliedDiscountDescriptionStringDescription of the order-level discount.
AppliedDiscountValueDoubleThe order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount.
AppliedDiscountValueTypeStringType of the order-level discount.
AppliedDiscountAmountV2AmountDecimalDecimal money amount.
VariantIdStringA globally-unique ID.
WeightValueDoubleThe weight value using the unit system specified with 'unit'.
WeightUnitStringThe unit of measurement for 'value'.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the draft order.

LegacyResourceId String True

The legacy identifier of the draft order in the REST Admin API.

Name String True

The unique identifier for the draft order within the store, typically shown with a prefix such as '#D1223'.

MarketName String True

The name of the market selected for the draft order.

Email String False

The email address of the customer associated with the draft order, used for notifications.

Note2 String True

Optional merchant-facing notes attached to the draft order.

Phone String True

The phone number associated with the draft order.

Ready Bool True

Indicates whether the draft order is complete and ready to be finalized. Draft orders might require asynchronous processing before this value becomes true.

Status String True

The current status of the draft order.

Tags String True

A comma-separated list of tags applied to the draft order. Updating this field overwrites all existing tags.

CompletedAt Datetime True

The date and time when the draft order was converted into a completed order.

CurrencyCode String True

The three-letter currency code of the shop at the time of the most recent update to the draft order.

DefaultCursor String True

A default cursor used to fetch the next record in ascending Id order.

InvoiceUrl String True

The URL to the checkout page, sent to the customer in the draft order invoice email.

TaxExempt Bool True

Indicates whether the draft order is exempt from taxes.

TaxesIncluded Bool True

Indicates whether taxes are included in the line item prices.

TotalWeight String True

The total weight of all items in the draft order, measured in grams.

HasTimelineComment Bool True

Indicates whether the merchant has added a timeline comment to the draft order.

InvoiceSentAt Datetime True

The date and time when the invoice was last sent to the customer.

PresentmentCurrencyCode String True

The currency code in which the customer is expected to pay for this draft order.

ReserveInventoryUntil Datetime True

The date and time after which reserved inventory for this draft order is released.

VisibleToCustomer Bool True

Indicates whether the draft order is visible to the customer in the self-serve portal.

InvoiceEmailTemplateSubject String True

The subject line defined in the draft invoice email template.

MarketRegionCountryCode String True

The country code of the selected market region for the draft order.

BillingAddressMatchesShippingAddress Bool True

Indicates whether the billing address matches the shipping address.

CreatedAt Datetime True

The date and time when the draft order was created.

UpdatedAt Datetime True

The date and time when the draft order was last updated.

OrderId String True

The globally unique identifier of the order created from the draft order, if completed.

PurchasingEntityCustomerId String True

The globally unique identifier of the purchasing customer.

PurchasingEntityCompanyCompanyId String True

The globally unique identifier of the purchasing company, if applicable.

CustomerId String False

Customers.Id

The globally unique identifier of the customer to whom the draft order invoice was sent.

BillingAddressId String False

The globally unique identifier of the billing address.

BillingAddressCoordinatesValidated Bool True

Indicates whether the billing address includes valid latitude and longitude coordinates.

BillingAddressValidationResultSummary String True

The validation status of the billing address, as determined by Shopify Admin's address validation feature.

BillingAddressName String True

The full name of the customer on the billing address.

BillingAddressFirstName String False

The first name of the customer on the billing address.

BillingAddressLastName String False

The last name of the customer on the billing address.

BillingAddressAddress1 String False

The first line of the billing address, usually the street address or PO Box.

BillingAddressAddress2 String False

The second line of the billing address, often an apartment, suite, or unit number.

BillingAddressCity String False

The city, district, village, or town of the billing address.

BillingAddressCompany String False

The company name on the billing address, if provided.

BillingAddressCountry String False

The country of the billing address.

BillingAddressLatitude Double True

The latitude coordinate of the billing address.

BillingAddressLongitude Double True

The longitude coordinate of the billing address.

BillingAddressPhone String False

The phone number associated with the billing address, formatted in E.164 (for example, +16135551111).

BillingAddressProvince String False

The region of the billing address, such as province, state, or district.

BillingAddressZip String False

The ZIP or postal code of the billing address.

BillingAddressFormattedArea String True

A comma-separated list of the billing address components: city, province, and country.

BillingAddressProvinceCode String False

The two-letter region code for the billing address (for example, ON).

BillingAddressCountryCodeV2 String False

The two-letter country code for the billing address (for example, US).

ShippingAddressId String False

The globally unique identifier of the shipping address.

ShippingAddressCoordinatesValidated Bool True

Indicates whether the shipping address includes valid latitude and longitude coordinates.

ShippingAddressValidationResultSummary String True

The validation status of the shipping address, as determined by Shopify Admin's address validation feature.

ShippingAddressName String True

The full name of the recipient on the shipping address.

ShippingAddressFirstName String False

The first name of the recipient on the shipping address.

ShippingAddressLastName String False

The last name of the recipient on the shipping address.

ShippingAddressAddress1 String False

The first line of the shipping address, usually the street address or PO Box.

ShippingAddressAddress2 String False

The second line of the shipping address, often an apartment, suite, or unit number.

ShippingAddressCity String False

The city, district, village, or town of the shipping address.

ShippingAddressCompany String False

The company name on the shipping address, if provided.

ShippingAddressCountry String False

The country of the shipping address.

ShippingAddressLatitude Double True

The latitude coordinate of the shipping address.

ShippingAddressLongitude Double True

The longitude coordinate of the shipping address.

ShippingAddressPhone String False

The phone number associated with the shipping address, formatted in E.164 (for example, +16135551111).

ShippingAddressProvince String False

The region of the shipping address, such as province, state, or district.

ShippingAddressZip String False

The ZIP or postal code of the shipping address.

ShippingAddressFormattedArea String True

A comma-separated list of the shipping address components: city, province, and country.

ShippingAddressProvinceCode String False

The two-letter region code for the shipping address (for example, ON).

ShippingAddressCountryCodeV2 String False

The two-letter country code for the shipping address (for example, US).

ShippingLineId String True

The globally unique identifier of the shipping line.

ShippingLineCarrierIdentifier String True

A reference to the carrier service that provided the shipping rate, when calculated by a third-party service.

ShippingLineTitle String True

The title of the shipping line.

ShippingLineCode String True

A reference to the shipping method used.

ShippingLineCustom Bool True

Indicates whether the shipping line is custom.

ShippingLinePhone String True

The phone number associated with the shipping address for the shipping line.

ShippingLineSource String True

The source system or rate provider of the shipping line.

ShippingLineDeliveryCategory String True

The classification of the shipping method applied to the draft order.

ShippingLineShippingRateHandle String True

A system-generated identifier for the shipping rate. Not stable and not intended for display.

ShippingLineRequestedFulfillmentServiceId String True

The globally unique identifier of the fulfillment service requested for this shipping line.

AppliedDiscountTitle String False

The name of the order-level discount applied to the draft order.

AppliedDiscountDescription String False

The description of the order-level discount.

AppliedDiscountValue Double False

The amount of the order-level discount. If the value type is 'percentage', this is the percentage discount applied.

AppliedDiscountValueType String False

The type of the order-level discount (for example, percentage or fixed amount).

PaymentTermsId String True

The globally unique identifier of the payment terms template used.

PaymentTermsTranslatedName String True

The translated name of the payment terms template in the shop admin's language.

PaymentTermsPaymentTermsName String True

The name of the payment terms template applied to the draft order.

PaymentTermsOverdue Bool True

Indicates whether any scheduled payments are overdue for the draft order.

PaymentTermsDueInDays Int True

The number of days between the issue date and due date, based on the applied payment terms template.

PaymentTermsPaymentTermsType String True

The type of payment terms template applied to the draft order.

PaymentTermsOrderId String True

The globally unique identifier of the order associated with the payment terms.

AppliedDiscountAmountV2Amount Decimal False

The monetary value of the applied discount, expressed as a decimal.

AppliedDiscountAmountV2CurrencyCode String True

The currency code of the applied discount.

LineItemsSubtotalPricePresentmentMoneyAmount Decimal True

The subtotal of draft order line items in the presentment currency, expressed as a decimal.

LineItemsSubtotalPricePresentmentMoneyCurrencyCode String True

The currency code of the line item subtotal in the presentment currency.

LineItemsSubtotalPriceShopMoneyAmount Decimal True

The subtotal of draft order line items in the shop currency, expressed as a decimal.

LineItemsSubtotalPriceShopMoneyCurrencyCode String True

The currency code of the line item subtotal in the shop currency.

SubtotalPriceSetPresentmentMoneyAmount Decimal True

The subtotal of the draft order in the presentment currency, expressed as a decimal.

SubtotalPriceSetPresentmentMoneyCurrencyCode String True

The currency code of the draft order subtotal in the presentment currency.

SubtotalPriceSetShopMoneyAmount Decimal True

The subtotal of the draft order in the shop currency, expressed as a decimal.

SubtotalPriceSetShopMoneyCurrencyCode String True

The currency code of the draft order subtotal in the shop currency.

TotalDiscountsSetPresentmentMoneyAmount Decimal True

The total discounts applied to the draft order in the presentment currency, expressed as a decimal.

TotalDiscountsSetPresentmentMoneyCurrencyCode String True

The currency code of the total discounts in the presentment currency.

TotalDiscountsSetShopMoneyAmount Decimal True

The total discounts applied to the draft order in the shop currency, expressed as a decimal.

TotalDiscountsSetShopMoneyCurrencyCode String True

The currency code of the total discounts in the shop currency.

TotalLineItemsPriceSetPresentmentMoneyAmount Decimal True

The total price of all line items in the presentment currency, expressed as a decimal.

TotalLineItemsPriceSetPresentmentMoneyCurrencyCode String True

The currency code of the total line item price in the presentment currency.

TotalLineItemsPriceSetShopMoneyAmount Decimal True

The total price of all line items in the shop currency, expressed as a decimal.

TotalLineItemsPriceSetShopMoneyCurrencyCode String True

The currency code of the total line item price in the shop currency.

TotalPriceSetPresentmentMoneyAmount Decimal True

The total price of the draft order in the presentment currency, expressed as a decimal.

TotalPriceSetPresentmentMoneyCurrencyCode String True

The currency code of the draft order total in the presentment currency.

TotalPriceSetShopMoneyAmount Decimal True

The total price of the draft order in the shop currency, expressed as a decimal.

TotalPriceSetShopMoneyCurrencyCode String True

The currency code of the draft order total in the shop currency.

TotalShippingPriceSetPresentmentMoneyAmount Decimal True

The total shipping price in the presentment currency, expressed as a decimal.

TotalShippingPriceSetPresentmentMoneyCurrencyCode String True

The currency code of the total shipping price in the presentment currency.

TotalShippingPriceSetShopMoneyAmount Decimal True

The total shipping price in the shop currency, expressed as a decimal.

TotalShippingPriceSetShopMoneyCurrencyCode String True

The currency code of the total shipping price in the shop currency.

TotalTaxSetPresentmentMoneyAmount Decimal True

The total tax amount in the presentment currency, expressed as a decimal.

TotalTaxSetPresentmentMoneyCurrencyCode String True

The currency code of the total tax amount in the presentment currency.

TotalTaxSetShopMoneyAmount Decimal True

The total tax amount in the shop currency, expressed as a decimal.

TotalTaxSetShopMoneyCurrencyCode String True

The currency code of the total tax amount in the shop currency.

DraftOrderLineItems String False

The list of line items included in the draft order.

DiscountCodes String False

The discount codes applied to the draft order.

AcceptAutomaticDiscounts Bool False

Indicates whether automatic discounts should be applied to the draft order during calculation.

AllowDiscountCodesInCheckout Bool False

Indicates whether discount codes are allowed during checkout of the draft order.

Warnings String True

A list of warnings raised during draft order calculation.

PlatformDiscountIds String True

The list of platform-level discounts applied to the draft order.

CData Python Connector for Shopify

Files

Lists files uploaded to Shopify (images, PDFs, media) with metadata and URLs.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=' comparison operator.
  • Status supports the '=' comparison operator.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Files WHERE Id = 'Val1'
  SELECT * FROM Files WHERE Status = 'Val1'
  SELECT * FROM Files WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Files WHERE UpdatedAt = '2023-01-01 11:10:00'

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the file.

Description String True

The descriptive text or alternative information associated with the file.

Status String True

The current processing or availability status of the file.

FileErrors String True

Details about any errors that occurred during file upload, processing, or use.

CreatedAt Datetime True

The date and time when the file was first created in Shopify.

UpdatedAt Datetime True

The date and time when the file was most recently updated in Shopify.

Size Int True

The file size in bytes.

CData Python Connector for Shopify

FulfillmentEvents

Lists status events (in transit, delivered) associated with fulfillments.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • FulfillmentId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentEvents WHERE FulfillmentId = 'Val1'

Insert

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

FulfillmentId, Status, Address1, City, Country, Latitude, Longitude, Message, Province, Zip, EstimatedDeliveryAt

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the fulfillment event.

FulfillmentId String True

Fulfillments.Id

The globally unique identifier of the fulfillment associated with this event.

OrderId String True

Orders.Id

The globally unique identifier of the order linked to this fulfillment event.

Status String True

The current status of the fulfillment event, such as in transit or delivered.

HappenedAt Datetime True

The exact date and time when the fulfillment event occurred.

Address1 String True

The first line of the street address where the fulfillment event took place.

City String True

The city where the fulfillment event occurred.

Country String True

The country where the fulfillment event occurred.

Latitude Double True

The latitude coordinate of the location where the fulfillment event occurred.

Longitude Double True

The longitude coordinate of the location where the fulfillment event occurred.

Message String True

Any message or note provided with the fulfillment event, often used for delivery updates.

Province String True

The province, state, or region where the fulfillment event occurred.

Zip String True

The postal or ZIP code of the location where the fulfillment event occurred.

EstimatedDeliveryAt Datetime True

The projected delivery date and time for the shipment related to this fulfillment event.

CreatedAt Datetime True

The date and time when the fulfillment event record was created in Shopify.

CData Python Connector for Shopify

FulfillmentOrders

Lists merchant-managed and third-party fulfillment orders with statuses and assignments.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • AssignedLocationLocationId supports the '=, !=' comparison operators.
  • OrderId supports the '=, IN' comparison operators.

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

  SELECT * FROM FulfillmentOrders WHERE Id = 'Val1'
  SELECT * FROM FulfillmentOrders WHERE Status = 'open'
  SELECT * FROM FulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
  SELECT * FROM FulfillmentOrders WHERE OrderId = 'Val1'

Update

The following columns can be updated:

Status, FulfillAt, FulfillBy

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the fulfillment order.

Status String False

The current status of the fulfillment order.

The allowed values are open, closed, cancelled, in_progress, incomplete, on_hold, scheduled.

FulfillAt Datetime True

The date and time when the fulfillment order becomes fulfillable. At this time, a scheduled fulfillment order automatically transitions to 'open'. For example, subscription orders might have a monthly fulfill_at date, pre-orders might be null, and standard orders typically use the order creation date.

FulfillBy Datetime True

The latest date and time by which all items in the fulfillment order must be fulfilled.

OrderName String True

The unique order identifier displayed on the order page.

RequestStatus String True

The current request status of the fulfillment order.

CreatedAt Datetime True

The date and time when the fulfillment order was created.

UpdatedAt Datetime True

The date and time when the fulfillment order was last updated.

OrderProcessedAt Datetime True

The date and time when the fulfillment order was processed.

AssignedLocationName String True

The name of the assigned fulfillment location.

AssignedLocationAddress1 String True

The first line of the assigned location's address.

AssignedLocationAddress2 String True

The second line of the assigned location's address.

AssignedLocationCity String True

The city of the assigned location.

AssignedLocationPhone String True

The phone number of the assigned location.

AssignedLocationProvince String True

The province or region of the assigned location.

AssignedLocationZip String True

The ZIP or postal code of the assigned location.

AssignedLocationCountryCode String True

The two-letter ISO country code of the assigned location.

AssignedLocationLocationId String True

The globally unique identifier of the assigned location.

AssignedLocationLocationLegacyResourceId String True

The legacy identifier of the assigned location in the REST Admin API.

AssignedLocationLocationName String True

The display name of the assigned location.

AssignedLocationLocationActivatable Bool True

Indicates whether the location can be reactivated.

AssignedLocationLocationDeactivatable Bool True

Indicates whether the location can be deactivated.

AssignedLocationLocationDeletable Bool True

Indicates whether the location can be deleted.

AssignedLocationLocationAddressVerified Bool True

Indicates whether the location's address has been verified.

AssignedLocationLocationDeactivatedAt String True

The date and time when the location was deactivated, in UTC. Example: '2019-09-07T15:50:00Z'.

AssignedLocationLocationIsActive Bool True

Indicates whether the location is active.

AssignedLocationLocationShipsInventory Bool True

Indicates whether this location is used to calculate shipping rates. In multi-origin shipping mode, this flag is ignored.

AssignedLocationLocationFulfillsOnlineOrders Bool True

Indicates whether this location can fulfill online orders.

AssignedLocationLocationHasActiveInventory Bool True

Indicates whether this location has active inventory.

AssignedLocationLocationHasUnfulfilledOrders Bool True

Indicates whether this location has unfulfilled orders.

DeliveryMethodId String True

The globally unique identifier of the delivery method.

DeliveryMethodPresentedName String True

The name of the delivery option presented to the buyer at checkout.

DeliveryMethodMethodType String True

The type of delivery method for the fulfillment order, such as shipping, local delivery, or pickup.

DeliveryMethodMaxDeliveryDateTime Datetime True

The latest date and time when the fulfillment is expected to arrive at the destination.

DeliveryMethodMinDeliveryDateTime Datetime True

The earliest date and time when the fulfillment is expected to arrive at the destination.

DeliveryMethodServiceCode String True

The reference code of the shipping method.

DeliveryMethodSourceReference String True

Provider-specific data associated with the delivery promise.

DeliveryMethodBrandedPromiseName String True

The display name of the branded delivery promise. For example: 'Shop Promise'.

DeliveryMethodBrandedPromiseHandle String True

The handle identifier of the branded delivery promise. For example: 'shop_promise'.

DeliveryMethodAdditionalInformationPhone String True

The phone number to contact regarding delivery.

DeliveryMethodAdditionalInformationInstructions String True

Special delivery instructions for the carrier.

DestinationId String True

The globally unique identifier of the destination address.

DestinationFirstName String True

The first name of the recipient at the destination.

DestinationLastName String True

The last name of the recipient at the destination.

DestinationAddress1 String True

The first line of the destination address.

DestinationAddress2 String True

The second line of the destination address.

DestinationCity String True

The city of the destination address.

DestinationCompany String True

The company name associated with the destination address.

DestinationEmail String True

The email address of the recipient at the destination.

DestinationPhone String True

The phone number of the recipient at the destination.

DestinationProvince String True

The province or region of the destination address.

DestinationZip String True

The ZIP or postal code of the destination address.

DestinationCountryCode String True

The two-letter ISO country code of the destination address.

DestinationLocationId String True

The globally unique identifier of the destination location.

InternationalDutiesIncoterm String True

The duties payment method for international shipments. Example values: 'DDP' (Delivered Duty Paid), 'DAP' (Delivered At Place).

OrderId String True

The globally unique identifier of the related order.

CData Python Connector for Shopify

Fulfillments

Represents shipments created for orders, including tracking and delivery status.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Fulfillments WHERE OrderId = 'Val1'
  SELECT * FROM Fulfillments WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Fulfillments WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

OriginAddressAddress1, OriginAddressAddress2, OriginAddressCity, OriginAddressCountryCode, OriginAddressProvinceCode, OriginAddressZip, TrackingInfoCompany, TrackingInfoNumber, TrackingInfoUrl

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

NotifyCustomer, Message, FulfillmentOrderIds

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the fulfillment.

LegacyResourceId String True

The legacy identifier of the corresponding resource in the REST Admin API.

OrderId String True

Orders.Id

The globally unique identifier of the order associated with the fulfillment.

Name String True

A human-readable reference identifier for the fulfillment.

Status String True

The current status of the fulfillment.

DeliveredAt Datetime True

The date when the fulfillment was delivered.

DisplayStatus String True

A human-readable display status for the fulfillment.

RequiresShipping Bool True

Indicates whether any of the line items in the fulfillment require shipping.

TotalQuantity Int True

The total quantity of all line items in the fulfillment.

EstimatedDeliveryAt Datetime True

The estimated date when the fulfillment is expected to arrive.

InTransitAt Datetime True

The date and time when the fulfillment was marked as in transit.

CreatedAt Datetime True

The date and time when the fulfillment was created.

UpdatedAt Datetime True

The date and time when the fulfillment was last updated.

LocationId String True

The globally unique identifier of the fulfillment location.

ServiceId String True

The identifier of the fulfillment service.

OriginAddressAddress1 String True

The first line of the fulfillment location's address.

OriginAddressAddress2 String True

The second line of the fulfillment location's address, typically an apartment, suite, or unit number.

OriginAddressCity String True

The city where the fulfillment location is situated.

OriginAddressCountryCode String True

The two-letter country code of the fulfillment location.

OriginAddressProvinceCode String True

The province or state code of the fulfillment location.

OriginAddressZip String True

The postal or ZIP code of the fulfillment location.

TrackingInfoCompany String True

The name of the shipping company handling the fulfillment.

TrackingInfoNumber String True

The tracking number assigned to the fulfillment.

TrackingInfoUrl String True

The URL used to track the fulfillment shipment.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
NotifyCustomer Bool

Indicates whether the customer is notified. If true, a notification is sent when the fulfillment is created. Defaults to false.

Message String

An optional message included with the fulfillment request.

FulfillmentOrderIds String

An aggregated object containing the fulfillment order IDs. For example: [{'fulfillmentOrderId': 'gid://shopify/FulfillmentOrder/xxx'}].

CData Python Connector for Shopify

FulfillmentServices

Lists fulfillment services that prepare and ship orders on behalf of the merchant.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM FulfillmentServices

Insert

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

ServiceName, CallbackUrl, InventoryManagement, FulfillmentOrdersOptIn, RequiresShippingMethod

Update

The following columns can be updated:

ServiceName, CallbackUrl, InventoryManagement, FulfillmentOrdersOptIn, RequiresShippingMethod

Delete

You can delete entries by specifying the following columns:

Id, LocationId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the fulfillment service.

ServiceName String False

The name of the fulfillment service as displayed to merchants.

Handle String True

A human-readable, unique string that identifies the fulfillment service.

Type String True

The type of the fulfillment service.

CallbackUrl String False

The callback URL that the fulfillment service registers to receive requests from Shopify.

InventoryManagement Bool False

Indicates whether the fulfillment service tracks product inventory and provides updates to Shopify.

FulfillmentOrdersOptIn Bool False

Whether the fulfillment service uses the fulfillment order based workflow for managing fulfillments.

PermitsSkuSharing Bool True

Indicates whether the fulfillment service can stock inventory alongside other locations.

RequiresShippingMethod Bool False

Indicates whether the fulfillment service requires products to be physically shipped.

TrackingSupport Bool True

Indicates whether the fulfillment service supports tracking numbers through the /fetch_tracking_numbers endpoint.

LocationId String True

The globally unique identifier of the location associated with the fulfillment service.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
InventoryAction String

Specifies the action to take with the location after the fulfillment service is deleted.

The allowed values are DELETE, KEEP, TRANSFER.

CData Python Connector for Shopify

FulfillmentTrackingInfo

Lists tracking details for fulfillments, including company, number, and tracking URL.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • FulfillmentId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentTrackingInfo WHERE FulfillmentId = 'Val1'

Update

The following columns can be updated:

FulfillmentId, Company, Number, Url

Columns

Name Type ReadOnly References Description
FulfillmentId String False

Fulfillments.Id

The globally unique identifier of the fulfillment associated with the tracking information.

Company String False

The name of the shipping or tracking company handling the fulfillment.

Number String False

The tracking number assigned to the fulfillment.

Url String False

The URL used to track the fulfillment's shipping status.

CData Python Connector for Shopify

GiftCards

Lists gift cards and balances (requires read_gift_cards; available for Shopify Plus/private or custom application).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ExpiresOn supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • InitialValueAmount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM GiftCards WHERE Id = 'Val1'
  SELECT * FROM GiftCards WHERE ExpiresOn = '2023-01-01'
  SELECT * FROM GiftCards WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM GiftCards WHERE InitialValueAmount = '100.00'

Insert

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

Note, ExpiresOn, InitialValueAmount, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt

Update

The following columns can be updated:

Note, ExpiresOn, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt, Enabled

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the gift card.

Enabled Bool True

Indicates whether the gift card is active and can be used.

Note String False

An internal note associated with the gift card, not visible to the customer.

ExpiresOn Date False

The expiration date of the gift card.

LastCharacters String True

The last four characters of the gift card code.

MaskedCode String True

The masked gift card code, showing only the last four characters.

DeactivatedAt Datetime True

The date and time when the gift card was deactivated.

UpdatedAt Datetime True

The date and time when the gift card was last updated.

CreatedAt Datetime True

The date and time when the gift card was created.

BalanceAmount Decimal True

The current balance of the gift card as a decimal value.

BalanceCurrencyCode String True

The currency of the gift card balance.

InitialValueAmount Decimal True

The original value of the gift card as a decimal amount.

InitialValueCurrencyCode String True

The currency of the original gift card value.

CustomerId String False

The unique identifier of the customer associated with the gift card.

RecipientAttributesRecipientId String False

The unique identifier of the gift card recipient.

RecipientAttributesPreferredName String False

The preferred name of the recipient of the gift card.

RecipientAttributesMessage String False

The custom message included with the gift card.

RecipientAttributesSendNotificationAt Datetime False

The scheduled date and time when the gift card notification is sent to the recipient. The message is sent within one hour of the scheduled time.

OrderId String True

The unique identifier of the order that generated the gift card.

CData Python Connector for Shopify

GiftCardTransactionsCredit

Lists credit transactions that increase a gift card balance (Shopify Plus only).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • GiftCardId supports the '=, IN' comparison operators.

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

  SELECT * FROM GiftCardTransactionsCredit WHERE Id = 'Val1'
  SELECT * FROM GiftCardTransactionsCredit WHERE GiftCardId = 'Val1'

Insert

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

GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the credit transaction.

GiftCardId String True

GiftCards.Id

The globally unique identifier of the gift card associated with the transaction.

Note String True

An internal note describing the transaction.

ProcessedAt Datetime True

The date and time when the credit transaction was processed.

Amount Decimal True

The credited amount in decimal format.

AmountCurrencyCode String True

The currency of the credited amount.

CData Python Connector for Shopify

GiftCardTransactionsDebit

Lists debit transactions that decrease a gift card balance (Shopify Plus only).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • GiftCardId supports the '=, IN' comparison operators.

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

  SELECT * FROM GiftCardTransactionsDebit WHERE Id = 'Val1'
  SELECT * FROM GiftCardTransactionsDebit WHERE GiftCardId = 'Val1'

Insert

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

GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the debit transaction.

GiftCardId String True

GiftCards.Id

The globally unique identifier of the associated gift card.

Note String True

A merchant-provided note about the debit transaction.

ProcessedAt Datetime True

The date and time when the debit transaction was processed.

Amount Decimal True

The debited amount.

AmountCurrencyCode String True

The currency of the debited amount.

CData Python Connector for Shopify

InventoryItemInventoryLevels

Shows per-location inventory level summaries for an inventory item.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • InventoryItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM InventoryItemInventoryLevels WHERE InventoryItemId = 'Val1'

Insert

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

InventoryItemId, LocationId

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

Available, OnHand, StockAtLegacyLocation

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the inventory level.

InventoryItemId String True

InventoryItems.Id

The globally unique identifier of the inventory item associated with this level.

LocationId String True

The globally unique identifier of the location tied to the inventory level.

CanDeactivate Bool True

Indicates whether the inventory level can be deactivated for the associated item at this location.

DeactivationAlert String True

Explains the impact of deactivating the inventory level or the reason why it cannot be deactivated.

CreatedAt Datetime True

The date and time when the inventory level was created.

UpdatedAt Datetime True

The date and time when the inventory level was last updated.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Available Int

The starting available quantity of the inventory item when it is activated at the location.

OnHand Int

The starting on-hand quantity of the inventory item when it is activated at the location.

StockAtLegacyLocation Bool

Indicates whether activation is allowed at or away from a legacy fulfillment service location when SKU sharing is disabled. Enabling this option deactivates inventory at all other locations.

CData Python Connector for Shopify

InventoryItems

Lists inventory items (SKU-level records) with tracking and cost data.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Sku supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM InventoryItems WHERE Id = 'Val1'
  SELECT * FROM InventoryItems WHERE Sku = 'Val1'
  SELECT * FROM InventoryItems WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM InventoryItems WHERE UpdatedAt = '2023-01-01 11:10:00'

Update

The following columns can be updated:

Sku, Tracked, RequiresShipping, HarmonizedSystemCode, CountryCodeOfOrigin, ProvinceCodeOfOrigin, MeasurementWeightValue, MeasurementWeightUnit, UnitCostAmount, InventoryItemCountryHarmonizedSystemCodes (references InventoryItemCountryHarmonizedSystemCodes)

InventoryItemCountryHarmonizedSystemCodes Temporary Table Columns

Column NameTypeDescription
CountryCodeStringThe ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code.
HarmonizedSystemCodeStringThe country-specific harmonized system code. These are usually longer than 6 digits.

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the inventory item.

LegacyResourceId String True

The identifier of the corresponding inventory resource in the REST Admin API.

VariantId String True

The globally unique identifier of the associated product variant.

Sku String False

The stock keeping unit (SKU) code used to uniquely identify the inventory item.

Tracked Bool False

Indicates whether inventory levels are being tracked for this item.

LocationsCount Int True

The number of locations where this inventory item is stocked.

LocationsCountPrecision String True

The precision level applied to the location count value.

RequiresShipping Bool False

Indicates whether the inventory item requires physical shipping.

DuplicateSkuCount Int True

The number of inventory items that share the same SKU as this item.

HarmonizedSystemCode String False

The harmonized system code (HS code) for the item, used for customs and trade classification.

InventoryHistoryUrl String True

The URL linking to the inventory history record for this item.

CountryCodeOfOrigin String False

The ISO 3166-1 alpha-2 country code representing the item's country of origin.

ProvinceCodeOfOrigin String False

The ISO 3166-2 alpha-2 province or state code representing the item's region of origin.

CreatedAt Datetime True

The date and time when the inventory item was created in Shopify.

UpdatedAt Datetime True

The date and time when the inventory item was last updated.

TrackedEditableLocked Bool True

Indicates whether the 'tracked' attribute is locked from editing.

TrackedEditableReason String True

The explanation for why the 'tracked' attribute is locked from editing.

MeasurementId String True

The globally unique identifier of the measurement record for this inventory item.

MeasurementWeightValue Double False

The numeric weight of the item, measured using the unit specified in 'MeasurementWeightUnit'.

MeasurementWeightUnit String False

The unit of measurement for the item's weight value (for example, 'g', 'kg', 'lb').

UnitCostAmount Decimal False

The per-unit cost of the inventory item, expressed as a decimal amount.

UnitCostCurrencyCode String True

The currency code associated with the unit cost amount.

InventoryItemCountryHarmonizedSystemCodes String False

The list of country-specific harmonized system codes (HS codes) associated with this inventory item.

CData Python Connector for Shopify

InventoryShipments

Returns a list of inventory items.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM InventoryShipments WHERE Id = 'Val1'

Insert

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

DateCreated, TrackingArrivesAt, TrackingCompany, TrackingNumber, TrackingURL

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

MovementId, LineItems (references InventoryShipmentLineItems)

InventoryShipmentLineItems Temporary Table Columns

Column NameTypeDescription
IdStringThe ID of the inventory item.
QuantityIntThe quantity for the inventory item.

Update

The following columns can be updated:

TrackingArrivesAt, TrackingCompany, TrackingNumber, TrackingURL

The following pseudo-columns can be used to update a record:

MovementId, LineItems (references InventoryShipmentLineItems)

InventoryShipmentLineItems Temporary Table Columns

Column NameTypeDescription
IdStringThe ID of the inventory item.
QuantityIntThe quantity for the inventory item.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The ID of the inventory shipment.

Name String True

The name of the inventory shipment.

Status String True

The current status of the shipment.

LineItemTotalQuantity Int True

The total quantity of all items in the shipment.

TotalAcceptedQuantity Int True

The total quantity of items accepted across all line items in this shipment.

TotalReceivedQuantity Int True

The total quantity of items received (both accepted and rejected) across all line items in this shipment.

TotalRejectedQuantity Int True

The total quantity of items rejected across all line items in this shipment.

DateCreated Datetime True

The date the shipment was created in UTC.

DateReceived Datetime True

The date the shipment was initially received in UTC.

DateShipped Datetime True

The date the shipment was shipped in UTC.

TrackingArrivesAt Datetime False

The estimated date and time that the shipment will arrive.

TrackingCompany String False

The name of the shipping carrier company.

TrackingNumber String False

The tracking number used by the carrier to identify the shipment.

TrackingURL String False

The URL to track the shipment.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
MovementId String

The ID of the inventory movement (transfer or purchase order) this shipment belongs to.

LineItems String

The list of line items for the inventory shipment.

CData Python Connector for Shopify

Locations

Lists active inventory locations used for stock, fulfillment, and pickup.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Name supports the '=, !=' comparison operators.
  • IsActive supports the '=, !=' comparison operators.
  • AddressAddress1 supports the '=, !=' comparison operators.
  • AddressAddress2 supports the '=, !=' comparison operators.
  • AddressCity supports the '=, !=' comparison operators.
  • AddressCountry supports the '!=' comparison operator.
  • AddressProvince supports the '=, !=' comparison operators.
  • AddressZip supports the '=, !=' comparison operators.
  • IncludeInactive supports the '=' comparison operator.
  • IncludeLegacy supports the '=' comparison operator.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • Value supports the '=' comparison operator.

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

  SELECT * FROM Locations WHERE Id = 'Val1'
  SELECT * FROM Locations WHERE Name = 'Val1'
  SELECT * FROM Locations WHERE IsActive = true
  SELECT * FROM Locations WHERE AddressAddress1 = 'Val1'
  SELECT * FROM Locations WHERE AddressAddress2 = 'Val1'
  SELECT * FROM Locations WHERE AddressCity = 'Val1'
  SELECT * FROM Locations WHERE AddressCountry != 'Val1'
  SELECT * FROM Locations WHERE AddressProvince = 'Val1'
  SELECT * FROM Locations WHERE AddressZip = 'Val1'
  SELECT * FROM Locations WHERE IncludeInactive = true
  SELECT * FROM Locations WHERE IncludeLegacy = true
  SELECT * FROM Locations WHERE Namespace = 'Val1'
  SELECT * FROM Locations WHERE Key = 'Val1'
  SELECT * FROM Locations WHERE Value = 'Val1'

Insert

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

Name, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode

Update

The following columns can be updated:

Name, IsActive, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the location.

LegacyResourceId String True

The Id of the corresponding resource in the REST Admin API.

Name String False

The name of the location, such as a store, office, or warehouse.

Activatable Bool True

Indicates whether the location can be reactivated.

Deactivatable Bool True

Indicates whether the location can be deactivated.

Deletable Bool True

Indicates whether the location can be deleted.

AddressVerified Bool True

Indicates whether the location's address has been verified.

DeactivatedAt String True

The date and time when the location was deactivated. For example, 3:30 p.m. on September 7, 2019 (UTC) is represented as '2019-09-07T15:30:00Z'.

IsActive Bool False

Indicates whether the location is active.

ShipsInventory Bool True

Indicates whether the location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored.

IsFulfillmentService Bool True

Indicates whether the location functions as a fulfillment service.

FulfillsOnlineOrders Bool False

Indicates whether the location can fulfill online orders.

HasActiveInventory Bool True

Indicates whether the location has active inventory.

HasUnfulfilledOrders Bool True

Indicates whether the location has unfulfilled orders.

CreatedAt Datetime True

The date and time when the location was created.

UpdatedAt Datetime True

The date and time when the location was last updated.

AddressAddress1 String False

The first line of the location's address.

AddressAddress2 String False

The second line of the location's address.

AddressCity String False

The city from the address of the location (for example, 'Toronto')

AddressCountry String True

The country from the address of the location, returned as the country name (for example, 'Canada').

AddressFormatted String True

The formatted address of the location.

AddressLatitude Double True

The latitude coordinate of the location.

AddressLongitude Double True

The longitude coordinate of the location.

AddressPhone String False

The phone number associated with the location.

AddressProvince String True

The province, state, or region of the location.

AddressZip String False

The ZIP or postal code of the location.

AddressCountryCode String False

The ISO country code of the location.

The allowed values are AC, AD, AE, AF, AG, AI, AL, AM, AN, AO, AR, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MK, ML, MM, MN, MO, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PS, PT, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TA, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW, ZZ.

AddressProvinceCode String False

The ISO code for the province, state, or district of the location.

FulfillmentServiceId String True

The Id of the fulfillment service linked to the location.

LocalPickupSettingsV2Instructions String True

Additional instructions for customers using local pickup.

LocalPickupSettingsV2PickupTime String True

The estimated pickup time displayed to customers at checkout.

IncludeInactive Bool True

If true, also includes locations that have been deactivated.

IncludeLegacy Bool True

If true, also includes legacy fulfillment service locations.

Namespace String True

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

Key String True

The key for the metafield.

Value String True

The value of the metafield.

CData Python Connector for Shopify

MarketingActivities

Returns a list of external marketing activities.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Tactic supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • AppId supports the '=, !=' comparison operators.
  • AppTitle supports the '=, !=' comparison operators.
  • RemoteId supports the '=, IN' comparison operators.
  • ScheduledStart supports the '=, !=, <, >, >=, <=' comparison operators.
  • ScheduledEnd supports the '=, !=, <, >, >=, <=' comparison operators.
  • MarketingCampaignId supports the '=, !=' comparison operators.

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

  SELECT * FROM MarketingActivities WHERE Id = 'Val1'
  SELECT * FROM MarketingActivities WHERE Title = 'Val1'
  SELECT * FROM MarketingActivities WHERE Tactic = 'ABANDONED_CART'
  SELECT * FROM MarketingActivities WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM MarketingActivities WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM MarketingActivities WHERE AppId = 'Val1'
  SELECT * FROM MarketingActivities WHERE AppTitle = 'Val1'
  SELECT * FROM MarketingActivities WHERE RemoteId = 'Val1'
  SELECT * FROM MarketingActivities WHERE ScheduledStart = '2023-01-01 11:10:00'
  SELECT * FROM MarketingActivities WHERE ScheduledEnd = '2023-01-01 11:10:00'
  SELECT * FROM MarketingActivities WHERE MarketingCampaignId = 'Val1'

Insert

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

Title, Status, MarketingChannelType, Tactic, UtmSource, UtmMedium, UtmCampaign, ParentActivityId, ParentRemoteId, UrlParameterValue, AdSpendAmount, AdSpendCurrencyCode, HierarchyLevel, BudgetType, BudgetAmount, BudgetCurrencyCode, RemoteId, ScheduledStart, ScheduledEnd

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

Start, End, ChannelHandle, ReferringDomain, RemoteUrl, RemotePreviewImageUrl

Update

The following columns can be updated:

Title, Status, MarketingChannelType, Tactic, UtmSource, UtmMedium, UtmCampaign, AdSpendAmount, AdSpendCurrencyCode, BudgetType, BudgetAmount, BudgetCurrencyCode, RemoteId, ScheduledStart, ScheduledEnd

The following pseudo-columns can be used to update a record:

Start, End, ReferringDomain, RemoteUrl, RemotePreviewImageUrl

Delete

You can delete entries by specifying the following columns:

Id, RemoteId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally-unique ID.

Title String False

The title of the marketing activity.

Status String False

The status of the marketing activity.

The allowed values are ACTIVE, DELETED, DELETED_EXTERNALLY, DISCONNECTED, DRAFT, FAILED, INACTIVE, PAUSED, PENDING, SCHEDULED, UNDEFINED.

MarketingChannelType String False

The medium through which the marketing activity reached consumers.

The allowed values are DISPLAY, SOCIAL, EMAIL, REFERRAL, SEARCH.

Tactic String False

The marketing tactic for the marketing activity.

The allowed values are ABANDONED_CART, AD, AFFILIATE, LINK, LOYALTY, MESSAGE, NEWSLETTER, NOTIFICATION, POST, RETARGETING, SEO, STOREFRONT_APP, TRANSACTIONAL.

UtmSource String False

The UTM source for the marketing activity.

UtmMedium String False

The UTM medium for the marketing activity.

UtmCampaign String False

The UTM campaign for the marketing activity.

UtmTerm String True

Paid search terms used by a marketing campaign.

UtmContent String True

Identifies specific content in a marketing campaign.

ActivityListUrl String True

The URL of the marketing activity listing page in the marketing section.

SourceAndMedium String True

A contextual description of the marketing activity based on the platform and tactic used.

ParentActivityId String True

The ID of the parent marketing activity.

ParentRemoteId String True

The remote ID of the parent marketing activity.

UrlParameterValue String True

The value portion of the URL query parameter used in attributing sessions to this activity.

IsExternal Bool True

Whether the marketing activity represents an external marketing activity.

StatusTransitionedAt Datetime True

The date and time when the activity's status last changed.

AdSpendAmount Decimal False

The amount spent on the marketing activity. Decimal money amount.

AdSpendCurrencyCode String False

Currency of the ad spend.

CreatedAt Datetime True

The date and time when the marketing activity was created.

UpdatedAt Datetime True

The date and time when the marketing activity was updated.

StatusLabel String True

The rendered status of the marketing activity.

HierarchyLevel String True

The hierarchy level of the marketing activity.

InMainWorkflowVersion Bool True

Whether the marketing activity is in the main workflow version of marketing automation.

TargetStatus String True

The status to which the marketing activity is currently transitioning.

FormData String True

The completed content in the marketing activity creation form.

AppId String True

A globally-unique ID of the app which created this marketing activity.

AppTitle String True

The name of the app which created this marketing activity.

AppErrorCode String True

The error code generated when an app publishes the marketing activity.

AppUserErrors String True

The list of errors returned by the app.

BudgetType String False

The budget type for the marketing activity.

BudgetAmount Decimal False

The amount of budget for the marketing activity.

BudgetCurrencyCode String False

The currency code for the marketing activity budget.

StatusBadgeTypeV2 String True

The severity of the marketing activity's status.

MarketingEventId String True

A globally-unique ID of the associated marketing event.

RemoteId String False

An optional ID that helps Shopify validate engagement data.

ScheduledStart Datetime False

The date and time at which the activity is scheduled to start.

ScheduledEnd Datetime False

The date and time at which the activity is scheduled to end.

MarketingCampaignId String True

The id of the marketing campaign.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Start Datetime

The date and time at which the activity started.

End Datetime

The date and time at which the activity ended.

ChannelHandle String

The unique string identifier of the channel to which this activity belongs.

ReferringDomain String

The domain from which ad clicks are forwarded to the shop.

RemoteUrl String

The URL for viewing and/or managing the activity outside of Shopify.

RemotePreviewImageUrl String

The preview image URL for the marketing activity.

CData Python Connector for Shopify

Menus

Lists navigation menus used on the storefront.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.

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

  SELECT * FROM Menus WHERE Id = 'Val1'
  SELECT * FROM Menus WHERE Title = 'Val1'

Insert

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

Title, Handle, Items

Update

The following columns can be updated:

Title, Handle, Items

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the menu.

Title String False

The title of the menu.

Handle String False

The handle of the menu.

IsDefault Bool True

Indicates whether the menu is a default. The handle for default menus can't be updated, and default menus can't be deleted.

Items String False

A list of the menu's items, sorted by position.

CData Python Connector for Shopify

MetafieldDefinitions

Lists metafield definitions, including validation and presentation details.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • OwnerType supports the '=, IN' comparison operators.
  • PinnedStatus supports the '=' comparison operator.
  • ConstraintStatus supports the '=' comparison operator.
  • ConstraintSubtypeKey supports the '=' comparison operator.
  • ConstraintSubtypeValue supports the '=' comparison operator.

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

  SELECT * FROM MetafieldDefinitions WHERE Id = 'Val1'
  SELECT * FROM MetafieldDefinitions WHERE Namespace = 'Val1'
  SELECT * FROM MetafieldDefinitions WHERE Key = 'Val1'
  SELECT * FROM MetafieldDefinitions WHERE OwnerType = 'API_PERMISSION'
  SELECT * FROM MetafieldDefinitions WHERE PinnedStatus = 'ANY'
  SELECT * FROM MetafieldDefinitions WHERE ConstraintStatus = 'CONSTRAINED_AND_UNCONSTRAINED'
  SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeKey = 'Val1'
  SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeValue = 'Val1'

Insert

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

Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled, TypeName

The following pseudo-column can be used to create a new record:

Pin

Update

The following columns can be updated:

Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled

The following pseudo-column can be used to update a record:

Pin

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 for the metafield definition.

Namespace String False

The namespace, or container, that groups related metafields for this definition.

Key String False

The unique identifier for the metafield definition within its namespace.

Name String False

The human-readable name of the metafield definition.

PinnedPosition Int True

The position of the metafield definition in the pinned list, which determines its display order in the Shopify admin.

Description String False

The description of the metafield definition.

OwnerType String False

The resource type that the metafield definition is attached to.

The allowed values are API_PERMISSION, ARTICLE, BLOG, CARTTRANSFORM, COLLECTION, COMPANY, COMPANY_LOCATION, CUSTOMER, DELIVERY_CUSTOMIZATION, DISCOUNT, DRAFTORDER, FULFILLMENT_CONSTRAINT_RULE, GIFT_CARD_TRANSACTION, LOCATION, MARKET, ORDER, ORDER_ROUTING_LOCATION_RULE, PAGE, PAYMENT_CUSTOMIZATION, PRODUCT, PRODUCTVARIANT, SELLING_PLAN, SHOP, VALIDATION, MEDIA_IMAGE.

UseAsCollectionCondition Bool True

Indicates whether the metafield definition can be used as a collection condition.

ValidationStatus String True

The validation status for the metafields that belong to the metafield definition.

Validations String False

A list of validations for the metafields that belong to the definition. For example, a 'date' metafield definition can include a minimum date validation so that metafields created under it can only store dates after that date.

AccessAdmin String False

The default admin access setting for metafields under this definition.

AccessCustomerAccount String False

The customer account access setting for metafields under this definition.

AccessStorefront String False

The storefront access setting for metafields under this definition.

CapabilitiesAdminFilterableEligible Bool True

Indicates whether the definition is eligible for admin filtering.

CapabilitiesAdminFilterableEnabled Bool False

Indicates whether admin filtering is enabled for the definition.

CapabilitiesAdminFilterableStatus String True

The filter status of the metafield definition for admin use.

CapabilitiesSmartCollectionConditionEligible Bool True

Indicates whether the definition is eligible for use in smart collection conditions.

CapabilitiesSmartCollectionConditionEnabled Bool False

Indicates whether smart collection conditions are enabled for the definition.

ConstraintsKey String True

The category of resource subtypes that the definition applies to.

MetafieldsCount Int True

The number of metafields associated with the definition.

StandardTemplateId String True

A globally unique Id for the standard template associated with the definition.

TypeName String True

The name of the type for the metafield definition.

PinnedStatus String True

Filters metafield definitions by pinned status.

The allowed values are ANY, PINNED, UNPINNED.

ConstraintStatus String True

Filters metafield definitions by constraint status.

The allowed values are CONSTRAINED_AND_UNCONSTRAINED, CONSTRAINED_ONLY, UNCONSTRAINED_ONLY.

ConstraintSubtypeKey String True

Filters metafield definitions by the category of resource subtype they apply to.

ConstraintSubtypeValue String True

Filters metafield definitions by the specific subtype value within the identified category.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Pin Bool

Indicates whether to pin the metafield definition.

DeleteAllAssociatedMetafields Bool

Indicates whether to delete all metafields associated with the definition.

CData Python Connector for Shopify

Metafields

Lists metafields attached to one or more resource Ids.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Identifier supports the '=, IN' comparison operators.
  • Namespace supports the '=' comparison operator.
  • OwnerId supports the '=, IN' comparison operators.
  • OwnerResource supports the '=' comparison operator.

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

  SELECT * FROM Metafields WHERE OwnerResource = 'product' AND Id = 'Val1'
  SELECT * FROM Metafields WHERE OwnerResource = 'product' AND Identifier = 'Val1'
  SELECT * FROM Metafields WHERE OwnerResource = 'product' AND Namespace = 'Val1'
  SELECT * FROM Metafields WHERE OwnerResource = 'product' AND OwnerId = 'Val1'
  SELECT * FROM Metafields WHERE OwnerResource = 'product'

Insert

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

Namespace, Key, Value, Type, OwnerId

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A unique Id for the metafield.

LegacyResourceId Long True

The Id of the corresponding resource in the REST Admin API.

Identifier String True

The namespace and key combination for the metafield.

Namespace String True

The namespace, or container, that groups the metafield. Custom namespaces distinguish your metafields from those created by other apps.

Key String True

The unique key name of the metafield within its namespace.

Value String True

The data stored as metadata in the metafield.

Type String True

The data type of the metafield value.

Description String True

A human-readable description of the information stored in the metafield.

DefinitionId String True

The Id of the metafield definition the metafield belongs to, if any.

OwnerId String True

The Id of the resource that the metafield is attached to.

OwnerResource String True

The type of resource that the metafield is attached to.

The allowed values are product, variant, shop, draft_order, order, customer, collection, media_image, selling_plan, article, blog, page.

OwnerUpdatedAt Datetime True

The date and time when the resource that the metafield is attached to was last updated. This value is only returned if available otherwise it will be null.

CreatedAt Datetime True

The date and time when the metafield was created.

UpdatedAt Datetime True

The date and time when the metafield was last updated.

CData Python Connector for Shopify

OrderRiskAssessments

Lists fraud risk assessments attached to orders with scores and reasons.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRiskAssessments WHERE OrderId = 'Val1'

Insert

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

OrderId, RiskLevel, Facts (references OrderRiskAssessmentFacts)

OrderRiskAssessmentFacts Temporary Table Columns

Column NameTypeDescription
DescriptionStringA description of the fact.
SentimentStringIndicates whether the fact is a negative, neutral or positive contributor with regards to risk.

Columns

Name Type ReadOnly References Description
OrderId String True

The globally unique Id of the order being assessed.

RiskLevel String True

The likelihood that the order is fraudulent, as determined by this risk assessment.

The allowed values are HIGH, LOW, MEDIUM, NONE, PENDING.

Facts String True

Optional descriptive details about the risk assessment. Values are specific to the risk provider.

ProviderId String True

The globally unique Id of the provider that generated the assessment.

ProviderTitle String True

The name of the application or service that performed the risk assessment.

CData Python Connector for Shopify

Orders

Lists orders with customer, payment, fulfillment, duty, and tax details.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • PoNumber supports the '=, !=' comparison operators.
  • Name supports the '=, !=' comparison operators.
  • Email supports the '=, !=' comparison operators.
  • Test supports the '=, !=' comparison operators.
  • ConfirmationNumber supports the '=, !=' comparison operators.
  • DiscountCode supports the '=, !=' comparison operators.
  • ProcessedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • ReturnStatus supports the '=, !=' comparison operators.
  • TotalWeight supports the '=, !=, <, >, >=, <=' comparison operators.
  • CurrentSubtotalLineItemsQuantity supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CustomerId supports the '=, !=' comparison operators.
  • CurrentTotalPriceSetPresentmentMoneyAmount supports the '=, !=, >, >=, <, <=' comparison operators.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • Value supports the '=' comparison operator.

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

  SELECT * FROM Orders WHERE Id = 'Val1'
  SELECT * FROM Orders WHERE PoNumber = 'Val1'
  SELECT * FROM Orders WHERE Name = 'Val1'
  SELECT * FROM Orders WHERE Email = 'Val1'
  SELECT * FROM Orders WHERE Test = true
  SELECT * FROM Orders WHERE ConfirmationNumber = 'Val1'
  SELECT * FROM Orders WHERE DiscountCode = 'Val1'
  SELECT * FROM Orders WHERE ProcessedAt = '2023-01-01 11:10:00'
  SELECT * FROM Orders WHERE ReturnStatus = 'IN_PROGRESS'
  SELECT * FROM Orders WHERE TotalWeight = 'Val1'
  SELECT * FROM Orders WHERE CurrentSubtotalLineItemsQuantity = 123
  SELECT * FROM Orders WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Orders WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Orders WHERE CustomerId = 'Val1'
  SELECT * FROM Orders WHERE CurrentTotalPriceSetPresentmentMoneyAmount = '100.00'
  SELECT * FROM Orders WHERE Namespace = 'Val1'
  SELECT * FROM Orders WHERE Key = 'Val1'
  SELECT * FROM Orders WHERE Value = 'Val1'

Insert

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

PoNumber, SourceIdentifier, SourceName, Name, Email, Note, Phone, Tags, Test, ClosedAt, CurrencyCode, ProcessedAt, TaxesIncluded, CustomerAcceptsMarketing, DisplayFinancialStatus, DisplayFulfillmentStatus, PresentmentCurrencyCode, CustomerId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressPhone, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressPhone, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2

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

PurchasingEntityCompanyLocationId, ReferringSite, SourceUrl, UserId, DiscountCodeFreeShipping, DiscountCodeFixed, DiscountCodeFixedAmountSetPresentmentMoneyAmount, DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode, DiscountCodeFixedAmountSetShopMoneyAmount, DiscountCodeFixedAmountSetShopMoneyCurrencyCode, DiscountCodePercentage, DiscountCodePercentageValue, FulfillmentLocationId, FulfillmentNotifyCustomer, FulfillmentTrackingInfoNumber, FulfillmentTrackingInfoCompany, FulfillmentShipmentStatus, FulfillmentOriginAddressAddress1, FulfillmentOriginAddressAddress2, FulfillmentOriginAddressCity, FulfillmentOriginAddressCountryCode, FulfillmentOriginAddressProvinceCode, FulfillmentOriginAddressZip, OrderLineItems (references OrderLineItems), OrderShippingLines (references OrderShippingLines), OrderTaxLines (references OrderTaxLines), OrderTransactions (references OrderTransactions), OrderCustomAttributes (references OrderCustomAttributes), Metafields (references Metafields), OptionsInventoryBehaviour, OptionsSendFulfillmentRequest, OptionsSendReceipt

OrderLineItems Temporary Table Columns

Column NameTypeDescription
TitleStringThe title of the product at time of order creation.
VariantTitleStringThe title of the variant at time of order creation.
VariantIdStringA globally-unique ID.
ProductIdStringA globally-unique ID.
QuantityIntThe number of variant units ordered.
SkuStringThe variant SKU number.
TaxableBoolWhether the variant is taxable.
VendorStringThe name of the vendor who made the variant.
RequiresShippingBoolWhether physical shipping is required for the variant.
IsGiftCardBoolWhether the line item represents the purchase of a gift card.
OriginalUnitPriceSetPresentmentMoneyAmountDecimalDecimal money amount.
OriginalUnitPriceSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
OriginalUnitPriceSetShopMoneyAmountDecimalDecimal money amount.
OriginalUnitPriceSetShopMoneyCurrencyCodeStringCurrency of the money.
FulfillmentServiceStringThe handle of a fulfillment service that stocks the product variant belonging to a line item.
OrderLineItemCustomAttributes (references OrderLineItemCustomAttributes)StringAn array of custom information for the item that has been added to the cart. Often used to provide product customization options.
OrderLineItemTaxLines (references OrderLineItemTaxLines)StringA list of tax line objects, each of which details a tax applied to the item.

OrderShippingLines Temporary Table Columns

Column NameTypeDescription
TitleStringReturns the title of the shipping line.
CodeStringA reference to the shipping method.
SourceStringReturns the rate source for the shipping line.
OriginalPriceSetPresentmentMoneyAmountDecimalDecimal money amount.
OriginalPriceSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
OriginalPriceSetShopMoneyAmountDecimalDecimal money amount.
OriginalPriceSetShopMoneyCurrencyCodeStringCurrency of the money.
TaxLinesStringA list of tax line objects, each of which details a tax applicable to this shipping line.

OrderTaxLines Temporary Table Columns

Column NameTypeDescription
TitleStringThe name of the tax.
RateDoubleThe proportion of the line item price that the tax represents as a decimal.
ChannelLiableBoolWhether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line.
RatePercentageDoubleThe proportion of the line item price that the tax represents as a percentage.
PriceSetPresentmentMoneyAmountDecimalDecimal money amount.
PriceSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
PriceSetShopMoneyAmountDecimalDecimal money amount.
PriceSetShopMoneyCurrencyCodeStringCurrency of the money.

OrderTransactions Temporary Table Columns

Column NameTypeDescription
AmountSetPresentmentMoneyAmountDecimalDecimal money amount.
AmountSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
AmountSetShopMoneyAmountDecimalDecimal money amount.
AmountSetShopMoneyCurrencyCodeStringCurrency of the money.
AuthorizationCodeStringAuthorization code associated with the transaction.
DeviceIdStringThe ID of the device used to process the transaction.
GiftCardDetailsIdStringThe ID of the gift card used for this transaction.
KindStringThe kind of transaction.
LocationIdStringThe ID of the location where the transaction was processed.
ProcessedAtDatetimeDate and time when the transaction was processed.
ReceiptJsonStringThe transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction.
StatusStringThe status of this transaction.
TestBoolWhether the transaction is a test transaction.
UserIdStringStaff member who was logged into the Shopify POS device when the transaction was processed. (This column is available only with a ShopifyPlus subscription)

OrderCustomAttributes Temporary Table Columns

Column NameTypeDescription
KeyStringKey or name of the attribute.
ValueStringValue of the attribute.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

OrderLineItemCustomAttributes Temporary Table Columns

Column NameTypeDescription
KeyStringKey or name of the attribute.
ValueStringValue of the attribute.

OrderLineItemTaxLines Temporary Table Columns

Column NameTypeDescription
TitleStringThe name of the tax.
RateDoubleThe proportion of the line item price that the tax represents as a decimal.
ChannelLiableBoolWhether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line.
RatePercentageDoubleThe proportion of the line item price that the tax represents as a percentage.
PriceSetPresentmentMoneyAmountDecimalDecimal money amount.
PriceSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
PriceSetShopMoneyAmountDecimalDecimal money amount.
PriceSetShopMoneyCurrencyCodeStringCurrency of the money.

Update

The following columns can be updated:

PoNumber, Email, Note, Phone, Tags, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, Closed

The following pseudo-column can be used to update a record:

OrderCustomAttributes (references OrderCustomAttributes)

OrderCustomAttributes Temporary Table Columns

Column NameTypeDescription
KeyStringKey or name of the attribute.
ValueStringValue of the attribute.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id.

PoNumber String False

The purchase order number associated to this order.

Unpaid Bool True

Indicates whether no payments have been made for the order.

FullyPaid Bool True

Indicates whether the order has been paid in full.

SourceIdentifier String True

A unique POS or third-party order identifier. For example, '1234-12-1000' or '111-98567-54'. The 'receipt_number' field is derived from this value for POS orders.

SourceName String True

The name of the source associated with the order.

LegacyResourceId String True

The Id of the corresponding resource in the REST Admin API.

CanMarkAsPaid Bool True

Whether the order can be manually marked as paid.

Name String True

The identifier shown on the order page in the Shopify admin and the order status page. For example, '#1001', 'EN1001', or '1001-A'. This value isn't unique across multiple stores.

PaymentGatewayNames String True

A list of the names of all payment gateways used for the order. For example, 'Shopify Payments' and 'Cash on Delivery (COD)'.

Capturable Bool True

Indicates whether payment for the order can be captured.

Closed Bool True

Indicates whether the order is closed.

Confirmed Bool True

Indicates whether inventory has been reserved for the order.

Edited Bool True

Indicates whether the order has had any edits applied.

Email String False

The email address associated with the customer.

Fulfillable Bool True

Indicates whether there are line items that can be fulfilled. Returns 'false' when the order has no fulfillable line items. For a more granular view of the fulfillment status, refer to the object.

Note String False

The contents of the note associated with the order.

Phone String False

The phone number associated with the customer.

Refundable Bool True

Indicates whether the order can be refunded.

Restockable Bool True

Indicates whether any line item on the order can be restocked.

Tags String False

A comma-separated list of tags associated with the order. Updating 'tags' overwrites any existing tags previously added to the order. To add new tags without overwriting existing tags, use the mutation.

Test Bool True

Indicates whether the order is a test. Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled. A test order cannot be converted into a real order and vice versa.

CancelReason String True

The reason provided when the order was canceled. Returns 'null' if the order wasn't canceled.

CancelledAt Datetime True

The date and time when the order was canceled. Returns 'null' if the order wasn't canceled.

ClientIp String True

The IP address of the API client that created the order.

ClosedAt Datetime True

The date and time when the order was closed. Returns 'null' if the order is not closed.

ConfirmationNumber String True

A randomly generated alphanumeric identifier for the order that might be shown to the customer instead of the sequential order name. For example, XPAV284CT, R50KELTJP, or 35PKUN0UJ. This value is not guaranteed to be unique.

CurrencyCode String True

The shop currency when the order was placed.

CustomerLocale String True

A two-letter or three-letter language code, optionally followed by a region modifier.

DiscountCode String True

The discount code used for the order.

DiscountCodes String True

The discount codes used for the order.

EstimatedTaxes Bool True

Indicates whether taxes on the order are estimated. Returns 'false' when taxes on the order are finalized and aren't subject to change.

MerchantEditable Bool True

Indicates whether the order can be edited by the merchant. For example, canceled orders cannot be edited.

ProcessedAt Datetime True

The date and time when the order was processed. This might not match the date and time when the order was created.

ProductNetwork Bool True

Whether the customer also purchased items from other stores in the network.

RequiresShipping Bool True

Indicates whether the order has shipping lines or at least one line item that requires shipping.

RiskRecommendation String True

The recommendation for the order based on the results of the risk assessments (suggested merchant action regarding fraud risk).

ReturnStatus String True

The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

TaxesIncluded Bool True

Indicates whether taxes are included in the subtotal price of the order.

DutiesIncluded Bool True

Indicates whether duties are included in the subtotal price of the order.

TotalWeight String True

The total weight of the order before returns, in grams.

CanNotifyCustomer Bool True

Indicates whether a customer email exists for the order.

CurrentTotalWeight String True

The total weight of the order after returns, in grams.

CustomerAcceptsMarketing Bool True

Indicates whether the customer agreed to receive marketing materials.

DisplayFinancialStatus String True

The financial status of the order that can be shown to the merchant. Use only for display summary.

DisplayFulfillmentStatus String True

The fulfillment status of the order that can be shown to the merchant. Use only for display summary. For granular details, refer to the object.

FulfillmentsCount Int True

The count of fulfillments, including canceled fulfillments.

FulfillmentsCountPrecision String True

The count's precision, or the exactness of the value.

HasTimelineComment Bool True

Indicates whether the merchant added a timeline comment to the order.

MerchantEditableErrors String True

A list of reasons why the order cannot be edited. For example, 'Canceled orders cannot be edited'.

PresentmentCurrencyCode String True

The customer's payment currency code for the order.

RegisteredSourceUrl String True

The URL of the source that the order originated from, if found in the domain registry.

StatusPageUrl String True

The URL where the customer can check the order's current status.

SubtotalLineItemsQuantity Int True

The sum of quantities for all line items that contribute to the order's subtotal price.

BillingAddressMatchesShippingAddress Bool True

Indicates whether the billing address matches the shipping address.

CurrentSubtotalLineItemsQuantity Int True

The sum of quantities for all line items that contribute to the order's current subtotal price.

Number String True

The purchase order number associated with this order.

CreatedAt Datetime True

The date and time when the order was created in Shopify.

UpdatedAt Datetime True

The date and time when the order was last modified.

StaffMemberId String True

The staff member associated with the order. (Available only with a Shopify Plus subscription.)

AppId String True

The application Id.

MerchantOfRecordAppId String True

The unique identifier for the app designated as the merchant of record.

MerchantBusinessEntityId String True

The unique identifier for the merchant's business entity record in Shopify.

PhysicalLocationId String True

The unique identifier for a physical location (such as a retail store, warehouse, or fulfillment center).

ChannelInformationId String True

The unique identifier for the channel information object that links sales activity to a channel.

ChannelInformationChannelId String True

The unique identifier for the sales channel (for example, Online Store, POS, or a third-party channel).

ChannelInformationAppId String True

The unique identifier for the app associated with the sales channel.

PublicationId String True

The unique identifier for a publication that makes products available to a sales channel.

PurchasingEntityCustomerId String True

The unique identifier for the customer who is acting as the purchasing entity.

PurchasingEntityCompanyId String True

The unique identifier for the company that is acting as the purchasing entity (business-to-business).

CustomerId String True

The unique identifier for a customer record in Shopify.

CustomerFirstName String True

The customer's first name.

CustomerLastName String True

The customer's last name.

CustomerJourneySummaryReady Bool True

Indicates whether the attributed sessions for the order have been created yet.

CustomerJourneySummaryMomentsCount Int True

The total number of customer moments associated with this order. Returns 'null' if the order is still being attributed.

CustomerJourneySummaryMomentsCountPrecision String True

The count's precision, or the exactness of the value.

CustomerJourneySummaryCustomerOrderIndex Int True

The position of the current order within the customer's order history. Test orders aren't included.

CustomerJourneySummaryDaysToConversion Int True

The number of days between the first session and the order creation date. The first session is since the last order, or the first within the 30-day attribution window.

CustomerJourneySummaryFirstVisitId String True

A globally unique Id.

CustomerJourneySummaryFirstVisitSource String True

The source from which the customer visited the store (for example, a platform such as Facebook or Google, email, direct, domain, QR code, or unknown).

CustomerJourneySummaryFirstVisitLandingPage String True

The URL of the first page the customer landed on for the session.

CustomerJourneySummaryFirstVisitOccurredAt Datetime True

The date and time when the customer's session occurred.

CustomerJourneySummaryFirstVisitReferralCode String True

Marketing referral code from the link that the customer clicked to visit the store. Supports URL attributes: ref, source, or r.

CustomerJourneySummaryFirstVisitReferrerUrl String True

The webpage where the customer clicked a link that sent them to the online store.

CustomerJourneySummaryFirstVisitSourceDescription String True

A description that explicitly names the source for the first or last session.

CustomerJourneySummaryFirstVisitSourceType String True

The type of marketing tactic.

CustomerJourneySummaryFirstVisitLandingPageHtml String True

Landing page information with URL linked in HTML.

CustomerJourneySummaryFirstVisitReferralInfoHtml String True

Referral information with URLs linked in HTML.

CustomerJourneySummaryLastVisitId String True

A globally unique Id.

CustomerJourneySummaryLastVisitSource String True

The source from which the customer visited the store (for example, Facebook, Google, email, direct, domain, QR code, or unknown).

CustomerJourneySummaryLastVisitLandingPage String True

The URL of the first page the customer landed on for the session.

CustomerJourneySummaryLastVisitOccurredAt Datetime True

The date and time when the customer's session occurred.

CustomerJourneySummaryLastVisitReferralCode String True

Marketing referral code from the link that the customer clicked to visit the store. Supports URL attributes: ref, source, or r.

CustomerJourneySummaryLastVisitReferrerUrl String True

The webpage where the customer clicked a link that sent them to the online store.

CustomerJourneySummaryLastVisitSourceDescription String True

A description that explicitly names the source for the first or last session.

CustomerJourneySummaryLastVisitSourceType String True

The type of marketing tactic.

CustomerJourneySummaryLastVisitLandingPageHtml String True

Landing page information with URL linked in HTML.

CustomerJourneySummaryLastVisitReferralInfoHtml String True

Referral information with URLs linked in HTML.

DisplayAddressId String True

A globally unique Id.

DisplayAddressCoordinatesValidated Bool True

Indicates whether the address coordinates are valid.

DisplayAddressValidationResultSummary String True

The validation status leveraged by the address validation feature in the Shopify admin.

DisplayAddressName String True

The full name of the customer, based on firstName and lastName.

DisplayAddressFirstName String True

The customer's first name.

DisplayAddressLastName String True

The customer's last name.

DisplayAddressAddress1 String True

The first line of the address (typically the street address or PO Box number).

DisplayAddressAddress2 String True

The second line of the address (typically an apartment, suite, or unit).

DisplayAddressCity String True

The name of the city, district, village, or town.

DisplayAddressCompany String True

The name of the customer's company or organization.

DisplayAddressCountry String True

The name of the country.

DisplayAddressLatitude Double True

The latitude coordinate of the customer address.

DisplayAddressLongitude Double True

The longitude coordinate of the customer address.

DisplayAddressPhone String True

A unique phone number for the customer, formatted using the E.164 standard (for example, +16135551111).

DisplayAddressProvince String True

The region of the address, such as the province, state, or district.

DisplayAddressZip String True

The ZIP or postal code of the address.

DisplayAddressFormattedArea String True

A comma-separated list of city, province, and country.

DisplayAddressProvinceCode String True

The two-letter region code (for example, ON).

DisplayAddressCountryCodeV2 String True

The two-letter country code (for example, US).

BillingAddressId String True

A globally unique Id.

BillingAddressCoordinatesValidated Bool True

Indicates whether the address coordinates are valid.

BillingAddressValidationResultSummary String True

The validation status leveraged by the address validation feature in the Shopify admin.

BillingAddressName String True

The full name of the customer, based on firstName and lastName.

BillingAddressFirstName String True

The customer's first name.

BillingAddressLastName String True

The customer's last name.

BillingAddressAddress1 String True

The first line of the address (typically the street address or PO Box number).

BillingAddressAddress2 String True

The second line of the address (typically an apartment, suite, or unit).

BillingAddressCity String True

The name of the city, district, village, or town.

BillingAddressCompany String True

The name of the customer's company or organization.

BillingAddressCountry String True

The name of the country.

BillingAddressLatitude Double True

The latitude coordinate of the customer address.

BillingAddressLongitude Double True

The longitude coordinate of the customer address.

BillingAddressPhone String True

A unique phone number for the customer, formatted using the E.164 standard (for example, +16135551111).

BillingAddressProvince String True

The region of the address, such as the province, state, or district.

BillingAddressZip String True

The ZIP or postal code of the address.

BillingAddressFormattedArea String True

A comma-separated list of city, province, and country.

BillingAddressProvinceCode String True

The two-letter region code (for example, ON).

BillingAddressCountryCodeV2 String True

The two-letter country code (for example, US).

ShippingAddressId String False

A globally unique Id.

ShippingAddressCoordinatesValidated Bool True

Indicates whether the address coordinates are valid.

ShippingAddressValidationResultSummary String True

The validation status leveraged by the address validation feature in the Shopify admin.

ShippingAddressName String True

The full name of the customer, based on firstName and lastName.

ShippingAddressFirstName String False

The customer's first name.

ShippingAddressLastName String False

The customer's last name.

ShippingAddressAddress1 String False

The first line of the address (typically the street address or PO Box number).

ShippingAddressAddress2 String False

The second line of the address (typically an apartment, suite, or unit).

ShippingAddressCity String False

The name of the city, district, village, or town.

ShippingAddressCompany String False

The name of the customer's company or organization.

ShippingAddressCountry String False

The name of the country.

ShippingAddressLatitude Double True

The latitude coordinate of the customer address.

ShippingAddressLongitude Double True

The longitude coordinate of the customer address.

ShippingAddressPhone String False

A unique phone number for the customer, formatted using the E.164 standard (for example, +16135551111).

ShippingAddressProvince String False

The region of the address, such as the province, state, or district.

ShippingAddressZip String False

The ZIP or postal code of the address.

ShippingAddressFormattedArea String True

A comma-separated list of city, province, and country.

ShippingAddressProvinceCode String False

The two-letter region code (for example, ON).

ShippingAddressCountryCodeV2 String False

The two-letter country code (for example, US).

ShippingLineId String True

A globally unique Id.

ShippingLineCarrierIdentifier String True

A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service.

ShippingLineTitle String True

The title of the shipping line.

ShippingLineCode String True

A reference to the shipping method.

ShippingLineCustom Bool True

Indicates whether the shipping line is custom.

ShippingLinePhone String True

The phone number at the shipping address.

ShippingLineSource String True

The rate source for the shipping line.

ShippingLineDeliveryCategory String True

The general classification of the delivery method.

ShippingLineShippingRateHandle String True

A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users.

ShippingLineRequestedFulfillmentServiceId String True

The Id of the fulfillment service.

PaymentTermsId String True

A globally unique Id.

PaymentTermsTranslatedName String True

The payment terms name, translated into the shop admin's preferred language.

PaymentTermsPaymentTermsName String True

The name of the payment terms template used to create the payment terms.

PaymentTermsOverdue Bool True

Indicates whether the payment terms have overdue payment schedules.

PaymentTermsDueInDays Int True

The duration of the payment terms in days based on the template used.

PaymentTermsPaymentTermsType String True

The payment terms template type used to create the payment terms.

PaymentTermsDraftOrderId String True

A globally unique Id.

CartDiscountAmountSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CartDiscountAmountSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CartDiscountAmountSetShopMoneyAmount Decimal True

Decimal money amount.

CartDiscountAmountSetShopMoneyCurrencyCode String True

Currency of the money.

ChannelInformationChannelDefinitionId String True

The unique Id for the channel definition.

CurrentCartDiscountAmountSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentCartDiscountAmountSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentCartDiscountAmountSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentCartDiscountAmountSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentSubtotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentSubtotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentSubtotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentSubtotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalAdditionalFeesSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalAdditionalFeesSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalAdditionalFeesSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalAdditionalFeesSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalDiscountsSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalDiscountsSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalDiscountsSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalDiscountsSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalDutiesSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalDutiesSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalDutiesSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalDutiesSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalTaxSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalTaxSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalTaxSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalTaxSetShopMoneyCurrencyCode String True

Currency of the money.

NetPaymentSetPresentmentMoneyAmount Decimal True

Decimal money amount.

NetPaymentSetPresentmentMoneyCurrencyCode String True

Currency of the money.

NetPaymentSetShopMoneyAmount Decimal True

Decimal money amount.

NetPaymentSetShopMoneyCurrencyCode String True

Currency of the money.

OriginalTotalAdditionalFeesSetPresentmentMoneyAmount Decimal True

Decimal money amount.

OriginalTotalAdditionalFeesSetPresentmentMoneyCurrencyCode String True

Currency of the money.

OriginalTotalAdditionalFeesSetShopMoneyAmount Decimal True

Decimal money amount.

OriginalTotalAdditionalFeesSetShopMoneyCurrencyCode String True

Currency of the money.

OriginalTotalDutiesSetPresentmentMoneyAmount Decimal True

Decimal money amount.

OriginalTotalDutiesSetPresentmentMoneyCurrencyCode String True

Currency of the money.

OriginalTotalDutiesSetShopMoneyAmount Decimal True

Decimal money amount.

OriginalTotalDutiesSetShopMoneyCurrencyCode String True

Currency of the money.

OriginalTotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

OriginalTotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

OriginalTotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

OriginalTotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

PaymentCollectionDetailsAdditionalPaymentCollectionUrl String True

The URL to collect an additional payment on the order.

RefundDiscrepancySetPresentmentMoneyAmount Decimal True

Decimal money amount.

RefundDiscrepancySetPresentmentMoneyCurrencyCode String True

Currency of the money.

RefundDiscrepancySetShopMoneyAmount Decimal True

Decimal money amount.

RefundDiscrepancySetShopMoneyCurrencyCode String True

Currency of the money.

SubtotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

SubtotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

SubtotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

SubtotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

TotalCapturableSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalCapturableSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalCapturableSetShopMoneyAmount Decimal True

Decimal money amount.

TotalCapturableSetShopMoneyCurrencyCode String True

Currency of the money.

TotalDiscountsSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalDiscountsSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalDiscountsSetShopMoneyAmount Decimal True

Decimal money amount.

TotalDiscountsSetShopMoneyCurrencyCode String True

Currency of the money.

TotalOutstandingSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalOutstandingSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalOutstandingSetShopMoneyAmount Decimal True

Decimal money amount.

TotalOutstandingSetShopMoneyCurrencyCode String True

Currency of the money.

TotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

TotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

TotalReceivedSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalReceivedSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalReceivedSetShopMoneyAmount Decimal True

Decimal money amount.

TotalReceivedSetShopMoneyCurrencyCode String True

Currency of the money.

TotalRefundedSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalRefundedSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalRefundedSetShopMoneyAmount Decimal True

Decimal money amount.

TotalRefundedSetShopMoneyCurrencyCode String True

Currency of the money.

TotalRefundedShippingSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalRefundedShippingSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalRefundedShippingSetShopMoneyAmount Decimal True

Decimal money amount.

TotalRefundedShippingSetShopMoneyCurrencyCode String True

Currency of the money.

TotalShippingPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalShippingPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalShippingPriceSetShopMoneyAmount Decimal True

Decimal money amount.

TotalShippingPriceSetShopMoneyCurrencyCode String True

Currency of the money.

TotalTaxSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalTaxSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalTaxSetShopMoneyAmount Decimal True

Decimal money amount.

TotalTaxSetShopMoneyCurrencyCode String True

Currency of the money.

TotalTipReceivedSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalTipReceivedSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalTipReceivedSetShopMoneyAmount Decimal True

Decimal money amount.

TotalTipReceivedSetShopMoneyCurrencyCode String True

Currency of the money.

TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyAmount Decimal True

A monetary value in decimal format (for example, 12.99).

TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyCurrencyCode String True

The three-letter currency code (ISO 4217 or legacy/non-standard) (for example, USD).

TotalCashRoundingAdjustmentPaymentSetShopMoneyAmount Decimal True

A monetary value in decimal format (for example, 12.99).

TotalCashRoundingAdjustmentPaymentSetShopMoneyCurrencyCode String True

The three-letter currency code (ISO 4217 or legacy/non-standard) (for example, USD).

TotalCashRoundingAdjustmentRefundSetPresentmentMoneyAmount Decimal True

A monetary value in decimal format (for example, 12.99).

TotalCashRoundingAdjustmentRefundSetPresentmentMoneyCurrencyCode String True

The three-letter currency code (ISO 4217 or legacy/non-standard) (for example, USD).

TotalCashRoundingAdjustmentRefundSetShopMoneyAmount Decimal True

A monetary value in decimal format (for example, 12.99).

TotalCashRoundingAdjustmentRefundSetShopMoneyCurrencyCode String True

The three-letter currency code (ISO 4217 or legacy/non-standard) (for example, USD).

RetailLocationId String True

A globally unique Id.

Namespace String True

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

Key String True

The key for the metafield.

Value String True

The value of the metafield.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
PurchasingEntityCompanyLocationId String

The Id of the purchasing company's location for the order.

ReferringSite String

The website where the customer clicked a link to the shop.

SourceUrl String

A valid URL to the original order on the originating surface. Displayed to merchants on the Order Details page. Invalid URLs aren't shown.

UserId String

The Id of the user logged into Shopify POS who processed the order, if applicable.

DiscountCodeFreeShipping String

A free shipping discount code applied to shipping on an order.

DiscountCodeFixed String

A fixed-amount discount code applied to line items on the order.

DiscountCodeFixedAmountSetPresentmentMoneyAmount Decimal

Decimal money amount.

DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode String

Currency of the money.

DiscountCodeFixedAmountSetShopMoneyAmount Decimal

Decimal money amount.

DiscountCodeFixedAmountSetShopMoneyCurrencyCode String

Currency of the money.

DiscountCodePercentage String

A percentage discount code applied to line items on the order.

DiscountCodePercentageValue Double

The amount deducted from the order total. When creating an order, this value is the percentage to deduct.

FulfillmentLocationId String

The Id of the location to fulfill the order from.

FulfillmentNotifyCustomer Bool

Indicates whether the customer should be notified of fulfillment changes.

FulfillmentTrackingInfoNumber String

The tracking number of the fulfillment.

FulfillmentTrackingInfoCompany String

The name of the tracking company.

FulfillmentShipmentStatus String

The status of the shipment.

FulfillmentOriginAddressAddress1 String

The street address of the fulfillment location.

FulfillmentOriginAddressAddress2 String

The second line of the address (apartment, suite, or unit).

FulfillmentOriginAddressCity String

The city of the fulfillment location.

FulfillmentOriginAddressCountryCode String

The country of the fulfillment location.

FulfillmentOriginAddressProvinceCode String

The province of the fulfillment location.

FulfillmentOriginAddressZip String

The ZIP/postal code of the fulfillment location.

OrderLineItems String

The line items to create for the order.

OrderShippingLines String

A list of shipping method objects used for the order.

OrderTaxLines String

A list of tax line objects for the order. When creating an order through the API, tax lines can be specified on the order or the line items, but not both. Tax lines specified on the order are split across the taxable line items.

OrderTransactions String

The payment transactions to create for the order.

OrderCustomAttributes String

A list of extra information added to the order. Appears in the Additional details section of the order details page.

Metafields String

A list of metafields to add to the order.

OptionsInventoryBehaviour String

The behavior to use when updating inventory.

The allowed values are BYPASS, DECREMENT_IGNORING_POLICY, DECREMENT_OBEYING_POLICY.

OptionsSendFulfillmentRequest Bool

Indicates whether to send a shipping confirmation to the customer.

OptionsSendReceipt Bool

Indicates whether to send an order confirmation to the customer.

CData Python Connector for Shopify

OrderTransactions

Lists payment transactions associated with orders (authorization, capture, refund).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderTransactions WHERE ResourceId = 'Val1'

Insert

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

ResourceId, ParentTransactionId

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

Amount, Currency, FinalCapture

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A globally unique Id.

ResourceId [KEY] String True

Orders.Id

A globally unique Id.

PaymentId String True

The payment Id associated with the transaction.

ParentTransactionId String True

The parent transaction associated with this transaction, for example the authorization of a capture.

UserId String True

The staff member logged into Shopify POS when the transaction was processed. (Available only with a Shopify Plus subscription.)

AccountNumber String True

The masked account number associated with the payment method.

Gateway String True

The payment gateway used to process the transaction.

Kind String True

The type of transaction (for example, authorization, capture, or refund).

Status String True

The status of the transaction.

Test Bool True

Whether the transaction is a test transaction.

AuthorizationCode String True

The authorization code associated with the transaction.

ErrorCode String True

A standardized error code, independent of the payment provider.

FormattedGateway String True

The human-readable payment gateway name used to process the transaction.

ManuallyCapturable Bool True

Whether the transaction can be manually captured.

MultiCapturable Bool True

Whether the transaction can be captured multiple times.

ProcessedAt Datetime True

The date and time when the transaction was processed.

ReceiptJson String True

The transaction receipt attached by the payment gateway. The content depends on the payment gateway.

SettlementCurrency String True

The settlement currency of the transaction.

AuthorizationExpiresAt Datetime True

The date and time when the authorization expires. Available only to Shopify Plus stores, and only for Shopify Payments authorizations.

SettlementCurrencyRate Decimal True

The conversion rate used when converting the transaction amount to settlement currency.

CreatedAt Datetime True

The date and time when the transaction was created.

AmountRoundingSetPresentmentMoneyAmount Decimal True

A monetary value in decimal format, allowing precise representation of cents or fractional currency. For example, 12.99.

AmountRoundingSetPresentmentMoneyCurrencyCode String True

The three-letter ISO 4217 currency code (or legacy/non-standard code) for the presentment currency. For example, USD.

AmountRoundingSetShopMoneyAmount Decimal True

A monetary value in decimal format, allowing precise representation of cents or fractional currency. For example, 12.99.

AmountRoundingSetShopMoneyCurrencyCode String True

The three-letter ISO 4217 currency code (or legacy/non-standard code) for the shop currency. For example, USD.

CurrencyExchangeAdjustmentId String True

A globally-unique ID of the adjustment on the transaction.

PaymentDetailsLocalPaymentDescriptor String True

The descriptor provided by the payment provider. Available only for Amazon Pay and Buy with Prime.

PaymentDetailsLocalPaymentMethodName String True

The local payment method name used by the buyer.

PaymentDetailsShopPayInstallmentsPaymentMethodName String True

The Shop Pay Installments payment method name used by the buyer.

PaymentDetailsCardAvsResultCode String True

The address verification system (AVS) response code. Always a single letter.

PaymentDetailsCardBin String True

The issuer identification number (IIN), formerly called the bank identification number (BIN), from the first digits of the card.

PaymentDetailsCardCompany String True

The name of the company that issued the customer's credit card.

PaymentDetailsCardCvvResultCode String True

The credit card company's response code for the card verification value (CVV). A single letter or empty string.

PaymentDetailsCardExpirationMonth Int True

The month when the credit card expires.

PaymentDetailsCardExpirationYear Int True

The year when the credit card expires.

PaymentDetailsCardName String True

The name of the credit card holder.

PaymentDetailsCardNumber String True

The customer's credit card number, with most leading digits redacted.

PaymentDetailsCardPaymentMethodName String True

The payment method name used by the buyer.

PaymentDetailsCardWallet String True

The digital wallet used for the payment.

PaymentIconId String True

A unique Id for the payment icon image.

PaymentIconWidth Int True

The original width of the image in pixels. Returns null if the image isn't hosted by Shopify.

PaymentIconAltText String True

Alt text describing the content or purpose of the image.

PaymentIconHeight Int True

The original height of the image in pixels. Returns null if the image isn't hosted by Shopify.

AmountSetPresentmentMoneyAmount Decimal True

The transaction amount in the presentment currency, expressed as a decimal.

AmountSetPresentmentMoneyCurrencyCode String True

The currency code of the transaction amount in the presentment currency.

AmountSetShopMoneyAmount Decimal True

The transaction amount in the shop's currency, expressed as a decimal.

AmountSetShopMoneyCurrencyCode String True

The currency code of the transaction amount in the shop's currency.

MaximumRefundableV2Amount Decimal True

The maximum refundable amount, expressed as a decimal.

MaximumRefundableV2CurrencyCode String True

The currency code of the maximum refundable amount.

ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt Datetime True

The date and time when the extended authorization expires. After this, the payment can no longer be captured.

ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt Datetime True

The date and time after which capturing the payment incurs an additional fee.

ShopifyPaymentsSetRefundSetAcquirerReferenceNumber String True

The acquirer reference number (ARN) for Visa or Mastercard transactions.

TotalUnsettledSetPresentmentMoneyAmount Decimal True

The unsettled transaction amount in the presentment currency, expressed as a decimal.

TotalUnsettledSetPresentmentMoneyCurrencyCode String True

The currency code of the unsettled amount in the presentment currency.

TotalUnsettledSetShopMoneyAmount Decimal True

The unsettled transaction amount in the shop's currency, expressed as a decimal.

TotalUnsettledSetShopMoneyCurrencyCode String True

The currency code of the unsettled amount in the shop's currency.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Amount Decimal

The amount to capture. The capture amount can't exceed the authorized amount.

Currency String

The currency of the amount to capture.

FinalCapture Bool

Indicates whether this is the final capture for the transaction. Applies to multi-capturable Shopify Payments authorizations. If true, any uncaptured authorization amount is voided after capture.

DeviceId String

The Id of the device used to process the transaction.

GiftCardDetailsId String

The Id of the gift card used for the transaction.

LocationId String

The Id of the location where the transaction was processed.

CData Python Connector for Shopify

Pages

Lists the shop's informational pages used on the storefront.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • IsPublished supports the '=, !=' comparison operators.
  • PublishedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Pages WHERE Id = 'Val1'
  SELECT * FROM Pages WHERE IsPublished = true
  SELECT * FROM Pages WHERE PublishedAt = '2023-01-01 11:10:00'
  SELECT * FROM Pages WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt

The following pseudo-column can be used to create a new record:

Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt

The following pseudo-columns can be used to update a record:

RedirectNewHandle, Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id.

Title String False

The title of the page.

Body String False

The text content of the page, including HTML markup.

BodySummary String True

The first 150 characters of the page body. If the page body exceeds 150 characters, additional text is truncated with ellipses.

Handle String False

A unique, human-friendly string for the page. In themes, the Liquid templating language refers to a page by its handle.

TemplateSuffix String False

The suffix of the template used to render the page.

IsPublished Bool False

Indicates whether the page is visible.

PublishedAt Datetime False

The date and time when the page became visible. Returns null when the page isn't visible.

UpdatedAt Datetime True

The date and time when the page was last updated.

CreatedAt Datetime True

The date and time when the page was created.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
RedirectNewHandle Bool

Indicates whether a redirect is required after a new handle has been provided. If true, the old handle is redirected to the new one automatically.

Metafields String

The input fields used to create or update a metafield.

CData Python Connector for Shopify

PriceLists

Lists price lists configured for the shop (for example, business-to-business (B2B) tiers, or markets).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM PriceLists WHERE Id = 'Val1'

Insert

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

Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode

Update

The following columns can be updated:

Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id.

Currency String False

The currency used for fixed prices associated with this price list.

FixedPricesCount Int True

The total number of fixed prices on the price list.

Name String False

The unique name of the price list, used as a human-readable identifier.

ParentAdjustmentType String False

The type of price adjustment, such as a percentage increase or decrease.

ParentAdjustmentValue Double False

The numeric value of the price adjustment, where positive numbers reduce prices and negative numbers increase them.

ParentSettingsCompareAtMode String False

The adjustment setting type applied to compare-at prices on the price list.

CData Python Connector for Shopify

ProductMediaImages

Lists image media attached to products with alt text and ordering.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductMediaImages WHERE ProductId = 'Val1'

Insert

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

ProductId, AltText, MediaContentType, Url

Update

The following columns can be updated:

AltText, Url

Delete

You can delete entries by specifying the following columns:

Id, ProductId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the media image.

ProductId [KEY] String False

Products.Id

A globally unique Id for the product associated with the media image.

AltText String False

Alternative text that describes the nature or contents of the media image.

MediaContentType String True

The type of media content (for example, image or video).

Height Int True

The original height of the image in pixels. Contains null if the image isn't hosted by Shopify.

Width Int True

The original width of the image in pixels. Contains null if the image isn't hosted by Shopify.

Url String False

The URL location of the media image.

UpdatedAt Datetime True

The date and time when the file was last updated.

CData Python Connector for Shopify

ProductOptions

Lists product options (Size or Color). Limited by Shop.resourceLimits.maxProductOptions.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductOptions WHERE ProductId = 'Val1'

Insert

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

ProductId, Name, Position, OptionValues (references ProductOptionValues)

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

LinkedMetafieldKey, LinkedMetafieldNamespace, LinkedMetafieldValues, CreateVariantStrategy

ProductOptionValues Temporary Table Columns

Column NameTypeDescription
ProductIdStringA globally-unique ID.
ProductOptionIdStringA globally-unique ID.
NameStringValue associated with an option.
LinkedMetafieldValueStringMetafield value associated with an option.
VariantStrategyStringThe strategy defines which behavior is observed regarding variants. The strategy 'LEAVE_AS_IS' is used by default - variants are not created nor deleted. If set to 'MANAGE', variants are created and deleted according to the option values to add and to delete.

Update

The following columns can be updated:

ProductId, Name, Position

The following pseudo-columns can be used to update a record:

LinkedMetafieldKey, LinkedMetafieldNamespace

Delete

You can delete entries by specifying the following columns:

Id, ProductId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id of the product option.

ProductId String False

Products.Id

A globally unique Id of the associated product.

Name String False

The name of the product option.

Position Int False

The position of the product option.

Values String True

The values corresponding to the product option name.

OptionValues String True

All option value objects associated with the product option, including values not assigned to any variants.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
LinkedMetafieldKey String

The key of the metafield linked to this option.

LinkedMetafieldNamespace String

The namespace of the metafield linked to this option.

LinkedMetafieldValues String

A comma-separated list of values associated with the option.

CreateVariantStrategy String

Defines how variants are created when new options are added. LEAVE_AS_IS: No new variants are created. Existing variants are updated with the first option value. CREATE: New variants are generated for every combination of existing variant option values and new option values.

The allowed values are CREATE, LEAVE_AS_IS.

DeleteVariantStrategy String

Defines how variants are handled when options are deleted. DEFAULT: The option might only have one corresponding value. NON_DESTRUCTIVE: The option can have multiple values and deletion only succeeds if no variants are removed. POSITION: The option can have multiple values. Duplicates are resolved by deleting remaining variants in descending position order.

The allowed values are DEFAULT, NON_DESTRUCTIVE, POSITION.

CData Python Connector for Shopify

ProductOptionValues

Lists all possible option values for a given product option, even if not used by a variant.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductOptionValues WHERE ProductId = 'Val1'

Insert

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

ProductId, ProductOptionId, Name, LinkedMetafieldValue

The following pseudo-column can be used to create a new record:

VariantStrategy

Update

The following columns can be updated:

ProductId, ProductOptionId, Name, LinkedMetafieldValue

Delete

You can delete entries by specifying the following columns:

ProductId, ProductOptionId, Id

Columns

Name Type ReadOnly References Description
ProductId String False

A globally unique Id of the product.

ProductOptionId String False

A globally unique Id of the associated product option.

ProductOptionName String True

The name of the product option.

Id [KEY] String False

A globally unique Id of the product option value.

Name String False

The value associated with the product option.

LinkedMetafieldValue String False

The metafield value associated with the product option value.

HasVariants Bool True

Indicates whether the product option value has any linked variants.

SwatchColor String True

The color swatch associated with the product option value.

SwatchImageId String True

The image swatch associated with the product option value. A globally unique Id.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
VariantStrategy String

Defines how variants are managed for the option values. LEAVE_AS_IS (default): no variants are created or deleted. MANAGE: variants are created and deleted according to the option values added or removed.

The allowed values are LEAVE_AS_IS, MANAGE.

CData Python Connector for Shopify

ProductResourceFeedbacks

Lists product resource feedback items visible to the current application.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operator. The connector processes other filters client-side within the connector.

  • ProductId supports the '=' comparison operator.

For example, the following query is processed server-side:

  SELECT * FROM ProductResourceFeedbacks WHERE ProductId = 'Val1'

Insert

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

ProductId, FeedbackGeneratedAt, Messages, ProductUpdatedAt, State

Columns

Name Type ReadOnly References Description
ProductId [KEY] String True

Products.Id

The Id of the product associated with the resource feedback.

FeedbackGeneratedAt Datetime True

The date and time when the feedback was generated, used to determine whether new feedback is outdated compared to existing feedback.

Messages String True

The feedback messages presented to the merchant.

ProductUpdatedAt Datetime True

The date and time when the associated product was last updated.

State String True

The current state of the feedback, indicating whether merchant action is required.

The allowed values are ACCEPTED, REQUIRES_ACTION.

CData Python Connector for Shopify

Products

Lists products with titles, status, variants, media, and publishing details.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Handle supports the '=, IN' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • Vendor supports the '=, !=' comparison operators.
  • TotalInventory supports the '=, !=, <, >, >=, <=' comparison operators.
  • HasOnlyDefaultVariant supports the '=, !=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • ProductType supports the '=, !=' comparison operators.
  • PublicationId supports the '=' comparison operator.
  • VariantId supports the '=' comparison operator.
  • VariantTitle supports the '=' comparison operator.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • Value supports the '=' comparison operator.

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

  SELECT * FROM Products WHERE Id = 'Val1'
  SELECT * FROM Products WHERE Title = 'Val1'
  SELECT * FROM Products WHERE Handle = 'Val1'
  SELECT * FROM Products WHERE Status = 'Val1'
  SELECT * FROM Products WHERE Vendor = 'Val1'
  SELECT * FROM Products WHERE TotalInventory = 123
  SELECT * FROM Products WHERE HasOnlyDefaultVariant = true
  SELECT * FROM Products WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Products WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Products WHERE ProductType = 'Val1'
  SELECT * FROM Products WHERE PublicationId = 'Val1'
  SELECT * FROM Products WHERE VariantId = 'Val1'
  SELECT * FROM Products WHERE VariantTitle = 'Val1'
  SELECT * FROM Products WHERE Namespace = 'Val1'
  SELECT * FROM Products WHERE Key = 'Val1'
  SELECT * FROM Products WHERE Value = 'Val1'

Insert

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

DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, IsGiftCard, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan

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

Metafields (references Metafields), BundleComponents (references ProductBundleComponents)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

ProductBundleComponents Temporary Table Columns

Column NameTypeDescription
ComponentProductIdStringA globally-unique ID.
OptionSelections (references ProductBundleComponentOptionSelections)StringThe options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle.
QuantityIntThe quantity of the component product set for this bundle line. It will be null if there's a quantityOption present.
QuantityOptionNameStringThe name of the option value.
QuantityOptionValuesStringThe quantity values of the option.

ProductBundleComponentOptionSelections Temporary Table Columns

Column NameTypeDescription
ParentOptionNameStringThe product option’s name.
ComponentOptionIdStringA globally-unique ID.
ValuesStringThe component option values that are actively selected for this relationship.

Update

The following columns can be updated:

DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan

The following pseudo-columns can be used to update a record:

Metafields (references Metafields), BundleComponents (references ProductBundleComponents)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

ProductBundleComponents Temporary Table Columns

Column NameTypeDescription
ComponentProductIdStringA globally-unique ID.
OptionSelections (references ProductBundleComponentOptionSelections)StringThe options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle.
QuantityIntThe quantity of the component product set for this bundle line. It will be null if there's a quantityOption present.
QuantityOptionNameStringThe name of the option value.
QuantityOptionValuesStringThe quantity values of the option.

ProductBundleComponentOptionSelections Temporary Table Columns

Column NameTypeDescription
ParentOptionNameStringThe product option’s name.
ComponentOptionIdStringA globally-unique ID.
ValuesStringThe component option values that are actively selected for this relationship.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id of the product.

LegacyResourceId Long True

The Id of the corresponding resource in the REST Admin API.

Description String True

The description of the product, including HTML formatting.

DescriptionHtml String False

The description of the product, including HTML formatting.

Title String False

The title of the product.

Handle String False

A unique, human-friendly string based on the product's title.

Tags String False

A comma-separated list of tags associated with the product. Updating 'tags' overwrites existing tags. To add tags without overwriting, use a mutation.

Status String False

The product status, which controls visibility across all channels.

Vendor String False

The name of the product's vendor.

OnlineStorePreviewUrl String True

The preview URL of the product in the online store.

OnlineStoreUrl String True

The online store URL for the product. Contains null if the product isn't published to the Online Store channel.

TracksInventory Bool True

Indicates whether inventory tracking is enabled for the product.

TotalInventory Int True

The total quantity of inventory in stock.

HasOnlyDefaultVariant Bool True

Indicates whether the product has only a single variant with the default option and value.

HasOutOfStockVariants Bool True

Indicates whether the product has out-of-stock variants.

HasVariantsThatRequiresComponents Bool True

Indicates whether at least one product variant requires bundle components.

VariantsCount Int True

The total number of variants associated with the product.

VariantsCountPrecision String True

The precision of the variant count, indicating the exactness of the value.

TemplateSuffix String False

The theme template used when viewing the product in the store.

GiftCardTemplateSuffix String False

The theme template used when viewing the gift card in the store.

IsGiftCard Bool True

Indicates whether the product is a gift card.

PublishedAt Datetime True

The date and time when the product was published to the Online Store.

UpdatedAt Datetime True

The date and time when the product was last updated. This value can change for reasons such as inventory adjustments.

CreatedAt Datetime True

The date and time when the product was created.

ProductType String False

The product type specified by the merchant.

CategoryId String True

The globally unique Id of the taxonomy category.

CategoryName String True

The name of the taxonomy category. For example, Dog Beds.

CategoryFullName String True

The full taxonomy path of the category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds.

SeoTitle String False

The search engine optimization (SEO) title of the product.

SeoDescription String False

The SEO description of the product.

RequiresSellingPlan Bool False

Indicates whether the product can only be purchased with a selling plan (subscription).

SellingPlanGroupsCount Int True

The total number of selling plan groups associated with the product.

SellingPlanGroupsCountPrecision String True

The precision of the selling plan group count, indicating the exactness of the value.

PriceRangeMaxVariantPriceAmount Decimal True

The maximum variant price of the product, expressed as a decimal money amount.

PriceRangeMaxVariantPriceCurrencyCode String True

The currency code of the maximum variant price.

PriceRangeMinVariantPriceAmount Decimal True

The minimum variant price of the product, expressed as a decimal money amount.

PriceRangeMinVariantPriceCurrencyCode String True

The currency code of the minimum variant price.

CompareAtPriceRangeMaxVariantCompareAtPriceAmount Decimal True

The maximum compare-at price of the product's variants, expressed as a decimal money amount.

CompareAtPriceRangeMaxVariantCompareAtPriceCurrencyCode String True

The currency code of the maximum compare-at price.

CompareAtPriceRangeMinVariantCompareAtPriceAmount Decimal True

The minimum compare-at price of the product's variants, expressed as a decimal money amount.

CompareAtPriceRangeMinVariantCompareAtPriceCurrencyCode String True

The currency code of the minimum compare-at price.

MediaCount Int True

The total number of media items belonging to the product.

MediaCountPrecision String True

The precision of the media count, indicating the exactness of the value.

FeaturedMediaId String True

A globally unique Id of the featured media.

FeaturedMediaAlt String True

Alternative text that describes the featured media.

FeaturedMediaContentType String True

The content type of the featured media.

FeaturedMediaStatus String True

The current status of the featured media.

FeaturedMediaPreviewStatus String True

The current status of the featured media's preview image.

FeaturedMediaPreviewImageId String True

The Id of the preview image. Contains null until status is READY.

FeaturedMediaPreviewImageAltText String True

Alternative text that describes the preview image.

FeaturedMediaPreviewImageUrl String True

The URL location of the preview image.

FeaturedMediaPreviewImageWidth Int True

The original width of the preview image in pixels. Contains null if the image isn't hosted by Shopify.

FeaturedMediaPreviewImageHeight Int True

The original height of the preview image in pixels. Contains null if the image isn't hosted by Shopify.

AvailablePublicationsCount Int True

The number of publications the resource is published to without feedback errors.

AvailablePublicationsCountPrecision String True

The precision of the publication count, indicating the exactness of the value.

ResourcePublicationsCount Int True

The number of publications the resource is published to without feedback errors.

ResourcePublicationsCountPrecision String True

The precision of the publication count, indicating the exactness of the value.

FeedbackSummary String True

A summary of resource feedback related to the product.

FeedbackDetails String True

A list of AppFeedback entries detailing issues related to the product.

PublicationId String True

Filters by publication Ids associated with the product.

VariantId String True

Filters by the product variant Id.

VariantTitle String True

Filters by the product variant title.

Namespace String True

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

Key String True

The key for the metafield.

Value String True

The value of the metafield.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Metafields String

Additional customizable metafields for the product.

BundleComponents String

The bundle components associated with the product.

CData Python Connector for Shopify

ProductVariants

Lists product variants with pricing, inventory tracking, and option values.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ProductId supports the '=, !=' comparison operators.
  • Barcode supports the '=, !=' comparison operators.
  • Sku supports the '=, !=' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • Taxable supports the '=, !=' comparison operators.
  • DeliveryProfileId supports the '=, !=' comparison operators.
  • LocationInventoryQuantity supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM ProductVariants WHERE Id = 'Val1'
  SELECT * FROM ProductVariants WHERE ProductId = 'Val1'
  SELECT * FROM ProductVariants WHERE Barcode = 'Val1'
  SELECT * FROM ProductVariants WHERE Sku = 'Val1'
  SELECT * FROM ProductVariants WHERE Title = 'Val1'
  SELECT * FROM ProductVariants WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM ProductVariants WHERE Taxable = true
  SELECT * FROM ProductVariants WHERE DeliveryProfileId = 'Val1'
  SELECT * FROM ProductVariants WHERE LocationInventoryQuantity = 123

Insert

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

ProductId, Barcode, Sku, Price, CompareAtPrice, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin

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

MediaId, MediaSrc, InventoryQuantities (references InventoryItemInventoryLevelQuantities), OptionValues (references ProductOptionValues), Metafields (references Metafields), Strategy

InventoryItemInventoryLevelQuantities Temporary Table Columns

Column NameTypeDescription
InventoryLevelLocationIdStringA globally-unique ID.
QuantityIntThe quantity for the quantity name.

ProductOptionValues Temporary Table Columns

Column NameTypeDescription
ProductOptionIdStringA globally-unique ID.
ProductOptionNameStringThe product option's name.
IdStringA globally-unique ID.
NameStringValue associated with an option.
LinkedMetafieldValueStringMetafield value associated with an option.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

ProductId, Barcode, Sku, Price, CompareAtPrice, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin

The following pseudo-columns can be used to update a record:

MediaId, MediaSrc, OptionValues (references ProductOptionValues), Metafields (references Metafields), AllowPartialUpdates, InventoryAdjustments (references InventoryItemInventoryAdjustments)

ProductOptionValues Temporary Table Columns

Column NameTypeDescription
ProductOptionIdStringA globally-unique ID.
ProductOptionNameStringThe product option's name.
IdStringA globally-unique ID.
NameStringValue associated with an option.
LinkedMetafieldValueStringMetafield value associated with an option.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

InventoryItemInventoryAdjustments Temporary Table Columns

Column NameTypeDescription
AdjustmentIntThe adjustment of the available quantity at the location.
ChangeFromQuantityIntThe quantity to compare against before applying the delta.
LocationIdStringThe ID of the location where the available quantity should be adjusted.

Delete

You can delete entries by specifying the following columns:

Id, ProductId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id of the product variant.

LegacyResourceId Long True

The Id of the corresponding resource in the REST Admin API.

ProductId String False

Products.Id

A globally unique Id of the associated product.

Position Int True

The position of the product variant in the list of product variants. The first position in the list is 1.

DisplayName String True

The display name of the variant, based on the product's title and the variant's title.

Barcode String False

The barcode value associated with the product variant.

Sku String False

An identifier for the product variant in the shop. Required to connect to a fulfillment service.

Title String True

The title of the product variant.

RequiresComponents Bool True

Indicates whether the product variant requires components. If true, it can only be purchased as part of a parent bundle and is omitted from channels that don't support bundles.

UpdatedAt Datetime True

The date and time when the product variant was last updated.

CreatedAt Datetime True

The date and time when the product variant was created.

SelectedOptions String True

The list of product options applied to the variant.

AvailableForSale Bool True

Indicates whether the product variant is available for sale.

Price Decimal False

The price of the product variant in the default shop currency.

CompareAtPrice Decimal False

The compare-at price of the product variant in the default shop currency.

Taxable Bool False

Indicates whether tax is charged when the product variant is sold.

SellableOnlineQuantity Int True

The total sellable quantity of the variant for online channels. This does not represent total available inventory and might vary by customer location.

SellingPlanGroupsCount Int True

The total number of selling plan groups associated with the product variant.

SellingPlanGroupsCountPrecision String True

The precision of the selling plan group count, indicating the exactness of the value.

DeliveryProfileId String True

A globally unique Id of the delivery profile.

InventoryPolicy String False

Defines whether customers can place an order for the product variant when it is out of stock.

InventoryQuantity Int True

The total sellable quantity of the variant.

InventoryItemId String True

A globally unique Id of the inventory item.

InventoryItemUnitCostAmount Decimal False

The unit cost of the inventory item, expressed as a decimal money amount.

InventoryItemUnitCostCurrencyCode String True

The currency code of the unit cost for the inventory item.

InventoryItemHarmonizedSystemCode String False

The harmonized system code of the inventory item.

InventoryItemMeasurementWeightValue Double False

The weight value of the inventory item, based on the specified unit.

InventoryItemMeasurementWeightUnit String False

The unit of measurement for the inventory item's weight value.

InventoryItemRequiresShipping Bool False

Indicates whether the inventory item requires shipping.

InventoryItemTracked Bool False

Indicates whether inventory levels are tracked for the item.

InventoryItemCountryCodeOfOrigin String False

The ISO 3166-1 alpha-2 country code of where the item originated from.

InventoryItemProvinceCodeOfOrigin String False

The ISO 3166-2 alpha-2 province code of where the item originated from.

ImageId String True

A globally unique Id of the associated image.

ImageAltText String True

Alternative text that describes the image.

ImageHeight Int True

The original height of the image in pixels. Contains null if the image isn't hosted by Shopify.

ImageWidth Int True

The original width of the image in pixels. Contains null if the image isn't hosted by Shopify.

ImageUrl String True

The URL location of the image.

UnitPriceMeasurementMeasuredType String True

The type of measurement used for the unit price.

UnitPriceMeasurementQuantityUnit String True

The quantity unit used for the unit price measurement.

UnitPriceMeasurementQuantityValue Double True

The quantity value used for the unit price measurement.

UnitPriceMeasurementReferenceUnit String True

The reference unit used for the unit price measurement.

UnitPriceMeasurementReferenceValue Int True

The reference value used for the unit price measurement.

LocationInventoryQuantity Int True

Filters by the available inventory quantity of the variant at individual locations.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
MediaId String

The Id of the media associated with the variant.

MediaSrc String

The URL of the media associated with the variant.

InventoryQuantities String

The inventory quantities at each location where the variant is stocked. The number of entries can't exceed the plan limit.

OptionValues String

The custom properties that a shop owner uses to define product variants.

Metafields String

Additional customizable metafields for the product variant.

Strategy String

Defines how standalone variants are handled when creating new variants. DEFAULT: keeps the standalone variant. REMOVE_STANDALONE_VARIANT: deletes the standalone variant when new variants are created.

The allowed values are DEFAULT, REMOVE_STANDALONE_VARIANT, PRESERVE_STANDALONE_VARIANT.

AllowPartialUpdates Bool

Indicates whether partial updates are allowed. If true, valid changes are saved even when some variants contain errors. If false, any error prevents all updates.

InventoryAdjustments String

Adjust inventory quantities with deltas.

CData Python Connector for Shopify

Publications

Lists sales channel publications configured for the shop.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  SELECT * FROM Publications WHERE Id = 'Val1'
  SELECT * FROM Publications WHERE CatalogType = 'Val1'

Insert

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

AutoPublish, CatalogId

The following pseudo-column can be used to create a new record:

DefaultState

Update

The following column can be updated:

AutoPublish

The following pseudo-columns can be used to update a record:

PublishablesToAdd, PublishablesToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id of the publication.

AutoPublish Bool False

Indicates whether new products are automatically published to this publication.

SupportsFuturePublishing Bool True

Indicates whether the publication supports future publishing.

CatalogId String True

A globally unique Id of the catalog.

AddAllProductsOperationId String True

A globally unique Id of the add-all-products operation.

AddAllProductsOperationStatus String True

The status of the add-all-products operation.

AddAllProductsOperationProcessedRowCount Int True

The total number of processed rows, including imported, failed, and skipped rows.

AddAllProductsOperationRowCountCount Int True

The estimated total number of rows in the background operation.

AddAllProductsOperationRowCountExceedsMax Bool True

Indicates whether the operation exceeds the maximum number of reportable rows.

CatalogCsvOperationId String True

A globally unique Id of the catalog CSV operation.

CatalogCsvOperationStatus String True

The status of the catalog CSV operation.

CatalogCsvOperationProcessedRowCount Int True

The total number of processed rows, including imported, failed, and skipped rows.

CatalogCsvOperationRowCountCount Int True

The estimated total number of rows in the background CSV operation.

CatalogCsvOperationRowCountExceedsMax Bool True

Indicates whether the CSV operation exceeds the maximum number of reportable rows.

PublicationResourceOperationId String True

A globally unique Id of the publication resource operation.

PublicationResourceOperationStatus String True

The status of the publication resource operation.

PublicationResourceOperationProcessedRowCount Int True

The total number of processed rows, including imported, failed, and skipped rows.

PublicationResourceOperationRowCountCount Int True

The estimated total number of rows in the publication resource operation.

PublicationResourceOperationRowCountExceedsMax Bool True

Indicates whether the resource operation exceeds the maximum number of reportable rows.

CatalogType String True

The catalog type used to filter publications.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
DefaultState String

Indicates whether to create an empty publication or prepopulate it with all products.

The allowed values are ALL_PRODUCTS, EMPTY.

PublishablesToAdd String

A comma-separated list of publishable Ids to add. A maximum of 50 can be updated at once.

PublishablesToRemove String

A comma-separated list of publishable Ids to remove. A maximum of 50 can be updated at once.

CData Python Connector for Shopify

Refunds

Represents refunds of items or transactions on an order, with amounts and reasons.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM Refunds WHERE OrderId = 'Val1'

Insert

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

OrderId, Note, ProcessedAt, RefundLineItems (references RefundLineItems)

RefundLineItems Temporary Table Columns

Column NameTypeDescription
LineItemIdStringA globally-unique ID.
LineItemQuantityIntThe number of variant units ordered.
RestockTypeStringThe type of restock for the refunded line item.
LocationIdStringA globally-unique ID.

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A globally unique Id of the refund.

LegacyResourceId String True

The Id of the corresponding resource in the REST Admin API.

OrderId String True

Orders.Id

A globally unique Id of the associated order.

Note String True

An optional note associated with the refund.

CreatedAt Datetime True

The date and time when the refund was created.

UpdatedAt Datetime True

The date and time when the refund was last updated.

ProcessedAt Datetime True

The date and time when the refund was processed.

ReturnId String True

A globally unique Id of the associated return.

StaffMemberId String True

A globally unique Id of the staff member associated with the refund. (Available only with a ShopifyPlus subscription)

TotalRefundedSetPresentmentMoneyAmount Decimal True

The total refunded amount in the presentment currency, expressed as a decimal money amount.

TotalRefundedSetPresentmentMoneyCurrencyCode String True

The currency code of the total refunded amount in the presentment currency.

TotalRefundedSetShopMoneyAmount Decimal True

The total refunded amount in the shop's currency, expressed as a decimal money amount.

TotalRefundedSetShopMoneyCurrencyCode String True

The currency code of the total refunded amount in the shop's currency.

RefundLineItems String True

The list of line items included in the refund.

CData Python Connector for Shopify

Returns

Lists returns associated with orders, including statuses and dispositions.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM Returns WHERE OrderId = 'Val1'

Insert

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

OrderId, ReturnLineItems (references ReturnLineItems), ReturnExchangeLineItems (references ReturnExchangeLineItems)

ReturnLineItems Temporary Table Columns

Column NameTypeDescription
QuantityIntThe quantity being returned.
ReturnReasonDefinitionIdStringThe return reason definition id.
ReturnReasonNoteStringAdditional information about the reason for the return. Maximum length: 255 characters.
FulfillmentLineItemIdStringA globally-unique ID.

ReturnExchangeLineItems Temporary Table Columns

Column NameTypeDescription
VariantIdStringA globally-unique ID.
QuantityIntThe number of variant units ordered.
AppliedDiscountValueAmountDecimalThe discount to be applied to the exchange line item. The value of the discount as a fixed amount.
AppliedDiscountValueAmountCurrencyCodeStringThe discount to be applied to the exchange line item. Currency of the money.
AppliedDiscountValuePercentageDoubleThe discount to be applied to the exchange line item. The value of the discount as a percentage.
AppliedDiscountDescriptionStringThe discount to be applied to the exchange line item. The description of the discount.
GiftCardCodesStringThe gift card codes associated with the physical gift cards.

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A globally unique Id for the return record.

OrderId String True

Orders.Id

A globally-unique ID.

OrderReturnStatus String True

The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

Name String True

The system-generated name of the return.

Status String True

The current status of the return (for example, open, approved, or declined).

TotalQuantity Int True

The total number of line item units included in the return.

DeclineReason String True

The reason the return request was declined.

DeclineNote String True

The message sent to the customer when their return request was declined. Maximum length: 500 characters.

ReturnLineItems String True

A list of the line items that are part of the return.

ReturnExchangeLineItems String True

A list of new line items to be added to the order as part of an exchange.

ClosedAt Datetime True

The date and time when the return was closed.

CreatedAt Datetime True

The date and time when the return was created.

RequestApprovedAt Datetime True

The date and time when the return was approved.

CData Python Connector for Shopify

ScriptTags

Lists script tags that inject JavaScript into storefront pages.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  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 False

A globally unique Id for the script tag.

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, the script is cached and served by the CDN for up to 15 minutes after being returned. If false, the script is served directly without caching.

Src String False

The URL of the remote script.

DisplayScope String False

The page or pages of the online store where the script tag should be included.

The allowed values are ONLINE_STORE.

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.

CData Python Connector for Shopify

Segments

Lists customer segments defined in the shop.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  SELECT * FROM Segments WHERE Id = 'Val1'
  SELECT * FROM Segments WHERE Name = 'Val1'

Insert

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

Name, Query

Update

The following columns can be updated:

Name, Query

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the segment.

Name String False

The name of the segment (for example, 'High-value customers' or 'Subscribed to newsletter').

Query String False

The definition of the segment, composed of conditions based on customer attributes or behaviors.

CreationDate Datetime True

The date and time when the segment was created in the store.

LastEditDate Datetime True

The date and time when the segment was last updated.

CData Python Connector for Shopify

SellingPlanGroups

Lists selling plan groups used for subscriptions and prepaid options.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Name supports the '=' comparison operator.
  • CreatedAt supports the '<, >, >=' comparison operators.

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

  SELECT * FROM SellingPlanGroups WHERE Id = 'Val1'
  SELECT * FROM SellingPlanGroups WHERE Name = 'Val1'
  SELECT * FROM SellingPlanGroups WHERE CreatedAt < '2023-01-01 11:10:00'

Insert

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

AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans)

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

ProductIds, ProductVariantIds

SellingPlanGroupSellingPlans Temporary Table Columns

Column NameTypeDescription
IdStringA globally-unique ID.
NameStringA customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies.
CategoryStringThe category used to classify the selling plan for reporting purposes.
DescriptionStringBuyer facing string which describes the selling plan commitment.
OptionsStringThe values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values.
PositionIntRelative position of the selling plan for display. A lower position will be displayed before a higher position.
InventoryPolicyReserveStringWhen to reserve inventory for the order.
FixedBillingPolicyCheckoutChargeTypeStringThe charge type for the checkout charge.
FixedBillingPolicyCheckoutChargeValueAmountDecimalThe charge value for the checkout charge. Decimal money amount.
FixedBillingPolicyCheckoutChargeValuePercentageDoubleThe charge value for the checkout charge. The percentage value of the price used for checkout charge.
FixedBillingPolicyRemainingBalanceChargeExactTimeDatetimeThe exact time when to capture the full payment.
FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckoutStringThe period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration.
FixedBillingPolicyRemainingBalanceChargeTriggerStringWhen to capture payment for amount due.
RecurringBillingPolicyAnchorsStringSpecific anchor dates upon which the billing interval calculations should be made. Aggregate value.
RecurringBillingPolicyIntervalStringThe billing frequency, it can be either: day, week, month or year.
RecurringBillingPolicyIntervalCountIntThe number of intervals between billings.
RecurringBillingPolicyMaxCyclesIntMaximum number of billing iterations.
RecurringBillingPolicyMinCyclesIntMinimum number of billing iterations.
FixedDeliveryPolicyAnchorsStringThe specific anchor dates upon which the delivery interval calculations should be made. Aggregate value.
FixedDeliveryPolicyCutoffIntA buffer period for orders to be included in next fulfillment anchor.
FixedDeliveryPolicyFulfillmentExactTimeDatetimeThe date and time when the fulfillment should trigger.
FixedDeliveryPolicyFulfillmentTriggerStringWhat triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.
FixedDeliveryPolicyIntentStringWhether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
FixedDeliveryPolicyPreAnchorBehaviorStringThe fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
RecurringDeliveryPolicyAnchorsStringThe specific anchor dates upon which the delivery interval calculations should be made. Aggregate value.
RecurringDeliveryPolicyCutoffIntNumber of days which represent a buffer period for orders to be included in a cycle.
RecurringDeliveryPolicyIntentStringWhether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
RecurringDeliveryPolicyIntervalStringThe delivery frequency, it can be either: day, week, month or year.
RecurringDeliveryPolicyIntervalCountIntThe number of intervals between deliveries.
RecurringDeliveryPolicyPreAnchorBehaviorStringThe fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
FixedPricingPoliciesStringRepresents fixed selling plan pricing policies associated to the selling plan. Aggregate value.
RecurringPricingPoliciesStringRepresents recurring selling plan pricing policies associated to the selling plan. Aggregate value.
Metafields (references Metafields)StringAttaches additional metadata to a store's resources.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans), SellingPlansToUpdate (references SellingPlanGroupSellingPlans)

The following pseudo-column can be used to update a record:

SellingPlansToDelete

SellingPlanGroupSellingPlans Temporary Table Columns

Column NameTypeDescription
IdStringA globally-unique ID.
NameStringA customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies.
CategoryStringThe category used to classify the selling plan for reporting purposes.
DescriptionStringBuyer facing string which describes the selling plan commitment.
OptionsStringThe values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values.
PositionIntRelative position of the selling plan for display. A lower position will be displayed before a higher position.
InventoryPolicyReserveStringWhen to reserve inventory for the order.
FixedBillingPolicyCheckoutChargeTypeStringThe charge type for the checkout charge.
FixedBillingPolicyCheckoutChargeValueAmountDecimalThe charge value for the checkout charge. Decimal money amount.
FixedBillingPolicyCheckoutChargeValuePercentageDoubleThe charge value for the checkout charge. The percentage value of the price used for checkout charge.
FixedBillingPolicyRemainingBalanceChargeExactTimeDatetimeThe exact time when to capture the full payment.
FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckoutStringThe period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration.
FixedBillingPolicyRemainingBalanceChargeTriggerStringWhen to capture payment for amount due.
RecurringBillingPolicyAnchorsStringSpecific anchor dates upon which the billing interval calculations should be made. Aggregate value.
RecurringBillingPolicyIntervalStringThe billing frequency, it can be either: day, week, month or year.
RecurringBillingPolicyIntervalCountIntThe number of intervals between billings.
RecurringBillingPolicyMaxCyclesIntMaximum number of billing iterations.
RecurringBillingPolicyMinCyclesIntMinimum number of billing iterations.
FixedDeliveryPolicyAnchorsStringThe specific anchor dates upon which the delivery interval calculations should be made. Aggregate value.
FixedDeliveryPolicyCutoffIntA buffer period for orders to be included in next fulfillment anchor.
FixedDeliveryPolicyFulfillmentExactTimeDatetimeThe date and time when the fulfillment should trigger.
FixedDeliveryPolicyFulfillmentTriggerStringWhat triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.
FixedDeliveryPolicyIntentStringWhether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
FixedDeliveryPolicyPreAnchorBehaviorStringThe fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
RecurringDeliveryPolicyAnchorsStringThe specific anchor dates upon which the delivery interval calculations should be made. Aggregate value.
RecurringDeliveryPolicyCutoffIntNumber of days which represent a buffer period for orders to be included in a cycle.
RecurringDeliveryPolicyIntentStringWhether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
RecurringDeliveryPolicyIntervalStringThe delivery frequency, it can be either: day, week, month or year.
RecurringDeliveryPolicyIntervalCountIntThe number of intervals between deliveries.
RecurringDeliveryPolicyPreAnchorBehaviorStringThe fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
FixedPricingPoliciesStringRepresents fixed selling plan pricing policies associated to the selling plan. Aggregate value.
RecurringPricingPoliciesStringRepresents recurring selling plan pricing policies associated to the selling plan. Aggregate value.
Metafields (references Metafields)StringAttaches additional metadata to a store's resources.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the selling plan group.

AppId String False

The Id of the app that created the selling plan group, exposed in Liquid and product JSON.

Name String False

The buyer-facing label of the selling plan group (for example, 'Monthly Subscription').

Description String False

The merchant-facing description of the selling plan group.

Options String False

The option values available in the selling plan group.

Position Int False

The display order of the selling plan group relative to others.

Summary String True

A summary of the policies associated with the selling plan group.

MerchantCode String False

The merchant-facing label or code for the selling plan group.

ProductsCount Int True

The number of products linked to the selling plan group.

ProductsCountPrecision String True

The precision of the product count, or how exact the value is.

CreatedAt Datetime True

The date and time when the selling plan group was created.

SellingPlansToCreate String False

A list of selling plans to create in the selling plan group.

SellingPlansToUpdate String False

A list of selling plans to update in the selling plan group.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
SellingPlansToDelete String

A list of selling plans to delete, provided as a comma-separated string.

ProductIds String

A comma-separated list of product Ids to add to the selling plan group.

ProductVariantIds String

A comma-separated list of product variant Ids to add to the selling plan group.

CData Python Connector for Shopify

StorefrontAccessTokens

Lists storefront access tokens for private applications, scoped per application.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM StorefrontAccessTokens

Insert

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

Title

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 for the storefront access token.

ShopId String True

Shop.Id

A globally unique Id for the associated shop.

Title String True

A developer-assigned title for the token, used for reference purposes.

AccessToken String True

The issued public access token for the storefront.

CreatedAt Datetime True

The date and time when the storefront access token was created.

UpdatedAt Datetime True

The date and time when the storefront access token was last updated.

CData Python Connector for Shopify

ThemeFiles

Represents files in an online store theme.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Filename supports the '=, IN' comparison operators.
  • ThemeId supports the '=, IN' comparison operators.

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

  SELECT * FROM ThemeFiles WHERE Filename = 'Val1'
  SELECT * FROM ThemeFiles WHERE ThemeId = 'Val1'

Delete

You can delete entries by specifying the following columns:

Filename, ThemeId

Columns

Name Type ReadOnly References Description
Filename [KEY] String True

The unique filename identifier of the theme file.

ThemeId [KEY] String True

The ID of the theme this file belongs to.

ContentType String True

The content type of the theme file.

Size Long True

The size of the theme file in bytes.

ChecksumMd5 String True

The MD5 checksum of the theme file for data integrity.

CreatedAt Datetime True

The date and time when the theme file was created.

UpdatedAt Datetime True

The date and time when the theme file was last updated.

BodyContent String True

The body of the theme file.

BodyContentBase64 String True

The body of the theme file, base64 encoded.

BodyUrl String True

The short lived url for the body of the theme file.

CData Python Connector for Shopify

Themes

Lists the shop's themes with role and preview data.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Name supports the '=, IN' comparison operators.
  • Role supports the '=, IN' comparison operators.

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

  SELECT * FROM Themes WHERE Id = 'Val1'
  SELECT * FROM Themes WHERE Name = 'Val1'
  SELECT * FROM Themes WHERE Role = 'Val1'

Insert

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

Name, Role

The following pseudo-column can be used to create a new record:

Source

Update

The following column can be updated:

Name

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the theme.

ThemeStoreId Int True

The Id of the theme in the Shopify Theme Store.

Name String False

The name of the theme, set by the merchant.

Prefix String True

The prefix assigned to the theme.

Processing Bool True

Indicates whether the theme is currently processing.

ProcessingFailed Bool True

Indicates whether the theme processing failed.

Role String True

The role of the theme (for example, main, unpublished, or demo).

UpdatedAt Datetime True

The date and time when the theme was last updated.

CreatedAt Datetime True

The date and time when the theme was created.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Source String

An external URL or staged upload URL for importing the theme.

CData Python Connector for Shopify

UrlRedirects

Lists URL redirects configured for the shop to preserve search engine optimization (SEO) and navigation.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Path supports the '=, !=' comparison operators.
  • Target supports the '=, !=' comparison operators.

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

  SELECT * FROM UrlRedirects WHERE Id = 'Val1'
  SELECT * FROM UrlRedirects WHERE Path = 'Val1'
  SELECT * FROM UrlRedirects WHERE Target = 'Val1'

Insert

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

Path, Target

Update

The following columns can be updated:

Path, Target

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the URL redirect.

Path String False

The original path to redirect from. When a customer visits this path, they are redirected to the target location.

Target String False

The target location where the customer is redirected.

CData Python Connector for Shopify

Views

Views are similar to tables in the way that data is represented; however, views are read-only.

Queries can be executed against a view as if it were a normal table.

CData Python Connector for Shopify Views

Name Description
AbandonedCheckoutCustomAttributes Retrieves custom attributes captured on an abandoned checkout, such as personalization fields or internal flags.
AbandonedCheckoutLineItems Lists the products, variants, and quantities that were in the cart when the checkout was abandoned.
AbandonedCheckouts Returns abandoned checkout sessions with customer, cart, and timing details for recovery.
AbandonedCheckoutTaxLines Shows the tax lines calculated for an abandoned checkout by jurisdiction and rate.
Abandonment Summarizes visit-level abandonment metrics and context for unfinished checkouts.
AbandonmentProductsAddedToCart Lists products customers added to cart during sessions that ended in abandonment.
AbandonmentProductsViewed Returns products viewed during sessions that later resulted in an abandoned checkout.
AppCredits Lists credits that merchants can apply toward future app charges.
AppPurchases Returns a list of one-time purchases made by the current app installation.
ArticleCommentEvents Retrieves events tied to article comments, such as creation, approval, or deletion.
ArticleEvents Returns event history for articles, including publication, updates, and deletions.
AssignedFulfillmentOrders Retrieves fulfillment orders assigned to app-managed locations (requires read_assigned_fulfillment_orders). CLOSED orders are excluded by default.
BlogEvents Retrieves activity events related to blogs, such as creation or deletion.
BusinessEntities Lists business entities associated with the shop for organizational context.
CollectionRules Returns a list of collection rules.
CompanyContactRoles Lists available roles that can be assigned to company contacts.
CompanyEvents Retrieves event history associated with company records.
CustomerEvents Retrieves event history for customer records (creation, updates, tags).
CustomerSegmentMembers Lists members (for example, customers) associated with a specific customer segment.
CustomerSegmentMembersQueries Returns the status of a customer segment members query.
CustomerStoreCreditAccounts Lists customers' store credit accounts with balances and status.
DeliveryProfileLocationGroupCountries Lists countries already selected in any zone for the specified location group.
DeliveryProfileLocationGroupCountryProvinces Lists regions/provinces associated with the specified country in a location group.
DeliveryProfileLocationGroups Lists location groups configured under a delivery profile.
DeliveryProfileLocationGroupZones Lists shipping zones associated with the specified location group.
DeliveryProfileUnassignedLocations Lists locations not yet assigned to any location group for this profile.
DiscountAppCodes Returns a list of discount redeem codes.
DiscountBasicCodes Returns a list of discount redeem codes.
DiscountBxgyCodes Returns a list of discount redeem codes.
DiscountEvents Retrieves event history for discounts, including publishing and edits.
DiscountFreeShippingCodes Returns a list of discount redeem codes.
DiscountRedeemCodeBulkCreations An entity that represents the status and counts of an asynchronous bulk code creation associated with a code discount.
Disputes Lists chargeback and dispute cases related to the shop.
DraftOrderCustomAttributes Lists custom attributes attached to draft orders for internal or personalization data.
DraftOrderEvents Retrieves event history for draft orders, such as creation or completion.
DraftOrderLineItemCustomAttributes Lists custom attributes attached to draft order line items.
DraftOrderLineItems Lists the line items included in a draft order with quantities and prices.
DraftOrderLineItemTaxLines Shows tax lines applied to individual draft order items.
DraftOrderTaxLines Shows tax lines applied at the draft order level.
Events Lists shop-wide events for auditing and troubleshooting.
FulfillmentLineItems Lists order line items included in fulfillments for picking and packing.
FulfillmentLineItemTaxLines Shows tax lines on fulfillment line items where applicable.
FulfillmentOrderLineItems Lists the line items grouped under a fulfillment order.
FulfillmentOrderLocationForMoveAvailableLineItems Lists fulfillment order line items available to move to a new location.
FulfillmentOrderLocationForMoveUnavailableLineItems Lists fulfillment order line items that cannot be moved to a new location.
FulfillmentOrderLocationsForMove Lists candidate locations to which a fulfillment order can be moved.
InventoryAdjustmentGroupChanges Lists sets of quantity changes that occurred within inventory events.
InventoryAdjustmentGroups Lists groups of adjustments applied during inventory operations.
InventoryItemCountryHarmonizedSystemCodes Lists country-specific Harmonized System (HS) codes assigned to inventory items.
InventoryItemInventoryLevelQuantities Lists on-hand, committed, and available quantities by location for an inventory item.
InventoryItemInventoryLevelScheduledChanges Lists scheduled future changes to inventory levels.
Jobs Returns job status by Id for asynchronous operations and internal tasks.
LocalizationCountries Lists countries with localized storefront experiences enabled.
MarketingEvents Lists marketing events associated with the marketing application and their metrics.
MetafieldDefinitionConstraintValues Lists constraint subtype values supported by a metafield definition.
MetafieldDefinitionStandardTemplates Lists standard metafield templates that provide ready-made definition presets.
MetafieldDefinitionTypes Lists core metafield types and validations available for definitions.
MetaobjectDefinitions Lists definitions for metaobjects, which are structured, reusable content modeled via metafields.
MetaObjects Lists all metaobjects created for the shop.
OrderAdditionalFees Lists additional fees applied to an order (for example, handling, or service).
OrderAgreementAdditionalFeeSales Lists sales attributed to agreement-based additional fees.
OrderAgreementAdjustmentSales Lists sales attributed to agreement-based adjustments.
OrderAgreementDutySales Lists sales attributed to agreement-based duties.
OrderAgreementGiftCardSales Lists sales attributed to agreement-based gift card usage.
OrderAgreementProductSales Lists sales attributed to agreement-based product charges.
OrderAgreements Lists sales agreements associated with orders.
OrderAgreementShippingLineSales Lists sales attributed to agreement-based shipping lines.
OrderAgreementTipSales Lists sales attributed to agreement-based tips.
OrderAgreementUnknownSales Lists agreement-based sales that fall into an unknown category.
OrderCustomAttributes Lists custom attributes attached to orders for internal or personalization data.
OrderDiscountApplications Lists discount applications that affected an order, excluding edits and refunds.
OrderEditAgreementAdditionalFeeSales Lists agreement-based additional fee sales within order edits.
OrderEditAgreementAdjustmentSales Lists agreement-based adjustment sales within order edits.
OrderEditAgreementDutySales Lists agreement-based duty sales within order edits.
OrderEditAgreementGiftCardSales Lists agreement-based gift card sales within order edits.
OrderEditAgreementProductSales Lists agreement-based product sales within order edits.
OrderEditAgreements Lists sales agreements that apply to order edits.
OrderEditAgreementShippingLineSales Lists agreement-based shipping line sales within order edits.
OrderEditAgreementTipSales Lists agreement-based tip sales within order edits.
OrderEditAgreementUnknownSales Lists uncategorized agreement-based sales within order edits.
OrderEvents Retrieves event history for orders (creation, updates, fulfillment changes).
OrderLineItemCustomAttributes Lists custom attributes attached to order line items.
OrderLineItemDiscountAllocations Shows discount allocations applied to a line item, excluding edits and refunds.
OrderLineItemDuties Lists duties allocated to order line items.
OrderLineItems Lists line items on orders, including variants, quantities, and pricing.
OrderLineItemTaxLines Shows tax lines calculated for an order line item.
OrderNonFulfillableLineItemDuties Lists duties on line items that cannot be fulfilled.
OrderNonFulfillableLineItems Lists order line items that are not fulfillable and related context.
OrderRefundAgreementAdditionalFeeSales Lists refund sales associated with agreement-based additional fees.
OrderRefundAgreementAdjustmentSales Lists refund sales associated with agreement-based adjustments.
OrderRefundAgreementDutySales Lists refund sales associated with agreement-based duties.
OrderRefundAgreementGiftCardSales Lists refund sales associated with agreement-based gift card usage.
OrderRefundAgreementProductSales Lists refund sales associated with agreement-based product charges.
OrderRefundAgreements Lists sales agreements tied to refunds.
OrderRefundAgreementShippingLineSales Lists refund sales associated with agreement-based shipping lines.
OrderRefundAgreementTipSales Lists refund sales associated with agreement-based tips.
OrderRefundAgreementUnknownSales Lists uncategorized agreement-based refund sales.
OrderShippingLineDiscountAllocations Retrieves the discounts that have been allocated onto the shipping lines of an order by discount applications.
OrderShippingLines Lists shipping lines attached to orders, including rates and titles.
OrderTaxLines Shows taxes calculated for an order at the order level.
PageEvents Retrieves event history for pages (creation, publishing, edits).
PriceListPrices Lists prices attached to a specific price list by currency and adjustment rules.
ProductBundleComponentOptionSelections Lists mappings between component options and selected parent bundle options.
ProductBundleComponents Lists component products that make up a bundle and their constraints.
ProductEvents Retrieves event history for products (creation, publication, updates).
ProductOperations Inspects details of asynchronous operations performed on products.
ProductVariantEvents Retrieves event history for product variants.
PublicationCollections Lists collections published to a specific publication (channel).
PublicationProducts Lists products published to a specific publication (channel).
RefundDuties Lists duties refunded as part of a refund.
RefundLineItemDuties Lists duties attached to refunded line items.
RefundLineItems Lists refund line item records that specify quantities and amounts refunded.
RefundOrderAdjustments Lists order-level adjustments included on a refund.
RefundShippingLines Lists shipping lines included in a refund.
RefundTransactionFees Lists transaction fees applied to the original order transaction (Shopify Payments only).
RefundTransactions Lists payment transactions generated as part of a refund.
ReturnExchangeLineItems Lists line items created for exchanges within a return.
ReturnLineItems Lists return line items attached to the return.
ReturnLineItemsUnverified Lists unverified return line items pending inspection or validation.
ReturnReasonDefinitions Retrieves a list of returns reason definitions.
ReverseFulfillmentOrderDeliveries Lists reverse deliveries where buyers send packages back to the merchant.
ReverseFulfillmentOrderDeliveryLineItems Lists line items included in reverse deliveries.
ReverseFulfillmentOrderLineItems Lists line items managed under reverse fulfillment orders.
ReverseFulfillmentOrders Lists items within returns to be processed by a fulfillment service.
SegmentFilterParameters Lists available parameters used to construct event-based segment filters.
SegmentFilters Lists reusable segment filters available for building segments.
SellingPlanGroupSellingPlans Lists selling plans associated with a selling plan group.
Shop Returns the shop resource for the current token, including business and management settings.
ShopifyPaymentsAccount Returns Shopify Payments account details, including balances, disputes, and payouts.
ShopifyPaymentsAccountBalance Returns current balances across all currencies for the account.
ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders Lists adjustment orders linked to a specific balance transaction.
ShopifyPaymentsAccountBalanceTransactions Lists balance transactions associated with the account's balances.
ShopifyPaymentsAccountBankAccounts Lists bank accounts configured for the Shopify Payments account.
ShopifyPaymentsAccountDisputes Lists disputes associated with the Shopify Payments account.
ShopifyPaymentsAccountPayouts Lists past and current payouts between the account and the bank (available only in supported countries).
StaffMembers Lists staff members for the shop with pagination (Shopify Plus only).
StoreCreditAccountCreditTransactions Lists transactions that credit (increase) a store credit account.
StoreCreditAccountDebitRevertTransactions Lists debit-revert transactions created when a debit is reversed on a store credit account.
StoreCreditAccountDebitTransactions Lists transactions that debit (decrease) a store credit account.
StoreCreditAccountExpirationTransactions Lists expiration transactions created when credit expires on a store credit account.
TenderTransactions Lists tender (payment method) transactions recorded by the shop.

CData Python Connector for Shopify

AbandonedCheckoutCustomAttributes

Retrieves custom attributes captured on an abandoned checkout, such as personalization fields or internal flags.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AbandonedCheckoutCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

AbandonedCheckouts.Id

The globally unique identifier of the abandoned checkout resource this attribute is linked to.
Key [KEY] String The name or key that identifies the custom attribute.
Value String The stored value assigned to the custom attribute.

CData Python Connector for Shopify

AbandonedCheckoutLineItems

Lists the products, variants, and quantities that were in the cart when the checkout was abandoned.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AbandonedCheckoutLineItems WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the abandoned checkout line item.
ResourceId String

Abandonment.AbandonedCheckoutPayloadId

The globally unique identifier of the abandoned checkout that this line item belongs to.
Title String The display title of the product or service in this line item. Defaults to the product's title at the time of checkout.
ProductId String The globally unique identifier of the product linked to this line item.
VariantId String The globally unique identifier of the product variant chosen in the line item.
VariantTitle String The title of the selected variant at the time the checkout was created.
Quantity Int The total number of variant units included in the line item.
Sku String The SKU (stock keeping unit) code associated with the product variant.
ImageId String The unique identifier of the image connected to this line item.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text that describes the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL that points to the product image.
DiscountedTotalPriceSetPresentmentMoneyAmount Decimal The final total cost for the full quantity of this line item after discounts, expressed as a decimal money amount in the presentment currency.
DiscountedTotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the final discounted total price of the line item.
DiscountedTotalPriceSetShopMoneyAmount Decimal The final total cost for the full quantity of this line item after discounts, expressed as a decimal money amount in the shop's base currency.
DiscountedTotalPriceSetShopMoneyCurrencyCode String The shop currency code for the final discounted total price of the line item.
DiscountedTotalPriceWithCodeDiscountPresentmentMoneyAmount Decimal The final total cost for the full quantity of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the presentment currency.
DiscountedTotalPriceWithCodeDiscountPresentmentMoneyCurrencyCode String The presentment currency code for the final total price of the line item after all discounts, including code-based discounts.
DiscountedTotalPriceWithCodeDiscountShopMoneyAmount Decimal The final total cost for the full quantity of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the shop's base currency.
DiscountedTotalPriceWithCodeDiscountShopMoneyCurrencyCode String The shop currency code for the final total price of the line item after all discounts, including code-based discounts.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted price of a single unit in this line item, expressed as a decimal money amount in the presentment currency.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the discounted unit price of the line item.
DiscountedUnitPriceSetShopMoneyAmount Decimal The discounted price of a single unit in this line item, expressed as a decimal money amount in the shop's base currency.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The shop currency code for the discounted unit price of the line item.
DiscountedUnitPriceWithCodeDiscountPresentmentMoneyAmount Decimal The unit price of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the presentment currency.
DiscountedUnitPriceWithCodeDiscountPresentmentMoneyCurrencyCode String The presentment currency code for the unit price of this line item after all discounts, including code-based discounts.
DiscountedUnitPriceWithCodeDiscountShopMoneyAmount Decimal The unit price of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the shop's base currency.
DiscountedUnitPriceWithCodeDiscountShopMoneyCurrencyCode String The shop currency code for the unit price of this line item after all discounts, including code-based discounts.
OriginalTotalPriceSetPresentmentMoneyAmount Decimal The original total cost for the full quantity of this line item before discounts, expressed as a decimal money amount in the presentment currency.
OriginalTotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the original total price of the line item before discounts.
OriginalTotalPriceSetShopMoneyAmount Decimal The original total cost for the full quantity of this line item before discounts, expressed as a decimal money amount in the shop's base currency.
OriginalTotalPriceSetShopMoneyCurrencyCode String The shop currency code for the original total price of the line item before discounts.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price of this line item before discounts, expressed as a decimal money amount in the presentment currency.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the original unit price of the line item before discounts.
OriginalUnitPriceSetShopMoneyAmount Decimal The original unit price of this line item before discounts, expressed as a decimal money amount in the shop's base currency.
OriginalUnitPriceSetShopMoneyCurrencyCode String The shop currency code for the original unit price of the line item before discounts.

CData Python Connector for Shopify

AbandonedCheckouts

Returns abandoned checkout sessions with customer, cart, and timing details for recovery.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • EmailState supports the '=, !=' comparison operators.
  • RecoveryState supports the '=, !=' comparison operators.

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

  SELECT * FROM AbandonedCheckouts WHERE Id = 'Val1'
  SELECT * FROM AbandonedCheckouts WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM AbandonedCheckouts WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM AbandonedCheckouts WHERE Status = 'open'
  SELECT * FROM AbandonedCheckouts WHERE EmailState = 'sent'
  SELECT * FROM AbandonedCheckouts WHERE RecoveryState = 'open'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the abandoned checkout.
Name String A merchant-facing identifier that uniquely identifies this checkout in Shopify.
AbandonedCheckoutUrl String The URL that allows the buyer to return and complete their abandoned checkout.
CustomerId String The globally unique identifier of the customer associated with this abandoned checkout.
DiscountCodes String One or more discount codes entered by the buyer during checkout.
Note String A private note recorded by the merchant for this checkout, not visible to the buyer.
TaxesIncluded Bool Indicates whether line item and shipping prices already include taxes.
UpdatedAt Datetime The date and time when the abandoned checkout was last updated.
CreatedAt Datetime The date and time when the abandoned checkout was created.
CompletedAt Datetime The date and time when the buyer successfully completed the checkout. Returns null if the checkout remains incomplete.
BillingAddressCoordinatesValidated Bool Indicates whether the billing address corresponds to recognized latitude and longitude values.
BillingAddressId String The globally unique identifier of the billing address associated with this checkout.
BillingAddressValidationResultSummary String The result of address validation for the billing address, as reported in the Shopify Admin.
BillingAddressFirstName String The first name of the customer listed on the billing address.
BillingAddressLastName String The last name of the customer listed on the billing address.
BillingAddressName String The full name of the customer on the billing address, based on first and last name.
BillingAddressAddress1 String The first line of the billing address, usually a street address or PO Box.
BillingAddressAddress2 String The second line of the billing address, usually an apartment, suite, or unit number.
BillingAddressCity String The city, town, district, or village of the billing address.
BillingAddressCompany String The company or organization name provided in the billing address.
BillingAddressCountry String The full country name of the billing address.
BillingAddressCountryCode String The two-letter country code of the billing address, such as US.
BillingAddressFormattedArea String A comma-separated list combining the city, province, and country for the billing address.
BillingAddressLatitude Double The latitude coordinate of the billing address.
BillingAddressLongitude Double The longitude coordinate of the billing address.
BillingAddressPhone String The phone number listed with the billing address.
BillingAddressProvince String The province, state, or district of the billing address.
BillingAddressProvinceCode String The region code for the billing address, such as 'ON', for Ontario.
BillingAddressZip String The postal or ZIP code of the billing address.
BillingAddressTimeZone String The time zone associated with the billing address.
ShippingAddressCoordinatesValidated Bool Indicates whether the shipping address corresponds to recognized latitude and longitude values.
ShippingAddressId String The globally unique identifier of the shipping address associated with this checkout.
ShippingAddressValidationResultSummary String The result of address validation for the shipping address, as reported in the Shopify Admin.
ShippingAddressFirstName String The first name of the customer listed on the shipping address.
ShippingAddressLastName String The last name of the customer listed on the shipping address.
ShippingAddressName String The full name of the customer on the shipping address, based on first and last name.
ShippingAddressAddress1 String The first line of the shipping address, usually a street address or PO Box.
ShippingAddressAddress2 String The second line of the shipping address, usually an apartment, suite, or unit number.
ShippingAddressCity String The city, town, district, or village of the shipping address.
ShippingAddressCompany String The company or organization name provided in the shipping address.
ShippingAddressCountry String The full country name of the shipping address.
ShippingAddressCountryCode String The two-letter country code of the shipping address, such as US.
ShippingAddressFormattedArea String A comma-separated list combining the city, province, and country for the shipping address.
ShippingAddressLatitude Double The latitude coordinate of the shipping address.
ShippingAddressLongitude Double The longitude coordinate of the shipping address.
ShippingAddressPhone String The phone number listed with the shipping address.
ShippingAddressProvince String The province, state, or district of the shipping address.
ShippingAddressProvinceCode String The region code for the shipping address, such as 'ON' for Ontario.
ShippingAddressZip String The postal or ZIP code of the shipping address.
ShippingAddressTimeZone String The time zone associated with the shipping address.
SubtotalPriceSetPresentmentMoneyAmount Decimal The subtotal price of all line items before discounts, expressed as a decimal money amount in the presentment currency.
SubtotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the subtotal price of the line items before discounts.
SubtotalPriceSetShopMoneyAmount Decimal The subtotal price of all line items before discounts, expressed as a decimal money amount in the shop's base currency.
SubtotalPriceSetShopMoneyCurrencyCode String The shop currency code for the subtotal price of the line items before discounts.
TotalDiscountSetPresentmentMoneyAmount Decimal The total value of all discounts applied, expressed as a decimal money amount in the presentment currency.
TotalDiscountSetPresentmentMoneyCurrencyCode String The presentment currency code for the total discount value.
TotalDiscountSetShopMoneyAmount Decimal The total value of all discounts applied, expressed as a decimal money amount in the shop's base currency.
TotalDiscountSetShopMoneyCurrencyCode String The shop currency code for the total discount value.
TotalDutiesSetPresentmentMoneyAmount Decimal The total duties charged for this checkout, expressed as a decimal money amount in the presentment currency.
TotalDutiesSetPresentmentMoneyCurrencyCode String The presentment currency code for the duties total.
TotalDutiesSetShopMoneyAmount Decimal The total duties charged for this checkout, expressed as a decimal money amount in the shop's base currency.
TotalDutiesSetShopMoneyCurrencyCode String The shop currency code for the duties total.
TotalLineItemsPriceSetPresentmentMoneyAmount Decimal The combined price of all line items before taxes and duties, expressed as a decimal money amount in the presentment currency.
TotalLineItemsPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the combined line item price before taxes and duties.
TotalLineItemsPriceSetShopMoneyAmount Decimal The combined price of all line items before taxes and duties, expressed as a decimal money amount in the shop's base currency.
TotalLineItemsPriceSetShopMoneyCurrencyCode String The shop currency code for the combined line item price before taxes and duties.
TotalPriceSetPresentmentMoneyAmount Decimal The final checkout total including line items, shipping, taxes, and duties, expressed as a decimal money amount in the presentment currency.
TotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the final checkout total.
TotalPriceSetShopMoneyAmount Decimal The final checkout total including line items, shipping, taxes, and duties, expressed as a decimal money amount in the shop's base currency.
TotalPriceSetShopMoneyCurrencyCode String The shop currency code for the final checkout total.
TotalTaxSetPresentmentMoneyAmount Decimal The total taxes applied to the checkout, expressed as a decimal money amount in the presentment currency.
TotalTaxSetPresentmentMoneyCurrencyCode String The presentment currency code for the total taxes applied.
TotalTaxSetShopMoneyAmount Decimal The total taxes applied to the checkout, expressed as a decimal money amount in the shop's base currency.
TotalTaxSetShopMoneyCurrencyCode String The shop currency code for the total taxes applied.
Status String The current status of the abandoned checkout, such as open or completed.

The allowed values are open, closed.

EmailState String The status of recovery emails sent for this abandoned checkout.

The allowed values are sent, not_sent, scheduled, suppressed.

RecoveryState String The current recovery state of the abandoned checkout, such as recovered or unrecovered.

The allowed values are open, closed.

CData Python Connector for Shopify

AbandonedCheckoutTaxLines

Shows the tax lines calculated for an abandoned checkout by jurisdiction and rate.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AbandonedCheckoutTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name or label of the applied tax, such as Sales Tax or value-added tax (VAT).
ResourceId [KEY] String

AbandonedCheckouts.Id

The globally unique identifier of the abandoned checkout that this tax line belongs to.
Source String The system or integration that applied the tax, such as Shopify or a third-party app.
Rate Double The tax rate expressed as a decimal fraction of the line item price.
ChannelLiable Bool Indicates whether the sales channel that submitted the checkout is responsible for remitting this tax. Returns null if liability is unknown.
RatePercentage Double The tax rate expressed as a percentage of the line item price.
PriceSetPresentmentMoneyAmount Decimal The tax amount applied, expressed as a decimal money value in the presentment currency.
PriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the tax amount.
PriceSetShopMoneyAmount Decimal The tax amount applied, expressed as a decimal money value in the shop's base currency.
PriceSetShopMoneyCurrencyCode String The shop currency code for the tax amount.

CData Python Connector for Shopify

Abandonment

Summarizes visit-level abandonment metrics and context for unfinished checkouts.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • AbandonedCheckoutPayloadId supports the '=, IN' comparison operators.

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

  SELECT * FROM Abandonment WHERE Id = 'Val1'
  SELECT * FROM Abandonment WHERE AbandonedCheckoutPayloadId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the abandonment event.
AppId String The globally unique identifier of the app that recorded or triggered this abandonment.
CustomerId String The globally unique identifier of the customer associated with this abandonment.
AbandonmentType String The type of abandonment event, such as browse, cart, or checkout.
EmailState String The current status of abandonment recovery emails, such as sent or not sent.
InventoryAvailable Bool Indicates whether the products linked to the abandonment are still in stock.
EmailSentAt Datetime The date and time when the abandonment recovery email was sent, if applicable.
MostRecentStep String The most recent customer action or step type recorded before the abandonment.
VisitStartedAt Datetime The date and time when the customer's visit that led to abandonment began.
IsFromOnlineStore Bool Indicates whether the abandonment originated from the Online Store sales channel.
IsFromShopApp Bool Indicates whether the abandonment originated from the Shop app sales channel.
IsFromShopPay Bool Indicates whether the abandonment originated from the Shop Pay channel.
IsMostSignificantAbandonment Bool Indicates whether this abandonment is the customer's most significant one, meaning no more critical step has been abandoned since.
LastBrowseAbandonmentDate Datetime The date and time of the customer's most recent browse abandonment.
LastCartAbandonmentDate Datetime The date and time of the customer's most recent cart abandonment.
LastCheckoutAbandonmentDate Datetime The date and time of the customer's most recent checkout abandonment.
DaysSinceLastAbandonmentEmail Int The number of days since the customer last received an abandonment recovery email.
HoursSinceLastAbandonedCheckout Double The number of hours since the customer last abandoned a checkout.
CustomerHasNoOrderSinceAbandonment Bool Indicates whether the customer has placed an order since this checkout was abandoned.
CreatedAt Datetime The date and time when the abandonment record was created.
IsFromCustomStorefront Bool Indicates whether the abandonment originated from a custom storefront sales channel.
AbandonedCheckoutPayloadId String The globally unique identifier of the abandoned checkout payload linked to this abandonment.
AbandonedCheckoutPayloadDefaultCursor String A default cursor that returns the next abandoned-checkout payload record in ascending order by Id.
AbandonedCheckoutPayloadAbandonedCheckoutUrl String The recovery URL the buyer can use to return to their abandoned checkout.

CData Python Connector for Shopify

AbandonmentProductsAddedToCart

Lists products customers added to cart during sessions that ended in abandonment.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • AbandonmentId supports the '=, IN' comparison operators.
  • AbandonedCheckoutPayloadId supports the '=, IN' comparison operators.

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

  SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonmentId = 'Val1'
  SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonedCheckoutPayloadId = 'Val1'

Columns

Name Type References Description
AbandonmentId String The globally unique identifier of the abandonment event this cart addition is associated with.
AbandonedCheckoutPayloadId [KEY] String The globally unique identifier of the abandoned checkout payload connected to this cart addition.
ProductId [KEY] String The globally unique identifier of the product that was added to the cart.
VariantId [KEY] String The globally unique identifier of the specific product variant added to the cart.
Quantity Int The number of units of the product variant that the customer added to the cart.

CData Python Connector for Shopify

AbandonmentProductsViewed

Returns products viewed during sessions that later resulted in an abandoned checkout.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • AbandonmentId supports the '=, IN' comparison operators.
  • AbandonedCheckoutPayloadId supports the '=, IN' comparison operators.

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

  SELECT * FROM AbandonmentProductsViewed WHERE AbandonmentId = 'Val1'
  SELECT * FROM AbandonmentProductsViewed WHERE AbandonedCheckoutPayloadId = 'Val1'

Columns

Name Type References Description
AbandonmentId String

Abandonment.Id

The globally unique identifier of the abandonment event in which the product was viewed.
AbandonedCheckoutPayloadId [KEY] String The globally unique identifier of the abandoned checkout payload linked to this product view.
ProductId [KEY] String The globally unique identifier of the product that the customer viewed.
VariantId [KEY] String The globally unique identifier of the specific product variant that the customer viewed.
Quantity Int The number of product units displayed to the customer during the view event, typically representing the default or available quantity rather than a requested amount.

CData Python Connector for Shopify

AppCredits

Lists credits that merchants can apply toward future app charges.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppInstallationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppCredits WHERE AppInstallationId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the app credit record.
AppInstallationId String The globally unique identifier of the app installation that issued the credit.
Description String A merchant-facing description explaining the reason or purpose of the app credit.
Test Bool Indicates whether the app credit is a test transaction rather than a live credit.
CreatedAt Datetime The date and time when the app credit was issued.
Amount Decimal The value of the app credit, expressed as a decimal money amount.
AmountCurrencyCode String The currency code for the app credit amount.

CData Python Connector for Shopify

AppPurchases

Returns a list of one-time purchases made by the current app installation.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppInstallationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppPurchases WHERE AppInstallationId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
AppInstallationId String A globally-unique ID.
Name String The name of the app purchase.
Status String The status of the app purchase.
Test Bool Whether the app purchase is a test transaction.
CreatedAt Datetime The date and time when the app purchase occurred.
PriceAmount Decimal Decimal money amount charged to the store for the app purchase.
PriceCurrencyCode String Currency of the app purchase price.

CData Python Connector for Shopify

ArticleCommentEvents

Retrieves events tied to article comments, such as creation, approval, or deletion.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ArticleCommentEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the comment event.
HostId String

ArticleComments.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the comment event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the comment event was created.
CriticalAlert Bool Indicates whether the comment event is flagged as critical.
Action String The type of action recorded for this comment event.
Message String Human-readable text describing the comment event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as an order or product.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

ArticleEvents

Returns event history for articles, including publication, updates, and deletions.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ArticleEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the article event.
HostId String

Articles.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as an order or product.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

AssignedFulfillmentOrders

Retrieves fulfillment orders assigned to app-managed locations (requires read_assigned_fulfillment_orders). CLOSED orders are excluded by default.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • AssignedLocationLocationId supports the '=, IN' comparison operators.
  • AssignmentStatus supports the '=' comparison operator.

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

  SELECT * FROM AssignedFulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
  SELECT * FROM AssignedFulfillmentOrders WHERE AssignmentStatus = 'CANCELLATION_REQUESTED'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the assigned fulfillment order.
ShopId String

Shop.Id

The globally unique identifier of the shop associated with this fulfillment order.
OrderId String The globally unique identifier of the order linked to this fulfillment order.
Status String The current status of the fulfillment order, such as open, scheduled, or closed.
FulfillAt Datetime The date and time when the fulfillment order becomes fulfillable. Once this time is reached, scheduled orders automatically transition to open. For example, a subscription order might have a fulfill_at date set to the first of each month, while a pre-order might return null.
FulfillBy Datetime The deadline by which all items in the fulfillment order must be fulfilled.
RequestStatus String The current request status of the fulfillment order, such as accepted, pending, or failed.
CreatedAt Datetime The date and time when the fulfillment order was created.
UpdatedAt Datetime The date and time when the fulfillment order was last updated.
AssignedLocationName String The display name of the location assigned to fulfill this order.
AssignedLocationAddress1 String The first line of the assigned location's address.
AssignedLocationAddress2 String The second line of the assigned location's address, such as an apartment or suite number.
AssignedLocationCity String The city where the assigned location is based.
AssignedLocationPhone String The phone number of the assigned location.
AssignedLocationProvince String The province or state where the assigned location is based.
AssignedLocationZip String The postal or ZIP code of the assigned location.
AssignedLocationCountryCode String The two-letter country code for the assigned location.
AssignedLocationLocationId String The globally unique identifier of the assigned location.
AssignedLocationLocationLegacyResourceId String The legacy identifier for the assigned location in the REST Admin API.
AssignedLocationLocationName String The name of the assigned location resource.
AssignedLocationLocationActivatable Bool Indicates whether the location can be reactivated.
AssignedLocationLocationDeactivatable Bool Indicates whether the location can be deactivated.
AssignedLocationLocationDeletable Bool Indicates whether the location can be deleted.
AssignedLocationLocationAddressVerified Bool Indicates whether the address of the assigned location has been verified.
AssignedLocationLocationDeactivatedAt String The date and time when the assigned location was deactivated, in UTC. For example: '2019-09-07T15:50:00Z'.
AssignedLocationLocationIsActive Bool Indicates whether the assigned location is currently active.
AssignedLocationLocationShipsInventory Bool Indicates whether the location contributes to shipping rate calculations. This flag is ignored in multi-origin shipping mode.
AssignedLocationLocationFulfillsOnlineOrders Bool Indicates whether the assigned location can fulfill online orders.
AssignedLocationLocationHasActiveInventory Bool Indicates whether the assigned location has active inventory available.
AssignedLocationLocationHasUnfulfilledOrders Bool Indicates whether the assigned location currently has unfulfilled orders.
DeliveryMethodId String The globally unique identifier of the delivery method chosen for this order.
DeliveryMethodPresentedName String The name of the delivery option presented to the buyer at checkout.
DeliveryMethodMethodType String The type of delivery method used, such as standard or express.
DeliveryMethodMaxDeliveryDateTime Datetime The latest estimated date and time for delivery to the buyer's location.
DeliveryMethodMinDeliveryDateTime Datetime The earliest estimated date and time for delivery to the buyer's location.
DeliveryMethodServiceCode String The service code that identifies the shipping method.
DeliveryMethodSourceReference String Provider-specific reference data associated with the delivery promise.
DeliveryMethodBrandedPromiseName String The branded delivery promise name, such as 'Shop Promise'.
DeliveryMethodBrandedPromiseHandle String The branded delivery promise handle, such as 'shop_promise'.
DeliveryMethodAdditionalInformationPhone String A contact phone number for coordinating delivery.
DeliveryMethodAdditionalInformationInstructions String Special delivery instructions provided for the order.
DestinationId String The globally unique identifier of the destination record.
DestinationFirstName String The first name of the customer at the destination address.
DestinationLastName String The last name of the customer at the destination address.
DestinationAddress1 String The first line of the customer's destination address.
DestinationAddress2 String The second line of the customer's destination address, such as an apartment or suite number.
DestinationCity String The city of the customer's destination address.
DestinationCompany String The company name listed in the customer's destination address, if applicable.
DestinationEmail String The email address of the customer at the destination.
DestinationPhone String The phone number of the customer at the destination.
DestinationProvince String The province or state of the customer's destination address.
DestinationZip String The postal or ZIP code of the customer's destination address.
DestinationCountryCode String The two-letter country code of the customer's destination address.
DestinationLocationId String The globally unique identifier of the customer's destination location.
InternationalDutiesIncoterm String The incoterm that specifies how international duties are paid includes example values such as Delivered Duty Paid (DDP) and Delivered at Place (DAP).
AssignmentStatus String The assignment status of the fulfillment orders to return. If no assignmentStatus argument is provided, all assigned fulfillment orders are returned except those with CLOSED status.

The allowed values are CANCELLATION_REQUESTED, FULFILLMENT_ACCEPTED, FULFILLMENT_REQUESTED, FULFILLMENT_UNSUBMITTED.

CData Python Connector for Shopify

BlogEvents

Retrieves activity events related to blogs, such as creation or deletion.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM BlogEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the blog event.
HostId String

Blogs.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this blog event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as a blog or article.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

BusinessEntities

Lists business entities associated with the shop for organizational context.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM BusinessEntities WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the business entity.
CompanyName String The legal company name associated with the merchant's business entity.
DisplayName String The public-facing display name of the merchant's business entity.
Primary Bool Indicates whether this is the merchant's primary business entity.
Address1 String The first line of the business entity's address, typically a street address or PO Box.
Address2 String The second line of the business entity's address, typically an apartment, suite, or unit number.
AddressCountryCode String The two-letter country code of the business entity's address.
AddressProvince String The province, state, or district of the business entity's address.
AddressCity String The city, town, district, or village of the business entity's address.
AddressZip String The postal or ZIP code of the business entity's address.
ShopifyPaymentsAccountId String The globally unique identifier of the Shopify Payments account associated with the business entity.

CData Python Connector for Shopify

CollectionRules

Returns a list of collection rules.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CollectionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CollectionRules WHERE CollectionId = 'Val1'

Columns

Name Type References Description
CollectionId String

Collections.Id

A globally-unique ID.
Column String The attribute that the rule focuses on.

The allowed values are IS_PRICE_REDUCED, PRODUCT_CATEGORY_ID, PRODUCT_CATEGORY_ID_WITH_DESCENDANTS, PRODUCT_METAFIELD_DEFINITION, PRODUCT_TAXONOMY_NODE_ID, TAG, TITLE, TYPE, VARIANT_COMPARE_AT_PRICE, VARIANT_INVENTORY, VARIANT_METAFIELD_DEFINITION, VARIANT_PRICE, VARIANT_TITLE, VARIANT_WEIGHT, VENDOR.

Relation String The type of operator that the rule is based on.

The allowed values are CONTAINS, ENDS_WITH, EQUALS, GREATER_THAN, IS_NOT_SET, IS_SET, LESS_THAN, NOT_CONTAINS, NOT_EQUALS, STARTS_WITH.

Condition String The value that the operator is applied to.
ConditionObjectText String The text used as a rule for the condition.
ConditionObjectTaxonomyCategoryId String The taxonomy category used as a rule for the condition.
ConditionObjectProductTaxonomyId String The product category used as a rule for the condition.
ConditionObjectMetafieldDefinitionId String The metafield definition used as a rule for the condition.

CData Python Connector for Shopify

CompanyContactRoles

Lists available roles that can be assigned to company contacts.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CompanyId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CompanyContactRoles WHERE CompanyId = 'Val1'

Columns

Name Type References Description
CompanyId String The globally unique identifier of the company that the role belongs to.
Id [KEY] String The globally unique identifier of the company contact role.
Name String The name of the role, such as 'admin' or 'buyer'.
Note String A note associated with the role.

CData Python Connector for Shopify

CompanyEvents

Retrieves event history associated with company records.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CompanyEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the company event.
HostId String

Companies.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as a company or contact.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

CustomerEvents

Retrieves event history for customer records (creation, updates, tags).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CustomerEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the customer event.
HostId String

Customers.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this customer event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as a customer or order.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

CustomerSegmentMembers

Lists members (for example, customers) associated with a specific customer segment.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • SegmentId supports the '=' comparison operator.
  • QueryId supports the '=' comparison operator.

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

  SELECT * FROM CustomerSegmentMembers WHERE SegmentId = 'Val1'
  SELECT * FROM CustomerSegmentMembers WHERE QueryId = 'Val1'

Columns

Name Type References Description
SegmentId [KEY] String

Segments.Id

The identifier of the segment that this member belongs to.
Id [KEY] String The globally unique identifier of the segment member.
DisplayName String The display name of the member, derived from first and last name. If unavailable, falls back to the customer's email address, or if not available, the phone number.
FirstName String The first name of the segment member.
LastName String The last name of the segment member.
Note String A merchant-facing note about the segment member.
LastOrderId String The identifier of the member's most recent order.
NumberOfOrders String The total number of orders placed by the member.
AmountSpentAmount Decimal The total amount spent by the member, expressed as a decimal money value.
AmountSpentCurrencyCode String The currency code for the member's total spent amount.
DefaultAddressId String The globally unique identifier of the member's default address.
DefaultAddressCountry String The country of the member's default address.
DefaultAddressProvince String The province, state, or district of the member's default address.
DefaultAddressCity String The city, town, district, or village of the member's default address.
DefaultAddressFormattedArea String A comma-separated string combining the city, province, and country of the default address.
DefaultAddressCompany String The company or organization name listed on the member's default address.
DefaultAddressAddress1 String The first line of the member's default address, typically a street address or PO Box.
DefaultAddressAddress2 String The second line of the member's default address, typically an apartment, suite, or unit number.
DefaultAddressName String The full name associated with the member's default address, based on first and last name.
DefaultAddressFirstName String The first name on the member's default address.
DefaultAddressLastName String The last name on the member's default address.
DefaultAddressLatitude Double The latitude coordinate of the member's default address.
DefaultAddressLongitude Double The longitude coordinate of the member's default address.
DefaultAddressCoordinatesValidated Bool Indicates whether the coordinates of the default address are valid.
DefaultAddressValidationResultSummary String The validation status of the default address, as determined by the Shopify Admin address validation feature.
DefaultAddressPhone String The phone number associated with the default address, formatted using the E.164 standard (for example, +16135551111).
DefaultAddressZip String The postal or ZIP code of the member's default address.
DefaultAddressProvinceCode String The alphanumeric code for the province, state, or district of the default address, such as ON.
DefaultAddressCountryCode String The two-letter country code of the default address, such as US.
DefaultAddressTimeZone String The time zone of the member's default address.
DefaultEmailAddressEmailAddress String The default email address of the member.
DefaultEmailAddressMarketingState String The current email marketing subscription state of the member.
DefaultEmailAddressMarketingUnsubscribeUrl String The URL where the member can unsubscribe from all mailing lists.
DefaultEmailAddressOpenTrackingLevel String The member's opt-in level for tracking whether their emails are opened.
DefaultEmailAddressOpenTrackingUrl String The URL the member can use to opt in or out of email open tracking.
DefaultPhoneNumberMarketingState String The current SMS marketing subscription state of the member.
DefaultPhoneNumberPhoneNumber String The phone number of the member.
MergeableReason String The reason why the member cannot be merged with another customer record.
MergeableErrorFields String The list of fields preventing the member from being merged.
MergeableIsMergeable Bool Indicates whether the member can be merged with another customer record.
MergeableMergeInProgressJobId String The identifier of the merge job currently in progress.
MergeableMergeInProgressResultingCustomerId String The identifier of the resulting customer record after a merge.
MergeableMergeInProgressStatus String The current status of the member merge request.
QueryId String The ID of the query.

CData Python Connector for Shopify

CustomerSegmentMembersQueries

Returns the status of a customer segment members query.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM CustomerSegmentMembersQueries WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The ID of the CustomerSegmentMembersQuery to return.
Done Bool Whether the query has finished processing.
CurrentCount Int The current count of segment members matching the query.

CData Python Connector for Shopify

CustomerStoreCreditAccounts

Lists customers' store credit accounts with balances and status.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • CustomerId supports the '=, IN' comparison operators.

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

  SELECT * FROM CustomerStoreCreditAccounts WHERE Id = 'Val1'
  SELECT * FROM CustomerStoreCreditAccounts WHERE CustomerId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the customer store credit account.
CustomerId String The globally unique identifier of the customer associated with this store credit account.
BalanceAmount Decimal The current balance of the store credit account, expressed as a decimal money value.
BalanceCurrencyCode String The currency code of the store credit account balance.

CData Python Connector for Shopify

DeliveryProfileLocationGroupCountries

Lists countries already selected in any zone for the specified location group.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM DeliveryProfileLocationGroupCountries

Columns

Name Type References Description
CountryId [KEY] String The globally unique identifier of the country associated with the delivery profile location group.
LocationGroupId [KEY] String The globally unique identifier of the location group within the delivery profile.
DeliveryProfileId String The globally unique identifier of the delivery profile that this country belongs to.
Zone String The name of the shipping zone that includes this country.
CountryName String The full name of the country included in the delivery profile's location group (for example, 'Canada' or 'United States').
CountryTranslatedName String The translated name of the country, based on the system's locale.
CountryCodeCountryCode String The two-letter country code in ISO 3166-1 alpha-2 format.
CountryCodeRestOfWorld Bool Indicates whether the country is included in the 'Rest of World' shipping zone.

CData Python Connector for Shopify

DeliveryProfileLocationGroupCountryProvinces

Lists regions/provinces associated with the specified country in a location group.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM DeliveryProfileLocationGroupCountryProvinces

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the province record within the delivery profile location group.
CountryId String The globally unique identifier of the country associated with this province.
Code String The standardized code of the province, state, or region.
Name String The full name of the province, state, or region.
TranslatedName String The translated name of the province, state, or region, based on the system's locale.

CData Python Connector for Shopify

DeliveryProfileLocationGroups

Lists location groups configured under a delivery profile.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM DeliveryProfileLocationGroups

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the delivery profile location group.
DeliveryProfileId String The globally unique identifier of the delivery profile associated with this location group.
LocationsCount Int The number of locations included in this location group.
LocationsCountPrecision String The level of precision applied to the location count value.

CData Python Connector for Shopify

DeliveryProfileLocationGroupZones

Lists shipping zones associated with the specified location group.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • DeliveryProfileId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DeliveryProfileLocationGroupZones WHERE DeliveryProfileId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the delivery profile location group zone.
LocationGroupId [KEY] String The globally unique identifier of the location group associated with this zone.
DeliveryProfileId String

DeliveryProfiles.Id

The globally unique identifier of the delivery profile associated with this zone.
Name String The display name of the zone.
MethodDefinitionCountsParticipantDefinitionsCount Int The number of participant method definitions configured for this zone.
MethodDefinitionCountsRateDefinitionsCount Int The number of merchant-defined rate method definitions configured for this zone.

CData Python Connector for Shopify

DeliveryProfileUnassignedLocations

Lists locations not yet assigned to any location group for this profile.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • DeliveryProfileId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DeliveryProfileUnassignedLocations WHERE DeliveryProfileId = 'Val1'

Columns

Name Type References Description
DeliveryProfileId [KEY] String

DeliveryProfiles.Id

The globally unique identifier of the delivery profile that does not include this location.
LocationId [KEY] String

Locations.Id

The globally unique identifier of the unassigned location.

CData Python Connector for Shopify

DiscountAppCodes

Returns a list of discount redeem codes.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • DiscountId supports the '=, IN' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountAppCodes WHERE Id = 'Val1'
  SELECT * FROM DiscountAppCodes WHERE DiscountId = 'Val1'
  SELECT * FROM DiscountAppCodes WHERE AsyncUsageCount = 123

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
Code String The code that a customer can use at checkout.
DiscountId String A globally-unique ID of the discount.
AsyncUsageCount Int The number of times that the discount code has been used.
CreatedById String The application that created the discount redeem code.

CData Python Connector for Shopify

DiscountBasicCodes

Returns a list of discount redeem codes.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • DiscountId supports the '=, IN' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountBasicCodes WHERE Id = 'Val1'
  SELECT * FROM DiscountBasicCodes WHERE DiscountId = 'Val1'
  SELECT * FROM DiscountBasicCodes WHERE AsyncUsageCount = 123

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
Code String The code that a customer can use at checkout.
DiscountId String A globally-unique ID of the discount.
AsyncUsageCount Int The number of times that the discount code has been used.
CreatedById String The application that created the discount redeem code.

CData Python Connector for Shopify

DiscountBxgyCodes

Returns a list of discount redeem codes.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • DiscountId supports the '=, IN' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountBxgyCodes WHERE Id = 'Val1'
  SELECT * FROM DiscountBxgyCodes WHERE DiscountId = 'Val1'
  SELECT * FROM DiscountBxgyCodes WHERE AsyncUsageCount = 123

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
Code String The code that a customer can use at checkout.
DiscountId String A globally-unique ID of the discount.
AsyncUsageCount Int The number of times that the discount code has been used.
CreatedById String The application that created the discount redeem code.

CData Python Connector for Shopify

DiscountEvents

Retrieves event history for discounts, including publishing and edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DiscountEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the discount event.
HostId String The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this discount event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as a discount or price rule.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

DiscountFreeShippingCodes

Returns a list of discount redeem codes.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • DiscountId supports the '=, IN' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountFreeShippingCodes WHERE Id = 'Val1'
  SELECT * FROM DiscountFreeShippingCodes WHERE DiscountId = 'Val1'
  SELECT * FROM DiscountFreeShippingCodes WHERE AsyncUsageCount = 123

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
Code String The code that a customer can use at checkout.
DiscountId String A globally-unique ID of the discount.
AsyncUsageCount Int The number of times that the discount code has been used.
CreatedById String The application that created the discount redeem code.

CData Python Connector for Shopify

DiscountRedeemCodeBulkCreations

An entity that represents the status and counts of an asynchronous bulk code creation associated with a code discount.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operator. The connector processes other filters client-side within the connector.

  • Id supports the '=' comparison operator.

For example, the following query is processed server-side:

  SELECT * FROM DiscountRedeemCodeBulkCreations WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The ID of the DiscountRedeemCodeBulkCreation to return.
Done Bool Whether the bulk creation is still queued or has run.
CodesCount Int The number of codes to create.
ImportedCount Int The number of codes created successfully.
FailedCount Int The number of codes that weren't created successfully.

CData Python Connector for Shopify

Disputes

Lists chargeback and dispute cases related to the shop.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • InitiatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Disputes WHERE Id = 'Val1'
  SELECT * FROM Disputes WHERE Status = 'Val1'
  SELECT * FROM Disputes WHERE InitiatedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the dispute.
LegacyResourceId String The identifier of the corresponding resource in the REST Admin API.
EvidenceDueBy Date The deadline by which evidence must be submitted for the dispute.
EvidenceSentOn Date The date when evidence was submitted. Returns null if no evidence has been sent.
Status String The current status of the dispute, such as open, under review, or closed.
Type String Indicates whether the dispute is still in the inquiry stage or has escalated to a chargeback.
FinalizedOn Date The date when the dispute was resolved. Returns null if the dispute has not been finalized.
InitiatedAt Datetime The date and time when the dispute was initiated.
Amount Decimal The disputed amount, expressed as a decimal money value.
AmountCurrencyCode String The currency code of the disputed amount.
OrderId String The globally unique identifier of the order associated with the dispute.
ReasonDetailsReason String The reason for the dispute as provided by the cardholder's bank.
ReasonDetailsNetworkReasonCode String The raw reason code returned by the payment network.

CData Python Connector for Shopify

DraftOrderCustomAttributes

Lists custom attributes attached to draft orders for internal or personalization data.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

DraftOrders.Id

The globally unique identifier of the draft order associated with the custom attribute.
Key [KEY] String The key or name that identifies the custom attribute.
Value String The value assigned to the custom attribute.

CData Python Connector for Shopify

DraftOrderEvents

Retrieves event history for draft orders, such as creation or completion.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the draft order event.
HostId String

DraftOrders.Id

The globally unique identifier of the host system that logged the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is marked as critical.
Action String The specific action that occurred in the event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event includes additional content.
BasicEventAdditionalContent String Supplementary content for collapsible timeline events.
BasicEventAdditionalData String Additional structured data provided for event consumers.
BasicEventSecondaryMessage String Supporting human-readable text that complements the main event message.
BasicEventArguments String Arguments or references tied to the event and its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The unformatted body text of the comment event.
CommentEventSubjectId String The identifier of the parent subject associated with the comment event.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes a timeline comment.
CommentEventEmbedCustomerId String The identifier of the customer object referenced in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order object referenced in the comment event.
CommentEventEmbedOrderId String The identifier of the order object referenced in the comment event.
CommentEventEmbedProductId String The identifier of the product object referenced in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant object referenced in the comment event.

CData Python Connector for Shopify

DraftOrderLineItemCustomAttributes

Lists custom attributes attached to draft order line items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderLineItemCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

DraftOrderLineItems.Id

The globally unique identifier of the draft order line item associated with the custom attribute.
Key [KEY] String The key or name that identifies the custom attribute.
Value String The value assigned to the custom attribute.

CData Python Connector for Shopify

DraftOrderLineItems

Lists the line items included in a draft order with quantities and prices.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • DraftOrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderLineItems WHERE DraftOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the draft order line item.
DraftOrderId String

DraftOrders.Id

The globally unique identifier of the draft order that contains this line item.
Name String The display name of the product in the line item.
Title String The title of the product or variant. Applies only to custom line items.
VariantTitle String The title of the product variant included in the draft order.
Custom Bool Indicates whether the line item is a custom line item (true) or a product variant line item (false).
Quantity Int The number of product variants requested in the draft order.
Sku String The stock keeping unit (SKU) of the product variant.
Taxable Bool Indicates whether the product variant is taxable.
Vendor String The vendor associated with the product variant.
RequiresShipping Bool Indicates whether the product variant requires physical shipping.
IsGiftCard Bool Indicates whether the line item represents a gift card.
AppliedDiscountTitle String The title of the order-level discount applied to this line item.
AppliedDiscountDescription String The description of the order-level discount applied to this line item.
AppliedDiscountValue Double The value of the order-level discount. If the value type is 'percentage', this field represents the discount percentage.
AppliedDiscountValueType String The type of discount applied at the order level, such as percentage or fixed amount.
AppliedDiscountAmountV2Amount Decimal The discount amount applied to the line item, expressed as a decimal money value.
AppliedDiscountAmountV2CurrencyCode String The currency code of the discount amount applied to the line item.
DiscountedTotalSetPresentmentMoneyAmount Decimal The total price of the line item after discounts, in the presentment currency, expressed as a decimal money value.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code of the discounted total in the presentment currency.
DiscountedTotalSetShopMoneyAmount Decimal The total price of the line item after discounts, in the shop currency, expressed as a decimal money value.
DiscountedTotalSetShopMoneyCurrencyCode String The currency code of the discounted total in the shop currency.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The per-unit price of the line item after discounts, in the presentment currency, expressed as a decimal money value.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The currency code of the discounted per-unit price in the presentment currency.
DiscountedUnitPriceSetShopMoneyAmount Decimal The per-unit price of the line item after discounts, in the shop currency, expressed as a decimal money value.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The currency code of the discounted per-unit price in the shop currency.
FulfillmentServiceId String The identifier of the fulfillment service responsible for fulfilling the line item.
ImageId String The unique identifier of the product image associated with the line item.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text describing the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL of the product image.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total price of the line item before discounts, in the presentment currency, expressed as a decimal money value.
OriginalTotalSetPresentmentMoneyCurrencyCode String The currency code of the original total in the presentment currency.
OriginalTotalSetShopMoneyAmount Decimal The original total price of the line item before discounts, in the shop currency, expressed as a decimal money value.
OriginalTotalSetShopMoneyCurrencyCode String The currency code of the original total in the shop currency.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original per-unit price of the line item before discounts, in the presentment currency, expressed as a decimal money value.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The currency code of the original per-unit price in the presentment currency.
OriginalUnitPriceSetShopMoneyAmount Decimal The original per-unit price of the line item before discounts, in the shop currency, expressed as a decimal money value.
OriginalUnitPriceSetShopMoneyCurrencyCode String The currency code of the original per-unit price in the shop currency.
ProductId String The globally unique identifier of the product associated with the line item.
TotalDiscountSetPresentmentMoneyAmount Decimal The total discount applied to the line item, in the presentment currency, expressed as a decimal money value.
TotalDiscountSetPresentmentMoneyCurrencyCode String The currency code of the total discount in the presentment currency.
TotalDiscountSetShopMoneyAmount Decimal The total discount applied to the line item, in the shop currency, expressed as a decimal money value.
TotalDiscountSetShopMoneyCurrencyCode String The currency code of the total discount in the shop currency.
VariantId String The globally unique identifier of the product variant included in the line item.
WeightValue Double The numerical weight of the line item based on the unit system specified in WeightUnit.
WeightUnit String The unit of measurement used for the weight value, such as grams or kilograms.

CData Python Connector for Shopify

DraftOrderLineItemTaxLines

Shows tax lines applied to individual draft order items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderLineItemTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the tax applied to the draft order line item.
ResourceId [KEY] String

DraftOrderLineItems.Id

The globally unique identifier of the draft order line item associated with this tax line.
Source String The system or source that applied the tax.
Rate Double The portion of the line item price that the tax represents, expressed as a decimal value.
ChannelLiable Bool Indicates whether the sales channel that submitted the tax line is responsible for remitting the tax. Returns null if liability is unknown.
RatePercentage Double The portion of the line item price that the tax represents, expressed as a percentage.
PriceSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency, expressed as a decimal money value.
PriceSetPresentmentMoneyCurrencyCode String The currency code of the tax amount in the presentment currency.
PriceSetShopMoneyAmount Decimal The tax amount in the shop currency, expressed as a decimal money value.
PriceSetShopMoneyCurrencyCode String The currency code of the tax amount in the shop currency.

CData Python Connector for Shopify

DraftOrderTaxLines

Shows tax lines applied at the draft order level.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the tax applied to the line item.
ResourceId [KEY] String

DraftOrders.Id

The globally unique identifier of the tax line resource.
Source String The origin or system that applied the tax.
Rate Double The proportion of the line item price represented by the tax, expressed as a decimal.
ChannelLiable Bool Indicates whether the sales channel that submitted the tax line is responsible for remitting it. A null value means liability is unknown.
RatePercentage Double The proportion of the line item price represented by the tax, expressed as a percentage.
PriceSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency, expressed as a decimal.
PriceSetPresentmentMoneyCurrencyCode String The currency code of the tax amount in the presentment currency.
PriceSetShopMoneyAmount Decimal The tax amount in the shop currency, expressed as a decimal.
PriceSetShopMoneyCurrencyCode String The currency code of the tax amount in the shop currency.

CData Python Connector for Shopify

Events

Lists shop-wide events for auditing and troubleshooting.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM Events

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The specific action that occurred in the event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event includes additional content.
BasicEventAdditionalContent String Supplementary content for collapsible timeline events.
BasicEventAdditionalData String Additional structured data provided for event consumers.
BasicEventSecondaryMessage String Supporting human-readable text that complements the main event message.
BasicEventArguments String Arguments or references tied to the event and its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The unformatted body text of the comment event.
CommentEventSubjectId String The identifier of the parent subject associated with the comment event.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes a timeline comment.
CommentEventEmbedCustomerId String The identifier of the customer object referenced in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order object referenced in the comment event.
CommentEventEmbedOrderId String The identifier of the order object referenced in the comment event.
CommentEventEmbedProductId String The identifier of the product object referenced in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant object referenced in the comment event.

CData Python Connector for Shopify

FulfillmentLineItems

Lists order line items included in fulfillments for picking and packing.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • FulfillmentId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentLineItems WHERE FulfillmentId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the fulfillment line item.
FulfillmentId String

Fulfillments.Id

The globally unique identifier of the fulfillment record this line item belongs to.
DiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total for the line item in the presentment currency.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the discounted total in presentment money.
DiscountedTotalSetShopMoneyAmount Decimal The discounted total for the line item in the shop's currency.
DiscountedTotalSetShopMoneyCurrencyCode String The currency code for the discounted total in shop money.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total for the line item in the presentment currency before discounts.
OriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the original total in presentment money.
OriginalTotalSetShopMoneyAmount Decimal The original total for the line item in the shop's currency before discounts.
OriginalTotalSetShopMoneyCurrencyCode String The currency code for the original total in shop money.
Quantity Int The total quantity of items included in this fulfillment line item.
LineItemId String The globally unique identifier of the related order line item.
LineItemName String The product name, optionally combined with its variant title.
LineItemTitle String The title of the product at the time of order creation.
LineItemVariantTitle String The title of the variant at the time of order creation.
LineItemVariantId String The globally unique identifier of the product variant.
LineItemProductId String The globally unique identifier of the product.
LineItemSellingPlanSellingPlanId String The identifier of the selling plan tied to the line item.
LineItemQuantity Int The number of product variant units ordered for this line item.
LineItemRestockable Bool Indicates whether this line item can be restocked.
LineItemSku String The SKU (stock keeping unit) of the product variant.
LineItemTaxable Bool Indicates whether this line item is taxable.
LineItemVendor String The vendor or brand associated with the product variant.
LineItemCurrentQuantity Int The current available quantity of the line item, excluding any removed units.
LineItemMerchantEditable Bool Indicates whether the line item can be edited by the merchant.
LineItemRefundableQuantity Int The number of units eligible for refund, excluding already removed or refunded units.
LineItemRequiresShipping Bool Indicates whether the product variant requires physical shipping.
LineItemUnfulfilledQuantity Int The quantity of units from this line item that have not yet been fulfilled.
LineItemNonFulfillableQuantity Int The number of units that cannot be fulfilled, such as refunded items or non-fulfillable products like tips.
LineItemIsGiftCard Bool Indicates whether this line item represents a gift card purchase.
LineItemDiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total for the line item in the presentment currency.
LineItemDiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts Decimal The discounted total in presentment currency after applying discount codes.
LineItemDiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the discounted total in presentment money.
LineItemDiscountedTotalSetShopMoneyAmount Decimal The discounted total for the line item in the shop's currency.
LineItemDiscountedTotalSetShopMoneyAmountWithCodeDiscounts Decimal The discounted total in shop currency after applying discount codes.
LineItemDiscountedTotalSetShopMoneyCurrencyCode String The currency code for the discounted total in shop money.
LineItemDiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted unit price in the presentment currency.
LineItemDiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The currency code for the discounted unit price in presentment money.
LineItemDiscountedUnitPriceSetShopMoneyAmount Decimal The discounted unit price in the shop's currency.
LineItemDiscountedUnitPriceSetShopMoneyCurrencyCode String The currency code for the discounted unit price in shop money.
LineItemImageId String The unique identifier of the product image associated with this line item.
LineItemImageWidth Int The width of the product image in pixels. Returns null if the image is not hosted by Shopify.
LineItemImageAltText String Alternative text describing the content or purpose of the product image.
LineItemImageHeight Int The height of the product image in pixels. Returns null if the image is not hosted by Shopify.
LineItemImageUrl String The URL of the product image.
LineItemOriginalTotalSetPresentmentMoneyAmount Decimal The original total before discounts in the presentment currency.
LineItemOriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the original total in presentment money.
LineItemOriginalTotalSetShopMoneyAmount Decimal The original total before discounts in the shop's currency.
LineItemOriginalTotalSetShopMoneyCurrencyCode String The currency code for the original total in shop money.
LineItemOriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price before discounts in the presentment currency.
LineItemOriginalUnitPriceSetPresentmentMoneyCurrencyCode String The currency code for the original unit price in presentment money.
LineItemOriginalUnitPriceSetShopMoneyAmount Decimal The original unit price before discounts in the shop's currency.
LineItemOriginalUnitPriceSetShopMoneyCurrencyCode String The currency code for the original unit price in shop money.
LineItemTotalDiscountSetPresentmentMoneyAmount Decimal The total discount applied to this line item in the presentment currency.
LineItemTotalDiscountSetPresentmentMoneyCurrencyCode String The currency code for the total discount in presentment money.
LineItemTotalDiscountSetShopMoneyAmount Decimal The total discount applied to this line item in the shop's currency.
LineItemTotalDiscountSetShopMoneyCurrencyCode String The currency code for the total discount in shop money.
LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total for unfulfilled units in the presentment currency.
LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the discounted unfulfilled total in presentment money.
LineItemUnfulfilledDiscountedTotalSetShopMoneyAmount Decimal The discounted total for unfulfilled units in the shop's currency.
LineItemUnfulfilledDiscountedTotalSetShopMoneyCurrencyCode String The currency code for the discounted unfulfilled total in shop money.
LineItemUnfulfilledOriginalTotalSetPresentmentMoneyAmount Decimal The original total for unfulfilled units in the presentment currency.
LineItemUnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the original unfulfilled total in presentment money.
LineItemUnfulfilledOriginalTotalSetShopMoneyAmount Decimal The original total for unfulfilled units in the shop's currency.
LineItemUnfulfilledOriginalTotalSetShopMoneyCurrencyCode String The currency code for the original unfulfilled total in shop money.

CData Python Connector for Shopify

FulfillmentLineItemTaxLines

Shows tax lines on fulfillment line items where applicable.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentLineItemTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the applied tax.
ResourceId [KEY] String

FulfillmentLineItems.Id

The globally unique identifier of the tax line record.
Source String The source system or origin of the tax calculation.
Rate Double The tax rate expressed as a decimal (for example, 0.05 for 5%).
ChannelLiable Bool Indicates whether the sales channel that submitted the tax line is responsible for remittance. A null value means the liability is unknown.
RatePercentage Double The tax rate expressed as a percentage of the line item price.
PriceSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency.
PriceSetPresentmentMoneyCurrencyCode String The currency code for the tax amount in presentment money.
PriceSetShopMoneyAmount Decimal The tax amount in the shop's currency.
PriceSetShopMoneyCurrencyCode String The currency code for the tax amount in shop money.

CData Python Connector for Shopify

FulfillmentOrderLineItems

Lists the line items grouped under a fulfillment order.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • FulfillmentOrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentOrderLineItems WHERE FulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the fulfillment order line item.
FulfillmentOrderId String The globally unique identifier of the fulfillment order that this line item belongs to.
FulfillmentOrderUpdatedAt Datetime The date and time when the fulfillment order was last updated.
ImageId String The globally unique identifier of the image associated with the product or variant.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text describing the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL of the product image.
InventoryItemId String The globally unique identifier of the inventory item tied to this line item.
Sku String The stock keeping unit (SKU) of the product variant.
ProductTitle String The title of the product linked to this line item.
VariantId String The globally unique identifier of the product variant associated with this line item.
VariantTitle String The title of the product variant.
Vendor String The name of the vendor that supplied or manufactured the product variant.
RemainingQuantity Int The number of units of this line item still pending fulfillment.
TotalQuantity Int The total number of units of this line item required in the fulfillment order.
RequiresShipping Bool Indicates whether the line item requires physical shipping.
WeightUnit String The unit of measurement used for the line item's weight, such as grams or kilograms.
WeightValue Double The numeric weight value of a single unit of the line item, measured in the specified unit.
Warnings String Any warnings or issues associated with the fulfillment order line item.
FinancialSummaries String A financial breakdown of costs associated with the fulfillment order line item.

CData Python Connector for Shopify

FulfillmentOrderLocationForMoveAvailableLineItems

Lists fulfillment order line items available to move to a new location.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • FulfillmentOrderId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • FulfillmentOrderId supports the '=, IN' comparison operators.

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

  SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE FulfillmentOrderId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE LocationId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE LocationId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE FulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the fulfillment order line item.
FulfillmentOrderId String The globally unique identifier of the fulfillment order this line item belongs to.
FulfillmentOrderUpdatedAt Datetime The date and time when the fulfillment order was last updated.
ImageId String The globally unique idenifier of the image associated with the product or variant.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text describing the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL of the product image.
InventoryItemId String The globally unique identifier of the inventory item tied to this line item.
Sku String The stock keeping unit (SKU) of the product variant.
ProductTitle String The title of the product linked to this line item.
VariantId String The globally unique identifier of the product variant associated with this line item.
VariantTitle String The title of the product variant.
Vendor String The name of the vendor that supplied or manufactured the product variant.
RemainingQuantity Int The number of units of this line item still pending fulfillment.
TotalQuantity Int The total number of units of this line item required in the fulfillment order.
RequiresShipping Bool Indicates whether the line item requires physical shipping.
WeightUnit String The unit of measurement used for the line item's weight, such as grams or kilograms.
WeightValue Double The numeric weight value of a single unit of the line item, measured in the specified unit.
Warnings String Any warnings or issues associated with the fulfillment order line item.
FinancialSummaries String A financial breakdown of costs associated with the fulfillment order line item.
LocationId [KEY] String The globally unique identifier of the location where this line item can be moved.

CData Python Connector for Shopify

FulfillmentOrderLocationForMoveUnavailableLineItems

Lists fulfillment order line items that cannot be moved to a new location.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • FulfillmentOrderId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • FulfillmentOrderId supports the '=, IN' comparison operators.

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

  SELECT * FROM FulfillmentOrderLocationForMoveUnavailableLineItems WHERE FulfillmentOrderId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveUnavailableLineItems WHERE LocationId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveUnavailableLineItems WHERE LocationId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveUnavailableLineItems WHERE FulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the fulfillment order line item.
FulfillmentOrderId String The globally unique identifier of the fulfillment order this line item belongs to.
FulfillmentOrderUpdatedAt Datetime The date and time when the fulfillment order was last updated.
ImageId String The globally unique identifier of the image associated with the product or variant.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text describing the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL of the product image.
InventoryItemId String The globally unique identifier of the inventory item tied to this line item.
Sku String The stock keeping unit (SKU) of the product variant.
ProductTitle String The title of the product linked to this line item.
VariantId String The globally unique identifier of the product variant associated with this line item.
VariantTitle String The title of the product variant.
Vendor String The name of the vendor that supplied or manufactured the product variant.
RemainingQuantity Int The number of units of this line item still pending fulfillment.
TotalQuantity Int The total number of units of this line item required in the fulfillment order.
RequiresShipping Bool Indicates whether the line item requires physical shipping.
WeightUnit String The unit of measurement used for the line item's weight, such as grams or kilograms.
WeightValue Double The numeric weight value of a single unit of the line item, measured in the specified unit.
Warnings String Any warnings or issues associated with the fulfillment order line item.
FinancialSummaries String A financial breakdown of costs associated with the fulfillment order line item.
LocationId [KEY] String The globally unique identifier of the location where this line item can be moved.

CData Python Connector for Shopify

FulfillmentOrderLocationsForMove

Lists candidate locations to which a fulfillment order can be moved.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • FulfillmentOrderId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.

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

  SELECT * FROM FulfillmentOrderLocationsForMove WHERE FulfillmentOrderId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationsForMove WHERE LocationId = 'Val1'

Columns

Name Type References Description
FulfillmentOrderId [KEY] String The globally unique identifier of the fulfillment order being evaluated for relocation.
LocationId [KEY] String The globally unique identifier of the target location.
AvailableLineItemsCount Int The number of fulfillment order line items that can be reassigned from their current location to this location.
AvailableLineItemsCountPrecision String The precision level of the available line items count.
UnavailableLineItemsCount Int The number of fulfillment order line items that cannot be reassigned to this location.
UnavailableLineItemsCountPrecision String The precision level of the unavailable line items count.
Movable Bool Indicates whether the fulfillment order as a whole can be moved to this location.
Message String A human-readable explanation of why the fulfillment order, or certain line items, cannot be moved to the location.

CData Python Connector for Shopify

InventoryAdjustmentGroupChanges

Lists sets of quantity changes that occurred within inventory events.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • InventoryAdjustmentGroupId supports the '=, IN' comparison operators.
  • InventoryItemId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • Name supports the '=, IN' comparison operators.

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

  SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1'
  SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND InventoryItemId = 'Val1'
  SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND LocationId = 'Val1'
  SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND Name = 'Val1'

Columns

Name Type References Description
InventoryAdjustmentGroupId [KEY] String

InventoryAdjustmentGroups.Id

The globally unique identifier of the inventory adjustment group associated with this change.
InventoryItemId [KEY] String The globally unique identifier of the inventory item whose quantity was adjusted.
LocationId [KEY] String The globally unique identifier of the location where the adjustment occurred.
Name [KEY] String The name of the inventory quantity type that was changed (for example, available, committed).
Delta Int The amount by which the inventory quantity changed. Positive values increase the quantity and negative values decrease it.
QuantityAfterChange Int The total inventory quantity for the specified type after the adjustment.
LedgerDocumentUri String A URI linking to the document or resource (such as an order or transfer) that caused the inventory change.

CData Python Connector for Shopify

InventoryAdjustmentGroups

Lists groups of adjustments applied during inventory operations.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM InventoryAdjustmentGroups WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the inventory adjustment group.
Reason String The reason provided for the set of inventory adjustments.
ReferenceDocumentUri String A URI that indicates the origin of the inventory change. This might point to the entity that performed the adjustment or to a related Shopify resource. For example, if a unit reserved in a draft order is later converted into an order, the URI might reference the resulting order Id.
CreatedAt Datetime The date and time when the inventory adjustment group was created.
AppId String The globally unique identifier of the app responsible for the adjustment, if applicable.
StaffMemberId String The globally unique identifier of the staff member who performed the adjustment. Available only with a Shopify Plus subscription.

CData Python Connector for Shopify

InventoryItemCountryHarmonizedSystemCodes

Lists country-specific Harmonized System (HS) codes assigned to inventory items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • InventoryItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM InventoryItemCountryHarmonizedSystemCodes WHERE InventoryItemId = 'Val1'

Columns

Name Type References Description
InventoryItemId String

InventoryItems.Id

The globally unique identifier of the inventory item.
CountryCode String The ISO 3166-1 alpha-2 code for the country that issued the harmonized system code.
HarmonizedSystemCode [KEY] String The country-specific harmonized system (HS) code used for international trade. These codes are typically longer than six digits.

CData Python Connector for Shopify

InventoryItemInventoryLevelQuantities

Lists on-hand, committed, and available quantities by location for an inventory item.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • InventoryLevelId supports the '=, IN' comparison operators.
  • Name supports the '=, IN' comparison operators.

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

  SELECT * FROM InventoryItemInventoryLevelQuantities WHERE InventoryLevelId = 'Val1'
  SELECT * FROM InventoryItemInventoryLevelQuantities WHERE Name = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the inventory level quantity record.
InventoryItemId String

InventoryItems.Id

The globally unique identifier of the related inventory item.
InventoryLevelId String

InventoryItemInventoryLevels.Id

The globally unique identifier of the inventory level associated with this quantity.
InventoryLevelLocationId String The globally unique identifier of the location tied to the inventory level.
Name String The label or name that identifies the specific type of inventory quantity (for example, available or reserved).
Quantity Int The recorded quantity for the specified inventory type.
UpdatedAt Datetime The date and time when the quantity was last updated.

CData Python Connector for Shopify

InventoryItemInventoryLevelScheduledChanges

Lists scheduled future changes to inventory levels.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • InventoryLevelId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM InventoryItemInventoryLevelScheduledChanges WHERE InventoryLevelId = 'Val1'

Columns

Name Type References Description
InventoryItemId String

InventoryItems.Id

The globally unique identifier of the inventory item associated with the scheduled change.
InventoryLevelId String

InventoryItemInventoryLevels.Id

The globally unique identifier of the inventory level affected by the scheduled change.
ExpectedAt Datetime The date and time when the scheduled change to inventory quantities is expected to take effect.
FromName String The inventory quantity type or bucket from which the quantity is transitioned (for example, 'on_hand').
ToName String The inventory quantity type or bucket to which the quantity is transitioned (for example, 'available').
Quantity Int The amount of inventory involved in the scheduled change, measured from the 'fromName' state.
LedgerDocumentUri String A freeform URI referencing the ledger document or entity that triggered the scheduled inventory change.

CData Python Connector for Shopify

Jobs

Returns job status by Id for asynchronous operations and internal tasks.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM Jobs WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique ID returned when an asynchronous mutation is run.
Done Bool Indicates whether the job has finished running or is still in the queue.

CData Python Connector for Shopify

LocalizationCountries

Lists countries with localized storefront experiences enabled.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM LocalizationCountries

Columns

Name Type References Description
IsoCode [KEY] String The ISO 3166 country code.
Name String The full name of the country.
UnitSystem String The measurement system used in the country, such as metric or imperial.
CurrencyIsoCode String The ISO 4217 currency code used in the country.
CurrencyName String The display name of the currency.
CurrencySymbol String The symbol representing the currency.
MarketId String A globally unique ID that identifies the associated market.
MarketHandle String A human-readable unique identifier for the market, automatically generated from its title.
AvailableLanguages String The languages available for storefronts in the country.

CData Python Connector for Shopify

MarketingEvents

Lists marketing events associated with the marketing application and their metrics.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • AppId supports the '=, !=' comparison operators.
  • Type supports the '=, !=' comparison operators.
  • StartedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM MarketingEvents WHERE Id = 'Val1'
  SELECT * FROM MarketingEvents WHERE AppId = 'Val1'
  SELECT * FROM MarketingEvents WHERE Type = 'Val1'
  SELECT * FROM MarketingEvents WHERE StartedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the marketing event.
RemoteId String An optional Id used by Shopify to validate engagement data.
LegacyResourceId String The Id of the corresponding resource in the REST Admin API.
AppId String A globally unique Id for the app that created the event.
MarketingChannelType String The channel or medium through which the marketing activity reached consumers. Used for reporting aggregation.
Description String A description of the marketing event, used to summarize the campaign or promotion.
Type String The type of marketing event.
EndedAt Datetime The date and time when the marketing event ended.
ManageUrl String The URL where the marketing event can be managed.
PreviewUrl String The URL where the marketing event can be previewed.
StartedAt Datetime The date and time when the marketing event started.
UtmCampaign String The UTM campaign name associated with the marketing event.
UtmMedium String The UTM medium used in the campaign (for example, 'cpc', 'banner').
UtmSource String The UTM source or referrer of the campaign (for example, 'google', 'newsletter').
SourceAndMedium String A combined representation of where the marketing event occurred and the type of content used. Derived from 'marketingChannel', 'referringDomain', and 'type' to ensure consistency across apps.
ScheduledToEndAt Datetime The date and time when the marketing event is scheduled to end.

CData Python Connector for Shopify

MetafieldDefinitionConstraintValues

Lists constraint subtype values supported by a metafield definition.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • DefinitionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM MetafieldDefinitionConstraintValues WHERE DefinitionId = 'Val1'

Columns

Name Type References Description
DefinitionId String

MetafieldDefinitions.Id

A globally unique Id for the metafield definition.
Key String The constraint key that specifies the category of resource subtypes the metafield definition supports.
Value String The constraint value that defines the allowed subtype for the metafield definition.

CData Python Connector for Shopify

MetafieldDefinitionStandardTemplates

Lists standard metafield templates that provide ready-made definition presets.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM MetafieldDefinitionStandardTemplates

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the standard metafield definition.
Namespace String The namespace owned by the definition after it has been activated.
Key String The key owned by the definition after it has been activated.
Name String The human-readable name of the standard metafield definition.
Description String The description of the standard metafield definition.
OwnerTypes String The list of resource types that the standard metafield definition can be applied to.
Validations String The configured validations for the standard metafield definition.
VisibleToStorefrontApi Bool Indicates whether metafields for the definition are visible by default through the Storefront API.
TypeName String The name of the type for the metafield definition.
TypeCategory String The category associated with the metafield definition type.
TypeSupportedValidations String The supported validations for the metafield definition type.
TypeSupportsDefinitionMigrations Bool Indicates whether metafields without a definition can be migrated to a definition of this type.

CData Python Connector for Shopify

MetafieldDefinitionTypes

Lists core metafield types and validations available for definitions.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM MetafieldDefinitionTypes

Columns

Name Type References Description
Name [KEY] String The name of the metafield definition type.
Category String The category associated with the metafield definition type.
SupportsDefinitionMigrations Bool Indicates whether metafields without a definition can be migrated to a definition of this type.
SupportedValidations String The rules supported for this metafield type, such as minimum or maximum values, length limits, or format requirements.

CData Python Connector for Shopify

MetaobjectDefinitions

Lists definitions for metaobjects, which are structured, reusable content modeled via metafields.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM MetaobjectDefinitions

Columns

Name Type References Description
ID [KEY] String A globally unique Id for the metaobject definition.
Name String The human-readable name of the metaobject definition.
MetaobjectsCount Int The number of metaobjects created for this definition.
Type String The type of the metaobject definition, which also defines the namespace of associated metafields.
Description String The administrative description of the metaobject definition.
DisplayNameKey String The field key used as the display name for each metaobject.
AccessAdmin String Access configuration for Admin API surface areas, including the GraphQL Admin API.
AccessStorefront String Access configuration for Storefront API surface areas, including the GraphQL Storefront API and Liquid.
CapabilitiesPublishableEnabled Bool Indicates whether the metaobject definition is publishable.
CapabilitiesTranslatableEnabled Bool Indicates whether the metaobject definition is translatable.
CapabilitiesOnlineStoreEnabled Bool Indicates whether the metaobject definition can be displayed as a page in the Online Store.
CapabilitiesOnlineStoreDataCanCreateRedirects Bool Indicates whether sufficient redirects are available to support all published entries for this metaobject type in the Online Store.
CapabilitiesOnlineStoreDataUrlHandle String The URL handle for accessing Online Store pages of this metaobject type.
CapabilitiesRenderableEnabled Bool Indicates whether the metaobject definition is renderable and exposes search engine optimization (SEO) data.
CapabilitiesRenderableDataMetaDescriptionKey String The field key used as the SEO page description when the metaobject definition is renderable.
CapabilitiesRenderableDataMetaTitleKey String The field key used as the SEO page title when the metaobject definition is renderable.

CData Python Connector for Shopify

MetaObjects

Lists all metaobjects created for the shop.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • Type supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM MetaObjects WHERE Type = 'Val1'

Columns

Name Type References Description
ID [KEY] String A globally unique Id for the metaobject.
Handle String The unique handle of the metaobject, useful as a custom Id.
DisplayName String The preferred display name value of the metaobject.
CreatedByDeveloperName String The name of the app developer that created the metaobject.
DefinitionId String The Id of the MetaobjectDefinition that models this metaobject type.
Title String The name of the app associated with the metaobject.
Type String The definition type of the metaobject.
Key [KEY] String The field key of the metaobject.
Value String The assigned field value, always stored as a string regardless of the field type.
TypeField String The data type of the field.
UpdatedAt Datetime The date and time when the metaobject was last updated.
CapabilitiesPublishableStatus String The publishable capability status of the metaobject.
CapabilitiesOnlineStoreTemplateSuffix String The theme template applied when viewing the metaobject in the Online Store.
ThumbnailFieldKey String The field key recommended to visually represent this metaobject(for example, a file reference or color field).
ThumbnailFieldThumbnailHex String The hexadecimal color code recommended to visually represent this metaobject.
ThumbnailFieldFileId String The file Id recommended to visually represent this metaobject.
ThumbnailFieldFileAlt String The alt text describing the file used to visually represent this metaobject.
ThumbnailFieldFileCreatedAt Datetime The date and time when the file used to represent this metaobject was created.
ThumbnailFieldFileUpdatedAt Datetime The date and time when the file used to represent this metaobject was last updated.
ThumbnailFieldFileFileStatus String The status of the file used to represent this metaobject.
ThumbnailFieldFileFileErrors String Any errors that occurred on the file used to represent this metaobject.
ThumbnailFieldFilePreviewStatus String The current status of the preview image for the file.
ThumbnailFieldFilePreviewImageId String The Id of the preview image for the file.
ThumbnailFieldFilePreviewImageAltText String The alt text describing the preview image for the file.
ThumbnailFieldFilePreviewImageHeight Int The original height of the preview image in pixels. Returns null if the image isn't hosted by Shopify.
ThumbnailFieldFilePreviewImageWidth Int The original width of the preview image in pixels. Returns null if the image isn't hosted by Shopify.
ThumbnailFieldFilePreviewImageUrl String The URL of the preview image for the file.

CData Python Connector for Shopify

OrderAdditionalFees

Lists additional fees applied to an order (for example, handling, or service).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAdditionalFees WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the additional fee.
OrderId String

Orders.Id

A globally unique Id for the order associated with the fee.
Name String The name of the additional fee.
PricePresentmentMoneyAmount Decimal The presentment currency amount of the fee as a decimal value.
PricePresentmentMoneyCurrencyCode String The ISO currency code of the presentment money.
PriceShopMoneyAmount Decimal The shop currency amount of the fee as a decimal value.
PriceShopMoneyCurrencyCode String The ISO currency code of the shop money.

CData Python Connector for Shopify

OrderAgreementAdditionalFeeSales

Lists sales attributed to agreement-based additional fees.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementAdditionalFeeSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
AdditionalFeeSaleAdditionalFeeId String The Id of the additional fee associated with the sale.

CData Python Connector for Shopify

OrderAgreementAdjustmentSales

Lists sales attributed to agreement-based adjustments.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementAdjustmentSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderAgreementDutySales

Lists sales attributed to agreement-based duties.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementDutySales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
DutySaleDutyId String The Id of the duty associated with the sale.

CData Python Connector for Shopify

OrderAgreementGiftCardSales

Lists sales attributed to agreement-based gift card usage.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementGiftCardSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
GiftCardSaleLineItemId String The Id of the gift card line item associated with the sale.

CData Python Connector for Shopify

OrderAgreementProductSales

Lists sales attributed to agreement-based product charges.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementProductSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
ProductSaleLineItemId String The Id of the product line item associated with the sale.

CData Python Connector for Shopify

OrderAgreements

Lists sales agreements associated with orders.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreements WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
Id [KEY] String A globally unique Id for the agreement.
HappenedAt Datetime The date and time when the agreement occurred.
Reason String The reason the agreement was created.
UserId String The Id of the staff member associated with the agreement. Available only with a Shopify Plus subscription.
AppApiKey String The API key of the application that created the agreement.

CData Python Connector for Shopify

OrderAgreementShippingLineSales

Lists sales attributed to agreement-based shipping lines.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementShippingLineSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
ShippingLineSaleShippingLineId String The Id of the shipping line item associated with the sale. Not available if the SaleActionType is a return.

CData Python Connector for Shopify

OrderAgreementTipSales

Lists sales attributed to agreement-based tips.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementTipSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
TipSaleLineItemId String The Id of the tip line item associated with the sale.

CData Python Connector for Shopify

OrderAgreementUnknownSales

Lists agreement-based sales that fall into an unknown category.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementUnknownSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderCustomAttributes

Lists custom attributes attached to orders for internal or personalization data.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

Orders.Id

A globally unique Id for the resource.
Key [KEY] String The key or name of the attribute.
Value String The value of the attribute.

CData Python Connector for Shopify

OrderDiscountApplications

Lists discount applications that affected an order, excluding edits and refunds.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderDiscountApplications WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId [KEY] String

Orders.Id

A globally unique Id for the order associated with the discount application.
AllocationMethod String The method by which the discount value is applied to its entitled items.
Index [KEY] Int The ordered index that identifies the discount application and indicates its precedence for calculations.
TargetSelection String How the discount amount is distributed across the discounted lines.
TargetType String Indicates whether the discount is applied to line items or shipping lines.
ValueAmount Decimal The discount amount as a decimal value.
ValueCurrencyCode String The ISO currency code of the discount amount.
ValuePercentage Double The discount percentage, represented as a number between -100 (free) and 0 (no discount).
AutomaticDiscountApplicationTitle String The title of the automatic discount application.
DiscountCodeApplicationCode String The discount code used at the time of application.
ManualDiscountApplicationTitle String The title of the manual discount application.
ManualDiscountApplicationDescription String The description of the manual discount application.
ScriptDiscountApplicationTitle String The title of the script-based discount application.

CData Python Connector for Shopify

OrderEditAgreementAdditionalFeeSales

Lists agreement-based additional fee sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementAdditionalFeeSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
AdditionalFeeSaleAdditionalFeeId String The Id of the additional fee associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementAdjustmentSales

Lists agreement-based adjustment sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementAdjustmentSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementDutySales

Lists agreement-based duty sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementDutySales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
DutySaleDutyId String The Id of the duty associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementGiftCardSales

Lists agreement-based gift card sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementGiftCardSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
GiftCardSaleLineItemId String The Id of the gift card line item associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementProductSales

Lists agreement-based product sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementProductSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
ProductSaleLineItemId String The Id of the product line item associated with the sale.

CData Python Connector for Shopify

OrderEditAgreements

Lists sales agreements that apply to order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreements WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
Id [KEY] String A globally unique Id for the agreement.
HappenedAt Datetime The date and time when the agreement occurred.
Reason String The reason the agreement was created.
UserId String The Id of the staff member associated with the agreement. Available only with a Shopify Plus subscription.
AppApiKey String The API key of the application that created the agreement.

CData Python Connector for Shopify

OrderEditAgreementShippingLineSales

Lists agreement-based shipping line sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementShippingLineSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
ShippingLineSaleShippingLineId String The Id of the shipping line item associated with the sale. Not available if the SaleActionType is a return.

CData Python Connector for Shopify

OrderEditAgreementTipSales

Lists agreement-based tip sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementTipSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
TipSaleLineItemId String The Id of the tip line item associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementUnknownSales

Lists uncategorized agreement-based sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementUnknownSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderEvents

Retrieves event history for orders (creation, updates, fulfillment changes).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the event.
HostId String

Orders.Id

A globally unique Id for the host associated with the event.
AppTitle String The name of the app that created the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was caused by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is critical.
Action String The action that occurred.
Message String Human-readable text that describes the event.
BasicEventSubjectId String The Id of the resource that generated the event.
BasicEventSubjectType String The type of the resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event has additional content.
BasicEventAdditionalContent String Additional content for collapsible timeline events.
BasicEventAdditionalData String Additional data for event consumers.
BasicEventSecondaryMessage String Human-readable text that supports the event message.
BasicEventArguments String Arguments that reference the event and its resources.
CommentEventAuthorId String The Id of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The raw body of the comment event.
CommentEventSubjectId String The Id of the parent subject to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject has a timeline comment.
CommentEventEmbedCustomerId String The Id of the customer referenced in the comment event.
CommentEventEmbedDraftOrderId String The Id of the draft order referenced in the comment event.
CommentEventEmbedOrderId String The Id of the order referenced in the comment event.
CommentEventEmbedProductId String The Id of the product referenced in the comment event.
CommentEventEmbedProductVariantId String The Id of the product variant referenced in the comment event.

CData Python Connector for Shopify

OrderLineItemCustomAttributes

Lists custom attributes attached to order line items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderLineItemCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

OrderLineItems.Id

A globally unique Id for the resource.
Key [KEY] String The key or name of the attribute.
Value String The value of the attribute.

CData Python Connector for Shopify

OrderLineItemDiscountAllocations

Shows discount allocations applied to a line item, excluding edits and refunds.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderLineItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderLineItemDiscountAllocations WHERE OrderLineItemId = 'Val1'

Columns

Name Type References Description
OrderLineItemId [KEY] String The Id of the order line item associated with the discount allocation.
DiscountApplicationIndex [KEY] Decimal The ordered index that identifies the discount application and indicates its precedence for calculations.
DiscountApplicationType String Discount type.
DiscountApplicationTargetType String Discount target type.
DiscountApplicationTargetSelection String Discount target selection.
DiscountApplicationTitle String Discount name.
DiscountApplicationValueAmount Decimal Discount value as a precise monetary value.
DiscountApplicationValueCurrencyCode String Discount value currency code.
DiscountApplicationValuePercentage Float Discount value as percentage.
AllocatedAmountSetPresentmentMoneyAmount Decimal The allocated discount amount, in presentment currency, as a decimal value.
AllocatedAmountSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the allocated discount amount.
AllocatedAmountSetShopMoneyAmount Decimal The allocated discount amount, in shop currency, as a decimal value.
AllocatedAmountSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the allocated discount amount.

CData Python Connector for Shopify

OrderLineItemDuties

Lists duties allocated to order line items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • LineItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderLineItemDuties WHERE LineItemId = 'Val1'

Columns

Name Type References Description
LineItemId String

OrderLineItems.Id

A globally unique Id for the order line item associated with the duty.
Id [KEY] String A globally unique Id for the duty record.
CountryCodeOfOrigin String The ISO 3166-1 alpha-2 country code of the item's country of origin, used in calculating the duty.
HarmonizedSystemCode String The harmonized system (HS) code of the item, used in calculating the duty.
PricePresentmentMoneyAmount Decimal The duty amount, in presentment currency, as a decimal value.
PricePresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the duty amount.
PriceShopMoneyAmount Decimal The duty amount, in shop currency, as a decimal value.
PriceShopMoneyCurrencyCode String The ISO currency code for the shop currency of the duty amount.

CData Python Connector for Shopify

OrderLineItems

Lists line items on orders, including variants, quantities, and pricing.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.
  • OrderUpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM OrderLineItems WHERE ResourceId = 'Val1'
  SELECT * FROM OrderLineItems WHERE OrderUpdatedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the order line item.
ResourceId String

Orders.Id

A globally unique Id for the resource associated with the line item.
Name String The title of the product, optionally appended with the title of the variant (if applicable).
Title String The title of the product at the time of order creation.
VariantTitle String The title of the variant at the time of order creation.
VariantId String A globally unique Id for the variant associated with the line item.
ProductId String A globally unique Id for the product associated with the line item.
SellingPlanSellingPlanId String The Id of the selling plan associated with the line item.
Quantity Int The number of variant units ordered.
Restockable Bool Indicates whether the line item can be restocked.
Sku String The variant SKU number.
Taxable Bool Indicates whether the variant is taxable.
Vendor String The name of the vendor who made the variant.
CurrentQuantity Int The current quantity of the line item, excluding removed units.
MerchantEditable Bool Indicates whether the line item can be edited.
RefundableQuantity Int The quantity of the line item that can be refunded.
RequiresShipping Bool Indicates whether physical shipping is required for the variant.
UnfulfilledQuantity Int The number of units not yet fulfilled.
NonFulfillableQuantity Int The number of units that cannot be fulfilled. For example, refunded items or non-fulfillable items like tips.
IsGiftCard Bool Indicates whether the line item represents the purchase of a gift card.
DiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total, in presentment currency, as a decimal value.
DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts Decimal The discounted total with code discounts applied, in presentment currency, as a decimal value.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the discounted total.
DiscountedTotalSetShopMoneyAmount Decimal The discounted total, in shop currency, as a decimal value.
DiscountedTotalSetShopMoneyAmountWithCodeDiscounts Decimal The discounted total with code discounts applied, in shop currency, as a decimal value.
DiscountedTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discounted total.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted unit price, in presentment currency, as a decimal value.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the discounted unit price.
DiscountedUnitPriceSetShopMoneyAmount Decimal The discounted unit price, in shop currency, as a decimal value.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discounted unit price.
ImageId String A globally unique Id for the image.
ImageWidth Int The original width of the image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String A word or phrase that describes the contents or purpose of the image.
ImageHeight Int The original height of the image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL location of the image.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total, in presentment currency, as a decimal value.
OriginalTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the original total.
OriginalTotalSetShopMoneyAmount Decimal The original total, in shop currency, as a decimal value.
OriginalTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the original total.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price, in presentment currency, as a decimal value.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the original unit price.
OriginalUnitPriceSetShopMoneyAmount Decimal The original unit price, in shop currency, as a decimal value.
OriginalUnitPriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the original unit price.
TotalDiscountSetPresentmentMoneyAmount Decimal The total discount applied, in presentment currency, as a decimal value.
TotalDiscountSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the total discount.
TotalDiscountSetShopMoneyAmount Decimal The total discount applied, in shop currency, as a decimal value.
TotalDiscountSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total discount.
UnfulfilledDiscountedTotalSetPresentmentMoneyAmount Decimal The unfulfilled discounted total, in presentment currency, as a decimal value.
UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the unfulfilled discounted total.
UnfulfilledDiscountedTotalSetShopMoneyAmount Decimal The unfulfilled discounted total, in shop currency, as a decimal value.
UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the unfulfilled discounted total.
UnfulfilledOriginalTotalSetPresentmentMoneyAmount Decimal The unfulfilled original total, in presentment currency, as a decimal value.
UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the unfulfilled original total.
UnfulfilledOriginalTotalSetShopMoneyAmount Decimal The unfulfilled original total, in shop currency, as a decimal value.
UnfulfilledOriginalTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the unfulfilled original total.
OrderUpdatedAt Datetime The date and time when the order was last updated.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
FulfillmentService String The handle of the fulfillment service that stocks the product variant for the line item.
OrderLineItemCustomAttributes String Custom information added to the cart for the line item, often used for product customization options.
OrderLineItemTaxLines String A list of tax line objects applied to the line item.

CData Python Connector for Shopify

OrderLineItemTaxLines

Shows tax lines calculated for an order line item.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderLineItemTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the tax.
ResourceId [KEY] String

OrderLineItems.Id

A globally unique Id for the resource associated with the tax line.
Source String The source of the tax.
Rate Double The proportion of the line item price that the tax represents, as a decimal value.
ChannelLiable Bool Indicates whether the channel that submitted the tax line is liable for remitting it. A null value indicates that liability is unknown.
RatePercentage Double The proportion of the line item price that the tax represents, as a percentage.
PriceSetPresentmentMoneyAmount Decimal The tax amount, in presentment currency, as a decimal value.
PriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the tax amount.
PriceSetShopMoneyAmount Decimal The tax amount, in shop currency, as a decimal value.
PriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the tax amount.

CData Python Connector for Shopify

OrderNonFulfillableLineItemDuties

Lists duties on line items that cannot be fulfilled.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • LineItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderNonFulfillableLineItemDuties WHERE LineItemId = 'Val1'

Columns

Name Type References Description
LineItemId String

OrderNonFulfillableLineItems.Id

A globally unique Id for the non-fulfillable order line item associated with the duty.
Id [KEY] String A globally unique Id for the duty record.
CountryCodeOfOrigin String The ISO 3166-1 alpha-2 country code of the item's country of origin, used in calculating the duty.
HarmonizedSystemCode String The harmonized system (HS) code of the item, used in calculating the duty.
PricePresentmentMoneyAmount Decimal The duty amount, in presentment currency, as a decimal value.
PricePresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the duty amount.
PriceShopMoneyAmount Decimal The duty amount, in shop currency, as a decimal value.
PriceShopMoneyCurrencyCode String The ISO currency code for the shop currency of the duty amount.

CData Python Connector for Shopify

OrderNonFulfillableLineItems

Lists order line items that are not fulfillable and related context.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderNonFulfillableLineItems WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the non-fulfillable order line item.
ResourceId String

Orders.Id

A globally unique Id for the resource associated with the line item.
Name String The title of the product, optionally appended with the title of the variant (if applicable).
Title String The title of the product at the time of order creation.
VariantTitle String The title of the variant at the time of order creation.
VariantId String A globally unique Id for the variant associated with the line item.
ProductId String A globally unique Id for the product associated with the line item.
SellingPlanSellingPlanId String The Id of the selling plan associated with the line item.
Quantity Int The number of variant units ordered.
Restockable Bool Indicates whether the line item can be restocked.
Sku String The variant SKU number.
Taxable Bool Indicates whether the variant is taxable.
Vendor String The name of the vendor who made the variant.
CurrentQuantity Int The current quantity of the line item, excluding removed units.
MerchantEditable Bool Indicates whether the line item can be edited.
RefundableQuantity Int The quantity of the line item that can be refunded.
RequiresShipping Bool Indicates whether physical shipping is required for the variant.
UnfulfilledQuantity Int The number of units not yet fulfilled.
NonFulfillableQuantity Int The number of units that cannot be fulfilled. For example, refunded items or non-fulfillable items like tips.
IsGiftCard Bool Indicates whether the line item represents the purchase of a gift card.
DiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total, in presentment currency, as a decimal value.
DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts Decimal The discounted total with code discounts applied, in presentment currency, as a decimal value.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the discounted total.
DiscountedTotalSetShopMoneyAmount Decimal The discounted total, in shop currency, as a decimal value.
DiscountedTotalSetShopMoneyAmountWithCodeDiscounts Decimal The discounted total with code discounts applied, in shop currency, as a decimal value.
DiscountedTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discounted total.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted unit price, in presentment currency, as a decimal value.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the discounted unit price.
DiscountedUnitPriceSetShopMoneyAmount Decimal The discounted unit price, in shop currency, as a decimal value.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discounted unit price.
ImageId String A globally unique Id for the image.
ImageWidth Int The original width of the image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String A word or phrase that describes the contents or purpose of the image.
ImageHeight Int The original height of the image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL location of the image.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total, in presentment currency, as a decimal value.
OriginalTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the original total.
OriginalTotalSetShopMoneyAmount Decimal The original total, in shop currency, as a decimal value.
OriginalTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the original total.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price, in presentment currency, as a decimal value.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the original unit price.
OriginalUnitPriceSetShopMoneyAmount Decimal The original unit price, in shop currency, as a decimal value.
OriginalUnitPriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the original unit price.
TotalDiscountSetPresentmentMoneyAmount Decimal The total discount applied, in presentment currency, as a decimal value.
TotalDiscountSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the total discount.
TotalDiscountSetShopMoneyAmount Decimal The total discount applied, in shop currency, as a decimal value.
TotalDiscountSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total discount.
UnfulfilledDiscountedTotalSetPresentmentMoneyAmount Decimal The unfulfilled discounted total, in presentment currency, as a decimal value.
UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the unfulfilled discounted total.
UnfulfilledDiscountedTotalSetShopMoneyAmount Decimal The unfulfilled discounted total, in shop currency, as a decimal value.
UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the unfulfilled discounted total.
UnfulfilledOriginalTotalSetPresentmentMoneyAmount Decimal The unfulfilled original total, in presentment currency, as a decimal value.
UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the unfulfilled original total.
UnfulfilledOriginalTotalSetShopMoneyAmount Decimal The unfulfilled original total, in shop currency, as a decimal value.
UnfulfilledOriginalTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the unfulfilled original total.

CData Python Connector for Shopify

OrderRefundAgreementAdditionalFeeSales

Lists refund sales associated with agreement-based additional fees.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementAdditionalFeeSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
AdditionalFeeSaleAdditionalFeeId String The Id of the additional fee charge associated with the sale.

CData Python Connector for Shopify

OrderRefundAgreementAdjustmentSales

Lists refund sales associated with agreement-based adjustments.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementAdjustmentSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderRefundAgreementDutySales

Lists refund sales associated with agreement-based duties.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementDutySales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
DutySaleDutyId String The Id of the duty charge associated with the sale.

CData Python Connector for Shopify

OrderRefundAgreementGiftCardSales

Lists refund sales associated with agreement-based gift card usage.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementGiftCardSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the gift card sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale, such as product or service.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.
GiftCardSaleLineItemId String A sale associated with a gift card. The line item for the associated sale. A globally unique Id.

CData Python Connector for Shopify

OrderRefundAgreementProductSales

Lists refund sales associated with agreement-based product charges.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementProductSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the product sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale, such as product or service.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.
ProductSaleLineItemId String A sale associated with a product. The line item for the associated sale. A globally unique Id.

CData Python Connector for Shopify

OrderRefundAgreements

Lists sales agreements tied to refunds.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreements WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
Id [KEY] String The unique identifier of the refund agreement.
HappenedAt Datetime The date and time when the agreement was created.
Reason String The reason why the refund agreement was issued.
UserId String The staff member associated with the agreement. A globally unique Id. (Available only with a Shopify Plus subscription.)
AppApiKey String The application that created the agreement, identified by its unique API key.
RefundId String

Refunds.Id

The refund record linked to the agreement.

CData Python Connector for Shopify

OrderRefundAgreementShippingLineSales

Lists refund sales associated with agreement-based shipping lines.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementShippingLineSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the shipping line sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale, such as shipping or handling.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.
ShippingLineSaleShippingLineId String A sale associated with a shipping charge. Represents the shipping line item for the sale. Not available if the SaleActionType is a return. A globally unique Id.

CData Python Connector for Shopify

OrderRefundAgreementTipSales

Lists refund sales associated with agreement-based tips.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementTipSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the tip sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale, such as tip or service charge.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.
TipSaleLineItemId String A sale associated with a tip. Represents the line item for the sale. A globally unique Id.

CData Python Connector for Shopify

OrderRefundAgreementUnknownSales

Lists uncategorized agreement-based refund sales.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementUnknownSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the unknown sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale when the type cannot be classified.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.

CData Python Connector for Shopify

OrderShippingLineDiscountAllocations

Retrieves the discounts that have been allocated onto the shipping lines of an order by discount applications.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderShippingLineDiscountAllocations WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId [KEY] String The ID of the Order.
ShippingLineId [KEY] String The ID of the shipping line.
DiscountApplicationIndex [KEY] Decimal An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.
DiscountApplicationType String Discount type.
DiscountApplicationTargetType String Discount target type.
DiscountApplicationTargetSelection String Discount target selection.
DiscountApplicationTitle String Discount name.
DiscountApplicationValueAmount Decimal Discount value as a precise monetary value.
DiscountApplicationValueCurrencyCode String Discount value currency code.
DiscountApplicationValuePercentage Float Discount value as percentage.
AllocatedAmountSetPresentmentMoneyAmount Decimal Decimal money amount.
AllocatedAmountSetPresentmentMoneyCurrencyCode String Currency of the money.
AllocatedAmountSetShopMoneyAmount Decimal Decimal money amount.
AllocatedAmountSetShopMoneyCurrencyCode String Currency of the money.

CData Python Connector for Shopify

OrderShippingLines

Lists shipping lines attached to orders, including rates and titles.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderShippingLines WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id.
CarrierIdentifier String A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service.
Title String The title of the shipping line.
Code String A reference to the shipping method.
Custom Bool Whether the shipping line is custom.
DeliveryCategory String The general classification of the delivery method.
IsRemoved Bool Whether the shipping line has been removed.
Phone String The phone number at the shipping address.
ShippingRateHandle String A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users.
Source String The rate source for the shipping line.
CurrentDiscountedPriceSetPresentmentMoneyAmount Decimal Decimal money amount.
CurrentDiscountedPriceSetPresentmentMoneyCurrencyCode String Currency of the money.
CurrentDiscountedPriceSetShopMoneyAmount Decimal Decimal money amount.
CurrentDiscountedPriceSetShopMoneyCurrencyCode String Currency of the money.
DiscountedPriceAmount Decimal Decimal money amount.
DiscountedPriceCurrencyCode String Currency of the money.
DiscountedPriceSetPresentmentMoneyAmount Decimal Decimal money amount.
DiscountedPriceSetPresentmentMoneyCurrencyCode String Currency of the money.
DiscountedPriceSetShopMoneyAmount Decimal Decimal money amount.
DiscountedPriceSetShopMoneyCurrencyCode String Currency of the money.
OriginalPriceAmount Decimal Decimal money amount.
OriginalPriceCurrencyCode String Currency of the money.
OriginalPriceSetPresentmentMoneyAmount Decimal Decimal money amount.
OriginalPriceSetPresentmentMoneyCurrencyCode String Currency of the money.
OriginalPriceSetShopMoneyAmount Decimal Decimal money amount.
OriginalPriceSetShopMoneyCurrencyCode String Currency of the money.
RequestedFulfillmentServiceId String The Id of the fulfillment service.
OrderId String

Orders.Id

A globally unique Id.
TaxLines String A list of tax line objects, each of which details a tax applicable to this shipping line.

CData Python Connector for Shopify

OrderTaxLines

Shows taxes calculated for an order at the order level.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the tax.
ResourceId [KEY] String

Orders.Id

A globally unique Id.
Source String The source of the tax.
Rate Double The proportion of the line item price that this tax represents, expressed as a decimal.
ChannelLiable Bool Whether the channel that submitted the tax line is liable for remittance. A value of null indicates unknown liability.
RatePercentage Double The proportion of the line item price that this tax represents, expressed as a percentage.
PriceSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency, expressed as a decimal.
PriceSetPresentmentMoneyCurrencyCode String The currency code of the tax amount in the presentment currency.
PriceSetShopMoneyAmount Decimal The tax amount in the shop's currency, expressed as a decimal.
PriceSetShopMoneyCurrencyCode String The currency code of the tax amount in the shop's currency.

CData Python Connector for Shopify

PageEvents

Retrieves event history for pages (creation, publishing, edits).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM PageEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id.
HostId String

Pages.Id

A globally unique Id.
AppTitle String The name of the app that created the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was caused by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is critical.
Action String The action that occurred.
Message String Human-readable text that describes the event.
BasicEventSubjectId String The Id of the resource that generated the event.
BasicEventSubjectType String The type of the resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event has additional content.
BasicEventAdditionalContent String Additional content for collapsible timeline events.
BasicEventAdditionalData String Additional data for event consumers.
BasicEventSecondaryMessage String Human-readable text that supports the main event message.
BasicEventArguments String References the event and its associated resources.
CommentEventAuthorId String The Id of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The raw body text of the comment event.
CommentEventSubjectId String The Id of the parent subject to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject has a timeline comment.
CommentEventEmbedCustomerId String The object reference to the associated customer for the comment event.
CommentEventEmbedDraftOrderId String The object reference to the associated draft order for the comment event.
CommentEventEmbedOrderId String The object reference to the associated order for the comment event.
CommentEventEmbedProductId String The object reference to the associated product for the comment event.
CommentEventEmbedProductVariantId String The object reference to the associated product variant for the comment event.

CData Python Connector for Shopify

PriceListPrices

Lists prices attached to a specific price list by currency and adjustment rules.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • PriceListId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM PriceListPrices WHERE PriceListId = 'Val1'

Columns

Name Type References Description
PriceListId [KEY] String

PriceLists.Id

The unique Id of the price list.
ProductVariantId [KEY] String

ProductVariants.Id

The unique Id of the product variant associated with this price.
OriginType String The origin of the price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration).
PriceAmount Decimal The price of the product variant on this price list, expressed as a decimal money amount.
PriceCurrencyCode String The currency code of the product variant price on this price list.
CompareAtPriceAmount Decimal The compare-at price of the product variant on this price list, expressed as a decimal money amount.
CompareAtPriceCurrencyCode String The currency code of the compare-at price on this price list.

CData Python Connector for Shopify

ProductBundleComponentOptionSelections

Lists mappings between component options and selected parent bundle options.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductBundleComponentOptionSelections WHERE ProductId = 'Val1'

Columns

Name Type References Description
ProductId [KEY] String A globally unique Id of the product.
ComponentProductId [KEY] String A globally unique Id of the component product.
ParentOptionId String A globally unique Id of the parent product option.
ParentOptionName String The name of the parent product option.
ComponentOptionId [KEY] String A globally unique Id of the component product option.
ComponentOptionName String The name of the component product option.
Values String The component option values that are actively selected for this relationship.

CData Python Connector for Shopify

ProductBundleComponents

Lists component products that make up a bundle and their constraints.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductBundleComponents WHERE ProductId = 'Val1'

Columns

Name Type References Description
ProductId [KEY] String A globally unique Id of the product.
ComponentProductId [KEY] String A globally unique Id of the component product.
ComponentVariantsCount Int The total number of component variants in the bundle.
ComponentVariantsCountPrecision String The precision of the component variant count, indicating the exactness of the value.
OptionSelections String The parent and component options they are connected to, along with the chosen option values that appear in the bundle.
Quantity Int The quantity of the component product set for this bundle line. Contains null if a quantity option is present.
QuantityOptionName String The name of the quantity option.
QuantityOptionValues String The values of the quantity option.
QuantityOptionParentOptionId String A globally unique Id of the parent option for the quantity setting.

CData Python Connector for Shopify

ProductEvents

Retrieves event history for products (creation, publication, updates).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id.
HostId String

Products.Id

A globally unique Id.
AppTitle String The name of the app that created the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was caused by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is critical.
Action String The action that occurred.
Message String Human-readable text that describes the event.
BasicEventSubjectId String The Id of the resource that generated the event.
BasicEventSubjectType String The type of the resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event has additional content.
BasicEventAdditionalContent String Additional content for collapsible timeline events.
BasicEventAdditionalData String Additional data for event consumers.
BasicEventSecondaryMessage String Human-readable text that supports the main event message.
BasicEventArguments String References the event and its associated resources.
CommentEventAuthorId String The Id of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The raw body text of the comment event.
CommentEventSubjectId String The Id of the parent subject to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject has a timeline comment.
CommentEventEmbedCustomerId String The object reference to the associated customer for the comment event.
CommentEventEmbedDraftOrderId String The object reference to the associated draft order for the comment event.
CommentEventEmbedOrderId String The object reference to the associated order for the comment event.
CommentEventEmbedProductId String The object reference to the associated product for the comment event.
CommentEventEmbedProductVariantId String The object reference to the associated product variant for the comment event.

CData Python Connector for Shopify

ProductOperations

Inspects details of asynchronous operations performed on products.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operator. The connector processes other filters client-side within the connector.

  • Id supports the '=' comparison operator.

For example, the following query is processed server-side:

  SELECT * FROM ProductOperations WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The unique Id of the product operation.
ProductId String A globally unique Id of the associated product.
Status String The status of the product operation.

CData Python Connector for Shopify

ProductVariantEvents

Retrieves event history for product variants.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductVariantEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id.
HostId String

ProductVariants.Id

A globally unique Id.
AppTitle String The name of the app that created the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was caused by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is critical.
Action String The action that occurred.
Message String Human-readable text that describes the event.
BasicEventSubjectId String The Id of the resource that generated the event.
BasicEventSubjectType String The type of the resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event has additional content.
BasicEventAdditionalContent String Additional content for collapsible timeline events.
BasicEventAdditionalData String Additional data for event consumers.
BasicEventSecondaryMessage String Human-readable text that supports the main event message.
BasicEventArguments String References the event and its associated resources.
CommentEventAuthorId String The Id of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The raw body text of the comment event.
CommentEventSubjectId String The Id of the parent subject to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject has a timeline comment.
CommentEventEmbedCustomerId String The object reference to the associated customer for the comment event.
CommentEventEmbedDraftOrderId String The object reference to the associated draft order for the comment event.
CommentEventEmbedOrderId String The object reference to the associated order for the comment event.
CommentEventEmbedProductId String The object reference to the associated product for the comment event.
CommentEventEmbedProductVariantId String The object reference to the associated product variant for the comment event.

CData Python Connector for Shopify

PublicationCollections

Lists collections published to a specific publication (channel).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • PublicationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM PublicationCollections WHERE PublicationId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id of the publication collection.
LegacyResourceId String The Id of the corresponding resource in the REST Admin API.
PublicationId [KEY] String

Publications.Id

A globally unique Id of the associated publication.

CData Python Connector for Shopify

PublicationProducts

Lists products published to a specific publication (channel).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM PublicationProducts WHERE ProductId = 'Val1'

Columns

Name Type References Description
ProductId [KEY] String

Products.Id

A globally unique Id of the product.
PublishDate Datetime The date and time when the resource publication is published to the publication.
IsPublished Bool Indicates whether the resource publication is currently published.
PublicationId [KEY] String A globally unique Id of the associated publication.
PublicationName String The name of the publication.

CData Python Connector for Shopify

RefundDuties

Lists duties refunded as part of a refund.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundDuties WHERE RefundId = 'Val1'

Columns

Name Type References Description
OriginalDutyId [KEY] String A globally unique Id of the original duty.
RefundId [KEY] String

Refunds.Id

A globally unique Id of the associated refund.
OriginalDutyHarmonizedSystemCode String The harmonized system code of the item used to calculate the duty.
OriginalDutyCountryCodeOfOrigin String The ISO 3166-1 alpha-2 country code of the item's country of origin used to calculate the duty.
AmountSetPresentmentMoneyAmount Decimal The duty refund amount in the presentment currency, expressed as a decimal money amount.
AmountSetPresentmentMoneyCurrencyCode String The currency code of the duty refund amount in the presentment currency.
AmountSetShopMoneyAmount Decimal The duty refund amount in the shop's currency, expressed as a decimal money amount.
AmountSetShopMoneyCurrencyCode String The currency code of the duty refund amount in the shop's currency.

CData Python Connector for Shopify

RefundLineItemDuties

Lists duties attached to refunded line items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundLineItemDuties WHERE RefundId = 'Val1'

Columns

Name Type References Description
RefundId String A globally unique Id of the associated refund.
LineItemId String A globally unique Id of the line item.
Id [KEY] String A globally unique Id of the refund duty.
CountryCodeOfOrigin String The ISO 3166-1 alpha-2 country code of the item's country of origin used to calculate the duty.
HarmonizedSystemCode String The harmonized system code of the item used to calculate the duty.
PricePresentmentMoneyAmount Decimal The duty refund amount in the presentment currency, expressed as a decimal money amount.
PricePresentmentMoneyCurrencyCode String The currency code of the duty refund amount in the presentment currency.
PriceShopMoneyAmount Decimal The duty refund amount in the shop's currency, expressed as a decimal money amount.
PriceShopMoneyCurrencyCode String The currency code of the duty refund amount in the shop's currency.

CData Python Connector for Shopify

RefundLineItems

Lists refund line item records that specify quantities and amounts refunded.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundLineItems WHERE RefundId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id of the refund line item.
LineItemId String A globally unique Id of the associated line item.
RefundId String

Refunds.Id

A globally unique Id of the associated refund.
LineItemName String The title of the product, optionally appended with the variant title if applicable.
LineItemTitle String The title of the product at the time of order creation.
LineItemVariantTitle String The title of the variant at the time of order creation.
LineItemQuantity Int The number of variant units ordered.
LineItemRestockable Bool Indicates whether the line item can be restocked.
LineItemSku String The SKU number of the variant.
LineItemTaxable Bool Indicates whether the variant is taxable.
LineItemVendor String The name of the vendor who supplied the variant.
LineItemCurrentQuantity Int The line item's quantity, minus any removed quantity.
LineItemMerchantEditable Bool Indicates whether the line item can be edited.
LineItemRefundableQuantity Int The line item's refundable quantity, calculated as quantity minus removed quantity.
LineItemNonFulfillableQuantity Int The total number of units that can't be fulfilled. For example, refunded items or non-fulfillable items such as tips.
LineItemRequiresShipping Bool Indicates whether the variant requires physical shipping.
LineItemUnfulfilledQuantity Int The number of units not yet fulfilled.
LineItemImageId String A globally unique Id of the associated image.
LineItemImageWidth Int The original width of the image in pixels. Contains null if the image isn't hosted by Shopify.
LineItemImageAltText String Alternative text that describes the image.
LineItemImageHeight Int The original height of the image in pixels. Contains null if the image isn't hosted by Shopify.
LineItemImageUrl String The URL location of the image.
LineItemProductId String A globally unique Id of the associated product.
LineItemVariantId String A globally unique Id of the associated variant.
LineItemSellingPlanSellingPlanId String The Id of the selling plan associated with the line item.
LineItemStaffMemberId String A globally unique Id of the staff member associated with the line item. (Available only with a ShopifyPlus subscription)
Quantity Int The quantity of the refunded line item.
Restocked Bool Indicates whether the refunded line item was restocked. Not applicable for SuggestedRefunds.
RestockType String The type of restock applied to the refunded line item.
LocationId String A globally unique Id of the location associated with the refund.
PriceSetPresentmentMoneyAmount Decimal The refund price in the presentment currency, expressed as a decimal money amount.
PriceSetPresentmentMoneyCurrencyCode String The currency code of the refund price in the presentment currency.
PriceSetShopMoneyAmount Decimal The refund price in the shop's currency, expressed as a decimal money amount.
PriceSetShopMoneyCurrencyCode String The currency code of the refund price in the shop's currency.
SubtotalSetPresentmentMoneyAmount Decimal The subtotal in the presentment currency, expressed as a decimal money amount.
SubtotalSetPresentmentMoneyCurrencyCode String The currency code of the subtotal in the presentment currency.
SubtotalSetShopMoneyAmount Decimal The subtotal in the shop's currency, expressed as a decimal money amount.
SubtotalSetShopMoneyCurrencyCode String The currency code of the subtotal in the shop's currency.
TotalTaxSetPresentmentMoneyAmount Decimal The total tax amount in the presentment currency, expressed as a decimal money amount.
TotalTaxSetPresentmentMoneyCurrencyCode String The currency code of the total tax in the presentment currency.
TotalTaxSetShopMoneyAmount Decimal The total tax amount in the shop's currency, expressed as a decimal money amount.
TotalTaxSetShopMoneyCurrencyCode String The currency code of the total tax in the shop's currency.

CData Python Connector for Shopify

RefundOrderAdjustments

Lists order-level adjustments included on a refund.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundOrderAdjustments WHERE RefundId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id of the refund order adjustment.
RefundId String A globally unique Id of the associated refund.
Reason String An optional reason that explains a discrepancy between the calculated and actual refund amounts.
AmountSetPresentmentMoneyAmount Decimal The refund adjustment amount in the presentment currency, expressed as a decimal money amount.
AmountSetPresentmentMoneyCurrencyCode String The currency code of the refund adjustment amount in the presentment currency.
AmountSetShopMoneyAmount Decimal The refund adjustment amount in the shop's currency, expressed as a decimal money amount.
AmountSetShopMoneyCurrencyCode String The currency code of the refund adjustment amount in the shop's currency.
TaxAmountSetPresentmentMoneyAmount Decimal The tax adjustment amount in the presentment currency, expressed as a decimal money amount.
TaxAmountSetPresentmentMoneyCurrencyCode String The currency code of the tax adjustment amount in the presentment currency.
TaxAmountSetShopMoneyAmount Decimal The tax adjustment amount in the shop's currency, expressed as a decimal money amount.
TaxAmountSetShopMoneyCurrencyCode String The currency code of the tax adjustment amount in the shop's currency.

CData Python Connector for Shopify

RefundShippingLines

Lists shipping lines included in a refund.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundShippingLines WHERE RefundId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id of the refund shipping line.
RefundId String

Refunds.Id

A globally unique Id of the associated refund.
SubtotalAmountSetPresentmentMoneyAmount Decimal The subtotal amount in the presentment currency, expressed as a decimal money amount.
SubtotalAmountSetPresentmentMoneyCurrencyCode String The currency code of the subtotal amount in the presentment currency.
SubtotalAmountSetShopMoneyAmount Decimal The subtotal amount in the shop's currency, expressed as a decimal money amount.
SubtotalAmountSetShopMoneyCurrencyCode String The currency code of the subtotal amount in the shop's currency.
TaxAmountSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency, expressed as a decimal money amount.
TaxAmountSetPresentmentMoneyCurrencyCode String The currency code of the tax amount in the presentment currency.
TaxAmountSetShopMoneyAmount Decimal The tax amount in the shop's currency, expressed as a decimal money amount.
TaxAmountSetShopMoneyCurrencyCode String The currency code of the tax amount in the shop's currency.
ShippingLineId String A globally unique Id of the associated shipping line.
ShippingLineCarrierIdentifier String A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service.
ShippingLineTitle String The title of the shipping line.
ShippingLineCode String A reference to the shipping method of the line.
ShippingLineCustom Bool Indicates whether the shipping line is custom.
ShippingLineDeliveryCategory String The general classification of the delivery method.
ShippingLineIsRemoved Bool Indicates whether the shipping line has been removed.
ShippingLinePhone String The phone number at the shipping address.
ShippingLineShippingRateHandle String A unique identifier for the shipping rate. The format can change without notice and isn't intended to be shown to users.
ShippingLineSource String The rate source for the shipping line.
ShippingLineCurrentDiscountedPriceSetPresentmentMoneyAmount Decimal The current discounted price in the presentment currency, expressed as a decimal money amount.
ShippingLineCurrentDiscountedPriceSetPresentmentMoneyCurrencyCode String The currency code of the current discounted price in the presentment currency.
ShippingLineCurrentDiscountedPriceSetShopMoneyAmount Decimal The current discounted price in the shop's currency, expressed as a decimal money amount.
ShippingLineCurrentDiscountedPriceSetShopMoneyCurrencyCode String The currency code of the current discounted price in the shop's currency.
ShippingLineDiscountedPriceAmount Decimal The discounted price, expressed as a decimal money amount.
ShippingLineDiscountedPriceCurrencyCode String The currency code of the discounted price.
ShippingLineDiscountedPriceSetPresentmentMoneyAmount Decimal The discounted price in the presentment currency, expressed as a decimal money amount.
ShippingLineDiscountedPriceSetPresentmentMoneyCurrencyCode String The currency code of the discounted price in the presentment currency.
ShippingLineDiscountedPriceSetShopMoneyAmount Decimal The discounted price in the shop's currency, expressed as a decimal money amount.
ShippingLineDiscountedPriceSetShopMoneyCurrencyCode String The currency code of the discounted price in the shop's currency.
ShippingLineOriginalPriceAmount Decimal The original price, expressed as a decimal money amount.
ShippingLineOriginalPriceCurrencyCode String The currency code of the original price.
ShippingLineOriginalPriceSetPresentmentMoneyAmount Decimal The original price in the presentment currency, expressed as a decimal money amount.
ShippingLineOriginalPriceSetPresentmentMoneyCurrencyCode String The currency code of the original price in the presentment currency.
ShippingLineOriginalPriceSetShopMoneyAmount Decimal The original price in the shop's currency, expressed as a decimal money amount.
ShippingLineOriginalPriceSetShopMoneyCurrencyCode String The currency code of the original price in the shop's currency.
ShippingLineRequestedFulfillmentServiceId String The Id of the fulfillment service requested for the shipping line.

CData Python Connector for Shopify

RefundTransactionFees

Lists transaction fees applied to the original order transaction (Shopify Payments only).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundTransactionFees WHERE RefundId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique identifier for the refund transaction fee record.
TransactionId String

RefundTransactions.Id

A globally unique identifier for the related transaction.
RefundId String

Refunds.Id

A globally unique identifier for the associated refund.
RateName String The name of the credit card rate applied to the transaction.
FlatFeeName String The name of the credit card flat fee applied to the transaction.
Rate Decimal The percentage fee rate charged for the transaction.
Type String The category or type of fee applied (for example, rate-based or flat).
AmountAmount Decimal The total fee amount, expressed as a decimal value.
AmountCurrencyCode String The currency of the total fee amount.
FlatFeeAmount Decimal The flat fee amount, expressed as a decimal value.
FlatFeeCurrencyCode String The currency of the flat fee amount.
TaxAmountAmount Decimal The tax amount applied to the fee, expressed as a decimal value.
TaxAmountCurrencyCode String The currency of the tax amount applied to the fee.

CData Python Connector for Shopify

RefundTransactions

Lists payment transactions generated as part of a refund.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundTransactions WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique identifier for the refund transaction record.
ResourceId [KEY] String

Refunds.Id

A globally unique identifier for the related resource.
PaymentId String The unique identifier of the payment associated with the transaction.
ParentTransactionId String The identifier of the parent transaction, such as the authorization for a capture.
UserId String Staff member who was logged into the Shopify POS device when the transaction was processed. (This column is available only with a ShopifyPlus subscription)
AccountNumber String The masked account number linked to the payment method.
Gateway String The payment gateway used to process the transaction.
Kind String The type of transaction (for example, authorization, capture, or refund).
Status String The current status of the transaction.
Test Bool Indicates whether the transaction was processed in test mode.
AuthorizationCode String The authorization code returned for the transaction.
ErrorCode String A standardized error code, independent of the payment provider.
FormattedGateway String The human-readable name of the payment gateway.
ManuallyCapturable Bool Indicates whether the transaction can be manually captured.
MultiCapturable Bool Indicates whether the transaction supports multiple captures.
ProcessedAt Datetime The date and time when the transaction was processed.
ReceiptJson String A JSON receipt from the payment gateway. The format varies depending on the gateway.
SettlementCurrency String The currency in which the transaction is settled.
AuthorizationExpiresAt Datetime The expiration time of the authorization. Available only for Shopify Plus stores using Shopify Payments.
SettlementCurrencyRate Decimal The conversion rate used to settle the transaction amount in the settlement currency.
CreatedAt Datetime The date and time when the transaction was created.
AmountRoundingSetPresentmentMoneyAmount Decimal A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99.
AmountRoundingSetPresentmentMoneyCurrencyCode String The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD.
AmountRoundingSetShopMoneyAmount Decimal A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99.
AmountRoundingSetShopMoneyCurrencyCode String The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD.
CurrencyExchangeAdjustmentId String A globally-unique ID of the adjustment on the transaction.
PaymentDetailsLocalPaymentDescriptor String The descriptor by the payment provider. Only available for Amazon Pay and Buy with Prime.
PaymentDetailsLocalPaymentMethodName String The name of payment method used by the buyer.
PaymentDetailsShopPayInstallmentsPaymentMethodName String The name of payment method used by the buyer.
PaymentDetailsCardAvsResultCode String The response code from the address verification system (AVS). The code is always a single letter.
PaymentDetailsCardBin String The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number.
PaymentDetailsCardCompany String The name of the company that issued the customer's credit card.
PaymentDetailsCardCvvResultCode String The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string.
PaymentDetailsCardExpirationMonth Int The month in which the used credit card expires.
PaymentDetailsCardExpirationYear Int The year in which the used credit card expires.
PaymentDetailsCardName String The holder of the credit card.
PaymentDetailsCardNumber String The customer's credit card number, with most of the leading digits redacted.
PaymentDetailsCardPaymentMethodName String The name of payment method used by the buyer.
PaymentDetailsCardWallet String Digital wallet used for the payment.
PaymentIconId String The unique identifier for the associated payment icon image.
PaymentIconWidth Int The original width of the payment icon image in pixels, or null if not hosted by Shopify.
PaymentIconAltText String Alternative text describing the payment icon image.
PaymentIconHeight Int The original height of the payment icon image in pixels, or null if not hosted by Shopify.
AmountSetPresentmentMoneyAmount Decimal The transaction amount in the presentment currency.
AmountSetPresentmentMoneyCurrencyCode String The presentment currency code.
AmountSetShopMoneyAmount Decimal The transaction amount in the shop currency.
AmountSetShopMoneyCurrencyCode String The shop currency code.
MaximumRefundableV2Amount Decimal The maximum refundable amount for this transaction.
MaximumRefundableV2CurrencyCode String The currency code for the maximum refundable amount.
ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt Datetime The time when the extended authorization expires. After expiry, the payment can no longer be captured.
ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt Datetime The time after which capturing the payment incurs an additional fee.
ShopifyPaymentsSetRefundSetAcquirerReferenceNumber String The acquirer reference number (ARN) generated for Visa/Mastercard transactions.
TotalUnsettledSetPresentmentMoneyAmount Decimal The unsettled transaction amount in the presentment currency.
TotalUnsettledSetPresentmentMoneyCurrencyCode String The presentment currency code for the unsettled amount.
TotalUnsettledSetShopMoneyAmount Decimal The unsettled transaction amount in the shop currency.
TotalUnsettledSetShopMoneyCurrencyCode String The shop currency code for the unsettled amount.

CData Python Connector for Shopify

ReturnExchangeLineItems

Lists line items created for exchanges within a return.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.
  • OrderId supports the '=' comparison operator.

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

  SELECT * FROM ReturnExchangeLineItems WHERE ResourceId = 'Val1'
  SELECT * FROM ReturnExchangeLineItems WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the return or exchange line item.
ResourceId String

Returns.Id

A globally unique Id for the related resource.
Name String The product title, optionally appended with the variant title if applicable.
Title String The product title at the time the order was created.
VariantTitle String The variant title at the time the order was created.
VariantId String A globally unique Id for the product variant.
ProductId String A globally unique Id for the product.
SellingPlanSellingPlanId String The Id of the selling plan linked to the line item.
Quantity Int The number of units of the variant ordered.
Restockable Bool Whether the line item can be restocked.
Sku String The stock keeping unit (SKU) of the variant.
Taxable Bool Whether the variant is taxable.
Vendor String The name of the vendor that supplied the variant.
CurrentQuantity Int The current quantity of the line item, after subtracting any removed units.
MerchantEditable Bool Whether the line item can be edited by the merchant.
RefundableQuantity Int The quantity of the line item that can be refunded.
RequiresShipping Bool Whether the variant requires physical shipping.
UnfulfilledQuantity Int The number of units that have not yet been fulfilled.
NonFulfillableQuantity Int The number of units that cannot be fulfilled. For example, refunded items or non-physical items like tips.
IsGiftCard Bool Whether the line item is a gift card purchase.
DiscountedTotalSetPresentmentMoneyAmount Decimal The total discounted amount in the presentment currency.
DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts Decimal The total discounted amount in the presentment currency, including code-based discounts.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the discounted total in presentment currency.
DiscountedTotalSetShopMoneyAmount Decimal The total discounted amount in the shop currency.
DiscountedTotalSetShopMoneyAmountWithCodeDiscounts Decimal The total discounted amount in the shop currency, including code-based discounts.
DiscountedTotalSetShopMoneyCurrencyCode String The currency code for the discounted total in shop currency.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted unit price in the presentment currency.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The currency code for the discounted unit price in presentment currency.
DiscountedUnitPriceSetShopMoneyAmount Decimal The discounted unit price in the shop currency.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The currency code for the discounted unit price in shop currency.
ImageId String A unique Id for the product image.
ImageWidth Int The original width of the product image in pixels, or null if not hosted by Shopify.
ImageAltText String Alternative text describing the contents of the product image.
ImageHeight Int The original height of the product image in pixels, or null if not hosted by Shopify.
ImageUrl String The URL of the product image.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total amount in the presentment currency.
OriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the original total in presentment currency.
OriginalTotalSetShopMoneyAmount Decimal The original total amount in the shop currency.
OriginalTotalSetShopMoneyCurrencyCode String The currency code for the original total in shop currency.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price in the presentment currency.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The currency code for the original unit price in presentment currency.
OriginalUnitPriceSetShopMoneyAmount Decimal The original unit price in the shop currency.
OriginalUnitPriceSetShopMoneyCurrencyCode String The currency code for the original unit price in shop currency.
TotalDiscountSetPresentmentMoneyAmount Decimal The total discount amount in the presentment currency.
TotalDiscountSetPresentmentMoneyCurrencyCode String The currency code for the total discount in presentment currency.
TotalDiscountSetShopMoneyAmount Decimal The total discount amount in the shop currency.
TotalDiscountSetShopMoneyCurrencyCode String The currency code for the total discount in shop currency.
UnfulfilledDiscountedTotalSetPresentmentMoneyAmount Decimal The unfulfilled discounted total in the presentment currency.
UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the unfulfilled discounted total in presentment currency.
UnfulfilledDiscountedTotalSetShopMoneyAmount Decimal The unfulfilled discounted total in the shop currency.
UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode String The currency code for the unfulfilled discounted total in shop currency.
UnfulfilledOriginalTotalSetPresentmentMoneyAmount Decimal The unfulfilled original total in the presentment currency.
UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the unfulfilled original total in presentment currency.
UnfulfilledOriginalTotalSetShopMoneyAmount Decimal The unfulfilled original total in the shop currency.
UnfulfilledOriginalTotalSetShopMoneyCurrencyCode String The currency code for the unfulfilled original total in shop currency.
OrderId String

Orders.Id

A globally-unique ID.
OrderReturnStatus String The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
AppliedDiscountValueAmount Decimal A fixed discount amount applied to the exchange line item.
AppliedDiscountValueAmountCurrencyCode String The currency code for the fixed discount applied to the exchange line item.
AppliedDiscountValuePercentage Double The discount percentage applied to the exchange line item.
AppliedDiscountDescription String A description of the discount applied to the exchange line item.
GiftCardCodes String The gift card codes linked to physical gift cards in the order.

CData Python Connector for Shopify

ReturnLineItems

Lists return line items attached to the return.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ReturnId supports the '=, IN' comparison operators.
  • OrderId supports the '=' comparison operator.

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

  SELECT * FROM ReturnLineItems WHERE ReturnId = 'Val1'
  SELECT * FROM ReturnLineItems WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the return line item.
ReturnId [KEY] String

Returns.Id

A globally unique Id for the associated return.
OrderId String

Orders.Id

A globally-unique ID.
OrderReturnStatus String The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

Quantity Int The number of units being returned.
CustomerNote String A note from the customer describing the item to be returned. Maximum length: 300 characters.
ProcessableQuantity Int The quantity that can be processed.
ProcessedQuantity Int The quantity that has been processed.
UnprocessedQuantity Int The quantity that hasn't been processed.
RefundableQuantity Int The number of units that can still be refunded.
RefundedQuantity Int The number of units that have already been refunded.
ReturnReasonDefinitionId String The return reason definition id.
ReturnReasonDefinitionHandle String A unique, human-readable, stable identifier for the return reason.
ReturnReasonDefinitionName String The localized, user-facing name of the return reason.
ReturnReasonNote String Additional details about the reason for the return. Maximum length: 255 characters.
TotalWeightUnit String The unit of measurement for the weight value.
TotalWeightValue Double The weight value, expressed using the unit defined in `TotalWeightUnit`.
WithCodeDiscountedTotalPriceSetPresentmentMoneyAmount Decimal The discounted total price in the presentment currency.
WithCodeDiscountedTotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the discounted total price.
WithCodeDiscountedTotalPriceSetShopMoneyAmount Decimal The discounted total price in the shop currency.
WithCodeDiscountedTotalPriceSetShopMoneyCurrencyCode String The shop currency code for the discounted total price.
FulfillmentLineItemId String A globally unique Id for the associated fulfillment line item.

CData Python Connector for Shopify

ReturnLineItemsUnverified

Lists unverified return line items pending inspection or validation.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ReturnId supports the '=, IN' comparison operators.
  • OrderId supports the '=' comparison operator.

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

  SELECT * FROM ReturnLineItemsUnverified WHERE ReturnId = 'Val1'
  SELECT * FROM ReturnLineItemsUnverified WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the unverified return line item.
ReturnId [KEY] String

Returns.Id

A globally unique Id for the associated return.
OrderId String

Orders.Id

A globally-unique ID.
OrderReturnStatus String The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

CustomerNote String A note from the customer describing the item to be returned. Maximum length: 300 characters.
Quantity Int The number of units being returned.
RefundableQuantity Int The number of units that can still be refunded.
RefundedQuantity Int The number of units that have already been refunded.
ReturnReasonDefinitionId String The return reason definition id.
ReturnReasonDefinitionHandle String A unique, human-readable, stable identifier for the return reason.
ReturnReasonDefinitionName String The localized, user-facing name of the return reason.
ReturnReasonNote String Additional details about the reason for the return. Maximum length: 255 characters.
UnitPriceAmount Decimal The unit price of the item in decimal format.
UnitPriceCurrencyCode String The currency code for the unit price.

CData Python Connector for Shopify

ReturnReasonDefinitions

Retrieves a list of returns reason definitions.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  SELECT * FROM ReturnReasonDefinitions WHERE Id = 'Val1'
  SELECT * FROM ReturnReasonDefinitions WHERE Name = 'Val1'
  SELECT * FROM ReturnReasonDefinitions WHERE Deleted = true

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
Name String The localized, user-facing name of the return reason.
Handle String A unique, human-readable, stable identifier for the return reason.
Deleted Bool Whether the return reason has been removed from taxonomy.

CData Python Connector for Shopify

ReverseFulfillmentOrderDeliveries

Lists reverse deliveries where buyers send packages back to the merchant.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ReverseFulfillmentOrderId supports the '=, IN' comparison operators.

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

  SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE Id = 'Val1'
  SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE ReverseFulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The Id of the reverse delivery.
ReverseFulfillmentOrderId String

ReverseFulfillmentOrders.Id

A globally unique Id for the associated reverse fulfillment order.
DeliverableLabelPublicFileUrl String A public link for downloading the reverse delivery label image.
DeliverableLabelUpdatedAt Datetime The date and time when the reverse delivery label was last updated.
DeliverableLabelCreatedAt Datetime The date and time when the reverse delivery label was created.
DeliverableTrackingCarrierName String The name of the carrier providing the tracking information, in a human-readable format.
DeliverableTrackingNumber String The tracking number assigned by the carrier for the shipment.
DeliverableTrackingUrl String The URL to track the shipment with the carrier.

CData Python Connector for Shopify

ReverseFulfillmentOrderDeliveryLineItems

Lists line items included in reverse deliveries.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ReverseFulfillmentOrderDeliveryId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ReverseFulfillmentOrderDeliveryLineItems WHERE ReverseFulfillmentOrderDeliveryId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the reverse fulfillment order delivery line item.
ReverseFulfillmentOrderDeliveryId String A globally unique Id for the associated reverse fulfillment order delivery.
ReverseFulfillmentOrderLineItemId String A globally unique Id for the associated reverse fulfillment order line item.
Dispositions String The condition or outcome assigned to the item (for example, restocked, discarded, or returned to vendor).
Quantity Int The expected number of units for this line item.

CData Python Connector for Shopify

ReverseFulfillmentOrderLineItems

Lists line items managed under reverse fulfillment orders.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ReverseFulfillmentOrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ReverseFulfillmentOrderLineItems WHERE ReverseFulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the reverse fulfillment order line item.
ReverseFulfillmentOrderId String

ReverseFulfillmentOrders.Id

A globally unique Id for the associated reverse fulfillment order.
FulfillmentLineItemId String A globally unique Id for the related fulfillment line item.
Dispositions String The condition or outcome assigned to the item (for example, restocked, discarded, or returned to vendor).
TotalQuantity Int The total number of units in this line item to be processed.

CData Python Connector for Shopify

ReverseFulfillmentOrders

Lists items within returns to be processed by a fulfillment service.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ReturnId supports the '=, IN' comparison operators.
  • OrderId supports the '=' comparison operator.

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

  SELECT * FROM ReverseFulfillmentOrders WHERE ReturnId = 'Val1'
  SELECT * FROM ReverseFulfillmentOrders WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the reverse fulfillment order.
ReturnId String

Returns.Id

A globally unique Id for the associated return.
OrderId String

Orders.Id

A globally-unique ID.
OrderReturnStatus String The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

Status String The current status of the reverse fulfillment order (for example, open, in_progress, or completed).
ThirdPartyConfirmationStatus String The status of the third-party confirmation for the reverse fulfillment order.

CData Python Connector for Shopify

SegmentFilterParameters

Lists available parameters used to construct event-based segment filters.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM SegmentFilterParameters

Columns

Name Type References Description
SegmentFilterQueryName [KEY] String The query name of the segment filter.
QueryName [KEY] String The query name of the parameter within the filter.
ParameterType String The data type of the parameter (for example, string, int, or bool).
Optional Bool Indicates whether the parameter is optional.
AcceptsMultipleValues Bool Indicates whether the parameter accepts multiple values in a list.
LocalizedName String The localized name of the parameter.
LocalizedDescription String The localized description of the parameter.
MinRange Double The parameter minimum value range.
MaxRange Double The parameter maximum value range.

CData Python Connector for Shopify

SegmentFilters

Lists reusable segment filters available for building segments.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM SegmentFilters

Columns

Name Type References Description
QueryName [KEY] String The query name of the filter.
MultiValue Bool Indicates whether a filter can have multiple values for a single customer.
LocalizedName String The localized display name of the filter.
IntegerMinRange Double The minimum range a filter can have.
IntegerMaxRange Double The maximum range a filter can have.
FloatMinRange Double The minimum range a filter can have.
FloatMaxRange Double The maximum range a filter can have.
ReturnValueType String The return value type of the event segment filter.

CData Python Connector for Shopify

SellingPlanGroupSellingPlans

Lists selling plans associated with a selling plan group.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • SellingPlanGroupId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM SellingPlanGroupSellingPlans WHERE SellingPlanGroupId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the selling plan.
SellingPlanGroupId String

SellingPlanGroups.Id

A globally unique Id for the associated selling plan group.
Name String A customer-facing description of the selling plan. If the store supports multiple currencies, avoid including country-specific pricing (for example, 'Buy monthly, get 10$ CAD off') since this text is not converted for other currencies.
Category String The category used to classify the selling plan for reporting purposes.

The allowed values are OTHER, PRE_ORDER, SUBSCRIPTION, TRY_BEFORE_YOU_BUY.

Description String The buyer-facing description of the selling plan commitment.
Options String The option values available in the selling plan. Selling plans are grouped together in Liquid when created by the same app and share the same 'selling_plan_group.name' and 'selling_plan_group.options' values.
Position Int The relative display order of the selling plan. Lower values are shown before higher values.
CreatedAt Datetime The date and time when the selling plan was created.
InventoryPolicyReserve String Specifies when to reserve inventory for the order.

The allowed values are ON_FULFILLMENT, ON_SALE.

FixedBillingPolicyCheckoutChargeType String The type of checkout charge applied by the fixed billing policy.

The allowed values are PERCENTAGE, PRICE.

FixedBillingPolicyCheckoutChargeValueAmount Decimal The fixed checkout charge amount, expressed as a decimal value.
FixedBillingPolicyCheckoutChargeValueCurrencyCode String The currency code for the fixed checkout charge amount.
FixedBillingPolicyCheckoutChargeValuePercentage Double The checkout charge as a percentage of the product price.
FixedBillingPolicyRemainingBalanceChargeExactTime Datetime The exact date and time when to capture the remaining balance.
FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout String The duration between the checkout event and capturing the remaining balance. Expressed as an ISO8601 duration.
FixedBillingPolicyRemainingBalanceChargeTrigger String Specifies when to capture payment for the remaining balance.

The allowed values are EXACT_TIME, NO_REMAINING_BALANCE, TIME_AFTER_CHECKOUT.

RecurringBillingPolicyAnchors String The anchor dates used for calculating billing intervals.
RecurringBillingPolicyCreatedAt Datetime The date and time when the recurring billing policy was created.
RecurringBillingPolicyInterval String The billing interval unit.

The allowed values are DAY, MONTH, WEEK, YEAR.

RecurringBillingPolicyIntervalCount Int The number of interval units between billings.
RecurringBillingPolicyMaxCycles Int The maximum number of billing cycles allowed.
RecurringBillingPolicyMinCycles Int The minimum number of billing cycles required.
FixedDeliveryPolicyAnchors String The anchor dates used for calculating delivery intervals.
FixedDeliveryPolicyCutoff Int The cutoff period (in days) for including orders in the next fulfillment cycle.
FixedDeliveryPolicyFulfillmentExactTime Datetime The exact date and time when fulfillment should occur.
FixedDeliveryPolicyFulfillmentTrigger String Specifies what triggers fulfillment.

The allowed values are ANCHOR, ASAP, EXACT_TIME, UNKNOWN.

FixedDeliveryPolicyIntent String Indicates whether the delivery policy is merchant-centric or buyer-centric. Currently, only merchant-centric delivery policies are supported.
FixedDeliveryPolicyPreAnchorBehavior String Specifies fulfillment behavior if an order is placed before the anchor date.

The allowed values are ASAP, NEXT.

RecurringDeliveryPolicyAnchors String The anchor dates used for calculating recurring delivery intervals.
RecurringDeliveryPolicyCreatedAt Datetime The date and time when the recurring delivery policy was created.
RecurringDeliveryPolicyCutoff Int The cutoff period (in days) for including orders in the current delivery cycle.
RecurringDeliveryPolicyIntent String Indicates whether the delivery policy is merchant-centric or buyer-centric. Currently, only merchant-centric delivery policies are supported.

The allowed values are FULFILLMENT_BEGIN.

RecurringDeliveryPolicyInterval String The delivery interval unit. The unit for the delivery interval (day, week, month, or year).
RecurringDeliveryPolicyIntervalCount Int The number of interval units between deliveries.
RecurringDeliveryPolicyPreAnchorBehavior String Specifies fulfillment behavior if an order is placed before the anchor date.

The allowed values are ASAP, NEXT.

FixedPricingPolicies String Represents fixed pricing policies associated with the selling plan.
RecurringPricingPolicies String Represents recurring pricing policies associated with the selling plan.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Metafields String Additional metadata attached to the selling plan resource.

CData Python Connector for Shopify

Shop

Returns the shop resource for the current token, including business and management settings.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM Shop

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the shop.
Name String The name of the shop.
OwnerName String The name of the account owner for the shop.
RichTextEditorUrl String The URL of the rich text editor available for mobile devices.
Description String The shop's meta description, used in search engine results.
Email String The shop owner's email address. Shopify uses this address to communicate with the shop owner.
Url String The URL of the shop's online store.
ContactEmail String The public-facing contact email address for the shop. Customers use this address to communicate with the shop owner.
CurrencyCode String The three-letter currency code the shop sells in.
CustomerAccounts String Specifies whether customer accounts are required, optional, or disabled for the shop.
IanaTimezone String The shop's time zone as defined by the IANA.
MyshopifyDomain String The shop's myshopify.com domain name.
PublicationsCount Int The number of publications associated with the shop.
PublicationsCountPrecision String The precision of the publication count, or how exact the value is.
SetupRequired Bool Indicates whether the shop has outstanding setup steps.
TaxShipping Bool Indicates whether the shop charges taxes on shipping.
TaxesIncluded Bool Indicates whether product prices include applicable taxes.
TimezoneAbbreviation String The abbreviation of the shop's time zone.
TimezoneOffset String The shop's time zone offset.
UnitSystem String The unit system for weights and measures used in the shop.
WeightUnit String The primary unit of weight for products and shipping.
CheckoutApiSupported Bool Indicates whether the shop supports checkouts via the Checkout API.
EnabledPresentmentCurrencies String The presentment currencies enabled for the shop (for example, 'USD', 'EUR').
ShipsToCountries String A list of countries the shop ships to.
TimezoneOffsetMinutes Int The shop's time zone offset expressed in minutes.
TransactionalSmsDisabled Bool Indicates whether transactional SMS messages from Shopify are disabled for the shop.
OrderNumberFormatPrefix String The prefix that appears before order numbers.
OrderNumberFormatSuffix String The suffix that appears after order numbers.
UpdatedAt Datetime The date and time when the shop was last updated.
ShopAddressId String A globally-unique ID.
ShopAddressCoordinatesValidated Bool Whether the address coordinates are valid.
ShopAddressAddress1 String The first line of the address. Typically the street address or PO Box number.
ShopAddressAddress2 String The second line of the address. Typically the number of the apartment, suite, or unit.
ShopAddressCity String The name of the city, district, village, or town.
ShopAddressCompany String The name of the company or organization.
ShopAddressCountry String The name of the country.
ShopAddressLatitude Double The latitude coordinate of the address.
ShopAddressLongitude Double The longitude coordinate of the address.
ShopAddressPhone String A phone number associated with the address. Formatted using E. 164 standard. For example, _+16135551111_.
ShopAddressProvince String The region of the address, such as the province, state, or district.
ShopAddressZip String The zip or postal code of the address.
ShopAddressFormattedArea String A comma-separated list of the values for city, province, and country.
ShopAddressProvinceCode String The two-letter code for the region. For example, ON.
ShopAddressCountryCodeV2 String The two-letter code for the country of the address. For example, US.
CountriesInShippingZonesCountryCodes String The list of all countries across the shop's shipping zones.
CountriesInShippingZonesIncludeRestOfWorld Bool Indicates whether 'Rest of World' is included in the shipping zones.
CurrencyFormatsMoneyFormat String Money without currency formatting, used in HTML.
CurrencyFormatsMoneyInEmailsFormat String Money without currency formatting, used in emails.
CurrencyFormatsMoneyWithCurrencyFormat String Money with currency formatting, used in HTML.
CurrencyFormatsMoneyWithCurrencyInEmailsFormat String Money with currency formatting, used in emails.
FeaturesInternationalPriceOverrides Bool Indicates whether the shop can enable international price overrides.
FeaturesStorefront Bool Indicates whether the shop has an online storefront.
FeaturesGiftCards Bool Indicates whether the shop can create gift cards.
FeaturesSellsSubscriptions Bool Indicates whether the shop has ever sold subscription products.
FeaturesEligibleForSubscriptions Bool Indicates whether the shop is configured to sell subscriptions.
FeaturesInternationalPriceRules Bool Indicates whether the shop can enable international price rules.
FeaturesEligibleForSubscriptionMigration Bool Indicates whether the shop can be migrated to Shopify's subscription system.
FeaturesLegacySubscriptionGatewayEnabled Bool Indicates whether the shop has enabled a legacy subscription gateway for older subscriptions.
FeaturesPaypalExpressSubscriptionGatewayStatus String The configuration status for selling subscriptions with PayPal Express.
PendingOrdersCount Int The number of pending orders for the shop.
PendingOrdersPrecision String The precision of the pending orders count, or how exact the value is.
PaymentSettingsSupportedDigitalWallets String A list of digital wallets supported by the shop.
PlanPublicDisplayName String The public display name of the shop's billing plan.
PlanPartnerDevelopment Bool Indicates whether the shop is a partner development shop for testing purposes.
PlanShopifyPlus Bool Indicates whether the shop has a Shopify Plus subscription.
PrimaryDomainId String A globally unique Id for the primary domain.
PrimaryDomainHost String The host name of the shop's primary domain (for example, example.com).
PrimaryDomainUrl String The URL of the shop's primary domain (for example, https://example.com).
PrimaryDomainSslEnabled Bool Indicates whether SSL is enabled on the primary domain.
PrimaryDomainLocalizationCountry String The ISO country code assigned to the primary domain (for example, CA or * for 'Rest of World').
PrimaryDomainLocalizationAlternateLocales String The ISO codes for alternate locales available on the primary domain (for example, ['en']).
PrimaryDomainLocalizationDefaultLocale String The ISO code for the default locale of the primary domain (for example, en).
PrimaryDomainMarketWebPresenceId String A globally unique Id for the market web presence of the primary domain.
PrimaryDomainMarketWebPresenceAlternateLocales String The ISO codes for alternate locales used in the primary domain's market web presence. These are exposed as language-specific subfolders.
PrimaryDomainMarketWebPresenceDefaultLocale String The default locale ISO code of the market web presence for the primary domain.
PrimaryDomainMarketWebPresenceDefaultLocaleMarketWebPresencesId String The Id of the market web presences that use the default locale.
PrimaryDomainMarketWebPresenceDefaultLocaleName String The human-readable name of the default locale for the primary domain.
PrimaryDomainMarketWebPresenceDefaultLocalePrimary Bool Indicates whether the default locale is the primary locale for the shop.
PrimaryDomainMarketWebPresenceDefaultLocalePublished Bool Indicates whether the default locale is visible to buyers.
PrimaryDomainMarketWebPresenceSubfolderSuffix String The market-specific subfolder suffix defined by the web presence (for example, 'us' in '/en-us'). Null if 'domain' is not null.
ResourceLimitsLocationLimit Int The maximum number of locations allowed for the shop.
ResourceLimitsMaxProductOptions Int The maximum number of product options allowed per product.
ResourceLimitsMaxProductVariants Int The maximum number of variants allowed per product.
ResourceLimitsRedirectLimitReached Bool Indicates whether the shop has reached its redirect limit for resources.

CData Python Connector for Shopify

ShopifyPaymentsAccount

Returns Shopify Payments account details, including balances, disputes, and payouts.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM ShopifyPaymentsAccount

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the Shopify Payments account.
Activated Bool Indicates whether the Shopify Payments setup is completed.
Country String The country associated with the Shopify Payments account.
Onboardable Bool Indicates whether the Shopify Payments account can be onboarded.
DefaultCurrency String The default payout currency for the Shopify Payments account.
PayoutStatementDescriptor String The descriptor used for payouts. This text appears on the merchant's bank statement when they receive a payout.
PayoutScheduleInterval String The interval at which payouts are sent to the connected bank account.
PayoutScheduleMonthlyAnchor Int The day of the month funds are paid out. Accepts values from 1–31. If set to monthly, payouts scheduled on the 29th–31st are sent on the last day of shorter months.
PayoutScheduleWeeklyAnchor String The day of the week funds are paid out. Accepts values from Monday to Friday. Used when the payment interval is set to weekly.

CData Python Connector for Shopify

ShopifyPaymentsAccountBalance

Returns current balances across all currencies for the account.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM ShopifyPaymentsAccountBalance

Columns

Name Type References Description
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
Amount Decimal The account balance amount, expressed as a decimal value.
CurrencyCode [KEY] String The currency code of the account balance amount.

CData Python Connector for Shopify

ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders

Lists adjustment orders linked to a specific balance transaction.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ShopifyPaymentsAccountBalanceTransactionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders WHERE ShopifyPaymentsAccountBalanceTransactionId = 'Val1'

Columns

Name Type References Description
Link [KEY] String The link to the adjustment order resource in Shopify Payments.
Name String The name of the adjustment order, typically the Shopify order number.
Amount Decimal The adjustment order amount, expressed as a decimal value.
Fee Decimal The adjustment order fee, expressed as a decimal value.
Net Decimal The net amount of the adjustment order, expressed as a decimal value.
AmountCurrencyCode String The currency code for the adjustment order amount.
ShopifyPaymentsAccountBalanceTransactionId [KEY] String A globally unique Id for the associated Shopify Payments account balance transaction.

CData Python Connector for Shopify

ShopifyPaymentsAccountBalanceTransactions

Lists balance transactions associated with the account's balances.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM ShopifyPaymentsAccountBalanceTransactions

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the balance transaction.
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
NetAmount Decimal The net amount contributing to the merchant's balance, expressed as a decimal value.
NetCurrencyCode String The currency code of the net amount contributing to the merchant's balance.
TransactionDate Datetime The date and time when the balance transaction was processed.
SourceId String The Id of the resource that led to the transaction.
SourceType String The type of source that generated the balance transaction.
SourceOrderTransactionId String The Id of the order transaction that resulted in this balance transaction.
AdjustmentReason String The reason for the adjustment associated with the transaction. Null if the source type is not an adjustment.
Type String The type of balance transaction.
Test Bool Indicates whether the transaction was created in test mode.
Amount Decimal The gross transaction amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the gross transaction amount.
FeeAmount Decimal The transaction fee amount, expressed as a decimal value.
FeeCurrencyCode String The currency code of the transaction fee amount.
AssociatedOrderId String The Id of the order associated with the balance transaction.
AssociatedOrderName String The name of the order associated with the balance transaction.
AssociatedPayoutId String The Id of the payout associated with the balance transaction.
AssociatedPayoutStatus String The status of the payout associated with the balance transaction.

CData Python Connector for Shopify

ShopifyPaymentsAccountBankAccounts

Lists bank accounts configured for the Shopify Payments account.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM ShopifyPaymentsAccountBankAccounts

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the Shopify Payments bank account.
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
BankName String The name of the bank where the account is held.
Country String The country of the bank.
Currency String The currency of the bank account.
Status String The current status of the bank account.
AccountNumberLastDigits String The last visible digits of the bank account number, with the rest redacted.
CreatedAt Datetime The date and time when the bank account was created.

CData Python Connector for Shopify

ShopifyPaymentsAccountDisputes

Lists disputes associated with the Shopify Payments account.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • InitiatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Id = 'Val1'
  SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Status = 'Val1'
  SELECT * FROM ShopifyPaymentsAccountDisputes WHERE InitiatedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the dispute.
LegacyResourceId String The Id of the corresponding resource in the REST Admin API.
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
EvidenceDueBy Date The deadline date for submitting evidence.
EvidenceSentOn Date The date when evidence was submitted. Returns null if evidence has not yet been sent.
Status String The current status of the dispute, such as under_review or accepted.
Type String Indicates whether the dispute is in the inquiry phase or has become a chargeback.
FinalizedOn Date The date when the dispute was resolved. Returns null if the dispute is not yet finalized.
InitiatedAt Datetime The date and time when the dispute was initiated.
AmountAmount Decimal The disputed amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the disputed amount.
OrderId String A globally unique Id for the associated order.
ReasonDetailsReason String The reason for the dispute provided by the cardholder's bank.
ReasonDetailsNetworkReasonCode String The raw reason code provided by the payment network.

CData Python Connector for Shopify

ShopifyPaymentsAccountPayouts

Lists past and current payouts between the account and the bank (available only in supported countries).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=' comparison operator.
  • Status supports the '=' comparison operator.
  • IssuedAt supports the '=, >, >=, <=, <' comparison operators.
  • TransactionType supports the '=' comparison operator.

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

  SELECT * FROM ShopifyPaymentsAccountPayouts WHERE Id = 'Val1'
  SELECT * FROM ShopifyPaymentsAccountPayouts WHERE Status = 'Val1'
  SELECT * FROM ShopifyPaymentsAccountPayouts WHERE IssuedAt = '2023-01-01 11:10:00'
  SELECT * FROM ShopifyPaymentsAccountPayouts WHERE TransactionType = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the payout.
LegacyResourceId String The Id of the corresponding resource in the REST Admin API.
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
Status String The current transfer status of the payout.
IssuedAt Datetime The exact date and time when the payout was issued. Includes only balance transactions available at this time.
TransactionType String The direction of the payout (for example, credit or debit).
BusinessEntityId String The Id of the business entity associated with the payout.
ExternalTraceId String A unique trace ID from the financial institution. Use this reference number to track the payout with your provider.
BankAccountId String A globally unique Id for the associated bank account.
NetAmount Decimal The net payout amount, expressed as a decimal value.
NetCurrencyCode String The currency code of the net payout amount.
SummaryAdjustmentsFeeAmount Decimal The adjustment fee amount, expressed as a decimal value.
SummaryAdjustmentsFeeCurrencyCode String The currency code of the adjustment fee amount.
SummaryAdjustmentsGrossAmount Decimal The gross adjustment amount, expressed as a decimal value.
SummaryAdjustmentsGrossCurrencyCode String The currency code of the gross adjustment amount.
SummaryChargesFeeAmount Decimal The charge fee amount, expressed as a decimal value.
SummaryChargesFeeCurrencyCode String The currency code of the charge fee amount.
SummaryChargesGrossAmount Decimal The gross charge amount, expressed as a decimal value.
SummaryChargesGrossCurrencyCode String The currency code of the gross charge amount.
SummaryRefundsFeeAmount Decimal The refund fee amount, expressed as a decimal value.
SummaryRefundsFeeCurrencyCode String The currency code of the refund fee amount.
SummaryRefundsFeeGrossAmount Decimal The gross refund fee amount, expressed as a decimal value.
SummaryRefundsFeeGrossCurrencyCode String The currency code of the gross refund fee amount.
SummaryReservedFundsFeeAmount Decimal The reserved funds fee amount, expressed as a decimal value.
SummaryReservedFundsFeeCurrencyCode String The currency code of the reserved funds fee amount.
SummaryReservedFundsGrossAmount Decimal The gross reserved funds amount, expressed as a decimal value.
SummaryReservedFundsGrossCurrencyCode String The currency code of the gross reserved funds amount.
SummaryRetriedPayoutsFeeAmount Decimal The retried payouts fee amount, expressed as a decimal value.
SummaryRetriedPayoutsFeeCurrencyCode String The currency code of the retried payouts fee amount.
SummaryRetriedPayoutsGrossAmount Decimal The gross retried payouts amount, expressed as a decimal value.
SummaryRetriedPayoutsGrossCurrencyCode String The currency code of the gross retried payouts amount.
SummaryAdvanceFeesAmount Decimal The advance fee amount, expressed as a decimal value.
SummaryAdvanceFeesCurrencyCode String The currency code of the advance fee amount, using ISO 4217 or supported legacy/non-standard codes.
SummaryAdvanceGrossAmount Decimal The gross advance amount, expressed as a decimal value.
SummaryAdvanceGrossCurrencyCode String The currency code of the gross advance amount, using ISO 4217 or supported legacy/non-standard codes.
SummaryUSDCRebateCreditAmount Decimal A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99.
SummaryUSDCRebateCreditAmountCurrencyCode String The three-letter currency code that represents a world currency used in a store. Currency codes include standard [standard ISO 4217 codes](https: //en. wikipedia. org/wiki/ISO 4217), legacy codes, and non-standard codes. For example, USD.

CData Python Connector for Shopify

StaffMembers

Lists staff members for the shop with pagination (Shopify Plus only).

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM StaffMembers

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the staff member.
ShopId String

Shop.Id

A globally unique Id for the associated shop.
Name String The staff member's full name.
FirstName String The staff member's first name.
LastName String The staff member's last name.
Active Bool Indicates whether the staff member is active.
Email String The staff member's email address.
Exists Bool Indicates whether the staff member's account exists.
Initials String The staff member's initials, if available.
Locale String The staff member's preferred locale, formatted as 'language' or 'language-COUNTRY' (for example, 'en' or 'en-US').
Phone String The staff member's phone number.
IsShopOwner Bool Indicates whether the staff member is the shop owner.
AccountType String The type of account assigned to the staff member.
PrivateDataAccountSettingsUrl String The URL to the staff member's account settings page.
PrivateDataCreatedAt Datetime The date and time when the staff member account was created.

CData Python Connector for Shopify

StoreCreditAccountCreditTransactions

Lists transactions that credit (increase) a store credit account.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • CustomerStoreCreditAccountId supports the '=, IN' comparison operators.

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

  SELECT * FROM StoreCreditAccountCreditTransactions WHERE Id = 'Val1'
  SELECT * FROM StoreCreditAccountCreditTransactions WHERE CustomerStoreCreditAccountId = 'Val1'

Insert

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

Amount, AmountCurrencyCode, ExpiresAt, CustomerStoreCreditAccountId

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the store credit account credit transaction.
Amount Decimal The transaction amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the transaction amount.
RemainingAmount Decimal The remaining credit balance after the transaction, expressed as a decimal value.
RemainingAmountCurrencyCode String The currency code of the remaining credit balance.
ExpiresAt Datetime The date and time when the transaction expires. Debit transactions always spend the soonest expiring credit first.
BalanceAfterTransactionAmount Decimal The account balance after the transaction, expressed as a decimal value.
BalanceAfterTransactionCurrencyCode String The currency code of the account balance after the transaction.
CreatedAt Datetime The date and time when the transaction was created.
CustomerStoreCreditAccountId String

CustomerStoreCreditAccounts.Id

A globally unique Id for the associated customer store credit account.

CData Python Connector for Shopify

StoreCreditAccountDebitRevertTransactions

Lists debit-revert transactions created when a debit is reversed on a store credit account.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • CustomerStoreCreditAccountId supports the '=, IN' comparison operators.

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

  SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE Id = 'Val1'
  SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE CustomerStoreCreditAccountId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the debit revert transaction.
Amount Decimal The amount of the reverted debit transaction, expressed as a decimal value.
AmountCurrencyCode String The currency code of the reverted debit transaction amount.
DebitTransactionId String The Id of the original debit transaction being reverted.
BalanceAfterTransactionAmount Decimal The account balance after the revert transaction, expressed as a decimal value.
BalanceAfterTransactionCurrencyCode String The currency code of the account balance after the revert transaction.
CreatedAt Datetime The date and time when the revert transaction was created.
CustomerStoreCreditAccountId String

CustomerStoreCreditAccounts.Id

A globally unique Id for the associated customer store credit account.

CData Python Connector for Shopify

StoreCreditAccountDebitTransactions

Lists transactions that debit (decrease) a store credit account.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • CustomerStoreCreditAccountId supports the '=, IN' comparison operators.

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

  SELECT * FROM StoreCreditAccountDebitTransactions WHERE Id = 'Val1'
  SELECT * FROM StoreCreditAccountDebitTransactions WHERE CustomerStoreCreditAccountId = 'Val1'

Insert

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

Amount, AmountCurrencyCode, CustomerStoreCreditAccountId

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the debit transaction.
Amount Decimal The debit amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the debit amount.
BalanceAfterTransactionAmount Decimal The account balance after the debit transaction, expressed as a decimal value.
BalanceAfterTransactionCurrencyCode String The currency code of the account balance after the debit transaction.
CreatedAt Datetime The date and time when the debit transaction was created.
CustomerStoreCreditAccountId String

CustomerStoreCreditAccounts.Id

A globally unique Id for the associated customer store credit account.

CData Python Connector for Shopify

StoreCreditAccountExpirationTransactions

Lists expiration transactions created when credit expires on a store credit account.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CustomerStoreCreditAccountId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM StoreCreditAccountExpirationTransactions WHERE CustomerStoreCreditAccountId = 'Val1'

Columns

Name Type References Description
Amount Decimal The amount of store credit that expired, expressed as a decimal value.
AmountCurrencyCode String The currency code of the expired store credit amount.
CreditTransactionId String The Id of the original credit transaction that expired.
BalanceAfterTransactionAmount Decimal The account balance after the expiration transaction, expressed as a decimal value.
BalanceAfterTransactionCurrencyCode String The currency code of the account balance after the expiration transaction.
CreatedAt Datetime The date and time when the expiration transaction was created.
CustomerStoreCreditAccountId String

CustomerStoreCreditAccounts.Id

A globally unique Id for the associated customer store credit account.

CData Python Connector for Shopify

TenderTransactions

Lists tender (payment method) transactions recorded by the shop.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Test supports the '=, !=' comparison operators.
  • ProcessedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM TenderTransactions WHERE Id = 'Val1'
  SELECT * FROM TenderTransactions WHERE Test = true
  SELECT * FROM TenderTransactions WHERE ProcessedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the tender transaction.
Test Bool Indicates whether the transaction is a test transaction.
PaymentMethod String Details about the payment method used for the transaction.
ProcessedAt Datetime The date and time when the transaction was processed.
RemoteReference String The remote gateway reference associated with the tender transaction.
AmountAmount Decimal The transaction amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the transaction amount.
TenderTransactionCreditCardDetailsCreditCardCompany String The name of the company that issued the customer's credit card (for example, Visa).
TenderTransactionCreditCardDetailsCreditCardNumber String The customer's credit card number, with all digits except the last four redacted.
UserId String A globally unique Id for the user associated with the transaction. Available only with a Shopify Plus subscription.
OrderId String A globally unique Id for the associated order.

CData Python Connector for Shopify

Stored Procedures

Stored procedures are function-like interfaces that extend the functionality of the connector beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.

Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.

CData Python Connector for Shopify Stored Procedures

Name Description
AcceptCancellationRequest Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
AcceptFulfillmentRequest Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
ApproveComment Approves a blog comment so it becomes publicly visible.
AppSubscriptionTrialExtend Extends the trial of an app subscription.
CollectionReorder Reorders products within a collection to control storefront merchandising.
CompanyContactRemoveFromCompany Removes a contact from a specified business-to-business (B2B) company.
CreateFile Creates file assets from an external URL or finalizes previously staged uploads.
CustomerGenerateActivationUrl Generates a URL for activating a customer account.
CustomerSegmentMembersQueryCreate Creates a customer segment members query.
CustomerSendAccountInviteEmail Sends an account invite email to a customer.
DiscountCodeRedeemCodeBulkDelete Asynchronously delete discount codes in bulk.
DiscountRedeemCodeBulkAdd Asynchronously adds discount codes in bulk to a code discount. Maximum: 250 codes per call.
DraftOrderComplete Completes a draft order and creates an order.
DraftOrderInvoiceSend Sends an email invoice for a draft order.
EnableStandardMetafieldDefinition Enables a standard metafield definition from a provided template.
FulfillmentCancel Cancels an existing Fulfillment and reverses its effects on associated FulfillmentOrder objects. When you cancel a fulfillment, the system creates new fulfillment orders for the cancelled items so they can be fulfilled again.
FulfillmentOrderHold Applies a hold on a fulfillment order to pause fulfillment.
FulfillmentOrderMerge Merges one or more fulfillment orders into a single order based on line item inputs and quantities.
FulfillmentOrderMove Moves a fulfillment order to a new location.
FulfillmentOrderReleaseHold Releases the fulfillment hold on a fulfillment order.
FulfillmentOrderSplit Splits a fulfillment order into multiple orders based on line item inputs and quantities.
FulfillmentOrdersReroute Route the fulfillment orders to an alternative location, according to the shop's order routing settings.
GetOAuthAccessToken Gets an authentication token from Shopify.
GetOAuthAuthorizationURL Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the OAuthAccessToken from this URL.
InventoryAdjustQuantities Applies relative changes to inventory quantities for specified items.
InventoryBulkToggleActivation Activates or deactivates inventory items at selected locations to control eligibility for stocking.
InventoryMoveQuantities Moves quantities between inventory quantity names (for example, available or reserved) within a location.
InventorySetQuantities Sets absolute inventory quantities for specified quantity names at a location.
InventorySetScheduledChanges Schedules future inventory level changes for specified items and locations.
MarkCommentNotSpam Marks a comment as not spam to restore normal visibility.
MarkCommentSpam Marks a comment as spam to hide it from public view.
MarketingEngagementCreate Creates a marketing engagement for a marketing activity.
OrderCancel Cancels an order and optionally restocks items and notifies the customer.
OrderCreateManualPayment Creates a manual payment for an order.
OrderSuggestRefund Retrieves a suggested refund for an order based on line items, duties, shipping, and the refund method allocation.
PublishTheme Publishes a theme to make it the live storefront theme.
RejectCancellationRequest Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
RejectFulfillmentRequest Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
SendCancellationRequest Sends a cancellation request to the fulfillment service of a fulfillment order.
SendFulfillmentRequest Sends a fulfillment request to the fulfillment service of a fulfillment order.
ThemeDuplicate Duplicates a theme.
ThemeFilesCopy Copies files within a theme, overwriting existing destination files.
TransactionVoid Voids an uncaptured authorization transaction so it can no longer be captured.
UpdateFile Updates metadata or properties of an existing uploaded file asset.

CData Python Connector for Shopify

AcceptCancellationRequest

Accepts a cancellation request sent to a fulfillment service for a fulfillment order.

Input

Name Type Required Description
Id String True The identifier of the fulfillment order tied to the cancellation request.
Message String False An optional message included with the cancellation acceptance, often used for notes or context.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the cancellation request was successfully accepted.
Details String Additional information or error details about the outcome of the cancellation request.
FulfillmentOrderID String The globally unique identifier of the fulfillment order after the cancellation request is processed.
RequestStatus String The current status of the cancellation request, such as accepted or failed.

CData Python Connector for Shopify

AcceptFulfillmentRequest

Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.

Input

Name Type Required Description
Id String True The identifier of the fulfillment order associated with the fulfillment request.
Message String False An optional message included with the fulfillment acceptance, often used for notes or context.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
FulfillmentOrderID String The globally unique identifier of the fulfillment order after the request is processed.
RequestStatus String The current status of the request, such as accepted, pending, or failed.

CData Python Connector for Shopify

ApproveComment

Approves a blog comment so it becomes publicly visible.

Input

Name Type Required Description
Id String True The identifier of the comment to be approved.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
Id String The globally unique identifier of the approved comment.
Status String The current status of the comment, such as approved or pending.

CData Python Connector for Shopify

AppSubscriptionTrialExtend

Extends the trial of an app subscription.

Input

Name Type Required Description
Id String True The ID of the app subscription.
Days Int True The number of days to extend the trial.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The ID of the app subscription.
Status String The status of the app subscription.

CData Python Connector for Shopify

CollectionReorder

Reorders products within a collection to control storefront merchandising.

Input

Name Type Required Description
CollectionID String True The identifier of the collection where products are reordered.
ProductIDs String True A comma-separated list of product identifiers in the collection to be reordered.
NewPositions String True A comma-separated list of new position values for the specified products.
WaitJob String False Indicates whether the stored procedure should wait until the reorder job is complete before returning a result.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
JobID String The identifier of the reorder job that was created.
Status String The current status of the reorder job, such as queued, running, or completed.

CData Python Connector for Shopify

CompanyContactRemoveFromCompany

Removes a contact from a specified business-to-business (B2B) company.

Input

Name Type Required Description
CompanyContactId String True The identifier of the company contact to remove from the company.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
RemovedCompanyContactId String The identifier of the company contact that was removed.

CData Python Connector for Shopify

CreateFile

Creates file assets from an external URL or finalizes previously staged uploads.

Input

Name Type Required Description
OriginalSource String True The source URL of the file. Supports external URLs for images or staged upload URLs.
FileName String False The name to assign to the file. If not provided, the filename from the OriginalSource is used.
Description String False The alternative text description of the file, used for accessibility.
ContentType String False The type of file. If omitted, Shopify attempts to detect the content type during processing.
DuplicateResolutionMode String False Specifies how to handle cases where the filename is already in use.

The allowed values are APPEND_UUID, RAISE_ERROR, REPLACE.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
Id String The globally unique identifier of the created file.
Status String The current status of the file, such as uploaded or failed.

CData Python Connector for Shopify

CustomerGenerateActivationUrl

Generates a URL for activating a customer account.

Input

Name Type Required Description
Id String True The ID of the customer.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
AccountActivationUrl String The generated activation URL for the customer.

CData Python Connector for Shopify

CustomerSegmentMembersQueryCreate

Creates a customer segment members query.

Input

Name Type Required Description
SegmentId String False The ID of the segment.
Query String False The search query to filter customers by.
Reverse Bool False Reverse the order of the query results.
SortKey String False Sort the query results by the given key.
WaitJob Bool False The Stored Procedure will wait until the Job is done.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
JobID String The CustomerSegmentMembersQuery job ID.
CurrentCount Int The current count of segment members matching the query.
Status String The status of the Job.

CData Python Connector for Shopify

CustomerSendAccountInviteEmail

Sends an account invite email to a customer.

Input

Name Type Required Description
Id String True The ID of the customer.
EmailTo String False The email recipient.
EmailFrom String False The email sender.
EmailSubject String False The email subject.
EmailBody String False The email body.
EmailCustomMessage String False A custom message to include in the email.
EmailBcc String False BCC recipients for the email.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The ID of the customer the invite was sent to.

CData Python Connector for Shopify

DiscountCodeRedeemCodeBulkDelete

Asynchronously delete discount codes in bulk.

Input

Name Type Required Description
DiscountId String True The ID of the DiscountCodeNode object that the codes will be removed from.
Ids String False The IDs of the discount redeem codes to delete. Provide a comma-separated list of IDs.
SavedSearchId String False The ID of the saved search that provides a list of the discount redeem codes to delete.
Search String False The search expression that provides the list of discount redeem codes to delete.
WaitJob String False The Stored Procedure will wait until the Job is done.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
JobID String The Job Id.
Status String The status of the Job.

CData Python Connector for Shopify

DiscountRedeemCodeBulkAdd

Asynchronously adds discount codes in bulk to a code discount. Maximum: 250 codes per call.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • Codes references the DiscountRedeemCodeBulkAddCodeInputs temporary table.

DiscountRedeemCodeBulkAddCodeInputs Temporary Table Columns

Column NameTypeDescription
CodeStringThe code to use the discount.

Input

Name Type Required Description
DiscountId String True The ID of the DiscountCodeNode object receiving the codes.
Codes String True The list of codes to associate with the code discount.
WaitJob String False The Stored Procedure will wait until the Job is done.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
JobId String The ID of the bulk operation that creates the discount codes.
Status String The status of the Job.
CodesCount Int The total number of codes to be created.
ImportedCount Int The number of codes successfully created.
FailedCount Int The number of codes that failed to be created.

CData Python Connector for Shopify

DraftOrderComplete

Completes a draft order and creates an order.

Input

Name Type Required Description
Id String True The ID of the draft order to complete.
PaymentGatewayId String False The gateway for the completed draft order.
SourceName String False The source of the checkout.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The ID of the completed draft order.
OrderId String The ID of the created order.

CData Python Connector for Shopify

DraftOrderInvoiceSend

Sends an email invoice for a draft order.

Input

Name Type Required Description
Id String True The ID of the draft order.
EmailTo String False The email recipient.
EmailFrom String False The email sender.
EmailSubject String False The email subject.
EmailBody String False The email body.
EmailCustomMessage String False A custom message to include in the email.
EmailBcc String False BCC recipients for the email.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The ID of the draft order.

CData Python Connector for Shopify

EnableStandardMetafieldDefinition

Enables a standard metafield definition from a provided template.

Input

Name Type Required Description
Id String False The identifier of the standard metafield definition template to enable.
Namespace String False The namespace of the standard metafield to enable. Must be provided along with the key.
Key String False The key of the standard metafield to enable. Must be provided along with the namespace.
OwnerType String True The Shopify resource type (such as Product, Collection, or Customer) that the metafield definition is scoped to.
UseAsCollectionCondition Boolean False Specifies whether this metafield definition can be used as a condition when creating automated collections.
Pin Boolean True Specifies whether the metafield definition should be pinned for easier visibility in the Shopify Admin.
AccessAdmin String False Defines the Admin API access level for metafields created under this definition.
AccessCustomerAccount String False Defines the Customer Account API access level for metafields created under this definition.
AccessStorefront String False Defines the Storefront API access level for metafields created under this definition.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation to enable the metafield definition was successful.
Details String Additional information about the outcome of the operation.
Id String The globally unique identifier of the enabled metafield definition.

CData Python Connector for Shopify

FulfillmentCancel

Cancels an existing Fulfillment and reverses its effects on associated FulfillmentOrder objects. When you cancel a fulfillment, the system creates new fulfillment orders for the cancelled items so they can be fulfilled again.

Input

Name Type Required Description
Id String True The ID of the fulfillment to be canceled.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The canceled fulfillment.

CData Python Connector for Shopify

FulfillmentOrderHold

Applies a hold on a fulfillment order to pause fulfillment.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • FulfillmentOrderLineItems references the FulfillmentOrderLineItemInputs temporary table.

FulfillmentOrderLineItemInputs Temporary Table Columns

Column NameTypeDescription
IdStringThe ID of the fulfillment order line item.
QuantityIntThe quantity of the line item.

Input

Name Type Required Description
FulfillmentOrderId String True The ID of the fulfillment order.
Reason String True The reason for applying the fulfillment hold.

The allowed values are AWAITING_PAYMENT, HIGH_RISK_OF_FRAUD, INCORRECT_ADDRESS, INVENTORY_OUT_OF_STOCK, UNKNOWN, OTHER.

ReasonNotes String False Additional notes about the fulfillment hold.
NotifyMerchant Bool False Whether to notify the merchant of the hold.
ExternalId String False An identifier for the hold that you can reference later.
FulfillmentOrderLineItems String False Line items to place on hold.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
FulfillmentHoldId String The fulfillment hold created for the fulfillment order. Null if no hold was created.
FulfillmentOrderId String The fulfillment order on which a fulfillment hold was applied.
RemainingFulfillmentOrderId String The remaining fulfillment order containing the line items to which the hold wasn't applied.

CData Python Connector for Shopify

FulfillmentOrderMerge

Merges one or more fulfillment orders into a single order based on line item inputs and quantities.

Input

Name Type Required Description
MergeIntents String True A structured input (JSON or XML array) containing objects with fulfillmentOrderId, fulfillmentOrderLineItemId, and fulfillmentOrderLineItemQuantity, which define the line items to merge.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the merge operation completed successfully.
Details String Additional details about the outcome of the merge operation.
FulfillmentOrderId String The globally unique identifier of the new fulfillment order created by the merge.

CData Python Connector for Shopify

FulfillmentOrderMove

Moves a fulfillment order to a new location.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • FulfillmentOrderLineItems references the FulfillmentOrderLineItemInputs temporary table.

FulfillmentOrderLineItemInputs Temporary Table Columns

Column NameTypeDescription
IdStringThe ID of the fulfillment order line item.
QuantityIntThe quantity of the line item.

Input

Name Type Required Description
FulfillmentOrderId String True The ID of the fulfillment order to move.
NewLocationId String True The ID of the new location to move the fulfillment order to.
FulfillmentOrderLineItems String False Line items to be moved.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
MovedFulfillmentOrderId String The ID of the moved fulfillment order.
RemainingFulfillmentOrderId String The ID of the remaining fulfillment order at the original location.
OriginalFulfillmentOrderId String The ID of the original fulfillment order.

CData Python Connector for Shopify

FulfillmentOrderReleaseHold

Releases the fulfillment hold on a fulfillment order.

Input

Name Type Required Description
FulfillmentOrderId String True The ID of the fulfillment order.
HoldIds String False The IDs of the fulfillment holds to release.
ExternalId String False An external identifier to identify the hold to release.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
FulfillmentOrderId String The ID of the fulfillment order.
FulfillmentOrderStatus String The status of the fulfillment order.

CData Python Connector for Shopify

FulfillmentOrderSplit

Splits a fulfillment order into multiple orders based on line item inputs and quantities.

Input

Name Type Required Description
FulfillmentOrderId String True The globally unique identifier of the fulfillment order to split.
FulfillmentOrderLineItemIDs String True A comma-separated list of globally unique identifiers for the fulfillment order line items to split.
FulfillmentOrderLineItemQuantities String True A comma-separated list of quantities that correspond to each fulfillment order line item being split.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderId String The globally unique identifier of the original fulfillment order after the split.
RemainingFulfillmentOrderId String The globally unique identifier of the remaining fulfillment order after the split.
ReplacementFulfillmentOrderId String The globally unique identifier of the replacement fulfillment order, used when the original fulfillment order could not be split.

CData Python Connector for Shopify

FulfillmentOrdersReroute

Route the fulfillment orders to an alternative location, according to the shop's order routing settings.

Input

Name Type Required Description
FulfillmentOrderIds String True A comma separated list of IDs of the fulfillment orders to be rerouted.
ExcludedLocationIds String False A comma separated list of IDs of the locations to exclude for rerouting.
IncludedLocationIds String False A comma separated list of the locations to include for rerouting.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
MovedFulfillmentOrderId String The id of the moved fulfillment order.

CData Python Connector for Shopify

GetOAuthAccessToken

Gets an authentication token from Shopify.

Input

Name Type Required Description
AuthMode String False The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app.

The allowed values are APP, WEB.

The default value is APP.

CallbackUrl String False The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL you have specified in the Shopify app settings. Only needed when the Authmode parameter is Web.
Verifier String False The verifier returned from Shopify after the user has authorized your app to have access to their data. This value will be returned as a parameter to the callback URL.
State String False Encodes state of the app, which will be returned verbatim in the response and can be used to match the response up to a given request.
Scope String False The scope or permissions you are requesting.

Result Set Columns

Name Type Description
OAuthAccessToken String The access token used for communication with Shopify.
ExpiresIn String The remaining lifetime on the access token. A -1 denotes that it will not expire.

CData Python Connector for Shopify

GetOAuthAuthorizationURL

Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the OAuthAccessToken from this URL.

Input

Name Type Required Description
CallbackUrl String False The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL in the Shopify app settings.
State String False Encodes state of the app, which will be returned verbatim in the response and can be used to match the response up to a given request.
Scope String False The scope or permissions you are requesting.

Result Set Columns

Name Type Description
URL String The authorization URL, entered into a Web browser to obtain the verifier token and authorize your app.

CData Python Connector for Shopify

InventoryAdjustQuantities

Applies relative changes to inventory quantities for specified items.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventoryAdjustChanges references the InventoryAdjustChanges temporary table.

InventoryAdjustChanges Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the change will be applied.
InventoryLevelLocationIdStringSpecifies the location at which the change will be applied.
LedgerDocumentUriStringA freeform URI that represents what changed the inventory quantities.
ChangeFromQuantityIntThe quantity to compare against before applying the delta.
DeltaIntThe amount by which the inventory quantity will be changed.

Input

Name Type Required Description
Name String True The name of the inventory quantity to adjust.

The allowed values are available, damaged, quality_control, reserved, safety_stock.

Reason String True The reason for making the inventory adjustment.

The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.

ReferenceDocumentUri String False A URI identifying the origin or context of the adjustment (for example, the related Shopify resource or external document).
InventoryAdjustChanges String True The set of item quantity changes to apply across specific locations.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about the execution of the operation.
Id String The globally unique identifier of the adjustment group created by the operation.

CData Python Connector for Shopify

InventoryBulkToggleActivation

Activates or deactivates inventory items at selected locations to control eligibility for stocking.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventoryItemUpdates references the InventoryItemUpdates temporary table.

InventoryItemUpdates Temporary Table Columns

Column NameTypeDescription
ActivateBoolWhether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location.
LocationIdStringThe ID of the location to modify the inventory item's stocked status.

Input

Name Type Required Description
InventoryItemId String True The ID of the inventory item for which to update activation status at specific locations.
InventoryItemUpdates String True A list of location-and-status pairs defining where the inventory item should be activated or deactivated.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about the execution of the operation.
InventoryItemId String The ID of the inventory item that was processed.
InventoryLevelIds String The IDs of the inventory levels that were activated or deactivated.

CData Python Connector for Shopify

InventoryMoveQuantities

Moves quantities between inventory quantity names (for example, available or reserved) within a location.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventoryMoveChanges references the InventoryMoveChanges temporary table.

InventoryMoveChanges Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the change will be applied.
QuantityIntThe amount by which the inventory quantity will be changed.
FromNameStringThe quantity name to be moved.
FromInventoryLevelLocationIdStringSpecifies the location at which the change will be applied.
FromLedgerDocumentUriStringA freeform URI that represents what changed the inventory quantities.
FromChangeFromQuantityIntThe quantity to compare against before applying the delta.
ToNameStringThe quantity name to be moved.
ToInventoryLevelLocationIdStringSpecifies the location at which the change will be applied.
ToLedgerDocumentUriStringA freeform URI that represents what changed the inventory quantities.
ToChangeFromQuantityIntThe quantity to compare against before applying the delta.

Input

Name Type Required Description
Reason String True The explanation for why the inventory quantities are being moved between locations.

The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.

ReferenceDocumentUri String True A freeform URI identifying the context of the inventory change (for example, the resource or system action that triggered the move).
InventoryMoveChanges String True The set of quantity adjustments to apply for specific inventory items at defined locations.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the inventory move operation completed successfully.
Details String Additional information or messages about the execution of the operation.
Id String The unique identifier for the inventory adjustment group created by this move operation.

CData Python Connector for Shopify

InventorySetQuantities

Sets absolute inventory quantities for specified quantity names at a location.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventorySetChanges references the InventorySetChanges temporary table.

InventorySetChanges Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the quantity will be set.
InventoryLevelLocationIdStringSpecifies the location at which the quantity will be set.
CompareQuantityIntThe current quantity to be compared against the persisted quantity.
QuantityIntThe quantity to which the inventory quantity will be set.

Input

Name Type Required Description
Name String True The name of the quantity group to update.

The allowed values are available, on_hand.

Reason String True The reason provided for making the quantity changes.

The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.

ReferenceDocumentUri String False A URI reference that identifies the source or context for the inventory change.
IgnoreCompareQuantity Boolean False Specifies whether to skip the compare-quantity check before applying updates.
InventorySetChanges String True The new quantity values to assign for each inventory item and location.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
Id String The unique ID assigned to the group of quantity changes created by the operation.

CData Python Connector for Shopify

InventorySetScheduledChanges

Schedules future inventory level changes for specified items and locations.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventorySetScheduledItems references the InventorySetScheduledItems temporary table.

InventorySetScheduledItems Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the change will be applied.
InventoryLevelLocationIdStringThe ID of the location.
LedgerDocumentUriStringA freeform URI that represents what changed the inventory quantities.
InventorySetScheduledItemChanges (references InventorySetScheduledItemChanges)StringAn array of all the scheduled changes for the item.

InventorySetScheduledItemChanges Temporary Table Columns

Column NameTypeDescription
FromNameStringThe quantity name to transition from.
ToNameStringThe quantity name to transition to.
ExpectedAtDatetimeThe date and time that the scheduled change is expected to happen.

Input

Name Type Required Description
Reason String True The reason provided for creating the scheduled inventory changes.

The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.

ReferenceDocumentUri String True A URI reference that identifies the source or context for the inventory change.
InventorySetScheduledItems String True The list of inventory items and locations where the scheduled changes are applied.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
ScheduledChanges String The scheduled changes that were created by the operation.

CData Python Connector for Shopify

MarkCommentNotSpam

Marks a comment as not spam to restore normal visibility.

Input

Name Type Required Description
Id String True The ID of the comment to mark as not spam.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
Id String A globally unique Id returned for the operation.
Status String The status of the comment after being marked as not spam.

CData Python Connector for Shopify

MarkCommentSpam

Marks a comment as spam to hide it from public view.

Input

Name Type Required Description
Id String True The Id of the comment to mark as spam.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
Id String A globally unique Id returned for the operation.
Status String The status of the comment after being marked as spam.

CData Python Connector for Shopify

MarketingEngagementCreate

Creates a marketing engagement for a marketing activity.

Input

Name Type Required Description
MarketingActivityId String False The marketing activity ID. Set this or RemoteId for activity-level engagements; leave null for channel-level.
RemoteId String False A custom unique identifier for the marketing activity. Set this or MarketingActivityId for activity-level engagements; leave null for channel-level.
ChannelHandle String False The unique string identifier of the channel. Set only for channel-level engagements; leave null for activity-level.
OccurredOn Datetime True The calendar date for which the metrics are being reported.
UtcOffset String True The UTC offset for the time zone in which the metrics are reported (format '+HH:MM' or '-HH:MM').
IsCumulative Bool True Whether the provided metrics are cumulative (from first day of reporting) or non-cumulative (single-day). Non-cumulative is strongly preferred.
ImpressionsCount Int False The total number of times marketing content was displayed to users.
ViewsCount Int False The total number of views on the marketing content.
UniqueViewsCount Int False The total number of unique users who saw the marketing content.
ClicksCount Int False The total number of interactions on the marketing content.
UniqueClicksCount Int False The total number of unique clicks on the marketing content.
SharesCount Int False The total number of times marketing content was shared or reposted.
FavoritesCount Int False The total number of favorites, likes, saves, or bookmarks on the marketing content.
CommentsCount Int False The total number of comments on the marketing content.
ComplaintsCount Int False The total number of complaints on the marketing content (e.g. spam marks, dislikes, reports).
FailsCount Int False The total number of fails for the marketing content (e.g. bounced emails).
SendsCount Int False The total number of marketing emails or messages that were sent.
UnsubscribesCount Int False The total number of unsubscribes on the marketing content.
SessionsCount Int False The number of online store sessions generated from the marketing content.
Orders Decimal False The number of orders generated from the marketing content.
FirstTimeCustomers Decimal False The number of customers that placed their first order.
ReturningCustomers Decimal False The number of returning customers that placed an order.
SalesAmount Decimal False The amount of sales generated from the marketing content.
SalesCurrencyCode String False The currency code for the sales amount.
AdSpendAmount Decimal False The total ad spend for the marketing content.
AdSpendCurrencyCode String False The currency code for the ad spend.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
MarketingActivityId String The ID of the associated marketing activity.

CData Python Connector for Shopify

OrderCancel

Cancels an order and optionally restocks items and notifies the customer.

Input

Name Type Required Description
NotifyCustomer Bool False Indicates whether a notification is sent to the customer about the order cancellation.
OrderId String True The Id of the order to be canceled.
Reason String True The reason for canceling the order.

The allowed values are CUSTOMER, DECLINED, FRAUD, INVENTORY, OTHER, STAFF.

RefundMethodOriginalPaymentMethodsRefund Bool False Whether to refund to the original payment method.
RefundMethodStoreCreditRefundExpiresAt Datetime False Whether to refund to store credit.
Restock Bool True Indicates whether the inventory committed to the order is restocked.
StaffNote String False A staff-facing note about the order cancellation. Not visible to the customer.
WaitJob Bool False Indicates whether the stored procedure waits until the job is complete.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
JobID String The Id of the job associated with the cancellation.
Status String The status of the job.

CData Python Connector for Shopify

OrderCreateManualPayment

Creates a manual payment for an order.

Input

Name Type Required Description
Amount Decimal False Decimal money amount.
CurrencyCode String False Currency of the money.
OrderId String True The ID of the order to create a manual payment for.
PaymentMethodName String False The name of the payment method used for creating the payment. If none is provided, then the default manual payment method ('Other') will be used.
ProcessedAt Datetime False The date and time (ISO 8601 format) when a manual payment was processed.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.

CData Python Connector for Shopify

OrderSuggestRefund

Retrieves a suggested refund for an order based on line items, duties, shipping, and the refund method allocation.

Procedure-Specific Information

The following inputs can accept either temporary table names or JSON aggregates that match the structure of the referenced table as values.

  • RefundLineItems references the RefundLineItemInputs temporary table.
  • RefundDuties references the RefundDutyInputs temporary table.

RefundLineItemInputs Temporary Table Columns

Column NameTypeDescription
LineItemIdStringThe ID of the line item to refund.
QuantityIntThe quantity of the line item to refund.
LocationIdStringThe ID of the location where the items will be restocked.
RestockTypeStringThe type of restock for the refunded line item.

RefundDutyInputs Temporary Table Columns

Column NameTypeDescription
DutyIdStringThe ID of the duty to refund.
RefundTypeStringThe type of refund for the duty.

Input

Name Type Required Description
Id String True The ID of the order to suggest a refund for.
ShippingAmount Decimal False The amount of shipping to refund. Ignored when RefundShipping is set.
RefundShipping Boolean False Whether to refund the full shipping amount. Takes precedence over ShippingAmount.
RefundLineItems String False Line items to refund.
RefundDuties String False Duties to refund.
SuggestFullRefund Boolean False Whether to suggest a full refund regardless of the other inputs. Defaults to false.
RefundMethodAllocation String False How the refund amount should be allocated across refund methods. Defaults to ORIGINAL_PAYMENT_METHODS.

The allowed values are ORIGINAL_PAYMENT_METHODS, STORE_CREDIT.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
AmountSetShopMoneyAmount Decimal Amount of the suggested refund in shop currency.
AmountSetShopMoneyCurrencyCode String Currency code of the suggested refund in shop currency.
AmountSetPresentmentMoneyAmount Decimal Amount of the suggested refund in presentment currency.
AmountSetPresentmentMoneyCurrencyCode String Currency code of the suggested refund in presentment currency.
DiscountedSubtotalSetShopMoneyAmount Decimal Discounted subtotal amount in shop currency.
DiscountedSubtotalSetShopMoneyCurrencyCode String Discounted subtotal currency code in shop currency.
DiscountedSubtotalSetPresentmentMoneyAmount Decimal Discounted subtotal amount in presentment currency.
DiscountedSubtotalSetPresentmentMoneyCurrencyCode String Discounted subtotal currency code in presentment currency.
MaximumRefundableSetShopMoneyAmount Decimal Maximum refundable amount in shop currency.
MaximumRefundableSetShopMoneyCurrencyCode String Maximum refundable currency code in shop currency.
MaximumRefundableSetPresentmentMoneyAmount Decimal Maximum refundable amount in presentment currency.
MaximumRefundableSetPresentmentMoneyCurrencyCode String Maximum refundable currency code in presentment currency.
SubtotalSetShopMoneyAmount Decimal Subtotal amount in shop currency.
SubtotalSetShopMoneyCurrencyCode String Subtotal currency code in shop currency.
SubtotalSetPresentmentMoneyAmount Decimal Subtotal amount in presentment currency.
SubtotalSetPresentmentMoneyCurrencyCode String Subtotal currency code in presentment currency.
TotalCartDiscountAmountSetShopMoneyAmount Decimal Total cart discount amount in shop currency.
TotalCartDiscountAmountSetShopMoneyCurrencyCode String Total cart discount currency code in shop currency.
TotalCartDiscountAmountSetPresentmentMoneyAmount Decimal Total cart discount amount in presentment currency.
TotalCartDiscountAmountSetPresentmentMoneyCurrencyCode String Total cart discount currency code in presentment currency.
TotalDutiesSetShopMoneyAmount Decimal Total duties amount in shop currency.
TotalDutiesSetShopMoneyCurrencyCode String Total duties currency code in shop currency.
TotalDutiesSetPresentmentMoneyAmount Decimal Total duties amount in presentment currency.
TotalDutiesSetPresentmentMoneyCurrencyCode String Total duties currency code in presentment currency.
TotalTaxSetShopMoneyAmount Decimal Total tax amount in shop currency.
TotalTaxSetShopMoneyCurrencyCode String Total tax currency code in shop currency.
TotalTaxSetPresentmentMoneyAmount Decimal Total tax amount in presentment currency.
TotalTaxSetPresentmentMoneyCurrencyCode String Total tax currency code in presentment currency.
ShippingAmountSetShopMoneyAmount Decimal Shipping refund amount in shop currency.
ShippingAmountSetShopMoneyCurrencyCode String Shipping refund currency code in shop currency.
ShippingAmountSetPresentmentMoneyAmount Decimal Shipping refund amount in presentment currency.
ShippingAmountSetPresentmentMoneyCurrencyCode String Shipping refund currency code in presentment currency.
ShippingMaximumRefundableSetShopMoneyAmount Decimal Maximum refundable shipping amount in shop currency.
ShippingMaximumRefundableSetShopMoneyCurrencyCode String Maximum refundable shipping currency code in shop currency.
ShippingMaximumRefundableSetPresentmentMoneyAmount Decimal Maximum refundable shipping amount in presentment currency.
ShippingMaximumRefundableSetPresentmentMoneyCurrencyCode String Maximum refundable shipping currency code in presentment currency.
ShippingTaxSetShopMoneyAmount Decimal Shipping tax amount in shop currency.
ShippingTaxSetShopMoneyCurrencyCode String Shipping tax currency code in shop currency.
ShippingTaxSetPresentmentMoneyAmount Decimal Shipping tax amount in presentment currency.
ShippingTaxSetPresentmentMoneyCurrencyCode String Shipping tax currency code in presentment currency.
SuggestedRefundMethods String JSON aggregate of the suggested refund method allocations.
RefundLineItems String JSON aggregate of the refund line items suggested for this refund.
RefundDuties String JSON aggregate of the duties suggested for refund.
SuggestedTransactions String JSON aggregate of the suggested order transactions for this refund.

CData Python Connector for Shopify

PublishTheme

Publishes a theme to make it the live storefront theme.

Input

Name Type Required Description
Id String True The Id of the theme to be published.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation executed successfully.
Details String Additional details about the execution of the operation.
Id String A globally unique Id of the published theme.

CData Python Connector for Shopify

RejectCancellationRequest

Rejects a cancellation request sent to a fulfillment service for a fulfillment order.

Input

Name Type Required Description
Id String True The unique identifier of the fulfillment order linked to the cancellation request.
Message String False An optional message to include with the rejection of the cancellation request.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the cancellation request rejection executed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderID String A globally unique identifier for the fulfillment order.
RequestStatus String The status of the stored procedure execution.

CData Python Connector for Shopify

RejectFulfillmentRequest

Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.

Input

Name Type Required Description
Id String True The unique identifier of the fulfillment order associated with the fulfillment request.
Message String False An optional message to include with the rejection of the fulfillment request.
Reason String False The reason for rejecting the fulfillment request.

The allowed values are INCORRECT_ADDRESS, INELIGIBLE_PRODUCT, INVENTORY_OUT_OF_STOCK, OTHER, UNDELIVERABLE_DESTINATION.

LineItems String False An optional array of line item rejection details. If omitted, all line items are assumed to be unfulfillable. Example: [{fulfillmentOrderLineItemId: 'xxx', message: 'xx'}]

Result Set Columns

Name Type Description
Success Boolean Indicates whether the rejection of the fulfillment request executed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderID String A globally unique identifier for the fulfillment order.
RequestStatus String The resulting status of the stored procedure execution.

CData Python Connector for Shopify

SendCancellationRequest

Sends a cancellation request to the fulfillment service of a fulfillment order.

Input

Name Type Required Description
Id String True The Id of the fulfillment order associated with the cancellation request.
Message String False An optional message to include with the cancellation request.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the cancellation request executed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderID String A globally unique Id for the fulfillment order.
RequestStatus String The resulting status of the stored procedure execution.

CData Python Connector for Shopify

SendFulfillmentRequest

Sends a fulfillment request to the fulfillment service of a fulfillment order.

Input

Name Type Required Description
Id String True The Id of the fulfillment order associated with the fulfillment request.
Message String False An optional message to include with the fulfillment request.
NotifyCustomer String False Indicates whether the customer should be notified when fulfillments are created for this fulfillment order.
FulfillmentOrderLineItems String False The fulfillment order line items to include in the request. If none are specified, all line items are included by default (for example, [{id: 'xxx', quantity: 1}]).

Result Set Columns

Name Type Description
Success Boolean Indicates whether the fulfillment request executed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderID String A globally unique Id for the fulfillment order.
RequestStatus String The resulting status of the stored procedure execution.

CData Python Connector for Shopify

ThemeDuplicate

Duplicates a theme.

Input

Name Type Required Description
Id String True ID of the theme to be duplicated.
Name String False Name of the new theme.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
ThemeId String The newly duplicated theme id.

CData Python Connector for Shopify

ThemeFilesCopy

Copies files within a theme, overwriting existing destination files.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • Files references the ThemeFilesCopyFileInputs temporary table.

ThemeFilesCopyFileInputs Temporary Table Columns

Column NameTypeDescription
SrcFilenameStringThe source file to copy from.
DstFilenameStringThe destination file where the content is copied.

Input

Name Type Required Description
ThemeId String True The ID of the theme to copy files within.
Files String True The files to copy.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
CopiedThemeFiles String The resulting theme files.

CData Python Connector for Shopify

TransactionVoid

Voids an uncaptured authorization transaction so it can no longer be captured.

Input

Name Type Required Description
ParentTransactionId String True The Id of the uncaptured authorization transaction to be voided.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the void operation executed successfully.
Details String Additional details about the execution of the void operation.
TransactionId String The Id of the void transaction created by the operation.

CData Python Connector for Shopify

UpdateFile

Updates metadata or properties of an existing uploaded file asset.

Input

Name Type Required Description
Id String True The Id of the file to update.
FileName String False The name of the file, including its extension.
Description String False The alternative text description (alt text) of the file.
OriginalSource String False The source used to update a media image or generic file. Accepts an external URL (images only) or a staged upload URL.
PreviewImageSource String False The source used to update the media preview image. Accepts an external URL or a staged upload URL.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the file update operation executed successfully.
Details String Additional details about the execution of the update operation.
Id String A globally unique Id for the updated file.
Status String The current status of the file after the update operation.

CData Python Connector for Shopify

API Version 2025-10

The CData Python Connector for Shopify models the Shopify API as relational tables, views, and stored procedures.

Set Schema to GRAPHQL-2025-10 to use this data model.

Tables

The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.

Common tables include:

Table Description
Shop Contains general settings and information about the shop.
Customers Lists customers with core profile data, marketing preferences, and tags.
Catalogs Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use.
Orders Lists orders with customer, payment, fulfillment, duty, and tax details.
DeliveryProfiles Lists saved delivery profiles that define shipping logic by product and location.
OrderTransactions Lists payment transactions associated with orders (authorization, capture, refund).
Refunds Represents refunds of items or transactions on an order, with amounts and reasons.
RefundLineItems Lists refund line item records that specify quantities and amounts refunded.
Products Lists products with titles, status, variants, media, and publishing details.
ProductVariants Lists product variants with pricing, inventory tracking, and option values.
Collections Returns manual and automated collections with titles, rules, and publication state.
CollectionProducts Lists products contained within a specified collection.
DraftOrders Lists saved draft orders for manual checkout or invoicing workflows.
DraftOrderLineItems Lists the line items included in a draft order with quantities and prices.
Fulfillments Represents shipments created for orders, including tracking and delivery status.
FulfillmentOrders Lists merchant-managed and third-party fulfillment orders with statuses and assignments.
FulfillmentEvents Lists status events (in transit, delivered) associated with fulfillments.
Locations Lists active inventory locations used for stock, fulfillment, and pickup.
InventoryItems Lists inventory items (SKU-level records) with tracking and cost data.
Metafields Lists metafields attached to one or more resource Ids.

Stored Procedures

Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing fulfillment orders, adjusting inventory across locations, and administering store configuration and content.

Using Bulk API

See UseBulkAPI for a more in-depth look at how the driver performs Shopify Bulk Operations.

CData Python Connector for Shopify

Tables

The connector models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.

CData Python Connector for Shopify Tables

Name Description
AppFeedbacks The system surfaces app feedback items that notify merchants about setup requirements or issues in the Admin.
AppSubscriptionLineItems Lists the plan components and recurring line items that comprise an app subscription.
AppSubscriptionLineItemUsageRecords Returns usage records for app subscription line items.
AppSubscriptions Lists all subscriptions created for the shop's installed app, including status and billing cycles.
ArticleComments Lists comments on blog articles with author details, content, and moderation status.
Articles Lists the shop's articles with titles, content, authorship, and publication state.
Blogs Lists the shop's blogs with titles, handles, and metadata.
CarrierServices Lists activated carrier services and the shop locations that support them for live rate calculation.
Catalogs Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use.
CollectionProducts Lists products contained within a specified collection.
Collections Returns manual and automated collections with titles, rules, and publication state.
Companies Lists business-to-business (B2B) companies configured in the shop.
CompanyContactRoleAssignments Lists role assignments mapping company contacts to their permissions.
CompanyContacts Lists contacts for companies, including identifiers, email, and role.
CompanyLocations Lists locations defined under a company, including addresses and identifiers.
CompanyLocationStaffMemberAssignments Lists staff members assigned to a company location. Actions are scoped to that location (Shopify Plus only).
CustomerAddresses Lists addresses stored on customer profiles, including default selections.
Customers Lists customers with core profile data, marketing preferences, and tags.
DeliveryProfiles Lists saved delivery profiles that define shipping logic by product and location.
DiscountsAutomaticApp Lists automatic discounts defined and managed by apps.
DiscountsAutomaticBasic Lists basic automatic discounts (for example, percentage or amount off).
DiscountsAutomaticBxgy Lists automatic buy-X-get-Y discounts.
DiscountsAutomaticFreeShipping Returns a list of automatic free shipping discounts.
DiscountsCodeApp Lists discount codes managed by apps.
DiscountsCodeBasic Lists basic code discounts (fixed/percentage off, minimums).
DiscountsCodeBxgy Lists buy-X-get-Y discount codes.
DiscountsCodeFreeShipping Lists free-shipping discounts available via discount codes.
DraftOrders Lists saved draft orders for manual checkout or invoicing workflows.
Files Lists files uploaded to Shopify (images, PDFs, media) with metadata and URLs.
FulfillmentEvents Lists status events (in transit, delivered) associated with fulfillments.
FulfillmentOrders Lists merchant-managed and third-party fulfillment orders with statuses and assignments.
Fulfillments Represents shipments created for orders, including tracking and delivery status.
FulfillmentServices Lists fulfillment services that prepare and ship orders on behalf of the merchant.
FulfillmentTrackingInfo Lists tracking details for fulfillments, including company, number, and tracking URL.
GiftCards Lists gift cards and balances (requires read_gift_cards; available for Shopify Plus/private or custom application).
GiftCardTransactionsCredit Lists credit transactions that increase a gift card balance (Shopify Plus only).
GiftCardTransactionsDebit Lists debit transactions that decrease a gift card balance (Shopify Plus only).
InventoryItemInventoryLevels Shows per-location inventory level summaries for an inventory item.
InventoryItems Lists inventory items (SKU-level records) with tracking and cost data.
InventoryShipments Returns a list of inventory items.
Locations Lists active inventory locations used for stock, fulfillment, and pickup.
MarketingActivities Returns a list of external marketing activities.
Menus Lists navigation menus used on the storefront.
MetafieldDefinitions Lists metafield definitions, including validation and presentation details.
Metafields Lists metafields attached to one or more resource Ids.
OrderRiskAssessments Lists fraud risk assessments attached to orders with scores and reasons.
Orders Lists orders with customer, payment, fulfillment, duty, and tax details.
OrderTransactions Lists payment transactions associated with orders (authorization, capture, refund).
Pages Lists the shop's informational pages used on the storefront.
PriceLists Lists price lists configured for the shop (for example, business-to-business (B2B) tiers, or markets).
ProductMediaImages Lists image media attached to products with alt text and ordering.
ProductOptions Lists product options (Size or Color). Limited by Shop.resourceLimits.maxProductOptions.
ProductOptionValues Lists all possible option values for a given product option, even if not used by a variant.
ProductResourceFeedbacks Lists product resource feedback items visible to the current application.
Products Lists products with titles, status, variants, media, and publishing details.
ProductVariants Lists product variants with pricing, inventory tracking, and option values.
Publications Lists sales channel publications configured for the shop.
Refunds Represents refunds of items or transactions on an order, with amounts and reasons.
Returns Lists returns associated with orders, including statuses and dispositions.
ScriptTags Lists script tags that inject JavaScript into storefront pages.
Segments Lists customer segments defined in the shop.
SellingPlanGroups Lists selling plan groups used for subscriptions and prepaid options.
StorefrontAccessTokens Lists storefront access tokens for private applications, scoped per application.
ThemeFiles Represents files in an online store theme.
Themes Lists the shop's themes with role and preview data.
UrlRedirects Lists URL redirects configured for the shop to preserve search engine optimization (SEO) and navigation.

CData Python Connector for Shopify

AppFeedbacks

The system surfaces app feedback items that notify merchants about setup requirements or issues in the Admin.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM AppFeedbacks

Insert

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

Message, State, FeedbackGeneratedAt

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the app feedback record.

Title String True

The name of the app that generated the feedback.

Message String True

The feedback message provided to the merchant by the app.

Url String True

The link URL included with the feedback, directing the merchant to additional details or actions.

Label String True

A context-sensitive label that describes the purpose of the link.

State String True

The current state of the feedback, indicating whether merchant action is required.

The allowed values are ACCEPTED, REQUIRES_ACTION.

FeedbackGeneratedAt Datetime True

The date and time when the feedback was generated, used to determine whether new feedback is more recent than existing records.

CData Python Connector for Shopify

AppSubscriptionLineItems

Lists the plan components and recurring line items that comprise an app subscription.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppInstallationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppSubscriptionLineItems WHERE AppInstallationId = 'Val1'

Update

The following columns can be updated:

UsagePricingPlanCappedAmount, UsagePricingPlanCappedAmountCurrencyCode

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the app subscription line item.

AppSubscriptionId String True

The globally unique identifier of the app subscription that this line item belongs to.

AppInstallationId String True

The globally unique identifier of the app installation linked to this subscription line item.

RecurringPricingPlanDiscountDurationLimitInIntervals Int True

The total number of billing intervals during which the discount is applied. If blank, the discount applies indefinitely.

RecurringPricingPlanDiscountPriceAfterDiscountAmount Decimal True

The subscription price after discounts are applied, expressed as a decimal money amount.

RecurringPricingPlanDiscountPriceAfterDiscountCurrencyCode String True

The currency code for the subscription price after discounts are applied.

RecurringPricingPlanDiscountRemainingDurationInIntervals Int True

The number of billing intervals remaining in which the discount is applied.

RecurringPricingPlanValueAmount Decimal True

The value of the recurring discount applied to each billing interval, expressed as a decimal money amount.

RecurringPricingPlanValueAmountCurrencyCode String True

The currency code for the recurring discount value applied each billing interval.

RecurringPricingPlanValuePercentage Double True

The discount rate applied to each billing interval, expressed as a percentage.

RecurringPricingPlanInterval String True

The frequency at which the merchant is billed for the app subscription, such as monthly or yearly.

RecurringPricingPlanHandle String True

The handle (unique identifier) of the app store pricing plan for the subscription.

RecurringPricingPlanPriceAmount Decimal True

The amount billed to the merchant for the subscription at each interval, expressed as a decimal money amount.

RecurringPricingPlanPriceCurrencyCode String True

The currency code for the recurring subscription price billed to the merchant.

UsagePricingPlanBalanceUsedAmount Decimal True

The total usage charges accumulated during the billing interval, expressed as a decimal money amount.

UsagePricingPlanBalanceUsedCurrencyCode String True

The currency code for the usage charges accumulated during the billing interval.

UsagePricingPlanCappedAmount Decimal False

The capped amount that limits how much a merchant can be billed for usage within a billing period. If usage exceeds this cap, the merchant must approve a new usage charge to continue using the app. Expressed as a decimal money amount.

UsagePricingPlanCappedAmountCurrencyCode String False

The currency code for the capped usage charge amount.

UsagePricingPlanInterval String True

The frequency at which usage charges for the app are billed, such as daily, monthly, or yearly.

UsagePricingPlanTerms String True

The terms and conditions governing app usage pricing. These must be provided to create usage charges and are shown to the merchant when they approve usage billing.

CData Python Connector for Shopify

AppSubscriptionLineItemUsageRecords

Returns usage records for app subscription line items.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppSubscriptionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppSubscriptionLineItemUsageRecords WHERE AppSubscriptionId = 'Val1'

Insert

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

SubscriptionLineItemId, Description, IdempotencyKey, PriceAmount, PriceCurrencyCode

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A globally-unique ID.

SubscriptionLineItemId String True

The ID of the app subscription line item that the usage record belongs to.

AppSubscriptionId String True

AppSubscriptions.Id

The ID of the app subscription.

Description String True

The description of the app usage record.

IdempotencyKey String True

A unique key generated by the client to avoid duplicate charges.

PriceAmount Decimal True

The price of the app usage record. Decimal money amount.

PriceCurrencyCode String True

The currency of the app usage record price.

CreatedAt Datetime True

The date and time when the usage record was created.

CData Python Connector for Shopify

AppSubscriptions

Lists all subscriptions created for the shop's installed app, including status and billing cycles.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppInstallationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppSubscriptions WHERE AppInstallationId = 'Val1'

Insert

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

Name, Test, ReturnUrl, TrialDays, LineItem (references AppSubscriptionLineItems)

AppSubscriptionLineItems Temporary Table Columns

Column NameTypeDescription
RecurringPricingPlanDiscountDurationLimitInIntervalsIntThe total number of billing intervals to which the discount will be applied. The discount will be applied to an indefinite number of billing intervals if this value is blank.
RecurringPricingPlanValueAmountDecimalThe value of the discount applied every billing interval. Decimal money amount.
RecurringPricingPlanValuePercentageDoubleThe value of the discount applied every billing interval. The percentage value of a discount.
RecurringPricingPlanIntervalStringThe frequency at which the subscribing shop is billed for an app subscription.
RecurringPricingPlanPriceAmountDecimalThe amount to be charged to the subscribing shop every billing interval. Decimal money amount.
RecurringPricingPlanPriceCurrencyCodeStringThe currency to be charged to the subscribing shop every billing interval. Currency of the money.
UsagePricingPlanCappedAmountDecimalThe capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount.
UsagePricingPlanCappedAmountCurrencyCodeStringThe capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money.
UsagePricingPlanTermsStringThe terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the app subscription.

AppInstallationId String True

The globally unique identifier of the app installation linked to this subscription.

Name String True

The display name of the app subscription.

Status String True

The current status of the app subscription, such as active, expired, or pending.

Test Bool True

Indicates whether the app subscription is a test transaction rather than a live subscription.

ReturnUrl String True

The URL where the merchant is redirected after approving the subscription.

TrialDays Int True

The number of trial days provided before billing begins, starting from the subscription's creation date.

CurrentPeriodEnd Datetime True

The date and time when the current billing period of the subscription ends. Returns null if the subscription is not active.

CreatedAt Datetime True

The date and time when the app subscription was created.

LineItemIds String True

The identifiers of the subscription plans attached to this app subscription.

LineItem String True

The details of the subscription plans attached to this app subscription.

CData Python Connector for Shopify

ArticleComments

Lists comments on blog articles with author details, content, and moderation status.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ArticleId supports the '=, IN' comparison operators.
  • PublishedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM ArticleComments WHERE Id = 'Val1'
  SELECT * FROM ArticleComments WHERE ArticleId = 'Val1'
  SELECT * FROM ArticleComments WHERE PublishedAt = '2023-01-01 11:10:00'
  SELECT * FROM ArticleComments WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM ArticleComments WHERE CreatedAt = '2023-01-01 11:10:00'

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the comment.

ArticleId String True

The globally unique identifier of the article associated with the comment.

ArticleTitle String True

The title of the article that the comment is attached to.

Body String True

The plain text content of the comment.

BodyHtml String True

The comment content with HTML formatting included.

Status String True

The current status of the comment, such as approved, pending, or spam.

Ip String True

The IP address from which the commenter submitted the comment.

UserAgent String True

The user agent string of the commenter's browser or application.

AuthorName String True

The display name of the commenter.

AuthorEmail String True

The email address of the commenter.

IsPublished Bool True

Indicates whether the comment has been published.

PublishedAt Datetime True

The date and time when the comment was published.

UpdatedAt Datetime True

The date and time when the comment was most recently updated.

CreatedAt Datetime True

The date and time when the comment was originally created.

CData Python Connector for Shopify

Articles

Lists the shop's articles with titles, content, authorship, and publication state.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Handle supports the '=, !=' comparison operators.
  • AuthorName supports the '=, !=' comparison operators.
  • BlogId supports the '=, !=' comparison operators.
  • BlogTitle supports the '=, !=' comparison operators.
  • IsPublished supports the '=, !=' comparison operators.
  • PublishedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Articles WHERE Id = 'Val1'
  SELECT * FROM Articles WHERE Title = 'Val1'
  SELECT * FROM Articles WHERE Handle = 'Val1'
  SELECT * FROM Articles WHERE AuthorName = 'Val1'
  SELECT * FROM Articles WHERE BlogId = 'Val1'
  SELECT * FROM Articles WHERE BlogTitle = 'Val1'
  SELECT * FROM Articles WHERE IsPublished = true
  SELECT * FROM Articles WHERE PublishedAt = '2023-01-01 11:10:00'
  SELECT * FROM Articles WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Articles WHERE CreatedAt = '2023-01-01 11:10:00'

Insert

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

Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, PublishedAt

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

AuthorUserId, Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, IsPublished, PublishedAt

The following pseudo-columns can be used to update a record:

AuthorUserId, RedirectNewHandle, Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the article.

Title String False

The title of the article as displayed in the blog.

Body String False

The full body content of the article, including HTML markup.

Handle String False

A unique, human-readable string generated from the article title and used in the article's URL.

Summary String False

A short summary of the article, which can include HTML markup. The summary is displayed by the online store theme on pages such as the home page or main blog page.

Tags String False

Short descriptive tags associated with the article for categorization and search.

TemplateSuffix String False

The name of the alternate template applied to the article. Returns null if the default 'article.liquid' template is used.

AuthorName String False

The full name of the article's author.

BlogId String False

The globally unique identifier of the blog that contains this article.

BlogTitle String False

The title of the blog that contains this article.

ImageId String True

The unique identifier of the image associated with the article.

ImageAltText String False

Alternative text describing the content or purpose of the article's image.

ImageUrl String False

The URL of the article's image.

ImageWidth Int True

The original width of the article's image in pixels. Returns null if the image is not hosted by Shopify.

ImageHeight Int True

The original height of the article's image in pixels. Returns null if the image is not hosted by Shopify.

CommentsCount Int True

The total number of comments posted on the article.

CommentPrecision String True

The level of precision applied to the comment count value.

IsPublished Bool False

Indicates whether the article is currently published and visible.

PublishedAt Datetime False

The date and time when the article became visible. Returns null if the article is not published.

UpdatedAt Datetime True

The date and time when the article was last updated.

CreatedAt Datetime True

The date and time when the article was created.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
AuthorUserId String

The identifier of the staff account associated with the article's author.

RedirectNewHandle Bool

Indicates whether a redirect is automatically created when the article handle changes. If true, the old handle redirects to the new one.

Metafields String

The metafield input values used to create or update additional metadata for the article.

CData Python Connector for Shopify

Blogs

Lists the shop's blogs with titles, handles, and metadata.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Handle supports the '=, !=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Blogs WHERE Id = 'Val1'
  SELECT * FROM Blogs WHERE Title = 'Val1'
  SELECT * FROM Blogs WHERE Handle = 'Val1'
  SELECT * FROM Blogs WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Blogs WHERE CreatedAt = '2023-01-01 11:10:00'

Insert

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

Title, Handle, TemplateSuffix, CommentPolicy

The following pseudo-column can be used to create a new record:

Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

Title, Handle, TemplateSuffix, CommentPolicy

The following pseudo-columns can be used to update a record:

RedirectArticles, RedirectNewHandle, Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the blog.

Title String False

The display title of the blog.

Handle String False

A unique, human-readable string for the blog. If not provided, the handle is automatically generated from the blog title. The handle can be customized and is used in the Liquid templating language to reference the blog.

Tags String True

A list of tags applied to the 200 most recent articles in the blog.

TemplateSuffix String False

The name of the alternate template applied to the blog. Returns null if the default 'blog.liquid' template is used.

ArticlesCount Int True

The number of articles in the blog.

ArticlesCountPrecision String True

The level of precision applied to the article count value.

CommentPolicy String False

Indicates whether readers can post comments on the blog and whether comments require moderation.

FeedLocation String True

The URL of the blog's feed provider.

FeedPath String True

The path to the blog's feed provider.

UpdatedAt Datetime True

The date and time when the blog was most recently updated.

CreatedAt Datetime True

The date and time when the blog was created.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
RedirectArticles Bool

Indicates whether blog articles are automatically redirected.

RedirectNewHandle Bool

Indicates whether a redirect is automatically created when the blog handle changes. If true, the old handle redirects to the new one.

Metafields String

Additional metadata fields attached to the blog resource.

CData Python Connector for Shopify

CarrierServices

Lists activated carrier services and the shop locations that support them for live rate calculation.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM CarrierServices

Insert

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

Name, Active, SupportsServiceDiscovery, CallbackUrl

Update

The following columns can be updated:

Name, Active, SupportsServiceDiscovery, CallbackUrl

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the carrier service.

Name String False

The name of the shipping service provider.

FormattedName String True

The display-ready, formatted name of the shipping service provider.

IconAltText String True

Alternative text that describes the content or purpose of the carrier service's image.

IconHeight Int True

The original height of the carrier service image in pixels. Returns null if the image is not hosted by Shopify.

IconId String True

The unique identifier of the carrier service image.

IconWidth Int True

The original width of the carrier service image in pixels. Returns null if the image is not hosted by Shopify.

Active Bool False

Indicates whether the carrier service is active and available to use.

SupportsServiceDiscovery Bool False

Indicates whether merchants can send test data to the carrier service through the Shopify Admin to preview shipping rate examples.

CallbackUrl String False

The callback URL endpoint that Shopify uses to request shipping rates from the carrier service.

CData Python Connector for Shopify

Catalogs

Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM Catalogs

Insert

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

Status, Title, PriceListId, PublicationId

The following pseudo-column can be used to create a new record:

CompanyLocationIds

Update

The following columns can be updated:

Status, Title, PriceListId, PublicationId

The following pseudo-column can be used to update a record:

CompanyLocationIds

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the catalog.

Status String False

The current status of the catalog, such as active or inactive.

Title String False

The display name of the catalog.

PriceListId String False

The globally unique identifier of the price list associated with the catalog.

PublicationId String False

The globally unique identifier of the publication linked to the catalog.

OperationId String True

The globally unique identifier of the operation that created or last modified the catalog.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
CompanyLocationIds String

The identifiers of the company locations associated with the catalog.

CData Python Connector for Shopify

CollectionProducts

Lists products contained within a specified collection.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CollectionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CollectionProducts WHERE CollectionId = 'Val1'

Insert

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

Id, CollectionId

Delete

You can delete entries by specifying the following columns:

Id, CollectionId

Columns

Name Type ReadOnly References Description
Id [KEY] String True

Products.Id

The globally unique identifier of the collection product record.

CollectionId [KEY] String True

Collections.Id

The globally unique identifier of the collection that this product belongs to.

Title String True

The display title of the product within the collection.

Position Int True

The position of the product in the collection's sort order.

CData Python Connector for Shopify

Collections

Returns manual and automated collections with titles, rules, and publication state.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Handle supports the '=, IN' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • Value supports the '=' comparison operator.

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

  SELECT * FROM Collections WHERE Id = 'Val1'
  SELECT * FROM Collections WHERE Title = 'Val1'
  SELECT * FROM Collections WHERE Handle = 'Val1'
  SELECT * FROM Collections WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Collections WHERE Namespace = 'Val1'
  SELECT * FROM Collections WHERE Key = 'Val1'
  SELECT * FROM Collections WHERE Value = 'Val1'

Insert

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

Title, Handle, DescriptionHtml, SortOrder, TemplateSuffix, ImageAltText, ImageUrl, RuleSetRules (references CollectionRules), RuleSetAppliedDisjunctively, SeoTitle, SeoDescription

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

ProductIds, Metafields (references Metafields)

CollectionRules Temporary Table Columns

Column NameTypeDescription
ColumnStringThe attribute that the rule focuses on.
RelationStringThe type of operator that the rule is based on.
ConditionStringThe value that the operator is applied to.
ConditionObjectMetafieldDefinitionIdStringThe metafield definition used as a rule for the condition.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

Title, Handle, DescriptionHtml, SortOrder, TemplateSuffix, ImageAltText, ImageUrl, RuleSetRules (references CollectionRules), RuleSetAppliedDisjunctively, SeoTitle, SeoDescription

The following pseudo-column can be used to update a record:

RedirectNewHandle

CollectionRules Temporary Table Columns

Column NameTypeDescription
ColumnStringThe attribute that the rule focuses on.
RelationStringThe type of operator that the rule is based on.
ConditionStringThe value that the operator is applied to.
ConditionObjectMetafieldDefinitionIdStringThe metafield definition used as a rule for the condition.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the collection.

LegacyResourceId String True

The legacy identifier of the collection in the REST Admin API.

Title String False

The display name of the collection, shown in the Shopify Admin and in sales channels such as the online store.

Handle String False

A unique, human-readable string that identifies the collection. If not specified at creation, the handle is automatically generated from the collection title using hyphens between words. For example, a collection titled 'Summer Catalog 2022' might generate the handle 'summer-catalog-2022'. The handle does not automatically change if the title changes. In themes, the handle can be referenced with Liquid, though the collection Id is preferred because it never changes.

DescriptionHtml String False

The description of the collection, including HTML formatting. This content is typically shown to customers in sales channels, depending on the theme.

ProductsCount Int True

The number of products included in the collection.

ProductsCountPrecision String True

The level of precision applied to the product count value.

SortOrder String False

The default order in which products in the collection are displayed in the Shopify Admin and in sales channels such as the online store.

The allowed values are ALPHA_ASC, ALPHA_DESC, BEST_SELLING, CREATED, CREATED_DESC, MANUAL, PRICE_ASC, PRICE_DESC.

TemplateSuffix String False

The suffix of the Liquid template used to render the collection in an online store. For example, if the value is 'custom', the 'collection.custom.liquid' template is used. If null, the default 'collection.liquid' template is used.

AvailablePublicationsCount Int True

The number of publications where the collection is published without feedback errors.

AvailablePublicationsCountPrecision String True

The level of precision applied to the available publications count.

PublishedOnCurrentPublication Bool True

Indicates whether the collection is published to the calling app's publication.

UpdatedAt Datetime True

The date and time when the collection was last updated.

FeedbackSummary String True

A summary of feedback associated with the collection.

ImageId String True

The unique identifier of the image associated with the collection.

ImageWidth Int True

The original width of the collection image in pixels. Returns null if the image is not hosted by Shopify.

ImageAltText String False

Alternative text describing the content or purpose of the collection image.

ImageHeight Int True

The original height of the collection image in pixels. Returns null if the image is not hosted by Shopify.

ImageUrl String False

The URL of the collection image.

RuleSetRules String False

The rules used to assign products to the collection.

RuleSetAppliedDisjunctively Bool False

Specifies whether products must match any or all rules to be included in the collection. If true, products must match at least one rule. If false, products must match all rules.

SeoTitle String False

The search engine optimization (SEO) title of the collection, used in search engine results.

SeoDescription String False

The SEO description of the collection, used in search engine results.

Namespace String True

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

Key String True

The key for the metafield.

Value String True

The value of the metafield.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
ProductIds String

Initial list of collection products. Only valid when creating a collection and without rules.

Metafields String

The metafields to associate with the collection.

RedirectNewHandle Bool

Whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically.

CData Python Connector for Shopify

Companies

Lists business-to-business (B2B) companies configured in the shop.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ExternalId supports the '=, !=' comparison operators.
  • Name supports the '=, !=' comparison operators.
  • CustomerSince supports the '=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Companies WHERE Id = 'Val1'
  SELECT * FROM Companies WHERE ExternalId = 'Val1'
  SELECT * FROM Companies WHERE Name = 'Val1'
  SELECT * FROM Companies WHERE CustomerSince = '2023-01-01 11:10:00'
  SELECT * FROM Companies WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Companies WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

ExternalId, Name, Note, CustomerSince

Update

The following columns can be updated:

ExternalId, Name, Note, MainContactId

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the company.

ExternalId String False

An externally supplied identifier used to uniquely reference the company outside of Shopify.

Name String False

The name of the company.

Note String False

A merchant-facing note about the company.

ContactsCount Int True

The number of contacts associated with the company.

ContactsCountPrecision String True

The level of precision applied to the contact count value.

CustomerSince Datetime True

The date and time when the company became a customer.

DefaultCursor String True

A default cursor used to retrieve the next company record in ascending ID order.

LifetimeDuration String True

The duration of time since the company became a customer, expressed as a readable interval such as '2 days', '3 months', or '1 year'.

LocationsCount Int True

The number of locations linked to the company.

LocationsCountPrecision String True

The level of precision applied to the location count value.

OrdersCount Int True

The total number of orders placed by the company across all of its locations.

OrdersCountPrecision String True

The level of precision applied to the order count value.

HasTimelineComment Bool True

Indicates whether a timeline comment has been added to the company record by the merchant.

CreatedAt Datetime True

The date and time when the company was created in Shopify.

UpdatedAt Datetime True

The date and time when the company record was last updated.

DefaultRoleId String True

The globally unique identifier of the company's default role.

DefaultRoleName String True

The name of the company's default role, such as 'admin' or 'buyer'.

DefaultRoleNote String True

A note associated with the company's default role.

MainContactId String True

The globally unique identifier of the company's main contact.

TotalSpentAmount Decimal True

The total amount spent by the company, expressed as a decimal money value.

TotalSpentCurrencyCode String True

The currency code for the company's total spent amount.

CData Python Connector for Shopify

CompanyContactRoleAssignments

Lists role assignments mapping company contacts to their permissions.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CompanyContactId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CompanyContactRoleAssignments WHERE CompanyContactId = 'Val1'

Insert

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

CompanyLocationId, CompanyContactId, RoleId

Delete

You can delete entries by specifying the following columns:

Id, CompanyContactId

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the company contact role assignment.

CompanyId String True

The globally unique identifier of the company that this role assignment belongs to.

CompanyLocationId String True

The globally unique identifier of the company location where the role is assigned.

CompanyContactId String True

The globally unique identifier of the company contact associated with this role assignment.

CreatedAt Datetime True

The date and time when the role assignment record was created.

UpdatedAt Datetime True

The date and time when the role assignment record was last updated.

RoleId String True

The globally unique identifier of the assigned role.

RoleName String True

The name of the assigned role, such as 'admin' or 'buyer'.

RoleNote String True

A note associated with the assigned role.

CData Python Connector for Shopify

CompanyContacts

Lists contacts for companies, including identifiers, email, and role.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • CompanyId supports the '=, IN' comparison operators.
  • Id supports the '=, IN' comparison operators.

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

  SELECT * FROM CompanyContacts WHERE CompanyId = 'Val1'
  SELECT * FROM CompanyContacts WHERE Id = 'Val1'

Insert

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

CompanyId, Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone, CustomerId

Update

The following columns can be updated:

Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
CompanyId String True

The globally unique identifier of the company that the contact belongs to.

Id [KEY] String False

The globally unique identifier of the company contact.

IsMainContact Bool True

Indicates whether this contact is the main contact for the company.

Title String False

The job title of the company contact.

Locale String False

The locale (language) preference of the company contact.

LifetimeDuration String True

The duration of time since the company contact was created in Shopify, expressed as a readable interval such as '1 year', '2 months', or '3 days'.

CreatedAt Datetime True

The date and time when the company contact was created in Shopify.

UpdatedAt Datetime True

The date and time when the company contact record was last updated.

CustomerId String True

The globally unique identifier of the customer linked to this contact.

CustomerFirstName String False

The first name of the customer associated with this contact.

CustomerLastName String False

The last name of the customer associated with this contact.

CustomerEmail String False

The email address of the customer associated with this contact.

CustomerPhone String False

The phone number of the customer associated with this contact.

CData Python Connector for Shopify

CompanyLocations

Lists locations defined under a company, including addresses and identifiers.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CompanyId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CompanyLocations WHERE CompanyId = 'Val1'

Insert

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

CompanyId, ExternalId, TaxRegistrationId, Name, Locale, Note, Phone, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressPhone, BillingAddressRecipient, BillingAddressZip, BillingAddressCountryCode, BillingAddressZoneCode, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressPhone, ShippingAddressRecipient, ShippingAddressZip, ShippingAddressCountryCode, ShippingAddressZoneCode

Update

The following columns can be updated:

ExternalId, Name, Locale, Note, Phone, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the company location.

CompanyId String True

Companies.Id

The globally unique identifier of the company that this location belongs to.

ExternalId String False

An externally supplied identifier used to uniquely reference the company location outside of Shopify.

TaxRegistrationId String True

The tax registration identifier of the company location.

Name String False

The display name of the company location.

Currency String True

The currency of the company location, based on the shipping address. If no shipping address is provided, the value defaults to the shop's primary market currency.

Locale String False

The preferred locale (language) of the company location.

Note String False

A merchant-facing note about the company location.

Phone String False

The phone number of the company location.

DefaultCursor String True

A default cursor used to retrieve the next company location record in ascending ID order.

OrdersCount Int True

The total number of orders placed for the company location.

OrdersCountPrecision String True

The level of precision applied to the order count value.

TaxExemptions String True

A list of tax exemptions applied to the company location.

HasTimelineComment Bool True

Indicates whether a timeline comment has been added to the company location by the merchant.

CreatedAt Datetime True

The date and time when the company location was created in Shopify.

UpdatedAt Datetime True

The date and time when the company location record was last updated.

BillingAddressId String True

The globally unique identifier of the billing address for this company location.

BillingAddressCompanyName String True

The company name listed on the billing address.

BillingAddressFirstName String True

The first name of the billing address recipient.

BillingAddressLastName String True

The last name of the billing address recipient.

BillingAddressAddress1 String True

The first line of the billing address, typically a street address or PO Box.

BillingAddressAddress2 String True

The second line of the billing address, typically an apartment, suite, or unit number.

BillingAddressCity String True

The city, town, district, or village of the billing address.

BillingAddressCountry String True

The country of the billing address.

BillingAddressPhone String True

The phone number associated with the billing address, formatted using the E.164 standard (for example, +16135551111).

BillingAddressProvince String True

The province, state, or district of the billing address.

BillingAddressRecipient String True

The name of the recipient for the billing address, such as 'Receiving Department'.

BillingAddressZip String True

The postal or ZIP code of the billing address.

BillingAddressCountryCode String True

The two-letter country code of the billing address, such as US.

BillingAddressFormattedArea String True

A comma-separated string combining the city, province, and country of the billing address.

BillingAddressZoneCode String True

The two-letter code for the region of the billing address, such as 'ON' for Ontario, Canada.

BillingAddressCreatedAt Datetime True

The date and time when the billing address record was created.

BillingAddressUpdatedAt Datetime True

The date and time when the billing address record was last updated.

BuyerExperienceConfigurationCheckoutToDraft Bool False

Indicates whether checkouts are converted into draft orders for merchant review.

BuyerExperienceConfigurationPayNowOnly Bool True

Indicates whether buyers must pay immediately at checkout, or if they can also pay later using net terms.

BuyerExperienceConfigurationEditableShippingAddress Bool False

Indicates whether buyers can edit their shipping address during checkout.

BuyerExperienceConfigurationDepositPercentage Double False

The percentage of the order total that must be paid as a deposit at checkout.

BuyerExperienceConfigurationPaymentTermsTemplateId String False

The globally unique identifier of the payment terms template applied to this location.

BuyerExperienceConfigurationPaymentTermsTemplateName String True

The display name of the payment terms template.

BuyerExperienceConfigurationPaymentTermsTemplateTranslatedName String True

The translated display name of the payment terms template.

BuyerExperienceConfigurationPaymentTermsTemplateDescription String True

The description of the payment terms template.

BuyerExperienceConfigurationPaymentTermsTemplateDueInDays Int True

The number of days between the issue date and due date when using net payment terms.

BuyerExperienceConfigurationPaymentTermsTemplatePaymentTermsType String True

The type of payment terms defined by the template.

MarketId String True

The globally unique identifier of the market associated with this company location.

ShippingAddressId String True

The globally unique identifier of the shipping address for this company location.

ShippingAddressCompanyName String True

The company name listed on the shipping address.

ShippingAddressFirstName String True

The first name of the shipping address recipient.

ShippingAddressLastName String True

The last name of the shipping address recipient.

ShippingAddressAddress1 String True

The first line of the shipping address, typically a street address or PO Box.

ShippingAddressAddress2 String True

The second line of the shipping address, typically an apartment, suite, or unit number.

ShippingAddressCity String True

The city, town, district, or village of the shipping address.

ShippingAddressCountry String True

The country of the shipping address.

ShippingAddressPhone String True

The phone number associated with the shipping address, formatted using the E.164 standard (for example, +16135551111).

ShippingAddressProvince String True

The province, state, or district of the shipping address.

ShippingAddressRecipient String True

The name of the recipient for the shipping address, such as 'Receiving Department'.

ShippingAddressZip String True

The postal or ZIP code of the shipping address.

ShippingAddressCountryCode String True

The two-letter country code of the shipping address, such as US.

ShippingAddressFormattedArea String True

A comma-separated string combining the city, province, and country of the shipping address.

ShippingAddressZoneCode String True

The two-letter code for the region of the shipping address, such as ON.

ShippingAddressCreatedAt Datetime True

The date and time when the shipping address record was created.

ShippingAddressUpdatedAt Datetime True

The date and time when the shipping address record was last updated.

TotalSpentAmount Decimal True

The total amount spent through this company location, expressed as a decimal money value.

TotalSpentCurrencyCode String True

The currency code for the total amount spent through this company location.

CData Python Connector for Shopify

CompanyLocationStaffMemberAssignments

Lists staff members assigned to a company location. Actions are scoped to that location (Shopify Plus only).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  SELECT * FROM CompanyLocationStaffMemberAssignments WHERE Id = 'Val1'
  SELECT * FROM CompanyLocationStaffMemberAssignments WHERE CompanyLocationId = 'Val1'
  SELECT * FROM CompanyLocationStaffMemberAssignments WHERE StaffMemberId = 'Val1'

Insert

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

CompanyLocationId, StaffMemberId

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the company location staff member assignment.

CompanyId String True

The globally unique identifier of the company associated with the assignment.

CompanyName String True

The display name of the company associated with the assignment.

CompanyLocationId String True

CompanyLocations.Id

The globally unique identifier of the company location where the staff member is assigned.

CompanyLocationName String True

The display name of the company location where the staff member is assigned.

StaffMemberId String True

The globally unique identifier of the assigned staff member.

StaffMemberName String True

The full name of the assigned staff member.

CData Python Connector for Shopify

CustomerAddresses

Lists addresses stored on customer profiles, including default selections.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CustomerId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CustomerAddresses WHERE CustomerId = 'Val1'

Insert

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

CustomerId, CustomerFirstName, CustomerLastName, Phone, Address1, Address2, CountryCode, ProvinceCode, City, Company, Zip

The following pseudo-column can be used to create a new record:

SetAsDefault

Update

The following columns can be updated:

CustomerId, CustomerFirstName, CustomerLastName, Phone, Address1, Address2, CountryCode, ProvinceCode, City, Company, Zip

The following pseudo-column can be used to update a record:

SetAsDefault

Delete

You can delete entries by specifying the following columns:

Id, CustomerId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the customer address.

CustomerId String False

The globally unique identifier of the customer associated with this address.

CustomerFirstName String False

The first name of the customer.

CustomerLastName String False

The last name of the customer.

CustomerName String True

The full name of the customer, derived from the first and last name.

Phone String False

The customer's phone number associated with the address.

Address1 String False

The first line of the address, typically a street address or PO Box.

Address2 String False

The second line of the address, typically an apartment, suite, or unit number.

CountryCode String False

The two-letter country code of the address, such as US.

Country String True

The name of the country for the address.

ProvinceCode String False

The alphanumeric code for the province, state, or district of the address, such as 'ON', for Ontario.

Province String True

The province, state, or district of the address.

City String False

The city, town, district, or village of the address.

Company String False

The name of the company or organization associated with the customer address.

FormattedArea String True

A comma-separated string combining the city, province, and country of the address.

Zip String False

The postal or ZIP code of the address.

Latitude Double True

The latitude coordinate of the address.

Longitude Double True

The longitude coordinate of the address.

TimeZone String True

The time zone associated with the customer address.

CoordinatesValidated Bool True

Indicates whether the address corresponds to recognized latitude and longitude values.

ValidationResultSummary String True

The validation status of the address, as determined by the Shopify Admin address validation feature.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
SetAsDefault Bool

Whether to set the address as the customer's default address.

CData Python Connector for Shopify

Customers

Lists customers with core profile data, marketing preferences, and tags.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Email supports the '=, !=' comparison operators.
  • Phone supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Customers WHERE Id = 'Val1'
  SELECT * FROM Customers WHERE Email = 'Val1'
  SELECT * FROM Customers WHERE Phone = 'Val1'
  SELECT * FROM Customers WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Customers WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

MultipassIdentifier, FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, EmailMarketingConsentMarketingState, EmailMarketingConsentMarketingOptInLevel, EmailMarketingConsentConsentUpdatedAt, EmailMarketingConsentSourceLocationId, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt, SmsMarketingConsentSourceLocationId

Update

The following columns can be updated:

MultipassIdentifier, FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, EmailMarketingConsentMarketingState, EmailMarketingConsentMarketingOptInLevel, EmailMarketingConsentConsentUpdatedAt, EmailMarketingConsentSourceLocationId, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt, SmsMarketingConsentSourceLocationId

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the customer.

MultipassIdentifier String False

A unique identifier for the customer used with Multipass login.

LegacyResourceId String True

The legacy identifier of the customer in the REST Admin API.

ValidEmailAddress Bool True

Indicates whether the customer's email address is correctly formatted and belongs to an existing domain. This does not guarantee the email address actually exists.

DisplayName String True

The display name of the customer, derived from first and last name. Falls back to the customer's email, or if unavailable, their phone number.

FirstName String False

The first name of the customer.

LastName String False

The last name of the customer.

Email String False

The email address of the customer.

Locale String False

The preferred locale (language) of the customer.

Note String False

A merchant-facing note about the customer.

Phone String False

The phone number of the customer.

State String True

The current state of the customer's account with the shop.

Tags String False

A comma-separated list of tags assigned to the customer.

CanDelete Bool True

Indicates whether the customer can be deleted from the store. Customers cannot be deleted if they have placed at least one order.

LifetimeDuration String True

The length of time since the customer was first added to the store, expressed in a readable format such as 'about 12 years'.

TaxExempt Bool False

Indicates whether the customer is exempt from being charged taxes on their orders.

TaxExemptions String False

A list of tax exemptions applied to the customer.

UnsubscribeUrl String True

The URL where the customer can unsubscribe from the store's mailing list.

VerifiedEmail Bool True

Indicates whether the customer has verified their email address. Defaults to true if the customer is created through the Shopify Admin or API.

NumberOfOrders String True

The total number of orders the customer has placed with the store.

ProductSubscriberStatus String True

The current subscription status of the customer, defined by their subscription contracts.

CreatedAt Datetime True

The date and time when the customer was created in the store.

UpdatedAt Datetime True

The date and time when the customer record was last updated.

AmountSpentAmount Decimal True

The total amount the customer has spent, expressed as a decimal money value.

AmountSpentCurrencyCode String True

The currency code for the customer's total spent amount.

DefaultAddressId String True

The globally unique identifier of the customer's default address.

DefaultAddressCoordinatesValidated Bool True

Indicates whether the default address coordinates are valid.

DefaultAddressValidationResultSummary String True

The validation status of the default address, as determined by the Shopify Admin address validation feature.

DefaultAddressName String True

The full name of the customer on the default address, based on first and last name.

DefaultAddressFirstName String False

The first name on the customer's default address.

DefaultAddressLastName String False

The last name on the customer's default address.

DefaultAddressAddress1 String False

The first line of the customer's default address, typically a street address or PO Box.

DefaultAddressAddress2 String False

The second line of the customer's default address, typically an apartment, suite, or unit number.

DefaultAddressCity String False

The city, town, district, or village of the customer's default address.

DefaultAddressCompany String False

The company or organization name listed on the customer's default address.

DefaultAddressCountry String False

The country of the customer's default address.

DefaultAddressLatitude Double True

The latitude coordinate of the customer's default address.

DefaultAddressLongitude Double True

The longitude coordinate of the customer's default address.

DefaultAddressPhone String False

The phone number associated with the default address, formatted using the E.164 standard (for example, +16135551111).

DefaultAddressProvince String False

The province, state, or district of the customer's default address.

DefaultAddressZip String False

The postal or ZIP code of the customer's default address.

DefaultAddressFormattedArea String True

A comma-separated string combining the city, province, and country of the default address.

DefaultAddressProvinceCode String False

The two-letter code for the province, state, or district of the default address, such as 'ON', for Ontario.

DefaultAddressCountryCodeV2 String False

The two-letter country code of the customer's default address, such as US.

EmailMarketingConsentMarketingState String False

The current email marketing consent state of the customer.

EmailMarketingConsentMarketingOptInLevel String False

The email marketing opt-in level set by the customer when consenting, based on M3AAWG best practice guidelines.

EmailMarketingConsentConsentUpdatedAt Datetime False

The date and time when the customer last updated their email marketing consent. If not provided, defaults to when the consent information was originally sent.

EmailMarketingConsentSourceLocationId String False

The identifier of the location where the customer provided email marketing consent.

ImageId String True

The globally unique identifier of the customer's image.

ImageWidth Int True

The original width of the customer image in pixels. Returns null if the image is not hosted by Shopify.

ImageAltText String True

Alternative text describing the content or purpose of the customer image.

ImageHeight Int True

The original height of the customer image in pixels. Returns null if the image is not hosted by Shopify.

ImageUrl String True

The URL of the customer image.

LastOrderId String True

The globally unique identifier of the customer's most recent order.

MarketId String True

The globally unique identifier of the market associated with the customer.

MergeableReason String True

The reason why the customer cannot be merged with another customer.

MergeableErrorFields String True

A list of fields preventing the customer from being merged.

MergeableIsMergeable Bool True

Indicates whether the customer can be merged with another customer.

MergeableMergeInProgressJobId String True

The identifier of the merge job in progress.

MergeableMergeInProgressResultingCustomerId String True

The identifier of the resulting customer after the merge.

MergeableMergeInProgressStatus String True

The current status of the customer merge request.

SmsMarketingConsentMarketingState String False

The current SMS marketing consent state of the customer.

SmsMarketingConsentConsentCollectedFrom String True

The source from which the customer's SMS marketing consent was collected.

SmsMarketingConsentMarketingOptInLevel String False

The SMS marketing opt-in level set by the customer when consenting to receive SMS communications.

SmsMarketingConsentConsentUpdatedAt Datetime False

The date and time when the customer last updated their SMS marketing consent. If not provided, defaults to when the consent information was originally sent.

SmsMarketingConsentSourceLocationId String False

The identifier of the location where the customer provided SMS marketing consent.

StatisticsPredictedSpendTier String True

The predicted spend tier of the customer in the shop.

StatisticsRFMGroup String True

The RFM (Recency, Frequency, Monetary) group classification of the customer.

CData Python Connector for Shopify

DeliveryProfiles

Lists saved delivery profiles that define shipping logic by product and location.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  SELECT * FROM DeliveryProfiles WHERE Id = 'Val1'
  SELECT * FROM DeliveryProfiles WHERE MerchantOwnedOnly = true

Insert

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

Name

Update

The following column can be updated:

Name

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the delivery profile.

Name String False

The display name of the delivery profile.

Default Bool True

Indicates whether this is the default delivery profile.

LegacyMode Bool True

Indicates whether legacy compatibility mode is enabled for this shop's delivery profiles.

OriginLocationCount Int True

The number of active origin locations included in this delivery profile.

ZoneCountryCount Int True

The number of countries with active delivery rates in this profile.

ActiveMethodDefinitionsCount Int True

The number of active shipping rate definitions in this delivery profile.

LocationsWithoutRatesCount Int True

The number of locations in this profile that do not have rates defined.

ProductVariantsCount Int True

The number of product variants assigned to this delivery profile.

ProductVariantsCountPrecision String True

The level of precision applied to the product variant count value.

MerchantOwnedOnly Bool True

Indicates whether the profile is restricted to delivery profiles created by the merchant.

CData Python Connector for Shopify

DiscountsAutomaticApp

Lists automatic discounts defined and managed by apps.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.
  • AppDiscountTypeTitle supports the '=, !=' comparison operators.
  • AppDiscountTypeDiscountClass supports the '=, !=' comparison operators.

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

  SELECT * FROM DiscountsAutomaticApp WHERE Title = 'Val1'
  SELECT * FROM DiscountsAutomaticApp WHERE Status = 'Val1'
  SELECT * FROM DiscountsAutomaticApp WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsAutomaticApp WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticApp WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticApp WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticApp WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeTitle = 'Val1'
  SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeDiscountClass = 'Val1'

Insert

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

Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

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

AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

The following pseudo-columns can be used to update a record:

AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the automatic app discount.

DiscountId String True

The globally unique identifier of the discount associated with this app discount.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

AppliesOnSubscription Bool False

Indicates whether the discount applies to subscription items. Subscriptions allow customers to purchase products on a recurring basis.

RecurringCycleLimit Int False

The maximum number of billing cycles during which the discount can be applied for subscriptions. For example, a value of 3 applies the discount to the first three billing cycles, while 0 applies it indefinitely.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

StartsAt Datetime False

The date and time when the discount becomes active.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount record was last updated.

AppDiscountTypeFunctionId String False

The globally unique identifier of the function that provides the app discount type.

AppDiscountTypeTitle String True

The display title of the app discount type.

AppDiscountTypeDescription String True

The description of the app discount type.

AppDiscountTypeAppKey String True

The client identifier of the app that provides the app discount type.

AppDiscountTypeDiscountClass String True

The classification of the app discount type, used for combining logic.

AppDiscountTypeTargetType String True

The target type of the app discount type. Possible values include 'SHIPPING_LINE' and 'LINE_ITEM'.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

ErrorHistoryFirstOccurredAt Datetime True

The date and time when the first error related to this discount occurred.

ErrorHistoryErrorsFirstOccurredAt Datetime True

The date and time when the first error entry was recorded in the error history.

ErrorHistoryHasSharedRecentErrors Bool True

Indicates whether the merchant has shared recent errors with the app developer.

ErrorHistoryHasBeenSharedSinceLastError Bool True

Indicates whether the merchant has shared errors with the app developer since the most recent error occurred.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
AddAllCustomers String

Whether all customers can use this discount.

CustomersToAdd String

A simple, comma-separated list of customers IDs to add.

CustomersToRemove String

A simple, comma-separated list of customers IDs to remove.

CustomerSegmentsToAdd String

A simple, comma-separated list of customers IDs to add.

CustomerSegmentsToRemove String

A simple, comma-separated list of customers IDs to remove.

CData Python Connector for Shopify

DiscountsAutomaticBasic

Lists basic automatic discounts (for example, percentage or amount off).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsAutomaticBasic WHERE Title = 'Val1'
  SELECT * FROM DiscountsAutomaticBasic WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsAutomaticBasic WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBasic WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBasic WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBasic WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

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

AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, MinimumQuantity, MinimumSubtotal, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

The following pseudo-columns can be used to update a record:

AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the automatic discount.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

ShortSummary String True

A short summary of the automatic basic discount (for example, '10% off all orders' or '$20 off orders over $100, applied automatically at checkout').

StartsAt Datetime False

The date and time when the discount becomes active.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

DiscountMinimumQuantityGreaterThanOrEqualToQuantity String True

The minimum number of items required for the discount to apply.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
AppliesOnEachItem Bool

Indicates how the discount is applied. If true, it applies to each entitled item individually. If false, the discount amount is split across all entitled items.

DiscountAmount Decimal

The value of the discount, expressed as a decimal money amount.

ProductsToAdd String

A comma-separated list of product IDs to include in the discount.

ProductsToRemove String

A comma-separated list of product IDs to exclude from the discount.

MinimumQuantity String

The minimum number of items required for the discount to apply.

MinimumSubtotal String

The minimum subtotal required for the discount to apply.

AddAllCustomers String

Whether all customers can use this discount.

CustomersToAdd String

A simple, comma-separated list of customers IDs to add.

CustomersToRemove String

A simple, comma-separated list of customers IDs to remove.

CustomerSegmentsToAdd String

A simple, comma-separated list of customers IDs to add.

CustomerSegmentsToRemove String

A simple, comma-separated list of customers IDs to remove.

CData Python Connector for Shopify

DiscountsAutomaticBxgy

Lists automatic buy-X-get-Y discounts.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsAutomaticBxgy WHERE Title = 'Val1'
  SELECT * FROM DiscountsAutomaticBxgy WHERE Status = 'Val1'
  SELECT * FROM DiscountsAutomaticBxgy WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsAutomaticBxgy WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBxgy WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBxgy WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBxgy WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

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

DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

The following pseudo-columns can be used to update a record:

DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the automatic Buy X, Get Y discount.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

StartsAt Datetime False

The date and time when the discount becomes active.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

UsesPerOrderLimit Int False

The maximum number of times this discount can be applied to a single order.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
DiscountOnQuantity String

The number of items discounted as part of the Buy X, Get Y promotion.

DiscountPercentage Double

The percentage value of the discount applied to eligible items.

ProductsToAdd String

A comma-separated list of product IDs to include in the discount.

ProductsToRemove String

A comma-separated list of product IDs to exclude from the discount.

DiscountQuantityToBuy String

The quantity of prerequisite items that must be purchased for the discount to apply.

DiscountAmountToBuy String

The amount or value associated with the prerequisite purchase for the discount.

ProductsBuysToAdd String

A comma-separated list of product IDs to add as eligible prerequisites for the discount.

ProductsBuysToRemove String

A comma-separated list of product IDs to remove from eligible prerequisites for the discount.

AddAllCustomers String

Whether all customers can use this discount.

CustomersToAdd String

A simple, comma-separated list of customers IDs to add.

CustomersToRemove String

A simple, comma-separated list of customers IDs to remove.

CustomerSegmentsToAdd String

A simple, comma-separated list of customers IDs to add.

CustomerSegmentsToRemove String

A simple, comma-separated list of customers IDs to remove.

CData Python Connector for Shopify

DiscountsAutomaticFreeShipping

Returns a list of automatic free shipping discounts.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsAutomaticFreeShipping WHERE Title = 'Val1'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE Status = 'Val1'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE AsyncUsageCount = 123
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, AppliesOnSubscription, AppliesOnOneTimePurchase, RecurringCycleLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, DiscountCountriesCountries, DiscountCountriesIncludeRestOfWorld, DiscountCountryAllAllCountries, MaximumShippingPriceAmount, DiscountMinimumQuantityGreaterThanOrEqualToQuantity, DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount

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

CountriesToAdd, CountriesToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, AppliesOnSubscription, AppliesOnOneTimePurchase, RecurringCycleLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, DiscountCountriesCountries, DiscountCountriesIncludeRestOfWorld, DiscountCountryAllAllCountries, MaximumShippingPriceAmount, DiscountMinimumQuantityGreaterThanOrEqualToQuantity, DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount

The following pseudo-columns can be used to update a record:

CountriesToAdd, CountriesToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally-unique ID.

Title String False

The title of the discount.

Status String True

The status of the discount.

Summary String True

A detailed summary of the discount.

DiscountClass String True

The class of the discount.

EndsAt Datetime False

The date and time when the discount ends. For open-ended discounts, use null.

StartsAt Datetime False

The date and time when the discount starts.

AsyncUsageCount Int True

The number of times the discount has been used.

AppliesOnSubscription Bool False

Whether the discount applies on subscription shipping lines.

AppliesOnOneTimePurchase Bool False

Whether the discount applies on regular one-time-purchase shipping lines.

CreatedAt Datetime True

The date and time when the discount was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

HasTimelineComment Bool True

Whether there are timeline comments associated with the discount.

RecurringCycleLimit Int False

The number of times a discount applies on recurring purchases (subscriptions).

ShortSummary String True

A short summary of the discount.

CombinesWithOrderDiscounts Bool False

Combines with order discounts.

CombinesWithProductDiscounts Bool False

Combines with product discounts.

CombinesWithShippingDiscounts Bool True

Combines with shipping discounts.

DiscountCountriesCountries String False

The codes for the countries where the discount can be applied.

DiscountCountriesIncludeRestOfWorld Bool False

Whether the discount is applicable to countries not defined in the shop's shipping zones.

DiscountCountryAllAllCountries Bool False

Whether the discount can be applied to all countries as shipping destination.

MaximumShippingPriceAmount Decimal False

Decimal money amount.

MaximumShippingPriceCurrencyCode String True

Currency of the money.

DiscountMinimumQuantityGreaterThanOrEqualToQuantity String False

The minimum quantity of items that's required for the discount to be applied.

DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount Decimal False

The minimum subtotal that's required for the discount to be applied.

DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalCurrencyCode String True

The three-letter currency code that represents a world currency used in a store.

TotalSalesAmount Decimal True

Decimal money amount.

TotalSalesCurrencyCode String True

Currency of the money.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
CountriesToAdd String

A simple, comma-separated list of countries to add.

CountriesToRemove String

A simple, comma-separated list of countries to remove.

CData Python Connector for Shopify

DiscountsCodeApp

Lists discount codes managed by apps.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.
  • AppDiscountTypeTitle supports the '=, !=' comparison operators.
  • AppDiscountTypeDiscountClass supports the '=, !=' comparison operators.

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

  SELECT * FROM DiscountsCodeApp WHERE Title = 'Val1'
  SELECT * FROM DiscountsCodeApp WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsCodeApp WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeApp WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeApp WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeApp WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeTitle = 'Val1'
  SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeDiscountClass = 'Val1'

Insert

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

Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountBuyerSelectionAll

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

Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountBuyerSelectionAll

The following pseudo-columns can be used to update a record:

Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the discount code app record.

DiscountId String True

The globally unique identifier of the discount associated with this app discount.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

CodesCount Int True

The number of unique discount codes generated for this discount.

CodesCountPrecision String True

The level of precision applied to the discount code count value.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

StartsAt Datetime False

The date and time when the discount becomes active.

UsageLimit Int False

The maximum number of times this discount can be used across all customers.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

HasTimelineComment Bool True

Indicates whether timeline comments have been added to the discount record.

RecurringCycleLimit Int True

The maximum number of billing cycles in which this discount can apply to subscriptions.

AppliesOncePerCustomer Bool False

Indicates whether the discount can be redeemed only once per customer.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

AppDiscountTypeFunctionId String False

The globally unique identifier of the function providing the app discount type.

AppDiscountTypeTitle String True

The display title of the app discount type.

AppDiscountTypeDescription String True

The description of the app discount type.

AppDiscountTypeAppKey String True

The client identifier of the app providing the app discount type.

AppDiscountTypeDiscountClass String True

The classification of the app discount type, used for combining logic.

AppDiscountTypeTargetType String True

The target type of the app discount type. Possible values include 'SHIPPING_LINE' and 'LINE_ITEM'.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

DiscountBuyerSelectionAll String False

Whether the discount can be applied by all buyers. This value is always 'ALL'.

ErrorHistoryFirstOccurredAt Datetime True

The date and time when the first error related to this discount occurred.

ErrorHistoryErrorsFirstOccurredAt Datetime True

The date and time when the first error entry was recorded in the error history.

ErrorHistoryHasSharedRecentErrors Bool True

Indicates whether the merchant has shared recent errors with the app developer.

ErrorHistoryHasBeenSharedSinceLastError Bool True

Indicates whether the merchant has shared errors with the app developer since the most recent error occurred.

TotalSalesAmount Decimal True

The total sales amount attributed to this discount, expressed as a decimal money value.

TotalSalesCurrencyCode String True

The currency code of the total sales amount attributed to this discount.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Code String

The code customers must enter to redeem the discount.

AddAllCustomers String

Indicates whether the discount should apply to all customers automatically.

CustomersToAdd String

A comma-separated list of customer IDs to include as eligible for the discount.

CustomersToRemove String

A comma-separated list of customer IDs to remove from discount eligibility.

CustomerSegmentsToAdd String

A comma-separated list of customer segment IDs to include as eligible for the discount.

CustomerSegmentsToRemove String

A comma-separated list of customer segment IDs to remove from discount eligibility.

CData Python Connector for Shopify

DiscountsCodeBasic

Lists basic code discounts (fixed/percentage off, minimums).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=' comparison operator.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsCodeBasic WHERE Title = 'Val1'
  SELECT * FROM DiscountsCodeBasic WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsCodeBasic WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBasic WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBasic WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBasic WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountBuyerSelectionAll, DiscountMinimumQuantityGreaterThanOrEqualToQuantity

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

Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountBuyerSelectionAll, DiscountMinimumQuantityGreaterThanOrEqualToQuantity

The following pseudo-columns can be used to update a record:

Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the discount code record.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

CodesCount Int True

The number of unique discount codes generated for this discount.

CodesCountPrecision String True

The level of precision applied to the discount code count value.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

ShortSummary String True

A short summary of the basic discount code (for example, '10% off all products' or '$5 off orders over $25').

StartsAt Datetime False

The date and time when the discount becomes active.

UsageLimit Int False

The maximum number of times this discount can be used across all customers.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

HasTimelineComment Bool True

Indicates whether timeline comments have been added to the discount record.

RecurringCycleLimit Int False

The maximum number of billing cycles in which this discount can apply to subscriptions.

AppliesOncePerCustomer Bool False

Indicates whether the discount can be redeemed only once per customer.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

CustomerGetsAppliesOnSubscription Bool False

Indicates whether the discount applies to subscription items.

CustomerGetsAppliesOnOneTimePurchase Bool False

Indicates whether the discount applies to regular one-time purchase items.

DiscountBuyerSelectionAll String False

Whether the discount can be applied by all buyers. This value is always 'ALL'.

DiscountMinimumQuantityGreaterThanOrEqualToQuantity String False

The minimum number of items required for the discount to apply.

TotalSalesAmount Decimal True

The total sales amount attributed to this discount, expressed as a decimal money value.

TotalSalesCurrencyCode String True

The currency code of the total sales amount attributed to this discount.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Code String

The code customers must enter to redeem the discount.

AppliesOnEachItem Bool

Indicates how the discount is applied. If true, it applies to each entitled item individually. If false, the discount amount is split across all entitled items.

DiscountAmount Decimal

The value of the discount, expressed as a decimal money amount.

ProductsToAdd String

A comma-separated list of product IDs to include in the discount.

ProductsToRemove String

A comma-separated list of product IDs to exclude from the discount.

AddAllCustomers String

Indicates whether all customers are automatically eligible for the discount.

CustomersToAdd String

A comma-separated list of customer IDs to include as eligible for the discount.

CustomersToRemove String

A comma-separated list of customer IDs to remove from discount eligibility.

CustomerSegmentsToAdd String

A comma-separated list of customer segment IDs to include as eligible for the discount.

CustomerSegmentsToRemove String

A comma-separated list of customer segment IDs to remove from discount eligibility.

CData Python Connector for Shopify

DiscountsCodeBxgy

Lists buy-X-get-Y discount codes.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsCodeBxgy WHERE Title = 'Val1'
  SELECT * FROM DiscountsCodeBxgy WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsCodeBxgy WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBxgy WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBxgy WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBxgy WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

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

Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

The following pseudo-columns can be used to update a record:

Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the discount code record.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

CodesCount Int True

The number of unique discount codes generated for this discount.

CodesCountPrecision String True

The level of precision applied to the discount code count value.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

StartsAt Datetime False

The date and time when the discount becomes active.

UsageLimit Int False

The maximum number of times this discount can be used across all customers.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

HasTimelineComment Bool True

Indicates whether timeline comments have been added to the discount record.

AppliesOncePerCustomer Bool False

Indicates whether the discount can be redeemed only once per customer.

UsesPerOrderLimit Int False

The maximum number of times this discount can be applied within a single order.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

CustomerGetsAppliesOnSubscription Bool True

Indicates whether the discount applies to subscription items.

CustomerGetsAppliesOnOneTimePurchase Bool True

Indicates whether the discount applies to regular one-time purchase items.

DiscountBuyerSelectionAll String True

Whether the discount can be applied by all buyers. This value is always 'ALL'.

TotalSalesAmount Decimal True

The total sales amount attributed to this discount, expressed as a decimal money value.

TotalSalesCurrencyCode String True

The currency code of the total sales amount attributed to this discount.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Code String

The code customers must enter to redeem the discount.

DiscountOnQuantity String

The number of items discounted as part of the Buy X, Get Y promotion.

DiscountPercentage Double

The percentage value of the discount applied to eligible items.

ProductsToAdd String

A comma-separated list of product Ids to include in the discount.

ProductsToRemove String

A comma-separated list of product Ids to exclude from the discount.

DiscountAmountToBuy String

The amount or value associated with the prerequisite purchase for the discount.

DiscountQuantityToBuy Double

The quantity of prerequisite items that must be purchased for the discount to apply.

ProductsBuysToAdd String

A comma-separated list of product Ids to add as eligible prerequisites for the discount.

ProductsBuysToRemove String

A comma-separated list of product Ids to remove from eligible prerequisites for the discount.

AddAllCustomers String

Indicates whether all customers are automatically eligible for the discount.

CustomersToAdd String

A comma-separated list of customer Ids to include as eligible for the discount.

CustomersToRemove String

A comma-separated list of customer Ids to remove from discount eligibility.

CustomerSegmentsToAdd String

A comma-separated list of customer segment Ids to include as eligible for the discount.

CustomerSegmentsToRemove String

A comma-separated list of customer segment Ids to remove from discount eligibility.

CData Python Connector for Shopify

DiscountsCodeFreeShipping

Lists free-shipping discounts available via discount codes.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsCodeFreeShipping WHERE Title = 'Val1'
  SELECT * FROM DiscountsCodeFreeShipping WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsCodeFreeShipping WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeFreeShipping WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeFreeShipping WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeFreeShipping WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, UsageLimit, AppliesOnSubscription, RecurringCycleLimit, AppliesOncePerCustomer, AppliesOnOneTimePurchase, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, DiscountCountriesIncludeRestOfWorld, DiscountCountryAllAllCountries, MaximumShippingPriceAmount, DiscountMinimumQuantityGreaterThanOrEqualToQuantity, DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount

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

Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove, CountriesToAdd, CountriesToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsageLimit, AppliesOnSubscription, RecurringCycleLimit, AppliesOncePerCustomer, AppliesOnOneTimePurchase, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, DiscountCountriesIncludeRestOfWorld, DiscountCountryAllAllCountries, MaximumShippingPriceAmount, DiscountMinimumQuantityGreaterThanOrEqualToQuantity, DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount

The following pseudo-columns can be used to update a record:

Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove, CountriesToAdd, CountriesToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the free shipping discount code record.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

CodesCount Int True

The number of unique discount codes generated for this discount.

CodesCountPrecision String True

The level of precision applied to the discount code count value.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

ShortSummary String True

A short summary of the free shipping discount (for example, 'Free standard shipping on orders over $50').

StartsAt Datetime False

The date and time when the discount becomes active.

UsageLimit Int False

The maximum number of times this discount can be used across all customers.

AppliesOnSubscription Bool False

Indicates whether the discount applies to shipping lines in subscription orders.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

HasTimelineComment Bool True

Indicates whether timeline comments have been added to the discount record.

RecurringCycleLimit Int False

The maximum number of billing cycles in which this discount can apply to subscription orders.

AppliesOncePerCustomer Bool False

Indicates whether the discount can be redeemed only once per customer.

AppliesOnOneTimePurchase Bool False

Indicates whether the discount applies to shipping lines in regular one-time purchase orders.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool True

Indicates whether the discount can be combined with other shipping-level discounts.

DiscountBuyerSelectionAll Bool True

Whether the discount can be applied by all customers. This value is always 'true'.

DiscountCountriesCountries String True

A list of two-letter country codes where the discount can be applied.

DiscountCountriesIncludeRestOfWorld Bool False

Indicates whether the discount applies to all other countries not explicitly included in the shop's shipping zones.

DiscountCountryAllAllCountries Bool False

Indicates whether the discount can be applied to all countries as shipping destinations. This value is always true.

MaximumShippingPriceAmount Decimal False

The maximum shipping price eligible for the discount, expressed as a decimal money amount.

MaximumShippingPriceCurrencyCode String True

The currency code of the maximum shipping price eligible for the discount.

DiscountMinimumQuantityGreaterThanOrEqualToQuantity String False

The minimum number of items required for the discount to apply.

DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount Decimal False

The minimum subtotal that's required for the discount to be applied.

DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalCurrencyCode String True

The three-letter currency code that represents a world currency used in a store.

TotalSalesAmount Decimal True

The total sales amount attributed to this discount, expressed as a decimal money value.

TotalSalesCurrencyCode String True

The currency code of the total sales amount attributed to this discount.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Code String

The code to use the discount.

AddAllCustomers Bool

Whether all customers can use this discount.

CustomersToAdd String

A simple, comma-separated list of customers IDs to add.

CustomersToRemove String

A simple, comma-separated list of customers IDs to remove.

CustomerSegmentsToAdd String

A simple, comma-separated list of customer segment IDs to add.

CustomerSegmentsToRemove String

A simple, comma-separated list of customer segment IDs to remove.

CountriesToAdd String

A simple, comma-separated list of countries to add.

CountriesToRemove String

A simple, comma-separated list of countries to remove.

CData Python Connector for Shopify

DraftOrders

Lists saved draft orders for manual checkout or invoicing workflows.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CustomerId supports the '=, !=' comparison operators.

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

  SELECT * FROM DraftOrders WHERE Id = 'Val1'
  SELECT * FROM DraftOrders WHERE Status = 'Val1'
  SELECT * FROM DraftOrders WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DraftOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DraftOrders WHERE CustomerId = 'Val1'

Insert

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

Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout

DraftOrderLineItems Temporary Table Columns

Column NameTypeDescription
TitleStringThe title of the product or variant. This field only applies to custom line items.
QuantityIntThe number of product variants that are requested in the draft order.
SkuStringThe SKU number of the product variant.
TaxableBoolWhether the variant is taxable.
RequiresShippingBoolWhether physical shipping is required for the variant.
AppliedDiscountTitleStringName of the order-level discount.
AppliedDiscountDescriptionStringDescription of the order-level discount.
AppliedDiscountValueDoubleThe order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount.
AppliedDiscountValueTypeStringType of the order-level discount.
AppliedDiscountAmountV2AmountDecimalDecimal money amount.
VariantIdStringA globally-unique ID.
WeightValueDoubleThe weight value using the unit system specified with 'unit'.
WeightUnitStringThe unit of measurement for 'value'.

Update

The following columns can be updated:

Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout

DraftOrderLineItems Temporary Table Columns

Column NameTypeDescription
TitleStringThe title of the product or variant. This field only applies to custom line items.
QuantityIntThe number of product variants that are requested in the draft order.
SkuStringThe SKU number of the product variant.
TaxableBoolWhether the variant is taxable.
RequiresShippingBoolWhether physical shipping is required for the variant.
AppliedDiscountTitleStringName of the order-level discount.
AppliedDiscountDescriptionStringDescription of the order-level discount.
AppliedDiscountValueDoubleThe order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount.
AppliedDiscountValueTypeStringType of the order-level discount.
AppliedDiscountAmountV2AmountDecimalDecimal money amount.
VariantIdStringA globally-unique ID.
WeightValueDoubleThe weight value using the unit system specified with 'unit'.
WeightUnitStringThe unit of measurement for 'value'.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the draft order.

LegacyResourceId String True

The legacy identifier of the draft order in the REST Admin API.

Name String True

The unique identifier for the draft order within the store, typically shown with a prefix such as '#D1223'.

MarketName String True

The name of the market selected for the draft order.

Email String False

The email address of the customer associated with the draft order, used for notifications.

Note2 String True

Optional merchant-facing notes attached to the draft order.

Phone String True

The phone number associated with the draft order.

Ready Bool True

Indicates whether the draft order is complete and ready to be finalized. Draft orders might require asynchronous processing before this value becomes true.

Status String True

The current status of the draft order.

Tags String True

A comma-separated list of tags applied to the draft order. Updating this field overwrites all existing tags.

CompletedAt Datetime True

The date and time when the draft order was converted into a completed order.

CurrencyCode String True

The three-letter currency code of the shop at the time of the most recent update to the draft order.

DefaultCursor String True

A default cursor used to fetch the next record in ascending Id order.

InvoiceUrl String True

The URL to the checkout page, sent to the customer in the draft order invoice email.

TaxExempt Bool True

Indicates whether the draft order is exempt from taxes.

TaxesIncluded Bool True

Indicates whether taxes are included in the line item prices.

TotalWeight String True

The total weight of all items in the draft order, measured in grams.

HasTimelineComment Bool True

Indicates whether the merchant has added a timeline comment to the draft order.

InvoiceSentAt Datetime True

The date and time when the invoice was last sent to the customer.

PresentmentCurrencyCode String True

The currency code in which the customer is expected to pay for this draft order.

ReserveInventoryUntil Datetime True

The date and time after which reserved inventory for this draft order is released.

VisibleToCustomer Bool True

Indicates whether the draft order is visible to the customer in the self-serve portal.

InvoiceEmailTemplateSubject String True

The subject line defined in the draft invoice email template.

MarketRegionCountryCode String True

The country code of the selected market region for the draft order.

BillingAddressMatchesShippingAddress Bool True

Indicates whether the billing address matches the shipping address.

CreatedAt Datetime True

The date and time when the draft order was created.

UpdatedAt Datetime True

The date and time when the draft order was last updated.

OrderId String True

The globally unique identifier of the order created from the draft order, if completed.

PurchasingEntityCustomerId String True

The globally unique identifier of the purchasing customer.

PurchasingEntityCompanyCompanyId String True

The globally unique identifier of the purchasing company, if applicable.

CustomerId String False

Customers.Id

The globally unique identifier of the customer to whom the draft order invoice was sent.

BillingAddressId String False

The globally unique identifier of the billing address.

BillingAddressCoordinatesValidated Bool True

Indicates whether the billing address includes valid latitude and longitude coordinates.

BillingAddressValidationResultSummary String True

The validation status of the billing address, as determined by Shopify Admin's address validation feature.

BillingAddressName String True

The full name of the customer on the billing address.

BillingAddressFirstName String False

The first name of the customer on the billing address.

BillingAddressLastName String False

The last name of the customer on the billing address.

BillingAddressAddress1 String False

The first line of the billing address, usually the street address or PO Box.

BillingAddressAddress2 String False

The second line of the billing address, often an apartment, suite, or unit number.

BillingAddressCity String False

The city, district, village, or town of the billing address.

BillingAddressCompany String False

The company name on the billing address, if provided.

BillingAddressCountry String False

The country of the billing address.

BillingAddressLatitude Double True

The latitude coordinate of the billing address.

BillingAddressLongitude Double True

The longitude coordinate of the billing address.

BillingAddressPhone String False

The phone number associated with the billing address, formatted in E.164 (for example, +16135551111).

BillingAddressProvince String False

The region of the billing address, such as province, state, or district.

BillingAddressZip String False

The ZIP or postal code of the billing address.

BillingAddressFormattedArea String True

A comma-separated list of the billing address components: city, province, and country.

BillingAddressProvinceCode String False

The two-letter region code for the billing address (for example, ON).

BillingAddressCountryCodeV2 String False

The two-letter country code for the billing address (for example, US).

ShippingAddressId String False

The globally unique identifier of the shipping address.

ShippingAddressCoordinatesValidated Bool True

Indicates whether the shipping address includes valid latitude and longitude coordinates.

ShippingAddressValidationResultSummary String True

The validation status of the shipping address, as determined by Shopify Admin's address validation feature.

ShippingAddressName String True

The full name of the recipient on the shipping address.

ShippingAddressFirstName String False

The first name of the recipient on the shipping address.

ShippingAddressLastName String False

The last name of the recipient on the shipping address.

ShippingAddressAddress1 String False

The first line of the shipping address, usually the street address or PO Box.

ShippingAddressAddress2 String False

The second line of the shipping address, often an apartment, suite, or unit number.

ShippingAddressCity String False

The city, district, village, or town of the shipping address.

ShippingAddressCompany String False

The company name on the shipping address, if provided.

ShippingAddressCountry String False

The country of the shipping address.

ShippingAddressLatitude Double True

The latitude coordinate of the shipping address.

ShippingAddressLongitude Double True

The longitude coordinate of the shipping address.

ShippingAddressPhone String False

The phone number associated with the shipping address, formatted in E.164 (for example, +16135551111).

ShippingAddressProvince String False

The region of the shipping address, such as province, state, or district.

ShippingAddressZip String False

The ZIP or postal code of the shipping address.

ShippingAddressFormattedArea String True

A comma-separated list of the shipping address components: city, province, and country.

ShippingAddressProvinceCode String False

The two-letter region code for the shipping address (for example, ON).

ShippingAddressCountryCodeV2 String False

The two-letter country code for the shipping address (for example, US).

ShippingLineId String True

The globally unique identifier of the shipping line.

ShippingLineCarrierIdentifier String True

A reference to the carrier service that provided the shipping rate, when calculated by a third-party service.

ShippingLineTitle String True

The title of the shipping line.

ShippingLineCode String True

A reference to the shipping method used.

ShippingLineCustom Bool True

Indicates whether the shipping line is custom.

ShippingLinePhone String True

The phone number associated with the shipping address for the shipping line.

ShippingLineSource String True

The source system or rate provider of the shipping line.

ShippingLineDeliveryCategory String True

The classification of the shipping method applied to the draft order.

ShippingLineShippingRateHandle String True

A system-generated identifier for the shipping rate. Not stable and not intended for display.

ShippingLineRequestedFulfillmentServiceId String True

The globally unique identifier of the fulfillment service requested for this shipping line.

AppliedDiscountTitle String False

The name of the order-level discount applied to the draft order.

AppliedDiscountDescription String False

The description of the order-level discount.

AppliedDiscountValue Double False

The amount of the order-level discount. If the value type is 'percentage', this is the percentage discount applied.

AppliedDiscountValueType String False

The type of the order-level discount (for example, percentage or fixed amount).

PaymentTermsId String True

The globally unique identifier of the payment terms template used.

PaymentTermsTranslatedName String True

The translated name of the payment terms template in the shop admin's language.

PaymentTermsPaymentTermsName String True

The name of the payment terms template applied to the draft order.

PaymentTermsOverdue Bool True

Indicates whether any scheduled payments are overdue for the draft order.

PaymentTermsDueInDays Int True

The number of days between the issue date and due date, based on the applied payment terms template.

PaymentTermsPaymentTermsType String True

The type of payment terms template applied to the draft order.

PaymentTermsOrderId String True

The globally unique identifier of the order associated with the payment terms.

AppliedDiscountAmountV2Amount Decimal False

The monetary value of the applied discount, expressed as a decimal.

AppliedDiscountAmountV2CurrencyCode String True

The currency code of the applied discount.

LineItemsSubtotalPricePresentmentMoneyAmount Decimal True

The subtotal of draft order line items in the presentment currency, expressed as a decimal.

LineItemsSubtotalPricePresentmentMoneyCurrencyCode String True

The currency code of the line item subtotal in the presentment currency.

LineItemsSubtotalPriceShopMoneyAmount Decimal True

The subtotal of draft order line items in the shop currency, expressed as a decimal.

LineItemsSubtotalPriceShopMoneyCurrencyCode String True

The currency code of the line item subtotal in the shop currency.

SubtotalPriceSetPresentmentMoneyAmount Decimal True

The subtotal of the draft order in the presentment currency, expressed as a decimal.

SubtotalPriceSetPresentmentMoneyCurrencyCode String True

The currency code of the draft order subtotal in the presentment currency.

SubtotalPriceSetShopMoneyAmount Decimal True

The subtotal of the draft order in the shop currency, expressed as a decimal.

SubtotalPriceSetShopMoneyCurrencyCode String True

The currency code of the draft order subtotal in the shop currency.

TotalDiscountsSetPresentmentMoneyAmount Decimal True

The total discounts applied to the draft order in the presentment currency, expressed as a decimal.

TotalDiscountsSetPresentmentMoneyCurrencyCode String True

The currency code of the total discounts in the presentment currency.

TotalDiscountsSetShopMoneyAmount Decimal True

The total discounts applied to the draft order in the shop currency, expressed as a decimal.

TotalDiscountsSetShopMoneyCurrencyCode String True

The currency code of the total discounts in the shop currency.

TotalLineItemsPriceSetPresentmentMoneyAmount Decimal True

The total price of all line items in the presentment currency, expressed as a decimal.

TotalLineItemsPriceSetPresentmentMoneyCurrencyCode String True

The currency code of the total line item price in the presentment currency.

TotalLineItemsPriceSetShopMoneyAmount Decimal True

The total price of all line items in the shop currency, expressed as a decimal.

TotalLineItemsPriceSetShopMoneyCurrencyCode String True

The currency code of the total line item price in the shop currency.

TotalPriceSetPresentmentMoneyAmount Decimal True

The total price of the draft order in the presentment currency, expressed as a decimal.

TotalPriceSetPresentmentMoneyCurrencyCode String True

The currency code of the draft order total in the presentment currency.

TotalPriceSetShopMoneyAmount Decimal True

The total price of the draft order in the shop currency, expressed as a decimal.

TotalPriceSetShopMoneyCurrencyCode String True

The currency code of the draft order total in the shop currency.

TotalShippingPriceSetPresentmentMoneyAmount Decimal True

The total shipping price in the presentment currency, expressed as a decimal.

TotalShippingPriceSetPresentmentMoneyCurrencyCode String True

The currency code of the total shipping price in the presentment currency.

TotalShippingPriceSetShopMoneyAmount Decimal True

The total shipping price in the shop currency, expressed as a decimal.

TotalShippingPriceSetShopMoneyCurrencyCode String True

The currency code of the total shipping price in the shop currency.

TotalTaxSetPresentmentMoneyAmount Decimal True

The total tax amount in the presentment currency, expressed as a decimal.

TotalTaxSetPresentmentMoneyCurrencyCode String True

The currency code of the total tax amount in the presentment currency.

TotalTaxSetShopMoneyAmount Decimal True

The total tax amount in the shop currency, expressed as a decimal.

TotalTaxSetShopMoneyCurrencyCode String True

The currency code of the total tax amount in the shop currency.

DraftOrderLineItems String False

The list of line items included in the draft order.

DiscountCodes String False

The discount codes applied to the draft order.

AcceptAutomaticDiscounts Bool False

Indicates whether automatic discounts should be applied to the draft order during calculation.

AllowDiscountCodesInCheckout Bool False

Indicates whether discount codes are allowed during checkout of the draft order.

Warnings String True

A list of warnings raised during draft order calculation.

PlatformDiscountIds String True

The list of platform-level discounts applied to the draft order.

CData Python Connector for Shopify

Files

Lists files uploaded to Shopify (images, PDFs, media) with metadata and URLs.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=' comparison operator.
  • Status supports the '=' comparison operator.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Files WHERE Id = 'Val1'
  SELECT * FROM Files WHERE Status = 'Val1'
  SELECT * FROM Files WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Files WHERE UpdatedAt = '2023-01-01 11:10:00'

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the file.

Description String True

The descriptive text or alternative information associated with the file.

Status String True

The current processing or availability status of the file.

FileErrors String True

Details about any errors that occurred during file upload, processing, or use.

CreatedAt Datetime True

The date and time when the file was first created in Shopify.

UpdatedAt Datetime True

The date and time when the file was most recently updated in Shopify.

Size Int True

The file size in bytes.

CData Python Connector for Shopify

FulfillmentEvents

Lists status events (in transit, delivered) associated with fulfillments.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • FulfillmentId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentEvents WHERE FulfillmentId = 'Val1'

Insert

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

FulfillmentId, Status, Address1, City, Country, Latitude, Longitude, Message, Province, Zip, EstimatedDeliveryAt

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the fulfillment event.

FulfillmentId String True

Fulfillments.Id

The globally unique identifier of the fulfillment associated with this event.

OrderId String True

Orders.Id

The globally unique identifier of the order linked to this fulfillment event.

Status String True

The current status of the fulfillment event, such as in transit or delivered.

HappenedAt Datetime True

The exact date and time when the fulfillment event occurred.

Address1 String True

The first line of the street address where the fulfillment event took place.

City String True

The city where the fulfillment event occurred.

Country String True

The country where the fulfillment event occurred.

Latitude Double True

The latitude coordinate of the location where the fulfillment event occurred.

Longitude Double True

The longitude coordinate of the location where the fulfillment event occurred.

Message String True

Any message or note provided with the fulfillment event, often used for delivery updates.

Province String True

The province, state, or region where the fulfillment event occurred.

Zip String True

The postal or ZIP code of the location where the fulfillment event occurred.

EstimatedDeliveryAt Datetime True

The projected delivery date and time for the shipment related to this fulfillment event.

CreatedAt Datetime True

The date and time when the fulfillment event record was created in Shopify.

CData Python Connector for Shopify

FulfillmentOrders

Lists merchant-managed and third-party fulfillment orders with statuses and assignments.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • AssignedLocationLocationId supports the '=, !=' comparison operators.
  • OrderId supports the '=, IN' comparison operators.

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

  SELECT * FROM FulfillmentOrders WHERE Id = 'Val1'
  SELECT * FROM FulfillmentOrders WHERE Status = 'open'
  SELECT * FROM FulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
  SELECT * FROM FulfillmentOrders WHERE OrderId = 'Val1'

Update

The following columns can be updated:

Status, FulfillAt, FulfillBy

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the fulfillment order.

Status String False

The current status of the fulfillment order.

The allowed values are open, closed, cancelled, in_progress, incomplete, on_hold, scheduled.

FulfillAt Datetime True

The date and time when the fulfillment order becomes fulfillable. At this time, a scheduled fulfillment order automatically transitions to 'open'. For example, subscription orders might have a monthly fulfill_at date, pre-orders might be null, and standard orders typically use the order creation date.

FulfillBy Datetime True

The latest date and time by which all items in the fulfillment order must be fulfilled.

OrderName String True

The unique order identifier displayed on the order page.

RequestStatus String True

The current request status of the fulfillment order.

CreatedAt Datetime True

The date and time when the fulfillment order was created.

UpdatedAt Datetime True

The date and time when the fulfillment order was last updated.

OrderProcessedAt Datetime True

The date and time when the fulfillment order was processed.

AssignedLocationName String True

The name of the assigned fulfillment location.

AssignedLocationAddress1 String True

The first line of the assigned location's address.

AssignedLocationAddress2 String True

The second line of the assigned location's address.

AssignedLocationCity String True

The city of the assigned location.

AssignedLocationPhone String True

The phone number of the assigned location.

AssignedLocationProvince String True

The province or region of the assigned location.

AssignedLocationZip String True

The ZIP or postal code of the assigned location.

AssignedLocationCountryCode String True

The two-letter ISO country code of the assigned location.

AssignedLocationLocationId String True

The globally unique identifier of the assigned location.

AssignedLocationLocationLegacyResourceId String True

The legacy identifier of the assigned location in the REST Admin API.

AssignedLocationLocationName String True

The display name of the assigned location.

AssignedLocationLocationActivatable Bool True

Indicates whether the location can be reactivated.

AssignedLocationLocationDeactivatable Bool True

Indicates whether the location can be deactivated.

AssignedLocationLocationDeletable Bool True

Indicates whether the location can be deleted.

AssignedLocationLocationAddressVerified Bool True

Indicates whether the location's address has been verified.

AssignedLocationLocationDeactivatedAt String True

The date and time when the location was deactivated, in UTC. Example: '2019-09-07T15:50:00Z'.

AssignedLocationLocationIsActive Bool True

Indicates whether the location is active.

AssignedLocationLocationShipsInventory Bool True

Indicates whether this location is used to calculate shipping rates. In multi-origin shipping mode, this flag is ignored.

AssignedLocationLocationFulfillsOnlineOrders Bool True

Indicates whether this location can fulfill online orders.

AssignedLocationLocationHasActiveInventory Bool True

Indicates whether this location has active inventory.

AssignedLocationLocationHasUnfulfilledOrders Bool True

Indicates whether this location has unfulfilled orders.

DeliveryMethodId String True

The globally unique identifier of the delivery method.

DeliveryMethodPresentedName String True

The name of the delivery option presented to the buyer at checkout.

DeliveryMethodMethodType String True

The type of delivery method for the fulfillment order, such as shipping, local delivery, or pickup.

DeliveryMethodMaxDeliveryDateTime Datetime True

The latest date and time when the fulfillment is expected to arrive at the destination.

DeliveryMethodMinDeliveryDateTime Datetime True

The earliest date and time when the fulfillment is expected to arrive at the destination.

DeliveryMethodServiceCode String True

The reference code of the shipping method.

DeliveryMethodSourceReference String True

Provider-specific data associated with the delivery promise.

DeliveryMethodBrandedPromiseName String True

The display name of the branded delivery promise. For example: 'Shop Promise'.

DeliveryMethodBrandedPromiseHandle String True

The handle identifier of the branded delivery promise. For example: 'shop_promise'.

DeliveryMethodAdditionalInformationPhone String True

The phone number to contact regarding delivery.

DeliveryMethodAdditionalInformationInstructions String True

Special delivery instructions for the carrier.

DestinationId String True

The globally unique identifier of the destination address.

DestinationFirstName String True

The first name of the recipient at the destination.

DestinationLastName String True

The last name of the recipient at the destination.

DestinationAddress1 String True

The first line of the destination address.

DestinationAddress2 String True

The second line of the destination address.

DestinationCity String True

The city of the destination address.

DestinationCompany String True

The company name associated with the destination address.

DestinationEmail String True

The email address of the recipient at the destination.

DestinationPhone String True

The phone number of the recipient at the destination.

DestinationProvince String True

The province or region of the destination address.

DestinationZip String True

The ZIP or postal code of the destination address.

DestinationCountryCode String True

The two-letter ISO country code of the destination address.

DestinationLocationId String True

The globally unique identifier of the destination location.

InternationalDutiesIncoterm String True

The duties payment method for international shipments. Example values: 'DDP' (Delivered Duty Paid), 'DAP' (Delivered At Place).

OrderId String True

The globally unique identifier of the related order.

CData Python Connector for Shopify

Fulfillments

Represents shipments created for orders, including tracking and delivery status.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Fulfillments WHERE OrderId = 'Val1'
  SELECT * FROM Fulfillments WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Fulfillments WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

OriginAddressAddress1, OriginAddressAddress2, OriginAddressCity, OriginAddressCountryCode, OriginAddressProvinceCode, OriginAddressZip, TrackingInfoCompany, TrackingInfoNumber, TrackingInfoUrl

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

NotifyCustomer, Message, FulfillmentOrderIds

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the fulfillment.

LegacyResourceId String True

The legacy identifier of the corresponding resource in the REST Admin API.

OrderId String True

Orders.Id

The globally unique identifier of the order associated with the fulfillment.

Name String True

A human-readable reference identifier for the fulfillment.

Status String True

The current status of the fulfillment.

DeliveredAt Datetime True

The date when the fulfillment was delivered.

DisplayStatus String True

A human-readable display status for the fulfillment.

RequiresShipping Bool True

Indicates whether any of the line items in the fulfillment require shipping.

TotalQuantity Int True

The total quantity of all line items in the fulfillment.

EstimatedDeliveryAt Datetime True

The estimated date when the fulfillment is expected to arrive.

InTransitAt Datetime True

The date and time when the fulfillment was marked as in transit.

CreatedAt Datetime True

The date and time when the fulfillment was created.

UpdatedAt Datetime True

The date and time when the fulfillment was last updated.

LocationId String True

The globally unique identifier of the fulfillment location.

ServiceId String True

The identifier of the fulfillment service.

OriginAddressAddress1 String True

The first line of the fulfillment location's address.

OriginAddressAddress2 String True

The second line of the fulfillment location's address, typically an apartment, suite, or unit number.

OriginAddressCity String True

The city where the fulfillment location is situated.

OriginAddressCountryCode String True

The two-letter country code of the fulfillment location.

OriginAddressProvinceCode String True

The province or state code of the fulfillment location.

OriginAddressZip String True

The postal or ZIP code of the fulfillment location.

TrackingInfoCompany String True

The name of the shipping company handling the fulfillment.

TrackingInfoNumber String True

The tracking number assigned to the fulfillment.

TrackingInfoUrl String True

The URL used to track the fulfillment shipment.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
NotifyCustomer Bool

Indicates whether the customer is notified. If true, a notification is sent when the fulfillment is created. Defaults to false.

Message String

An optional message included with the fulfillment request.

FulfillmentOrderIds String

An aggregated object containing the fulfillment order IDs. For example: [{'fulfillmentOrderId': 'gid://shopify/FulfillmentOrder/xxx'}].

CData Python Connector for Shopify

FulfillmentServices

Lists fulfillment services that prepare and ship orders on behalf of the merchant.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM FulfillmentServices

Insert

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

ServiceName, CallbackUrl, InventoryManagement, RequiresShippingMethod

Update

The following columns can be updated:

ServiceName, CallbackUrl, InventoryManagement, RequiresShippingMethod

Delete

You can delete entries by specifying the following columns:

Id, LocationId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the fulfillment service.

ServiceName String False

The name of the fulfillment service as displayed to merchants.

Handle String True

A human-readable, unique string that identifies the fulfillment service.

Type String True

The type of the fulfillment service.

CallbackUrl String False

The callback URL that the fulfillment service registers to receive requests from Shopify.

InventoryManagement Bool False

Indicates whether the fulfillment service tracks product inventory and provides updates to Shopify.

PermitsSkuSharing Bool True

Indicates whether the fulfillment service can stock inventory alongside other locations.

RequiresShippingMethod Bool False

Indicates whether the fulfillment service requires products to be physically shipped.

TrackingSupport Bool True

Indicates whether the fulfillment service supports tracking numbers through the /fetch_tracking_numbers endpoint.

LocationId String True

The globally unique identifier of the location associated with the fulfillment service.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
InventoryAction String

Specifies the action to take with the location after the fulfillment service is deleted.

The allowed values are DELETE, KEEP, TRANSFER.

CData Python Connector for Shopify

FulfillmentTrackingInfo

Lists tracking details for fulfillments, including company, number, and tracking URL.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • FulfillmentId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentTrackingInfo WHERE FulfillmentId = 'Val1'

Update

The following columns can be updated:

FulfillmentId, Company, Number, Url

Columns

Name Type ReadOnly References Description
FulfillmentId String False

Fulfillments.Id

The globally unique identifier of the fulfillment associated with the tracking information.

Company String False

The name of the shipping or tracking company handling the fulfillment.

Number String False

The tracking number assigned to the fulfillment.

Url String False

The URL used to track the fulfillment's shipping status.

CData Python Connector for Shopify

GiftCards

Lists gift cards and balances (requires read_gift_cards; available for Shopify Plus/private or custom application).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ExpiresOn supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • InitialValueAmount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM GiftCards WHERE Id = 'Val1'
  SELECT * FROM GiftCards WHERE ExpiresOn = '2023-01-01'
  SELECT * FROM GiftCards WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM GiftCards WHERE InitialValueAmount = '100.00'

Insert

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

Note, ExpiresOn, InitialValueAmount, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt

Update

The following columns can be updated:

Note, ExpiresOn, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt, Enabled

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the gift card.

Enabled Bool True

Indicates whether the gift card is active and can be used.

Note String False

An internal note associated with the gift card, not visible to the customer.

ExpiresOn Date False

The expiration date of the gift card.

LastCharacters String True

The last four characters of the gift card code.

MaskedCode String True

The masked gift card code, showing only the last four characters.

DeactivatedAt Datetime True

The date and time when the gift card was deactivated.

UpdatedAt Datetime True

The date and time when the gift card was last updated.

CreatedAt Datetime True

The date and time when the gift card was created.

BalanceAmount Decimal True

The current balance of the gift card as a decimal value.

BalanceCurrencyCode String True

The currency of the gift card balance.

InitialValueAmount Decimal True

The original value of the gift card as a decimal amount.

InitialValueCurrencyCode String True

The currency of the original gift card value.

CustomerId String False

The unique identifier of the customer associated with the gift card.

RecipientAttributesRecipientId String False

The unique identifier of the gift card recipient.

RecipientAttributesPreferredName String False

The preferred name of the recipient of the gift card.

RecipientAttributesMessage String False

The custom message included with the gift card.

RecipientAttributesSendNotificationAt Datetime False

The scheduled date and time when the gift card notification is sent to the recipient. The message is sent within one hour of the scheduled time.

OrderId String True

The unique identifier of the order that generated the gift card.

CData Python Connector for Shopify

GiftCardTransactionsCredit

Lists credit transactions that increase a gift card balance (Shopify Plus only).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • GiftCardId supports the '=, IN' comparison operators.

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

  SELECT * FROM GiftCardTransactionsCredit WHERE Id = 'Val1'
  SELECT * FROM GiftCardTransactionsCredit WHERE GiftCardId = 'Val1'

Insert

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

GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the credit transaction.

GiftCardId String True

GiftCards.Id

The globally unique identifier of the gift card associated with the transaction.

Note String True

An internal note describing the transaction.

ProcessedAt Datetime True

The date and time when the credit transaction was processed.

Amount Decimal True

The credited amount in decimal format.

AmountCurrencyCode String True

The currency of the credited amount.

CData Python Connector for Shopify

GiftCardTransactionsDebit

Lists debit transactions that decrease a gift card balance (Shopify Plus only).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • GiftCardId supports the '=, IN' comparison operators.

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

  SELECT * FROM GiftCardTransactionsDebit WHERE Id = 'Val1'
  SELECT * FROM GiftCardTransactionsDebit WHERE GiftCardId = 'Val1'

Insert

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

GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the debit transaction.

GiftCardId String True

GiftCards.Id

The globally unique identifier of the associated gift card.

Note String True

A merchant-provided note about the debit transaction.

ProcessedAt Datetime True

The date and time when the debit transaction was processed.

Amount Decimal True

The debited amount.

AmountCurrencyCode String True

The currency of the debited amount.

CData Python Connector for Shopify

InventoryItemInventoryLevels

Shows per-location inventory level summaries for an inventory item.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • InventoryItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM InventoryItemInventoryLevels WHERE InventoryItemId = 'Val1'

Insert

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

InventoryItemId, LocationId

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

Available, OnHand, StockAtLegacyLocation

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the inventory level.

InventoryItemId String True

InventoryItems.Id

The globally unique identifier of the inventory item associated with this level.

LocationId String True

The globally unique identifier of the location tied to the inventory level.

CanDeactivate Bool True

Indicates whether the inventory level can be deactivated for the associated item at this location.

DeactivationAlert String True

Explains the impact of deactivating the inventory level or the reason why it cannot be deactivated.

CreatedAt Datetime True

The date and time when the inventory level was created.

UpdatedAt Datetime True

The date and time when the inventory level was last updated.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Available Int

The starting available quantity of the inventory item when it is activated at the location.

OnHand Int

The starting on-hand quantity of the inventory item when it is activated at the location.

StockAtLegacyLocation Bool

Indicates whether activation is allowed at or away from a legacy fulfillment service location when SKU sharing is disabled. Enabling this option deactivates inventory at all other locations.

CData Python Connector for Shopify

InventoryItems

Lists inventory items (SKU-level records) with tracking and cost data.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Sku supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM InventoryItems WHERE Id = 'Val1'
  SELECT * FROM InventoryItems WHERE Sku = 'Val1'
  SELECT * FROM InventoryItems WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM InventoryItems WHERE UpdatedAt = '2023-01-01 11:10:00'

Update

The following columns can be updated:

Sku, Tracked, RequiresShipping, HarmonizedSystemCode, CountryCodeOfOrigin, ProvinceCodeOfOrigin, MeasurementWeightValue, MeasurementWeightUnit, UnitCostAmount, InventoryItemCountryHarmonizedSystemCodes (references InventoryItemCountryHarmonizedSystemCodes)

InventoryItemCountryHarmonizedSystemCodes Temporary Table Columns

Column NameTypeDescription
CountryCodeStringThe ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code.
HarmonizedSystemCodeStringThe country-specific harmonized system code. These are usually longer than 6 digits.

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the inventory item.

LegacyResourceId String True

The identifier of the corresponding inventory resource in the REST Admin API.

VariantId String True

The globally unique identifier of the associated product variant.

Sku String False

The stock keeping unit (SKU) code used to uniquely identify the inventory item.

Tracked Bool False

Indicates whether inventory levels are being tracked for this item.

LocationsCount Int True

The number of locations where this inventory item is stocked.

LocationsCountPrecision String True

The precision level applied to the location count value.

RequiresShipping Bool False

Indicates whether the inventory item requires physical shipping.

DuplicateSkuCount Int True

The number of inventory items that share the same SKU as this item.

HarmonizedSystemCode String False

The harmonized system code (HS code) for the item, used for customs and trade classification.

InventoryHistoryUrl String True

The URL linking to the inventory history record for this item.

CountryCodeOfOrigin String False

The ISO 3166-1 alpha-2 country code representing the item's country of origin.

ProvinceCodeOfOrigin String False

The ISO 3166-2 alpha-2 province or state code representing the item's region of origin.

CreatedAt Datetime True

The date and time when the inventory item was created in Shopify.

UpdatedAt Datetime True

The date and time when the inventory item was last updated.

TrackedEditableLocked Bool True

Indicates whether the 'tracked' attribute is locked from editing.

TrackedEditableReason String True

The explanation for why the 'tracked' attribute is locked from editing.

MeasurementId String True

The globally unique identifier of the measurement record for this inventory item.

MeasurementWeightValue Double False

The numeric weight of the item, measured using the unit specified in 'MeasurementWeightUnit'.

MeasurementWeightUnit String False

The unit of measurement for the item's weight value (for example, 'g', 'kg', 'lb').

UnitCostAmount Decimal False

The per-unit cost of the inventory item, expressed as a decimal amount.

UnitCostCurrencyCode String True

The currency code associated with the unit cost amount.

InventoryItemCountryHarmonizedSystemCodes String False

The list of country-specific harmonized system codes (HS codes) associated with this inventory item.

CData Python Connector for Shopify

InventoryShipments

Returns a list of inventory items.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM InventoryShipments WHERE Id = 'Val1'

Insert

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

DateCreated, TrackingArrivesAt, TrackingCompany, TrackingNumber, TrackingURL

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

MovementId, LineItems (references InventoryShipmentLineItems)

InventoryShipmentLineItems Temporary Table Columns

Column NameTypeDescription
IdStringThe ID of the inventory item.
QuantityIntThe quantity for the inventory item.

Update

The following columns can be updated:

TrackingArrivesAt, TrackingCompany, TrackingNumber, TrackingURL

The following pseudo-columns can be used to update a record:

MovementId, LineItems (references InventoryShipmentLineItems)

InventoryShipmentLineItems Temporary Table Columns

Column NameTypeDescription
IdStringThe ID of the inventory item.
QuantityIntThe quantity for the inventory item.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The ID of the inventory shipment.

Name String True

The name of the inventory shipment.

Status String True

The current status of the shipment.

LineItemTotalQuantity Int True

The total quantity of all items in the shipment.

TotalAcceptedQuantity Int True

The total quantity of items accepted across all line items in this shipment.

TotalReceivedQuantity Int True

The total quantity of items received (both accepted and rejected) across all line items in this shipment.

TotalRejectedQuantity Int True

The total quantity of items rejected across all line items in this shipment.

DateCreated Datetime True

The date the shipment was created in UTC.

DateReceived Datetime True

The date the shipment was initially received in UTC.

DateShipped Datetime True

The date the shipment was shipped in UTC.

TrackingArrivesAt Datetime False

The estimated date and time that the shipment will arrive.

TrackingCompany String False

The name of the shipping carrier company.

TrackingNumber String False

The tracking number used by the carrier to identify the shipment.

TrackingURL String False

The URL to track the shipment.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
MovementId String

The ID of the inventory movement (transfer or purchase order) this shipment belongs to.

LineItems String

The list of line items for the inventory shipment.

CData Python Connector for Shopify

Locations

Lists active inventory locations used for stock, fulfillment, and pickup.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Name supports the '=, !=' comparison operators.
  • IsActive supports the '=, !=' comparison operators.
  • AddressAddress1 supports the '=, !=' comparison operators.
  • AddressAddress2 supports the '=, !=' comparison operators.
  • AddressCity supports the '=, !=' comparison operators.
  • AddressCountry supports the '!=' comparison operator.
  • AddressProvince supports the '=, !=' comparison operators.
  • AddressZip supports the '=, !=' comparison operators.
  • IncludeInactive supports the '=' comparison operator.
  • IncludeLegacy supports the '=' comparison operator.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • Value supports the '=' comparison operator.

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

  SELECT * FROM Locations WHERE Id = 'Val1'
  SELECT * FROM Locations WHERE Name = 'Val1'
  SELECT * FROM Locations WHERE IsActive = true
  SELECT * FROM Locations WHERE AddressAddress1 = 'Val1'
  SELECT * FROM Locations WHERE AddressAddress2 = 'Val1'
  SELECT * FROM Locations WHERE AddressCity = 'Val1'
  SELECT * FROM Locations WHERE AddressCountry != 'Val1'
  SELECT * FROM Locations WHERE AddressProvince = 'Val1'
  SELECT * FROM Locations WHERE AddressZip = 'Val1'
  SELECT * FROM Locations WHERE IncludeInactive = true
  SELECT * FROM Locations WHERE IncludeLegacy = true
  SELECT * FROM Locations WHERE Namespace = 'Val1'
  SELECT * FROM Locations WHERE Key = 'Val1'
  SELECT * FROM Locations WHERE Value = 'Val1'

Insert

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

Name, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode

Update

The following columns can be updated:

Name, IsActive, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the location.

LegacyResourceId String True

The Id of the corresponding resource in the REST Admin API.

Name String False

The name of the location, such as a store, office, or warehouse.

Activatable Bool True

Indicates whether the location can be reactivated.

Deactivatable Bool True

Indicates whether the location can be deactivated.

Deletable Bool True

Indicates whether the location can be deleted.

AddressVerified Bool True

Indicates whether the location's address has been verified.

DeactivatedAt String True

The date and time when the location was deactivated. For example, 3:30 p.m. on September 7, 2019 (UTC) is represented as '2019-09-07T15:30:00Z'.

IsActive Bool False

Indicates whether the location is active.

ShipsInventory Bool True

Indicates whether the location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored.

IsFulfillmentService Bool True

Indicates whether the location functions as a fulfillment service.

FulfillsOnlineOrders Bool False

Indicates whether the location can fulfill online orders.

HasActiveInventory Bool True

Indicates whether the location has active inventory.

HasUnfulfilledOrders Bool True

Indicates whether the location has unfulfilled orders.

CreatedAt Datetime True

The date and time when the location was created.

UpdatedAt Datetime True

The date and time when the location was last updated.

AddressAddress1 String False

The first line of the location's address.

AddressAddress2 String False

The second line of the location's address.

AddressCity String False

The city from the address of the location (for example, 'Toronto')

AddressCountry String True

The country from the address of the location, returned as the country name (for example, 'Canada').

AddressFormatted String True

The formatted address of the location.

AddressLatitude Double True

The latitude coordinate of the location.

AddressLongitude Double True

The longitude coordinate of the location.

AddressPhone String False

The phone number associated with the location.

AddressProvince String True

The province, state, or region of the location.

AddressZip String False

The ZIP or postal code of the location.

AddressCountryCode String False

The ISO country code of the location.

The allowed values are AC, AD, AE, AF, AG, AI, AL, AM, AN, AO, AR, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MK, ML, MM, MN, MO, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PS, PT, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TA, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW, ZZ.

AddressProvinceCode String False

The ISO code for the province, state, or district of the location.

FulfillmentServiceId String True

The Id of the fulfillment service linked to the location.

LocalPickupSettingsV2Instructions String True

Additional instructions for customers using local pickup.

LocalPickupSettingsV2PickupTime String True

The estimated pickup time displayed to customers at checkout.

IncludeInactive Bool True

If true, also includes locations that have been deactivated.

IncludeLegacy Bool True

If true, also includes legacy fulfillment service locations.

Namespace String True

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

Key String True

The key for the metafield.

Value String True

The value of the metafield.

CData Python Connector for Shopify

MarketingActivities

Returns a list of external marketing activities.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Tactic supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • AppId supports the '=, !=' comparison operators.
  • AppTitle supports the '=, !=' comparison operators.
  • RemoteId supports the '=, IN' comparison operators.
  • ScheduledStart supports the '=, !=, <, >, >=, <=' comparison operators.
  • ScheduledEnd supports the '=, !=, <, >, >=, <=' comparison operators.
  • MarketingCampaignId supports the '=, !=' comparison operators.

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

  SELECT * FROM MarketingActivities WHERE Id = 'Val1'
  SELECT * FROM MarketingActivities WHERE Title = 'Val1'
  SELECT * FROM MarketingActivities WHERE Tactic = 'ABANDONED_CART'
  SELECT * FROM MarketingActivities WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM MarketingActivities WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM MarketingActivities WHERE AppId = 'Val1'
  SELECT * FROM MarketingActivities WHERE AppTitle = 'Val1'
  SELECT * FROM MarketingActivities WHERE RemoteId = 'Val1'
  SELECT * FROM MarketingActivities WHERE ScheduledStart = '2023-01-01 11:10:00'
  SELECT * FROM MarketingActivities WHERE ScheduledEnd = '2023-01-01 11:10:00'
  SELECT * FROM MarketingActivities WHERE MarketingCampaignId = 'Val1'

Insert

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

Title, Status, MarketingChannelType, Tactic, UtmSource, UtmMedium, UtmCampaign, ParentActivityId, ParentRemoteId, UrlParameterValue, AdSpendAmount, AdSpendCurrencyCode, HierarchyLevel, BudgetType, BudgetAmount, BudgetCurrencyCode, RemoteId, ScheduledStart, ScheduledEnd

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

Start, End, ChannelHandle, ReferringDomain, RemoteUrl, RemotePreviewImageUrl

Update

The following columns can be updated:

Title, Status, MarketingChannelType, Tactic, UtmSource, UtmMedium, UtmCampaign, AdSpendAmount, AdSpendCurrencyCode, BudgetType, BudgetAmount, BudgetCurrencyCode, RemoteId, ScheduledStart, ScheduledEnd

The following pseudo-columns can be used to update a record:

Start, End, ReferringDomain, RemoteUrl, RemotePreviewImageUrl

Delete

You can delete entries by specifying the following columns:

Id, RemoteId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally-unique ID.

Title String False

The title of the marketing activity.

Status String False

The status of the marketing activity.

The allowed values are ACTIVE, DELETED, DELETED_EXTERNALLY, DISCONNECTED, DRAFT, FAILED, INACTIVE, PAUSED, PENDING, SCHEDULED, UNDEFINED.

MarketingChannelType String False

The medium through which the marketing activity reached consumers.

The allowed values are DISPLAY, SOCIAL, EMAIL, REFERRAL, SEARCH.

Tactic String False

The marketing tactic for the marketing activity.

The allowed values are ABANDONED_CART, AD, AFFILIATE, LINK, LOYALTY, MESSAGE, NEWSLETTER, NOTIFICATION, POST, RETARGETING, SEO, STOREFRONT_APP, TRANSACTIONAL.

UtmSource String False

The UTM source for the marketing activity.

UtmMedium String False

The UTM medium for the marketing activity.

UtmCampaign String False

The UTM campaign for the marketing activity.

UtmTerm String True

Paid search terms used by a marketing campaign.

UtmContent String True

Identifies specific content in a marketing campaign.

ActivityListUrl String True

The URL of the marketing activity listing page in the marketing section.

SourceAndMedium String True

A contextual description of the marketing activity based on the platform and tactic used.

ParentActivityId String True

The ID of the parent marketing activity.

ParentRemoteId String True

The remote ID of the parent marketing activity.

UrlParameterValue String True

The value portion of the URL query parameter used in attributing sessions to this activity.

IsExternal Bool True

Whether the marketing activity represents an external marketing activity.

StatusTransitionedAt Datetime True

The date and time when the activity's status last changed.

AdSpendAmount Decimal False

The amount spent on the marketing activity. Decimal money amount.

AdSpendCurrencyCode String False

Currency of the ad spend.

CreatedAt Datetime True

The date and time when the marketing activity was created.

UpdatedAt Datetime True

The date and time when the marketing activity was updated.

StatusLabel String True

The rendered status of the marketing activity.

HierarchyLevel String True

The hierarchy level of the marketing activity.

InMainWorkflowVersion Bool True

Whether the marketing activity is in the main workflow version of marketing automation.

TargetStatus String True

The status to which the marketing activity is currently transitioning.

FormData String True

The completed content in the marketing activity creation form.

AppId String True

A globally-unique ID of the app which created this marketing activity.

AppTitle String True

The name of the app which created this marketing activity.

AppErrorCode String True

The error code generated when an app publishes the marketing activity.

AppUserErrors String True

The list of errors returned by the app.

BudgetType String False

The budget type for the marketing activity.

BudgetAmount Decimal False

The amount of budget for the marketing activity.

BudgetCurrencyCode String False

The currency code for the marketing activity budget.

StatusBadgeTypeV2 String True

The severity of the marketing activity's status.

MarketingEventId String True

A globally-unique ID of the associated marketing event.

RemoteId String False

An optional ID that helps Shopify validate engagement data.

ScheduledStart Datetime False

The date and time at which the activity is scheduled to start.

ScheduledEnd Datetime False

The date and time at which the activity is scheduled to end.

MarketingCampaignId String True

The id of the marketing campaign.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Start Datetime

The date and time at which the activity started.

End Datetime

The date and time at which the activity ended.

ChannelHandle String

The unique string identifier of the channel to which this activity belongs.

ReferringDomain String

The domain from which ad clicks are forwarded to the shop.

RemoteUrl String

The URL for viewing and/or managing the activity outside of Shopify.

RemotePreviewImageUrl String

The preview image URL for the marketing activity.

CData Python Connector for Shopify

Menus

Lists navigation menus used on the storefront.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.

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

  SELECT * FROM Menus WHERE Id = 'Val1'
  SELECT * FROM Menus WHERE Title = 'Val1'

Insert

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

Title, Handle, Items

Update

The following columns can be updated:

Title, Handle, Items

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the menu.

Title String False

The title of the menu.

Handle String False

The handle of the menu.

IsDefault Bool True

Indicates whether the menu is a default. The handle for default menus can't be updated, and default menus can't be deleted.

Items String False

A list of the menu's items, sorted by position.

CData Python Connector for Shopify

MetafieldDefinitions

Lists metafield definitions, including validation and presentation details.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • OwnerType supports the '=, IN' comparison operators.
  • PinnedStatus supports the '=' comparison operator.
  • ConstraintStatus supports the '=' comparison operator.
  • ConstraintSubtypeKey supports the '=' comparison operator.
  • ConstraintSubtypeValue supports the '=' comparison operator.

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

  SELECT * FROM MetafieldDefinitions WHERE Id = 'Val1'
  SELECT * FROM MetafieldDefinitions WHERE Namespace = 'Val1'
  SELECT * FROM MetafieldDefinitions WHERE Key = 'Val1'
  SELECT * FROM MetafieldDefinitions WHERE OwnerType = 'API_PERMISSION'
  SELECT * FROM MetafieldDefinitions WHERE PinnedStatus = 'ANY'
  SELECT * FROM MetafieldDefinitions WHERE ConstraintStatus = 'CONSTRAINED_AND_UNCONSTRAINED'
  SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeKey = 'Val1'
  SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeValue = 'Val1'

Insert

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

Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled, TypeName

The following pseudo-column can be used to create a new record:

Pin

Update

The following columns can be updated:

Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled

The following pseudo-column can be used to update a record:

Pin

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 for the metafield definition.

Namespace String False

The namespace, or container, that groups related metafields for this definition.

Key String False

The unique identifier for the metafield definition within its namespace.

Name String False

The human-readable name of the metafield definition.

PinnedPosition Int True

The position of the metafield definition in the pinned list, which determines its display order in the Shopify admin.

Description String False

The description of the metafield definition.

OwnerType String False

The resource type that the metafield definition is attached to.

The allowed values are API_PERMISSION, ARTICLE, BLOG, CARTTRANSFORM, COLLECTION, COMPANY, COMPANY_LOCATION, CUSTOMER, DELIVERY_CUSTOMIZATION, DISCOUNT, DRAFTORDER, FULFILLMENT_CONSTRAINT_RULE, GIFT_CARD_TRANSACTION, LOCATION, MARKET, ORDER, ORDER_ROUTING_LOCATION_RULE, PAGE, PAYMENT_CUSTOMIZATION, PRODUCT, PRODUCTVARIANT, SELLING_PLAN, SHOP, VALIDATION, MEDIA_IMAGE.

UseAsCollectionCondition Bool True

Indicates whether the metafield definition can be used as a collection condition.

ValidationStatus String True

The validation status for the metafields that belong to the metafield definition.

Validations String False

A list of validations for the metafields that belong to the definition. For example, a 'date' metafield definition can include a minimum date validation so that metafields created under it can only store dates after that date.

AccessAdmin String False

The default admin access setting for metafields under this definition.

AccessCustomerAccount String False

The customer account access setting for metafields under this definition.

AccessStorefront String False

The storefront access setting for metafields under this definition.

CapabilitiesAdminFilterableEligible Bool True

Indicates whether the definition is eligible for admin filtering.

CapabilitiesAdminFilterableEnabled Bool False

Indicates whether admin filtering is enabled for the definition.

CapabilitiesAdminFilterableStatus String True

The filter status of the metafield definition for admin use.

CapabilitiesSmartCollectionConditionEligible Bool True

Indicates whether the definition is eligible for use in smart collection conditions.

CapabilitiesSmartCollectionConditionEnabled Bool False

Indicates whether smart collection conditions are enabled for the definition.

ConstraintsKey String True

The category of resource subtypes that the definition applies to.

MetafieldsCount Int True

The number of metafields associated with the definition.

StandardTemplateId String True

A globally unique Id for the standard template associated with the definition.

TypeName String True

The name of the type for the metafield definition.

PinnedStatus String True

Filters metafield definitions by pinned status.

The allowed values are ANY, PINNED, UNPINNED.

ConstraintStatus String True

Filters metafield definitions by constraint status.

The allowed values are CONSTRAINED_AND_UNCONSTRAINED, CONSTRAINED_ONLY, UNCONSTRAINED_ONLY.

ConstraintSubtypeKey String True

Filters metafield definitions by the category of resource subtype they apply to.

ConstraintSubtypeValue String True

Filters metafield definitions by the specific subtype value within the identified category.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Pin Bool

Indicates whether to pin the metafield definition.

DeleteAllAssociatedMetafields Bool

Indicates whether to delete all metafields associated with the definition.

CData Python Connector for Shopify

Metafields

Lists metafields attached to one or more resource Ids.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Identifier supports the '=, IN' comparison operators.
  • Namespace supports the '=' comparison operator.
  • OwnerId supports the '=, IN' comparison operators.
  • OwnerResource supports the '=' comparison operator.

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

  SELECT * FROM Metafields WHERE OwnerResource = 'product' AND Id = 'Val1'
  SELECT * FROM Metafields WHERE OwnerResource = 'product' AND Identifier = 'Val1'
  SELECT * FROM Metafields WHERE OwnerResource = 'product' AND Namespace = 'Val1'
  SELECT * FROM Metafields WHERE OwnerResource = 'product' AND OwnerId = 'Val1'
  SELECT * FROM Metafields WHERE OwnerResource = 'product'

Insert

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

Namespace, Key, Value, Type, OwnerId

Delete

You can delete entries by specifying the following columns:

Namespace, Key, OwnerId

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A unique Id for the metafield.

LegacyResourceId Long True

The Id of the corresponding resource in the REST Admin API.

Identifier String True

The namespace and key combination for the metafield.

Namespace String True

The namespace, or container, that groups the metafield. Custom namespaces distinguish your metafields from those created by other apps.

Key String True

The unique key name of the metafield within its namespace.

Value String True

The data stored as metadata in the metafield.

Type String True

The data type of the metafield value.

Description String True

A human-readable description of the information stored in the metafield.

DefinitionId String True

The Id of the metafield definition the metafield belongs to, if any.

OwnerId String True

The Id of the resource that the metafield is attached to.

OwnerResource String True

The type of resource that the metafield is attached to.

The allowed values are product, variant, shop, draft_order, order, customer, collection, media_image, selling_plan, article, blog, page.

OwnerUpdatedAt Datetime True

The date and time when the resource that the metafield is attached to was last updated. This value is only returned if available otherwise it will be null.

CreatedAt Datetime True

The date and time when the metafield was created.

UpdatedAt Datetime True

The date and time when the metafield was last updated.

CData Python Connector for Shopify

OrderRiskAssessments

Lists fraud risk assessments attached to orders with scores and reasons.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRiskAssessments WHERE OrderId = 'Val1'

Insert

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

OrderId, RiskLevel, Facts (references OrderRiskAssessmentFacts)

OrderRiskAssessmentFacts Temporary Table Columns

Column NameTypeDescription
DescriptionStringA description of the fact.
SentimentStringIndicates whether the fact is a negative, neutral or positive contributor with regards to risk.

Columns

Name Type ReadOnly References Description
OrderId String True

The globally unique Id of the order being assessed.

RiskLevel String True

The likelihood that the order is fraudulent, as determined by this risk assessment.

The allowed values are HIGH, LOW, MEDIUM, NONE, PENDING.

Facts String True

Optional descriptive details about the risk assessment. Values are specific to the risk provider.

ProviderId String True

The globally unique Id of the provider that generated the assessment.

ProviderTitle String True

The name of the application or service that performed the risk assessment.

CData Python Connector for Shopify

Orders

Lists orders with customer, payment, fulfillment, duty, and tax details.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • PoNumber supports the '=, !=' comparison operators.
  • Name supports the '=, !=' comparison operators.
  • Email supports the '=, !=' comparison operators.
  • Test supports the '=, !=' comparison operators.
  • ConfirmationNumber supports the '=, !=' comparison operators.
  • DiscountCode supports the '=, !=' comparison operators.
  • ProcessedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • ReturnStatus supports the '=, !=' comparison operators.
  • TotalWeight supports the '=, !=, <, >, >=, <=' comparison operators.
  • CurrentSubtotalLineItemsQuantity supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CustomerId supports the '=, !=' comparison operators.
  • CurrentTotalPriceSetPresentmentMoneyAmount supports the '=, !=, >, >=, <, <=' comparison operators.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • Value supports the '=' comparison operator.

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

  SELECT * FROM Orders WHERE Id = 'Val1'
  SELECT * FROM Orders WHERE PoNumber = 'Val1'
  SELECT * FROM Orders WHERE Name = 'Val1'
  SELECT * FROM Orders WHERE Email = 'Val1'
  SELECT * FROM Orders WHERE Test = true
  SELECT * FROM Orders WHERE ConfirmationNumber = 'Val1'
  SELECT * FROM Orders WHERE DiscountCode = 'Val1'
  SELECT * FROM Orders WHERE ProcessedAt = '2023-01-01 11:10:00'
  SELECT * FROM Orders WHERE ReturnStatus = 'IN_PROGRESS'
  SELECT * FROM Orders WHERE TotalWeight = 'Val1'
  SELECT * FROM Orders WHERE CurrentSubtotalLineItemsQuantity = 123
  SELECT * FROM Orders WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Orders WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Orders WHERE CustomerId = 'Val1'
  SELECT * FROM Orders WHERE CurrentTotalPriceSetPresentmentMoneyAmount = '100.00'
  SELECT * FROM Orders WHERE Namespace = 'Val1'
  SELECT * FROM Orders WHERE Key = 'Val1'
  SELECT * FROM Orders WHERE Value = 'Val1'

Insert

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

PoNumber, SourceIdentifier, SourceName, Name, Email, Note, Phone, Tags, Test, ClosedAt, CurrencyCode, ProcessedAt, TaxesIncluded, CustomerAcceptsMarketing, DisplayFinancialStatus, DisplayFulfillmentStatus, PresentmentCurrencyCode, CustomerId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressPhone, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressPhone, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2

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

PurchasingEntityCompanyLocationId, ReferringSite, SourceUrl, UserId, DiscountCodeFreeShipping, DiscountCodeFixed, DiscountCodeFixedAmountSetPresentmentMoneyAmount, DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode, DiscountCodeFixedAmountSetShopMoneyAmount, DiscountCodeFixedAmountSetShopMoneyCurrencyCode, DiscountCodePercentage, DiscountCodePercentageValue, FulfillmentLocationId, FulfillmentNotifyCustomer, FulfillmentTrackingInfoNumber, FulfillmentTrackingInfoCompany, FulfillmentShipmentStatus, FulfillmentOriginAddressAddress1, FulfillmentOriginAddressAddress2, FulfillmentOriginAddressCity, FulfillmentOriginAddressCountryCode, FulfillmentOriginAddressProvinceCode, FulfillmentOriginAddressZip, OrderLineItems (references OrderLineItems), OrderShippingLines (references OrderShippingLines), OrderTaxLines (references OrderTaxLines), OrderTransactions (references OrderTransactions), OrderCustomAttributes (references OrderCustomAttributes), Metafields (references Metafields), OptionsInventoryBehaviour, OptionsSendFulfillmentRequest, OptionsSendReceipt

OrderLineItems Temporary Table Columns

Column NameTypeDescription
TitleStringThe title of the product at time of order creation.
VariantTitleStringThe title of the variant at time of order creation.
VariantIdStringA globally-unique ID.
ProductIdStringA globally-unique ID.
QuantityIntThe number of variant units ordered.
SkuStringThe variant SKU number.
TaxableBoolWhether the variant is taxable.
VendorStringThe name of the vendor who made the variant.
RequiresShippingBoolWhether physical shipping is required for the variant.
IsGiftCardBoolWhether the line item represents the purchase of a gift card.
OriginalUnitPriceSetPresentmentMoneyAmountDecimalDecimal money amount.
OriginalUnitPriceSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
OriginalUnitPriceSetShopMoneyAmountDecimalDecimal money amount.
OriginalUnitPriceSetShopMoneyCurrencyCodeStringCurrency of the money.
FulfillmentServiceStringThe handle of a fulfillment service that stocks the product variant belonging to a line item.
OrderLineItemCustomAttributes (references OrderLineItemCustomAttributes)StringAn array of custom information for the item that has been added to the cart. Often used to provide product customization options.
OrderLineItemTaxLines (references OrderLineItemTaxLines)StringA list of tax line objects, each of which details a tax applied to the item.

OrderShippingLines Temporary Table Columns

Column NameTypeDescription
TitleStringReturns the title of the shipping line.
CodeStringA reference to the shipping method.
SourceStringReturns the rate source for the shipping line.
OriginalPriceSetPresentmentMoneyAmountDecimalDecimal money amount.
OriginalPriceSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
OriginalPriceSetShopMoneyAmountDecimalDecimal money amount.
OriginalPriceSetShopMoneyCurrencyCodeStringCurrency of the money.
TaxLinesStringA list of tax line objects, each of which details a tax applicable to this shipping line.

OrderTaxLines Temporary Table Columns

Column NameTypeDescription
TitleStringThe name of the tax.
RateDoubleThe proportion of the line item price that the tax represents as a decimal.
ChannelLiableBoolWhether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line.
RatePercentageDoubleThe proportion of the line item price that the tax represents as a percentage.
PriceSetPresentmentMoneyAmountDecimalDecimal money amount.
PriceSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
PriceSetShopMoneyAmountDecimalDecimal money amount.
PriceSetShopMoneyCurrencyCodeStringCurrency of the money.

OrderTransactions Temporary Table Columns

Column NameTypeDescription
AmountSetPresentmentMoneyAmountDecimalDecimal money amount.
AmountSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
AmountSetShopMoneyAmountDecimalDecimal money amount.
AmountSetShopMoneyCurrencyCodeStringCurrency of the money.
AuthorizationCodeStringAuthorization code associated with the transaction.
DeviceIdStringThe ID of the device used to process the transaction.
GiftCardDetailsIdStringThe ID of the gift card used for this transaction.
KindStringThe kind of transaction.
LocationIdStringThe ID of the location where the transaction was processed.
ProcessedAtDatetimeDate and time when the transaction was processed.
ReceiptJsonStringThe transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction.
StatusStringThe status of this transaction.
TestBoolWhether the transaction is a test transaction.
UserIdStringStaff member who was logged into the Shopify POS device when the transaction was processed. (This column is available only with a ShopifyPlus subscription)

OrderCustomAttributes Temporary Table Columns

Column NameTypeDescription
KeyStringKey or name of the attribute.
ValueStringValue of the attribute.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

OrderLineItemCustomAttributes Temporary Table Columns

Column NameTypeDescription
KeyStringKey or name of the attribute.
ValueStringValue of the attribute.

OrderLineItemTaxLines Temporary Table Columns

Column NameTypeDescription
TitleStringThe name of the tax.
RateDoubleThe proportion of the line item price that the tax represents as a decimal.
ChannelLiableBoolWhether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line.
RatePercentageDoubleThe proportion of the line item price that the tax represents as a percentage.
PriceSetPresentmentMoneyAmountDecimalDecimal money amount.
PriceSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
PriceSetShopMoneyAmountDecimalDecimal money amount.
PriceSetShopMoneyCurrencyCodeStringCurrency of the money.

Update

The following columns can be updated:

PoNumber, Email, Note, Tags, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, Closed

The following pseudo-column can be used to update a record:

OrderCustomAttributes (references OrderCustomAttributes)

OrderCustomAttributes Temporary Table Columns

Column NameTypeDescription
KeyStringKey or name of the attribute.
ValueStringValue of the attribute.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id.

PoNumber String False

The purchase order number associated to this order.

Unpaid Bool True

Indicates whether no payments have been made for the order.

FullyPaid Bool True

Indicates whether the order has been paid in full.

SourceIdentifier String True

A unique POS or third-party order identifier. For example, '1234-12-1000' or '111-98567-54'. The 'receipt_number' field is derived from this value for POS orders.

SourceName String True

The name of the source associated with the order.

LegacyResourceId String True

The Id of the corresponding resource in the REST Admin API.

CanMarkAsPaid Bool True

Whether the order can be manually marked as paid.

Name String True

The identifier shown on the order page in the Shopify admin and the order status page. For example, '#1001', 'EN1001', or '1001-A'. This value isn't unique across multiple stores.

PaymentGatewayNames String True

A list of the names of all payment gateways used for the order. For example, 'Shopify Payments' and 'Cash on Delivery (COD)'.

Capturable Bool True

Indicates whether payment for the order can be captured.

Closed Bool True

Indicates whether the order is closed.

Confirmed Bool True

Indicates whether inventory has been reserved for the order.

Edited Bool True

Indicates whether the order has had any edits applied.

Email String False

The email address associated with the customer.

Fulfillable Bool True

Indicates whether there are line items that can be fulfilled. Returns 'false' when the order has no fulfillable line items. For a more granular view of the fulfillment status, refer to the object.

Note String False

The contents of the note associated with the order.

Phone String True

The phone number associated with the customer.

Refundable Bool True

Indicates whether the order can be refunded.

Restockable Bool True

Indicates whether any line item on the order can be restocked.

Tags String False

A comma-separated list of tags associated with the order. Updating 'tags' overwrites any existing tags previously added to the order. To add new tags without overwriting existing tags, use the mutation.

Test Bool True

Indicates whether the order is a test. Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled. A test order cannot be converted into a real order and vice versa.

CancelReason String True

The reason provided when the order was canceled. Returns 'null' if the order wasn't canceled.

CancelledAt Datetime True

The date and time when the order was canceled. Returns 'null' if the order wasn't canceled.

ClientIp String True

The IP address of the API client that created the order.

ClosedAt Datetime True

The date and time when the order was closed. Returns 'null' if the order is not closed.

ConfirmationNumber String True

A randomly generated alphanumeric identifier for the order that might be shown to the customer instead of the sequential order name. For example, XPAV284CT, R50KELTJP, or 35PKUN0UJ. This value is not guaranteed to be unique.

CurrencyCode String True

The shop currency when the order was placed.

CustomerLocale String True

A two-letter or three-letter language code, optionally followed by a region modifier.

DiscountCode String True

The discount code used for the order.

DiscountCodes String True

The discount codes used for the order.

EstimatedTaxes Bool True

Indicates whether taxes on the order are estimated. Returns 'false' when taxes on the order are finalized and aren't subject to change.

MerchantEditable Bool True

Indicates whether the order can be edited by the merchant. For example, canceled orders cannot be edited.

ProcessedAt Datetime True

The date and time when the order was processed. This might not match the date and time when the order was created.

ProductNetwork Bool True

Whether the customer also purchased items from other stores in the network.

RequiresShipping Bool True

Indicates whether the order has shipping lines or at least one line item that requires shipping.

RiskRecommendation String True

The recommendation for the order based on the results of the risk assessments (suggested merchant action regarding fraud risk).

ReturnStatus String True

The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

TaxesIncluded Bool True

Indicates whether taxes are included in the subtotal price of the order.

DutiesIncluded Bool True

Indicates whether duties are included in the subtotal price of the order.

TotalWeight String True

The total weight of the order before returns, in grams.

CanNotifyCustomer Bool True

Indicates whether a customer email exists for the order.

CurrentTotalWeight String True

The total weight of the order after returns, in grams.

CustomerAcceptsMarketing Bool True

Indicates whether the customer agreed to receive marketing materials.

DisplayFinancialStatus String True

The financial status of the order that can be shown to the merchant. Use only for display summary.

DisplayFulfillmentStatus String True

The fulfillment status of the order that can be shown to the merchant. Use only for display summary. For granular details, refer to the object.

FulfillmentsCount Int True

The count of fulfillments, including canceled fulfillments.

FulfillmentsCountPrecision String True

The count's precision, or the exactness of the value.

HasTimelineComment Bool True

Indicates whether the merchant added a timeline comment to the order.

MerchantEditableErrors String True

A list of reasons why the order cannot be edited. For example, 'Canceled orders cannot be edited'.

PresentmentCurrencyCode String True

The customer's payment currency code for the order.

RegisteredSourceUrl String True

The URL of the source that the order originated from, if found in the domain registry.

StatusPageUrl String True

The URL where the customer can check the order's current status.

SubtotalLineItemsQuantity Int True

The sum of quantities for all line items that contribute to the order's subtotal price.

BillingAddressMatchesShippingAddress Bool True

Indicates whether the billing address matches the shipping address.

CurrentSubtotalLineItemsQuantity Int True

The sum of quantities for all line items that contribute to the order's current subtotal price.

Number String True

The purchase order number associated with this order.

CreatedAt Datetime True

The date and time when the order was created in Shopify.

UpdatedAt Datetime True

The date and time when the order was last modified.

StaffMemberId String True

The staff member associated with the order. (Available only with a Shopify Plus subscription.)

AppId String True

The application Id.

MerchantOfRecordAppId String True

The unique identifier for the app designated as the merchant of record.

MerchantBusinessEntityId String True

The unique identifier for the merchant's business entity record in Shopify.

PhysicalLocationId String True

The unique identifier for a physical location (such as a retail store, warehouse, or fulfillment center).

ChannelInformationId String True

The unique identifier for the channel information object that links sales activity to a channel.

ChannelInformationChannelId String True

The unique identifier for the sales channel (for example, Online Store, POS, or a third-party channel).

ChannelInformationAppId String True

The unique identifier for the app associated with the sales channel.

PublicationId String True

The unique identifier for a publication that makes products available to a sales channel.

PurchasingEntityCustomerId String True

The unique identifier for the customer who is acting as the purchasing entity.

PurchasingEntityCompanyId String True

The unique identifier for the company that is acting as the purchasing entity (business-to-business).

CustomerId String True

The unique identifier for a customer record in Shopify.

CustomerFirstName String True

The customer's first name.

CustomerLastName String True

The customer's last name.

CustomerJourneySummaryReady Bool True

Indicates whether the attributed sessions for the order have been created yet.

CustomerJourneySummaryMomentsCount Int True

The total number of customer moments associated with this order. Returns 'null' if the order is still being attributed.

CustomerJourneySummaryMomentsCountPrecision String True

The count's precision, or the exactness of the value.

CustomerJourneySummaryCustomerOrderIndex Int True

The position of the current order within the customer's order history. Test orders aren't included.

CustomerJourneySummaryDaysToConversion Int True

The number of days between the first session and the order creation date. The first session is since the last order, or the first within the 30-day attribution window.

CustomerJourneySummaryFirstVisitId String True

A globally unique Id.

CustomerJourneySummaryFirstVisitSource String True

The source from which the customer visited the store (for example, a platform such as Facebook or Google, email, direct, domain, QR code, or unknown).

CustomerJourneySummaryFirstVisitLandingPage String True

The URL of the first page the customer landed on for the session.

CustomerJourneySummaryFirstVisitOccurredAt Datetime True

The date and time when the customer's session occurred.

CustomerJourneySummaryFirstVisitReferralCode String True

Marketing referral code from the link that the customer clicked to visit the store. Supports URL attributes: ref, source, or r.

CustomerJourneySummaryFirstVisitReferrerUrl String True

The webpage where the customer clicked a link that sent them to the online store.

CustomerJourneySummaryFirstVisitSourceDescription String True

A description that explicitly names the source for the first or last session.

CustomerJourneySummaryFirstVisitSourceType String True

The type of marketing tactic.

CustomerJourneySummaryFirstVisitLandingPageHtml String True

Landing page information with URL linked in HTML.

CustomerJourneySummaryFirstVisitReferralInfoHtml String True

Referral information with URLs linked in HTML.

CustomerJourneySummaryLastVisitId String True

A globally unique Id.

CustomerJourneySummaryLastVisitSource String True

The source from which the customer visited the store (for example, Facebook, Google, email, direct, domain, QR code, or unknown).

CustomerJourneySummaryLastVisitLandingPage String True

The URL of the first page the customer landed on for the session.

CustomerJourneySummaryLastVisitOccurredAt Datetime True

The date and time when the customer's session occurred.

CustomerJourneySummaryLastVisitReferralCode String True

Marketing referral code from the link that the customer clicked to visit the store. Supports URL attributes: ref, source, or r.

CustomerJourneySummaryLastVisitReferrerUrl String True

The webpage where the customer clicked a link that sent them to the online store.

CustomerJourneySummaryLastVisitSourceDescription String True

A description that explicitly names the source for the first or last session.

CustomerJourneySummaryLastVisitSourceType String True

The type of marketing tactic.

CustomerJourneySummaryLastVisitLandingPageHtml String True

Landing page information with URL linked in HTML.

CustomerJourneySummaryLastVisitReferralInfoHtml String True

Referral information with URLs linked in HTML.

DisplayAddressId String True

A globally unique Id.

DisplayAddressCoordinatesValidated Bool True

Indicates whether the address coordinates are valid.

DisplayAddressValidationResultSummary String True

The validation status leveraged by the address validation feature in the Shopify admin.

DisplayAddressName String True

The full name of the customer, based on firstName and lastName.

DisplayAddressFirstName String True

The customer's first name.

DisplayAddressLastName String True

The customer's last name.

DisplayAddressAddress1 String True

The first line of the address (typically the street address or PO Box number).

DisplayAddressAddress2 String True

The second line of the address (typically an apartment, suite, or unit).

DisplayAddressCity String True

The name of the city, district, village, or town.

DisplayAddressCompany String True

The name of the customer's company or organization.

DisplayAddressCountry String True

The name of the country.

DisplayAddressLatitude Double True

The latitude coordinate of the customer address.

DisplayAddressLongitude Double True

The longitude coordinate of the customer address.

DisplayAddressPhone String True

A unique phone number for the customer, formatted using the E.164 standard (for example, +16135551111).

DisplayAddressProvince String True

The region of the address, such as the province, state, or district.

DisplayAddressZip String True

The ZIP or postal code of the address.

DisplayAddressFormattedArea String True

A comma-separated list of city, province, and country.

DisplayAddressProvinceCode String True

The two-letter region code (for example, ON).

DisplayAddressCountryCodeV2 String True

The two-letter country code (for example, US).

BillingAddressId String True

A globally unique Id.

BillingAddressCoordinatesValidated Bool True

Indicates whether the address coordinates are valid.

BillingAddressValidationResultSummary String True

The validation status leveraged by the address validation feature in the Shopify admin.

BillingAddressName String True

The full name of the customer, based on firstName and lastName.

BillingAddressFirstName String True

The customer's first name.

BillingAddressLastName String True

The customer's last name.

BillingAddressAddress1 String True

The first line of the address (typically the street address or PO Box number).

BillingAddressAddress2 String True

The second line of the address (typically an apartment, suite, or unit).

BillingAddressCity String True

The name of the city, district, village, or town.

BillingAddressCompany String True

The name of the customer's company or organization.

BillingAddressCountry String True

The name of the country.

BillingAddressLatitude Double True

The latitude coordinate of the customer address.

BillingAddressLongitude Double True

The longitude coordinate of the customer address.

BillingAddressPhone String True

A unique phone number for the customer, formatted using the E.164 standard (for example, +16135551111).

BillingAddressProvince String True

The region of the address, such as the province, state, or district.

BillingAddressZip String True

The ZIP or postal code of the address.

BillingAddressFormattedArea String True

A comma-separated list of city, province, and country.

BillingAddressProvinceCode String True

The two-letter region code (for example, ON).

BillingAddressCountryCodeV2 String True

The two-letter country code (for example, US).

ShippingAddressId String False

A globally unique Id.

ShippingAddressCoordinatesValidated Bool True

Indicates whether the address coordinates are valid.

ShippingAddressValidationResultSummary String True

The validation status leveraged by the address validation feature in the Shopify admin.

ShippingAddressName String True

The full name of the customer, based on firstName and lastName.

ShippingAddressFirstName String False

The customer's first name.

ShippingAddressLastName String False

The customer's last name.

ShippingAddressAddress1 String False

The first line of the address (typically the street address or PO Box number).

ShippingAddressAddress2 String False

The second line of the address (typically an apartment, suite, or unit).

ShippingAddressCity String False

The name of the city, district, village, or town.

ShippingAddressCompany String False

The name of the customer's company or organization.

ShippingAddressCountry String False

The name of the country.

ShippingAddressLatitude Double True

The latitude coordinate of the customer address.

ShippingAddressLongitude Double True

The longitude coordinate of the customer address.

ShippingAddressPhone String False

A unique phone number for the customer, formatted using the E.164 standard (for example, +16135551111).

ShippingAddressProvince String False

The region of the address, such as the province, state, or district.

ShippingAddressZip String False

The ZIP or postal code of the address.

ShippingAddressFormattedArea String True

A comma-separated list of city, province, and country.

ShippingAddressProvinceCode String False

The two-letter region code (for example, ON).

ShippingAddressCountryCodeV2 String False

The two-letter country code (for example, US).

ShippingLineId String True

A globally unique Id.

ShippingLineCarrierIdentifier String True

A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service.

ShippingLineTitle String True

The title of the shipping line.

ShippingLineCode String True

A reference to the shipping method.

ShippingLineCustom Bool True

Indicates whether the shipping line is custom.

ShippingLinePhone String True

The phone number at the shipping address.

ShippingLineSource String True

The rate source for the shipping line.

ShippingLineDeliveryCategory String True

The general classification of the delivery method.

ShippingLineShippingRateHandle String True

A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users.

ShippingLineRequestedFulfillmentServiceId String True

The Id of the fulfillment service.

PaymentTermsId String True

A globally unique Id.

PaymentTermsTranslatedName String True

The payment terms name, translated into the shop admin's preferred language.

PaymentTermsPaymentTermsName String True

The name of the payment terms template used to create the payment terms.

PaymentTermsOverdue Bool True

Indicates whether the payment terms have overdue payment schedules.

PaymentTermsDueInDays Int True

The duration of the payment terms in days based on the template used.

PaymentTermsPaymentTermsType String True

The payment terms template type used to create the payment terms.

PaymentTermsDraftOrderId String True

A globally unique Id.

CartDiscountAmountSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CartDiscountAmountSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CartDiscountAmountSetShopMoneyAmount Decimal True

Decimal money amount.

CartDiscountAmountSetShopMoneyCurrencyCode String True

Currency of the money.

ChannelInformationChannelDefinitionId String True

The unique Id for the channel definition.

CurrentCartDiscountAmountSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentCartDiscountAmountSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentCartDiscountAmountSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentCartDiscountAmountSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentSubtotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentSubtotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentSubtotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentSubtotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalAdditionalFeesSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalAdditionalFeesSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalAdditionalFeesSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalAdditionalFeesSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalDiscountsSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalDiscountsSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalDiscountsSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalDiscountsSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalDutiesSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalDutiesSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalDutiesSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalDutiesSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalTaxSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalTaxSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalTaxSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalTaxSetShopMoneyCurrencyCode String True

Currency of the money.

NetPaymentSetPresentmentMoneyAmount Decimal True

Decimal money amount.

NetPaymentSetPresentmentMoneyCurrencyCode String True

Currency of the money.

NetPaymentSetShopMoneyAmount Decimal True

Decimal money amount.

NetPaymentSetShopMoneyCurrencyCode String True

Currency of the money.

OriginalTotalAdditionalFeesSetPresentmentMoneyAmount Decimal True

Decimal money amount.

OriginalTotalAdditionalFeesSetPresentmentMoneyCurrencyCode String True

Currency of the money.

OriginalTotalAdditionalFeesSetShopMoneyAmount Decimal True

Decimal money amount.

OriginalTotalAdditionalFeesSetShopMoneyCurrencyCode String True

Currency of the money.

OriginalTotalDutiesSetPresentmentMoneyAmount Decimal True

Decimal money amount.

OriginalTotalDutiesSetPresentmentMoneyCurrencyCode String True

Currency of the money.

OriginalTotalDutiesSetShopMoneyAmount Decimal True

Decimal money amount.

OriginalTotalDutiesSetShopMoneyCurrencyCode String True

Currency of the money.

OriginalTotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

OriginalTotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

OriginalTotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

OriginalTotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

PaymentCollectionDetailsAdditionalPaymentCollectionUrl String True

The URL to collect an additional payment on the order.

RefundDiscrepancySetPresentmentMoneyAmount Decimal True

Decimal money amount.

RefundDiscrepancySetPresentmentMoneyCurrencyCode String True

Currency of the money.

RefundDiscrepancySetShopMoneyAmount Decimal True

Decimal money amount.

RefundDiscrepancySetShopMoneyCurrencyCode String True

Currency of the money.

SubtotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

SubtotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

SubtotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

SubtotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

TotalCapturableSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalCapturableSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalCapturableSetShopMoneyAmount Decimal True

Decimal money amount.

TotalCapturableSetShopMoneyCurrencyCode String True

Currency of the money.

TotalDiscountsSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalDiscountsSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalDiscountsSetShopMoneyAmount Decimal True

Decimal money amount.

TotalDiscountsSetShopMoneyCurrencyCode String True

Currency of the money.

TotalOutstandingSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalOutstandingSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalOutstandingSetShopMoneyAmount Decimal True

Decimal money amount.

TotalOutstandingSetShopMoneyCurrencyCode String True

Currency of the money.

TotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

TotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

TotalReceivedSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalReceivedSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalReceivedSetShopMoneyAmount Decimal True

Decimal money amount.

TotalReceivedSetShopMoneyCurrencyCode String True

Currency of the money.

TotalRefundedSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalRefundedSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalRefundedSetShopMoneyAmount Decimal True

Decimal money amount.

TotalRefundedSetShopMoneyCurrencyCode String True

Currency of the money.

TotalRefundedShippingSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalRefundedShippingSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalRefundedShippingSetShopMoneyAmount Decimal True

Decimal money amount.

TotalRefundedShippingSetShopMoneyCurrencyCode String True

Currency of the money.

TotalShippingPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalShippingPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalShippingPriceSetShopMoneyAmount Decimal True

Decimal money amount.

TotalShippingPriceSetShopMoneyCurrencyCode String True

Currency of the money.

TotalTaxSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalTaxSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalTaxSetShopMoneyAmount Decimal True

Decimal money amount.

TotalTaxSetShopMoneyCurrencyCode String True

Currency of the money.

TotalTipReceivedSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalTipReceivedSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalTipReceivedSetShopMoneyAmount Decimal True

Decimal money amount.

TotalTipReceivedSetShopMoneyCurrencyCode String True

Currency of the money.

TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyAmount Decimal True

A monetary value in decimal format (for example, 12.99).

TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyCurrencyCode String True

The three-letter currency code (ISO 4217 or legacy/non-standard) (for example, USD).

TotalCashRoundingAdjustmentPaymentSetShopMoneyAmount Decimal True

A monetary value in decimal format (for example, 12.99).

TotalCashRoundingAdjustmentPaymentSetShopMoneyCurrencyCode String True

The three-letter currency code (ISO 4217 or legacy/non-standard) (for example, USD).

TotalCashRoundingAdjustmentRefundSetPresentmentMoneyAmount Decimal True

A monetary value in decimal format (for example, 12.99).

TotalCashRoundingAdjustmentRefundSetPresentmentMoneyCurrencyCode String True

The three-letter currency code (ISO 4217 or legacy/non-standard) (for example, USD).

TotalCashRoundingAdjustmentRefundSetShopMoneyAmount Decimal True

A monetary value in decimal format (for example, 12.99).

TotalCashRoundingAdjustmentRefundSetShopMoneyCurrencyCode String True

The three-letter currency code (ISO 4217 or legacy/non-standard) (for example, USD).

RetailLocationId String True

A globally unique Id.

Namespace String True

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

Key String True

The key for the metafield.

Value String True

The value of the metafield.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
PurchasingEntityCompanyLocationId String

The Id of the purchasing company's location for the order.

ReferringSite String

The website where the customer clicked a link to the shop.

SourceUrl String

A valid URL to the original order on the originating surface. Displayed to merchants on the Order Details page. Invalid URLs aren't shown.

UserId String

The Id of the user logged into Shopify POS who processed the order, if applicable.

DiscountCodeFreeShipping String

A free shipping discount code applied to shipping on an order.

DiscountCodeFixed String

A fixed-amount discount code applied to line items on the order.

DiscountCodeFixedAmountSetPresentmentMoneyAmount Decimal

Decimal money amount.

DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode String

Currency of the money.

DiscountCodeFixedAmountSetShopMoneyAmount Decimal

Decimal money amount.

DiscountCodeFixedAmountSetShopMoneyCurrencyCode String

Currency of the money.

DiscountCodePercentage String

A percentage discount code applied to line items on the order.

DiscountCodePercentageValue Double

The amount deducted from the order total. When creating an order, this value is the percentage to deduct.

FulfillmentLocationId String

The Id of the location to fulfill the order from.

FulfillmentNotifyCustomer Bool

Indicates whether the customer should be notified of fulfillment changes.

FulfillmentTrackingInfoNumber String

The tracking number of the fulfillment.

FulfillmentTrackingInfoCompany String

The name of the tracking company.

FulfillmentShipmentStatus String

The status of the shipment.

FulfillmentOriginAddressAddress1 String

The street address of the fulfillment location.

FulfillmentOriginAddressAddress2 String

The second line of the address (apartment, suite, or unit).

FulfillmentOriginAddressCity String

The city of the fulfillment location.

FulfillmentOriginAddressCountryCode String

The country of the fulfillment location.

FulfillmentOriginAddressProvinceCode String

The province of the fulfillment location.

FulfillmentOriginAddressZip String

The ZIP/postal code of the fulfillment location.

OrderLineItems String

The line items to create for the order.

OrderShippingLines String

A list of shipping method objects used for the order.

OrderTaxLines String

A list of tax line objects for the order. When creating an order through the API, tax lines can be specified on the order or the line items, but not both. Tax lines specified on the order are split across the taxable line items.

OrderTransactions String

The payment transactions to create for the order.

OrderCustomAttributes String

A list of extra information added to the order. Appears in the Additional details section of the order details page.

Metafields String

A list of metafields to add to the order.

OptionsInventoryBehaviour String

The behavior to use when updating inventory.

The allowed values are BYPASS, DECREMENT_IGNORING_POLICY, DECREMENT_OBEYING_POLICY.

OptionsSendFulfillmentRequest Bool

Indicates whether to send a shipping confirmation to the customer.

OptionsSendReceipt Bool

Indicates whether to send an order confirmation to the customer.

CData Python Connector for Shopify

OrderTransactions

Lists payment transactions associated with orders (authorization, capture, refund).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderTransactions WHERE ResourceId = 'Val1'

Insert

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

ResourceId, ParentTransactionId

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

Amount, Currency, FinalCapture

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A globally unique Id.

ResourceId [KEY] String True

Orders.Id

A globally unique Id.

PaymentId String True

The payment Id associated with the transaction.

ParentTransactionId String True

The parent transaction associated with this transaction, for example the authorization of a capture.

UserId String True

The staff member logged into Shopify POS when the transaction was processed. (Available only with a Shopify Plus subscription.)

AccountNumber String True

The masked account number associated with the payment method.

Gateway String True

The payment gateway used to process the transaction.

Kind String True

The type of transaction (for example, authorization, capture, or refund).

Status String True

The status of the transaction.

Test Bool True

Whether the transaction is a test transaction.

AuthorizationCode String True

The authorization code associated with the transaction.

ErrorCode String True

A standardized error code, independent of the payment provider.

FormattedGateway String True

The human-readable payment gateway name used to process the transaction.

ManuallyCapturable Bool True

Whether the transaction can be manually captured.

MultiCapturable Bool True

Whether the transaction can be captured multiple times.

ProcessedAt Datetime True

The date and time when the transaction was processed.

ReceiptJson String True

The transaction receipt attached by the payment gateway. The content depends on the payment gateway.

SettlementCurrency String True

The settlement currency of the transaction.

AuthorizationExpiresAt Datetime True

The date and time when the authorization expires. Available only to Shopify Plus stores, and only for Shopify Payments authorizations.

SettlementCurrencyRate Decimal True

The conversion rate used when converting the transaction amount to settlement currency.

CreatedAt Datetime True

The date and time when the transaction was created.

AmountRoundingSetPresentmentMoneyAmount Decimal True

A monetary value in decimal format, allowing precise representation of cents or fractional currency. For example, 12.99.

AmountRoundingSetPresentmentMoneyCurrencyCode String True

The three-letter ISO 4217 currency code (or legacy/non-standard code) for the presentment currency. For example, USD.

AmountRoundingSetShopMoneyAmount Decimal True

A monetary value in decimal format, allowing precise representation of cents or fractional currency. For example, 12.99.

AmountRoundingSetShopMoneyCurrencyCode String True

The three-letter ISO 4217 currency code (or legacy/non-standard code) for the shop currency. For example, USD.

CurrencyExchangeAdjustmentId String True

A globally-unique ID of the adjustment on the transaction.

PaymentDetailsLocalPaymentDescriptor String True

The descriptor provided by the payment provider. Available only for Amazon Pay and Buy with Prime.

PaymentDetailsLocalPaymentMethodName String True

The local payment method name used by the buyer.

PaymentDetailsShopPayInstallmentsPaymentMethodName String True

The Shop Pay Installments payment method name used by the buyer.

PaymentDetailsCardAvsResultCode String True

The address verification system (AVS) response code. Always a single letter.

PaymentDetailsCardBin String True

The issuer identification number (IIN), formerly called the bank identification number (BIN), from the first digits of the card.

PaymentDetailsCardCompany String True

The name of the company that issued the customer's credit card.

PaymentDetailsCardCvvResultCode String True

The credit card company's response code for the card verification value (CVV). A single letter or empty string.

PaymentDetailsCardExpirationMonth Int True

The month when the credit card expires.

PaymentDetailsCardExpirationYear Int True

The year when the credit card expires.

PaymentDetailsCardName String True

The name of the credit card holder.

PaymentDetailsCardNumber String True

The customer's credit card number, with most leading digits redacted.

PaymentDetailsCardPaymentMethodName String True

The payment method name used by the buyer.

PaymentDetailsCardWallet String True

The digital wallet used for the payment.

PaymentIconId String True

A unique Id for the payment icon image.

PaymentIconWidth Int True

The original width of the image in pixels. Returns null if the image isn't hosted by Shopify.

PaymentIconAltText String True

Alt text describing the content or purpose of the image.

PaymentIconHeight Int True

The original height of the image in pixels. Returns null if the image isn't hosted by Shopify.

AmountSetPresentmentMoneyAmount Decimal True

The transaction amount in the presentment currency, expressed as a decimal.

AmountSetPresentmentMoneyCurrencyCode String True

The currency code of the transaction amount in the presentment currency.

AmountSetShopMoneyAmount Decimal True

The transaction amount in the shop's currency, expressed as a decimal.

AmountSetShopMoneyCurrencyCode String True

The currency code of the transaction amount in the shop's currency.

MaximumRefundableV2Amount Decimal True

The maximum refundable amount, expressed as a decimal.

MaximumRefundableV2CurrencyCode String True

The currency code of the maximum refundable amount.

ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt Datetime True

The date and time when the extended authorization expires. After this, the payment can no longer be captured.

ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt Datetime True

The date and time after which capturing the payment incurs an additional fee.

ShopifyPaymentsSetRefundSetAcquirerReferenceNumber String True

The acquirer reference number (ARN) for Visa or Mastercard transactions.

TotalUnsettledSetPresentmentMoneyAmount Decimal True

The unsettled transaction amount in the presentment currency, expressed as a decimal.

TotalUnsettledSetPresentmentMoneyCurrencyCode String True

The currency code of the unsettled amount in the presentment currency.

TotalUnsettledSetShopMoneyAmount Decimal True

The unsettled transaction amount in the shop's currency, expressed as a decimal.

TotalUnsettledSetShopMoneyCurrencyCode String True

The currency code of the unsettled amount in the shop's currency.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Amount Decimal

The amount to capture. The capture amount can't exceed the authorized amount.

Currency String

The currency of the amount to capture.

FinalCapture Bool

Indicates whether this is the final capture for the transaction. Applies to multi-capturable Shopify Payments authorizations. If true, any uncaptured authorization amount is voided after capture.

DeviceId String

The Id of the device used to process the transaction.

GiftCardDetailsId String

The Id of the gift card used for the transaction.

LocationId String

The Id of the location where the transaction was processed.

CData Python Connector for Shopify

Pages

Lists the shop's informational pages used on the storefront.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • IsPublished supports the '=, !=' comparison operators.
  • PublishedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Pages WHERE Id = 'Val1'
  SELECT * FROM Pages WHERE IsPublished = true
  SELECT * FROM Pages WHERE PublishedAt = '2023-01-01 11:10:00'
  SELECT * FROM Pages WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt

The following pseudo-column can be used to create a new record:

Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt

The following pseudo-columns can be used to update a record:

RedirectNewHandle, Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id.

Title String False

The title of the page.

Body String False

The text content of the page, including HTML markup.

BodySummary String True

The first 150 characters of the page body. If the page body exceeds 150 characters, additional text is truncated with ellipses.

Handle String False

A unique, human-friendly string for the page. In themes, the Liquid templating language refers to a page by its handle.

TemplateSuffix String False

The suffix of the template used to render the page.

IsPublished Bool False

Indicates whether the page is visible.

PublishedAt Datetime False

The date and time when the page became visible. Returns null when the page isn't visible.

UpdatedAt Datetime True

The date and time when the page was last updated.

CreatedAt Datetime True

The date and time when the page was created.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
RedirectNewHandle Bool

Indicates whether a redirect is required after a new handle has been provided. If true, the old handle is redirected to the new one automatically.

Metafields String

The input fields used to create or update a metafield.

CData Python Connector for Shopify

PriceLists

Lists price lists configured for the shop (for example, business-to-business (B2B) tiers, or markets).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM PriceLists WHERE Id = 'Val1'

Insert

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

Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode

Update

The following columns can be updated:

Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id.

Currency String False

The currency used for fixed prices associated with this price list.

FixedPricesCount Int True

The total number of fixed prices on the price list.

Name String False

The unique name of the price list, used as a human-readable identifier.

ParentAdjustmentType String False

The type of price adjustment, such as a percentage increase or decrease.

ParentAdjustmentValue Double False

The numeric value of the price adjustment, where positive numbers reduce prices and negative numbers increase them.

ParentSettingsCompareAtMode String False

The adjustment setting type applied to compare-at prices on the price list.

CData Python Connector for Shopify

ProductMediaImages

Lists image media attached to products with alt text and ordering.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductMediaImages WHERE ProductId = 'Val1'

Insert

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

ProductId, AltText, MediaContentType, Url

Update

The following columns can be updated:

AltText, Url

Delete

You can delete entries by specifying the following columns:

Id, ProductId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the media image.

ProductId [KEY] String False

Products.Id

A globally unique Id for the product associated with the media image.

AltText String False

Alternative text that describes the nature or contents of the media image.

MediaContentType String True

The type of media content (for example, image or video).

Height Int True

The original height of the image in pixels. Contains null if the image isn't hosted by Shopify.

Width Int True

The original width of the image in pixels. Contains null if the image isn't hosted by Shopify.

Url String False

The URL location of the media image.

UpdatedAt Datetime True

The date and time when the file was last updated.

CData Python Connector for Shopify

ProductOptions

Lists product options (Size or Color). Limited by Shop.resourceLimits.maxProductOptions.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductOptions WHERE ProductId = 'Val1'

Insert

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

ProductId, Name, Position, OptionValues (references ProductOptionValues)

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

LinkedMetafieldKey, LinkedMetafieldNamespace, LinkedMetafieldValues, CreateVariantStrategy

ProductOptionValues Temporary Table Columns

Column NameTypeDescription
ProductIdStringA globally-unique ID.
ProductOptionIdStringA globally-unique ID.
NameStringValue associated with an option.
LinkedMetafieldValueStringMetafield value associated with an option.
VariantStrategyStringThe strategy defines which behavior is observed regarding variants. The strategy 'LEAVE_AS_IS' is used by default - variants are not created nor deleted. If set to 'MANAGE', variants are created and deleted according to the option values to add and to delete.

Update

The following columns can be updated:

ProductId, Name, Position

The following pseudo-columns can be used to update a record:

LinkedMetafieldKey, LinkedMetafieldNamespace

Delete

You can delete entries by specifying the following columns:

Id, ProductId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id of the product option.

ProductId String False

Products.Id

A globally unique Id of the associated product.

Name String False

The name of the product option.

Position Int False

The position of the product option.

Values String True

The values corresponding to the product option name.

OptionValues String True

All option value objects associated with the product option, including values not assigned to any variants.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
LinkedMetafieldKey String

The key of the metafield linked to this option.

LinkedMetafieldNamespace String

The namespace of the metafield linked to this option.

LinkedMetafieldValues String

A comma-separated list of values associated with the option.

CreateVariantStrategy String

Defines how variants are created when new options are added. LEAVE_AS_IS: No new variants are created. Existing variants are updated with the first option value. CREATE: New variants are generated for every combination of existing variant option values and new option values.

The allowed values are CREATE, LEAVE_AS_IS.

DeleteVariantStrategy String

Defines how variants are handled when options are deleted. DEFAULT: The option might only have one corresponding value. NON_DESTRUCTIVE: The option can have multiple values and deletion only succeeds if no variants are removed. POSITION: The option can have multiple values. Duplicates are resolved by deleting remaining variants in descending position order.

The allowed values are DEFAULT, NON_DESTRUCTIVE, POSITION.

CData Python Connector for Shopify

ProductOptionValues

Lists all possible option values for a given product option, even if not used by a variant.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductOptionValues WHERE ProductId = 'Val1'

Insert

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

ProductId, ProductOptionId, Name, LinkedMetafieldValue

The following pseudo-column can be used to create a new record:

VariantStrategy

Update

The following columns can be updated:

ProductId, ProductOptionId, Name, LinkedMetafieldValue

Delete

You can delete entries by specifying the following columns:

ProductId, ProductOptionId, Id

Columns

Name Type ReadOnly References Description
ProductId String False

A globally unique Id of the product.

ProductOptionId String False

A globally unique Id of the associated product option.

ProductOptionName String True

The name of the product option.

Id [KEY] String False

A globally unique Id of the product option value.

Name String False

The value associated with the product option.

LinkedMetafieldValue String False

The metafield value associated with the product option value.

HasVariants Bool True

Indicates whether the product option value has any linked variants.

SwatchColor String True

The color swatch associated with the product option value.

SwatchImageId String True

The image swatch associated with the product option value. A globally unique Id.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
VariantStrategy String

Defines how variants are managed for the option values. LEAVE_AS_IS (default): no variants are created or deleted. MANAGE: variants are created and deleted according to the option values added or removed.

The allowed values are LEAVE_AS_IS, MANAGE.

CData Python Connector for Shopify

ProductResourceFeedbacks

Lists product resource feedback items visible to the current application.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operator. The connector processes other filters client-side within the connector.

  • ProductId supports the '=' comparison operator.

For example, the following query is processed server-side:

  SELECT * FROM ProductResourceFeedbacks WHERE ProductId = 'Val1'

Insert

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

ProductId, FeedbackGeneratedAt, Messages, ProductUpdatedAt, State

Columns

Name Type ReadOnly References Description
ProductId [KEY] String True

Products.Id

The Id of the product associated with the resource feedback.

FeedbackGeneratedAt Datetime True

The date and time when the feedback was generated, used to determine whether new feedback is outdated compared to existing feedback.

Messages String True

The feedback messages presented to the merchant.

ProductUpdatedAt Datetime True

The date and time when the associated product was last updated.

State String True

The current state of the feedback, indicating whether merchant action is required.

The allowed values are ACCEPTED, REQUIRES_ACTION.

CData Python Connector for Shopify

Products

Lists products with titles, status, variants, media, and publishing details.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Handle supports the '=, IN' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • Vendor supports the '=, !=' comparison operators.
  • TotalInventory supports the '=, !=, <, >, >=, <=' comparison operators.
  • HasOnlyDefaultVariant supports the '=, !=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • ProductType supports the '=, !=' comparison operators.
  • PublicationId supports the '=' comparison operator.
  • VariantId supports the '=' comparison operator.
  • VariantTitle supports the '=' comparison operator.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • Value supports the '=' comparison operator.

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

  SELECT * FROM Products WHERE Id = 'Val1'
  SELECT * FROM Products WHERE Title = 'Val1'
  SELECT * FROM Products WHERE Handle = 'Val1'
  SELECT * FROM Products WHERE Status = 'Val1'
  SELECT * FROM Products WHERE Vendor = 'Val1'
  SELECT * FROM Products WHERE TotalInventory = 123
  SELECT * FROM Products WHERE HasOnlyDefaultVariant = true
  SELECT * FROM Products WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Products WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Products WHERE ProductType = 'Val1'
  SELECT * FROM Products WHERE PublicationId = 'Val1'
  SELECT * FROM Products WHERE VariantId = 'Val1'
  SELECT * FROM Products WHERE VariantTitle = 'Val1'
  SELECT * FROM Products WHERE Namespace = 'Val1'
  SELECT * FROM Products WHERE Key = 'Val1'
  SELECT * FROM Products WHERE Value = 'Val1'

Insert

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

DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, IsGiftCard, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan

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

Metafields (references Metafields), BundleComponents (references ProductBundleComponents)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

ProductBundleComponents Temporary Table Columns

Column NameTypeDescription
ComponentProductIdStringA globally-unique ID.
OptionSelections (references ProductBundleComponentOptionSelections)StringThe options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle.
QuantityIntThe quantity of the component product set for this bundle line. It will be null if there's a quantityOption present.
QuantityOptionNameStringThe name of the option value.
QuantityOptionValuesStringThe quantity values of the option.

ProductBundleComponentOptionSelections Temporary Table Columns

Column NameTypeDescription
ParentOptionNameStringThe product option’s name.
ComponentOptionIdStringA globally-unique ID.
ValuesStringThe component option values that are actively selected for this relationship.

Update

The following columns can be updated:

DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan

The following pseudo-columns can be used to update a record:

Metafields (references Metafields), BundleComponents (references ProductBundleComponents)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

ProductBundleComponents Temporary Table Columns

Column NameTypeDescription
ComponentProductIdStringA globally-unique ID.
OptionSelections (references ProductBundleComponentOptionSelections)StringThe options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle.
QuantityIntThe quantity of the component product set for this bundle line. It will be null if there's a quantityOption present.
QuantityOptionNameStringThe name of the option value.
QuantityOptionValuesStringThe quantity values of the option.

ProductBundleComponentOptionSelections Temporary Table Columns

Column NameTypeDescription
ParentOptionNameStringThe product option’s name.
ComponentOptionIdStringA globally-unique ID.
ValuesStringThe component option values that are actively selected for this relationship.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id of the product.

LegacyResourceId Long True

The Id of the corresponding resource in the REST Admin API.

Description String True

The description of the product, including HTML formatting.

DescriptionHtml String False

The description of the product, including HTML formatting.

Title String False

The title of the product.

Handle String False

A unique, human-friendly string based on the product's title.

Tags String False

A comma-separated list of tags associated with the product. Updating 'tags' overwrites existing tags. To add tags without overwriting, use a mutation.

Status String False

The product status, which controls visibility across all channels.

Vendor String False

The name of the product's vendor.

OnlineStorePreviewUrl String True

The preview URL of the product in the online store.

OnlineStoreUrl String True

The online store URL for the product. Contains null if the product isn't published to the Online Store channel.

TracksInventory Bool True

Indicates whether inventory tracking is enabled for the product.

TotalInventory Int True

The total quantity of inventory in stock.

HasOnlyDefaultVariant Bool True

Indicates whether the product has only a single variant with the default option and value.

HasOutOfStockVariants Bool True

Indicates whether the product has out-of-stock variants.

HasVariantsThatRequiresComponents Bool True

Indicates whether at least one product variant requires bundle components.

VariantsCount Int True

The total number of variants associated with the product.

VariantsCountPrecision String True

The precision of the variant count, indicating the exactness of the value.

TemplateSuffix String False

The theme template used when viewing the product in the store.

GiftCardTemplateSuffix String False

The theme template used when viewing the gift card in the store.

IsGiftCard Bool True

Indicates whether the product is a gift card.

PublishedAt Datetime True

The date and time when the product was published to the Online Store.

UpdatedAt Datetime True

The date and time when the product was last updated. This value can change for reasons such as inventory adjustments.

CreatedAt Datetime True

The date and time when the product was created.

ProductType String False

The product type specified by the merchant.

CategoryId String True

The globally unique Id of the taxonomy category.

CategoryName String True

The name of the taxonomy category. For example, Dog Beds.

CategoryFullName String True

The full taxonomy path of the category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds.

SeoTitle String False

The search engine optimization (SEO) title of the product.

SeoDescription String False

The SEO description of the product.

RequiresSellingPlan Bool False

Indicates whether the product can only be purchased with a selling plan (subscription).

SellingPlanGroupsCount Int True

The total number of selling plan groups associated with the product.

SellingPlanGroupsCountPrecision String True

The precision of the selling plan group count, indicating the exactness of the value.

PriceRangeMaxVariantPriceAmount Decimal True

The maximum variant price of the product, expressed as a decimal money amount.

PriceRangeMaxVariantPriceCurrencyCode String True

The currency code of the maximum variant price.

PriceRangeMinVariantPriceAmount Decimal True

The minimum variant price of the product, expressed as a decimal money amount.

PriceRangeMinVariantPriceCurrencyCode String True

The currency code of the minimum variant price.

CompareAtPriceRangeMaxVariantCompareAtPriceAmount Decimal True

The maximum compare-at price of the product's variants, expressed as a decimal money amount.

CompareAtPriceRangeMaxVariantCompareAtPriceCurrencyCode String True

The currency code of the maximum compare-at price.

CompareAtPriceRangeMinVariantCompareAtPriceAmount Decimal True

The minimum compare-at price of the product's variants, expressed as a decimal money amount.

CompareAtPriceRangeMinVariantCompareAtPriceCurrencyCode String True

The currency code of the minimum compare-at price.

MediaCount Int True

The total number of media items belonging to the product.

MediaCountPrecision String True

The precision of the media count, indicating the exactness of the value.

FeaturedMediaId String True

A globally unique Id of the featured media.

FeaturedMediaAlt String True

Alternative text that describes the featured media.

FeaturedMediaContentType String True

The content type of the featured media.

FeaturedMediaStatus String True

The current status of the featured media.

FeaturedMediaPreviewStatus String True

The current status of the featured media's preview image.

FeaturedMediaPreviewImageId String True

The Id of the preview image. Contains null until status is READY.

FeaturedMediaPreviewImageAltText String True

Alternative text that describes the preview image.

FeaturedMediaPreviewImageUrl String True

The URL location of the preview image.

FeaturedMediaPreviewImageWidth Int True

The original width of the preview image in pixels. Contains null if the image isn't hosted by Shopify.

FeaturedMediaPreviewImageHeight Int True

The original height of the preview image in pixels. Contains null if the image isn't hosted by Shopify.

AvailablePublicationsCount Int True

The number of publications the resource is published to without feedback errors.

AvailablePublicationsCountPrecision String True

The precision of the publication count, indicating the exactness of the value.

ResourcePublicationsCount Int True

The number of publications the resource is published to without feedback errors.

ResourcePublicationsCountPrecision String True

The precision of the publication count, indicating the exactness of the value.

FeedbackSummary String True

A summary of resource feedback related to the product.

FeedbackDetails String True

A list of AppFeedback entries detailing issues related to the product.

PublicationId String True

Filters by publication Ids associated with the product.

VariantId String True

Filters by the product variant Id.

VariantTitle String True

Filters by the product variant title.

Namespace String True

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

Key String True

The key for the metafield.

Value String True

The value of the metafield.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Metafields String

Additional customizable metafields for the product.

BundleComponents String

The bundle components associated with the product.

CData Python Connector for Shopify

ProductVariants

Lists product variants with pricing, inventory tracking, and option values.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ProductId supports the '=, !=' comparison operators.
  • Barcode supports the '=, !=' comparison operators.
  • Sku supports the '=, !=' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • Taxable supports the '=, !=' comparison operators.
  • DeliveryProfileId supports the '=, !=' comparison operators.
  • LocationInventoryQuantity supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM ProductVariants WHERE Id = 'Val1'
  SELECT * FROM ProductVariants WHERE ProductId = 'Val1'
  SELECT * FROM ProductVariants WHERE Barcode = 'Val1'
  SELECT * FROM ProductVariants WHERE Sku = 'Val1'
  SELECT * FROM ProductVariants WHERE Title = 'Val1'
  SELECT * FROM ProductVariants WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM ProductVariants WHERE Taxable = true
  SELECT * FROM ProductVariants WHERE DeliveryProfileId = 'Val1'
  SELECT * FROM ProductVariants WHERE LocationInventoryQuantity = 123

Insert

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

ProductId, Barcode, Sku, Price, CompareAtPrice, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin

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

MediaId, MediaSrc, InventoryQuantities (references InventoryItemInventoryLevelQuantities), OptionValues (references ProductOptionValues), Metafields (references Metafields), Strategy

InventoryItemInventoryLevelQuantities Temporary Table Columns

Column NameTypeDescription
InventoryLevelLocationIdStringA globally-unique ID.
QuantityIntThe quantity for the quantity name.

ProductOptionValues Temporary Table Columns

Column NameTypeDescription
ProductOptionIdStringA globally-unique ID.
ProductOptionNameStringThe product option's name.
IdStringA globally-unique ID.
NameStringValue associated with an option.
LinkedMetafieldValueStringMetafield value associated with an option.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

ProductId, Barcode, Sku, Price, CompareAtPrice, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin

The following pseudo-columns can be used to update a record:

MediaId, MediaSrc, OptionValues (references ProductOptionValues), Metafields (references Metafields), AllowPartialUpdates

ProductOptionValues Temporary Table Columns

Column NameTypeDescription
ProductOptionIdStringA globally-unique ID.
ProductOptionNameStringThe product option's name.
IdStringA globally-unique ID.
NameStringValue associated with an option.
LinkedMetafieldValueStringMetafield value associated with an option.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following columns:

Id, ProductId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id of the product variant.

LegacyResourceId Long True

The Id of the corresponding resource in the REST Admin API.

ProductId String False

Products.Id

A globally unique Id of the associated product.

Position Int True

The position of the product variant in the list of product variants. The first position in the list is 1.

DisplayName String True

The display name of the variant, based on the product's title and the variant's title.

Barcode String False

The barcode value associated with the product variant.

Sku String False

An identifier for the product variant in the shop. Required to connect to a fulfillment service.

Title String True

The title of the product variant.

RequiresComponents Bool True

Indicates whether the product variant requires components. If true, it can only be purchased as part of a parent bundle and is omitted from channels that don't support bundles.

UpdatedAt Datetime True

The date and time when the product variant was last updated.

CreatedAt Datetime True

The date and time when the product variant was created.

SelectedOptions String True

The list of product options applied to the variant.

AvailableForSale Bool True

Indicates whether the product variant is available for sale.

Price Decimal False

The price of the product variant in the default shop currency.

CompareAtPrice Decimal False

The compare-at price of the product variant in the default shop currency.

Taxable Bool False

Indicates whether tax is charged when the product variant is sold.

SellableOnlineQuantity Int True

The total sellable quantity of the variant for online channels. This does not represent total available inventory and might vary by customer location.

SellingPlanGroupsCount Int True

The total number of selling plan groups associated with the product variant.

SellingPlanGroupsCountPrecision String True

The precision of the selling plan group count, indicating the exactness of the value.

DeliveryProfileId String True

A globally unique Id of the delivery profile.

InventoryPolicy String False

Defines whether customers can place an order for the product variant when it is out of stock.

InventoryQuantity Int True

The total sellable quantity of the variant.

InventoryItemId String True

A globally unique Id of the inventory item.

InventoryItemUnitCostAmount Decimal False

The unit cost of the inventory item, expressed as a decimal money amount.

InventoryItemUnitCostCurrencyCode String True

The currency code of the unit cost for the inventory item.

InventoryItemHarmonizedSystemCode String False

The harmonized system code of the inventory item.

InventoryItemMeasurementWeightValue Double False

The weight value of the inventory item, based on the specified unit.

InventoryItemMeasurementWeightUnit String False

The unit of measurement for the inventory item's weight value.

InventoryItemRequiresShipping Bool False

Indicates whether the inventory item requires shipping.

InventoryItemTracked Bool False

Indicates whether inventory levels are tracked for the item.

InventoryItemCountryCodeOfOrigin String False

The ISO 3166-1 alpha-2 country code of where the item originated from.

InventoryItemProvinceCodeOfOrigin String False

The ISO 3166-2 alpha-2 province code of where the item originated from.

ImageId String True

A globally unique Id of the associated image.

ImageAltText String True

Alternative text that describes the image.

ImageHeight Int True

The original height of the image in pixels. Contains null if the image isn't hosted by Shopify.

ImageWidth Int True

The original width of the image in pixels. Contains null if the image isn't hosted by Shopify.

ImageUrl String True

The URL location of the image.

UnitPriceMeasurementMeasuredType String True

The type of measurement used for the unit price.

UnitPriceMeasurementQuantityUnit String True

The quantity unit used for the unit price measurement.

UnitPriceMeasurementQuantityValue Double True

The quantity value used for the unit price measurement.

UnitPriceMeasurementReferenceUnit String True

The reference unit used for the unit price measurement.

UnitPriceMeasurementReferenceValue Int True

The reference value used for the unit price measurement.

LocationInventoryQuantity Int True

Filters by the available inventory quantity of the variant at individual locations.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
MediaId String

The Id of the media associated with the variant.

MediaSrc String

The URL of the media associated with the variant.

InventoryQuantities String

The inventory quantities at each location where the variant is stocked. The number of entries can't exceed the plan limit.

OptionValues String

The custom properties that a shop owner uses to define product variants.

Metafields String

Additional customizable metafields for the product variant.

Strategy String

Defines how standalone variants are handled when creating new variants. DEFAULT: keeps the standalone variant. REMOVE_STANDALONE_VARIANT: deletes the standalone variant when new variants are created.

The allowed values are DEFAULT, REMOVE_STANDALONE_VARIANT, PRESERVE_STANDALONE_VARIANT.

AllowPartialUpdates Bool

Indicates whether partial updates are allowed. If true, valid changes are saved even when some variants contain errors. If false, any error prevents all updates.

CData Python Connector for Shopify

Publications

Lists sales channel publications configured for the shop.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  SELECT * FROM Publications WHERE Id = 'Val1'
  SELECT * FROM Publications WHERE CatalogType = 'Val1'

Insert

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

AutoPublish, CatalogId

The following pseudo-column can be used to create a new record:

DefaultState

Update

The following column can be updated:

AutoPublish

The following pseudo-columns can be used to update a record:

PublishablesToAdd, PublishablesToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id of the publication.

AutoPublish Bool False

Indicates whether new products are automatically published to this publication.

SupportsFuturePublishing Bool True

Indicates whether the publication supports future publishing.

CatalogId String True

A globally unique Id of the catalog.

AddAllProductsOperationId String True

A globally unique Id of the add-all-products operation.

AddAllProductsOperationStatus String True

The status of the add-all-products operation.

AddAllProductsOperationProcessedRowCount Int True

The total number of processed rows, including imported, failed, and skipped rows.

AddAllProductsOperationRowCountCount Int True

The estimated total number of rows in the background operation.

AddAllProductsOperationRowCountExceedsMax Bool True

Indicates whether the operation exceeds the maximum number of reportable rows.

CatalogCsvOperationId String True

A globally unique Id of the catalog CSV operation.

CatalogCsvOperationStatus String True

The status of the catalog CSV operation.

CatalogCsvOperationProcessedRowCount Int True

The total number of processed rows, including imported, failed, and skipped rows.

CatalogCsvOperationRowCountCount Int True

The estimated total number of rows in the background CSV operation.

CatalogCsvOperationRowCountExceedsMax Bool True

Indicates whether the CSV operation exceeds the maximum number of reportable rows.

PublicationResourceOperationId String True

A globally unique Id of the publication resource operation.

PublicationResourceOperationStatus String True

The status of the publication resource operation.

PublicationResourceOperationProcessedRowCount Int True

The total number of processed rows, including imported, failed, and skipped rows.

PublicationResourceOperationRowCountCount Int True

The estimated total number of rows in the publication resource operation.

PublicationResourceOperationRowCountExceedsMax Bool True

Indicates whether the resource operation exceeds the maximum number of reportable rows.

CatalogType String True

The catalog type used to filter publications.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
DefaultState String

Indicates whether to create an empty publication or prepopulate it with all products.

The allowed values are ALL_PRODUCTS, EMPTY.

PublishablesToAdd String

A comma-separated list of publishable Ids to add. A maximum of 50 can be updated at once.

PublishablesToRemove String

A comma-separated list of publishable Ids to remove. A maximum of 50 can be updated at once.

CData Python Connector for Shopify

Refunds

Represents refunds of items or transactions on an order, with amounts and reasons.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM Refunds WHERE OrderId = 'Val1'

Insert

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

OrderId, Note, RefundLineItems (references RefundLineItems)

RefundLineItems Temporary Table Columns

Column NameTypeDescription
LineItemIdStringA globally-unique ID.
LineItemQuantityIntThe number of variant units ordered.
RestockTypeStringThe type of restock for the refunded line item.
LocationIdStringA globally-unique ID.

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A globally unique Id of the refund.

LegacyResourceId String True

The Id of the corresponding resource in the REST Admin API.

OrderId String True

Orders.Id

A globally unique Id of the associated order.

Note String True

An optional note associated with the refund.

CreatedAt Datetime True

The date and time when the refund was created.

UpdatedAt Datetime True

The date and time when the refund was last updated.

ReturnId String True

A globally unique Id of the associated return.

StaffMemberId String True

A globally unique Id of the staff member associated with the refund. (Available only with a ShopifyPlus subscription)

TotalRefundedSetPresentmentMoneyAmount Decimal True

The total refunded amount in the presentment currency, expressed as a decimal money amount.

TotalRefundedSetPresentmentMoneyCurrencyCode String True

The currency code of the total refunded amount in the presentment currency.

TotalRefundedSetShopMoneyAmount Decimal True

The total refunded amount in the shop's currency, expressed as a decimal money amount.

TotalRefundedSetShopMoneyCurrencyCode String True

The currency code of the total refunded amount in the shop's currency.

RefundLineItems String True

The list of line items included in the refund.

CData Python Connector for Shopify

Returns

Lists returns associated with orders, including statuses and dispositions.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM Returns WHERE OrderId = 'Val1'

Insert

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

OrderId, ReturnLineItems (references ReturnLineItems), ReturnExchangeLineItems (references ReturnExchangeLineItems)

ReturnLineItems Temporary Table Columns

Column NameTypeDescription
QuantityIntThe quantity being returned.
ReturnReasonStringThe reason for returning the item.
ReturnReasonNoteStringAdditional information about the reason for the return. Maximum length: 255 characters.
FulfillmentLineItemIdStringA globally-unique ID.

ReturnExchangeLineItems Temporary Table Columns

Column NameTypeDescription
VariantIdStringA globally-unique ID.
QuantityIntThe number of variant units ordered.
AppliedDiscountValueAmountDecimalThe discount to be applied to the exchange line item. The value of the discount as a fixed amount.
AppliedDiscountValueAmountCurrencyCodeStringThe discount to be applied to the exchange line item. Currency of the money.
AppliedDiscountValuePercentageDoubleThe discount to be applied to the exchange line item. The value of the discount as a percentage.
AppliedDiscountDescriptionStringThe discount to be applied to the exchange line item. The description of the discount.
GiftCardCodesStringThe gift card codes associated with the physical gift cards.

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A globally unique Id for the return record.

OrderId String True

Orders.Id

A globally-unique ID.

OrderReturnStatus String True

The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

Name String True

The system-generated name of the return.

Status String True

The current status of the return (for example, open, approved, or declined).

TotalQuantity Int True

The total number of line item units included in the return.

DeclineReason String True

The reason the return request was declined.

DeclineNote String True

The message sent to the customer when their return request was declined. Maximum length: 500 characters.

ReturnLineItems String True

A list of the line items that are part of the return.

ReturnExchangeLineItems String True

A list of new line items to be added to the order as part of an exchange.

ClosedAt Datetime True

The date and time when the return was closed.

CreatedAt Datetime True

The date and time when the return was created.

RequestApprovedAt Datetime True

The date and time when the return was approved.

CData Python Connector for Shopify

ScriptTags

Lists script tags that inject JavaScript into storefront pages.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  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 False

A globally unique Id for the script tag.

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, the script is cached and served by the CDN for up to 15 minutes after being returned. If false, the script is served directly without caching.

Src String False

The URL of the remote script.

DisplayScope String False

The page or pages of the online store where the script tag should be included.

The allowed values are ONLINE_STORE.

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.

CData Python Connector for Shopify

Segments

Lists customer segments defined in the shop.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  SELECT * FROM Segments WHERE Id = 'Val1'
  SELECT * FROM Segments WHERE Name = 'Val1'

Insert

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

Name, Query

Update

The following columns can be updated:

Name, Query

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the segment.

Name String False

The name of the segment (for example, 'High-value customers' or 'Subscribed to newsletter').

Query String False

The definition of the segment, composed of conditions based on customer attributes or behaviors.

CreationDate Datetime True

The date and time when the segment was created in the store.

LastEditDate Datetime True

The date and time when the segment was last updated.

CData Python Connector for Shopify

SellingPlanGroups

Lists selling plan groups used for subscriptions and prepaid options.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Name supports the '=' comparison operator.
  • CreatedAt supports the '<, >, >=' comparison operators.

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

  SELECT * FROM SellingPlanGroups WHERE Id = 'Val1'
  SELECT * FROM SellingPlanGroups WHERE Name = 'Val1'
  SELECT * FROM SellingPlanGroups WHERE CreatedAt < '2023-01-01 11:10:00'

Insert

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

AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans)

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

ProductIds, ProductVariantIds

SellingPlanGroupSellingPlans Temporary Table Columns

Column NameTypeDescription
IdStringA globally-unique ID.
NameStringA customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies.
CategoryStringThe category used to classify the selling plan for reporting purposes.
DescriptionStringBuyer facing string which describes the selling plan commitment.
OptionsStringThe values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values.
PositionIntRelative position of the selling plan for display. A lower position will be displayed before a higher position.
InventoryPolicyReserveStringWhen to reserve inventory for the order.
FixedBillingPolicyCheckoutChargeTypeStringThe charge type for the checkout charge.
FixedBillingPolicyCheckoutChargeValueAmountDecimalThe charge value for the checkout charge. Decimal money amount.
FixedBillingPolicyCheckoutChargeValuePercentageDoubleThe charge value for the checkout charge. The percentage value of the price used for checkout charge.
FixedBillingPolicyRemainingBalanceChargeExactTimeDatetimeThe exact time when to capture the full payment.
FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckoutStringThe period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration.
FixedBillingPolicyRemainingBalanceChargeTriggerStringWhen to capture payment for amount due.
RecurringBillingPolicyAnchorsStringSpecific anchor dates upon which the billing interval calculations should be made. Aggregate value.
RecurringBillingPolicyIntervalStringThe billing frequency, it can be either: day, week, month or year.
RecurringBillingPolicyIntervalCountIntThe number of intervals between billings.
RecurringBillingPolicyMaxCyclesIntMaximum number of billing iterations.
RecurringBillingPolicyMinCyclesIntMinimum number of billing iterations.
FixedDeliveryPolicyAnchorsStringThe specific anchor dates upon which the delivery interval calculations should be made. Aggregate value.
FixedDeliveryPolicyCutoffIntA buffer period for orders to be included in next fulfillment anchor.
FixedDeliveryPolicyFulfillmentExactTimeDatetimeThe date and time when the fulfillment should trigger.
FixedDeliveryPolicyFulfillmentTriggerStringWhat triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.
FixedDeliveryPolicyIntentStringWhether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
FixedDeliveryPolicyPreAnchorBehaviorStringThe fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
RecurringDeliveryPolicyAnchorsStringThe specific anchor dates upon which the delivery interval calculations should be made. Aggregate value.
RecurringDeliveryPolicyCutoffIntNumber of days which represent a buffer period for orders to be included in a cycle.
RecurringDeliveryPolicyIntentStringWhether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
RecurringDeliveryPolicyIntervalStringThe delivery frequency, it can be either: day, week, month or year.
RecurringDeliveryPolicyIntervalCountIntThe number of intervals between deliveries.
RecurringDeliveryPolicyPreAnchorBehaviorStringThe fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
FixedPricingPoliciesStringRepresents fixed selling plan pricing policies associated to the selling plan. Aggregate value.
RecurringPricingPoliciesStringRepresents recurring selling plan pricing policies associated to the selling plan. Aggregate value.
Metafields (references Metafields)StringAttaches additional metadata to a store's resources.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans), SellingPlansToUpdate (references SellingPlanGroupSellingPlans)

The following pseudo-column can be used to update a record:

SellingPlansToDelete

SellingPlanGroupSellingPlans Temporary Table Columns

Column NameTypeDescription
IdStringA globally-unique ID.
NameStringA customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies.
CategoryStringThe category used to classify the selling plan for reporting purposes.
DescriptionStringBuyer facing string which describes the selling plan commitment.
OptionsStringThe values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values.
PositionIntRelative position of the selling plan for display. A lower position will be displayed before a higher position.
InventoryPolicyReserveStringWhen to reserve inventory for the order.
FixedBillingPolicyCheckoutChargeTypeStringThe charge type for the checkout charge.
FixedBillingPolicyCheckoutChargeValueAmountDecimalThe charge value for the checkout charge. Decimal money amount.
FixedBillingPolicyCheckoutChargeValuePercentageDoubleThe charge value for the checkout charge. The percentage value of the price used for checkout charge.
FixedBillingPolicyRemainingBalanceChargeExactTimeDatetimeThe exact time when to capture the full payment.
FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckoutStringThe period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration.
FixedBillingPolicyRemainingBalanceChargeTriggerStringWhen to capture payment for amount due.
RecurringBillingPolicyAnchorsStringSpecific anchor dates upon which the billing interval calculations should be made. Aggregate value.
RecurringBillingPolicyIntervalStringThe billing frequency, it can be either: day, week, month or year.
RecurringBillingPolicyIntervalCountIntThe number of intervals between billings.
RecurringBillingPolicyMaxCyclesIntMaximum number of billing iterations.
RecurringBillingPolicyMinCyclesIntMinimum number of billing iterations.
FixedDeliveryPolicyAnchorsStringThe specific anchor dates upon which the delivery interval calculations should be made. Aggregate value.
FixedDeliveryPolicyCutoffIntA buffer period for orders to be included in next fulfillment anchor.
FixedDeliveryPolicyFulfillmentExactTimeDatetimeThe date and time when the fulfillment should trigger.
FixedDeliveryPolicyFulfillmentTriggerStringWhat triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.
FixedDeliveryPolicyIntentStringWhether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
FixedDeliveryPolicyPreAnchorBehaviorStringThe fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
RecurringDeliveryPolicyAnchorsStringThe specific anchor dates upon which the delivery interval calculations should be made. Aggregate value.
RecurringDeliveryPolicyCutoffIntNumber of days which represent a buffer period for orders to be included in a cycle.
RecurringDeliveryPolicyIntentStringWhether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
RecurringDeliveryPolicyIntervalStringThe delivery frequency, it can be either: day, week, month or year.
RecurringDeliveryPolicyIntervalCountIntThe number of intervals between deliveries.
RecurringDeliveryPolicyPreAnchorBehaviorStringThe fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
FixedPricingPoliciesStringRepresents fixed selling plan pricing policies associated to the selling plan. Aggregate value.
RecurringPricingPoliciesStringRepresents recurring selling plan pricing policies associated to the selling plan. Aggregate value.
Metafields (references Metafields)StringAttaches additional metadata to a store's resources.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the selling plan group.

AppId String False

The Id of the app that created the selling plan group, exposed in Liquid and product JSON.

Name String False

The buyer-facing label of the selling plan group (for example, 'Monthly Subscription').

Description String False

The merchant-facing description of the selling plan group.

Options String False

The option values available in the selling plan group.

Position Int False

The display order of the selling plan group relative to others.

Summary String True

A summary of the policies associated with the selling plan group.

MerchantCode String False

The merchant-facing label or code for the selling plan group.

ProductsCount Int True

The number of products linked to the selling plan group.

ProductsCountPrecision String True

The precision of the product count, or how exact the value is.

CreatedAt Datetime True

The date and time when the selling plan group was created.

SellingPlansToCreate String False

A list of selling plans to create in the selling plan group.

SellingPlansToUpdate String False

A list of selling plans to update in the selling plan group.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
SellingPlansToDelete String

A list of selling plans to delete, provided as a comma-separated string.

ProductIds String

A comma-separated list of product Ids to add to the selling plan group.

ProductVariantIds String

A comma-separated list of product variant Ids to add to the selling plan group.

CData Python Connector for Shopify

StorefrontAccessTokens

Lists storefront access tokens for private applications, scoped per application.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM StorefrontAccessTokens

Insert

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

Title

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 for the storefront access token.

ShopId String True

Shop.Id

A globally unique Id for the associated shop.

Title String True

A developer-assigned title for the token, used for reference purposes.

AccessToken String True

The issued public access token for the storefront.

CreatedAt Datetime True

The date and time when the storefront access token was created.

UpdatedAt Datetime True

The date and time when the storefront access token was last updated.

CData Python Connector for Shopify

ThemeFiles

Represents files in an online store theme.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Filename supports the '=, IN' comparison operators.
  • ThemeId supports the '=, IN' comparison operators.

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

  SELECT * FROM ThemeFiles WHERE Filename = 'Val1'
  SELECT * FROM ThemeFiles WHERE ThemeId = 'Val1'

Delete

You can delete entries by specifying the following columns:

Filename, ThemeId

Columns

Name Type ReadOnly References Description
Filename [KEY] String True

The unique filename identifier of the theme file.

ThemeId [KEY] String True

The ID of the theme this file belongs to.

ContentType String True

The content type of the theme file.

Size Long True

The size of the theme file in bytes.

ChecksumMd5 String True

The MD5 checksum of the theme file for data integrity.

CreatedAt Datetime True

The date and time when the theme file was created.

UpdatedAt Datetime True

The date and time when the theme file was last updated.

BodyContent String True

The body of the theme file.

BodyContentBase64 String True

The body of the theme file, base64 encoded.

BodyUrl String True

The short lived url for the body of the theme file.

CData Python Connector for Shopify

Themes

Lists the shop's themes with role and preview data.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Name supports the '=, IN' comparison operators.
  • Role supports the '=, IN' comparison operators.

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

  SELECT * FROM Themes WHERE Id = 'Val1'
  SELECT * FROM Themes WHERE Name = 'Val1'
  SELECT * FROM Themes WHERE Role = 'Val1'

Insert

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

Name, Role

The following pseudo-column can be used to create a new record:

Source

Update

The following column can be updated:

Name

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the theme.

ThemeStoreId Int True

The Id of the theme in the Shopify Theme Store.

Name String False

The name of the theme, set by the merchant.

Prefix String True

The prefix assigned to the theme.

Processing Bool True

Indicates whether the theme is currently processing.

ProcessingFailed Bool True

Indicates whether the theme processing failed.

Role String True

The role of the theme (for example, main, unpublished, or demo).

UpdatedAt Datetime True

The date and time when the theme was last updated.

CreatedAt Datetime True

The date and time when the theme was created.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Source String

An external URL or staged upload URL for importing the theme.

CData Python Connector for Shopify

UrlRedirects

Lists URL redirects configured for the shop to preserve search engine optimization (SEO) and navigation.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Path supports the '=, !=' comparison operators.
  • Target supports the '=, !=' comparison operators.

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

  SELECT * FROM UrlRedirects WHERE Id = 'Val1'
  SELECT * FROM UrlRedirects WHERE Path = 'Val1'
  SELECT * FROM UrlRedirects WHERE Target = 'Val1'

Insert

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

Path, Target

Update

The following columns can be updated:

Path, Target

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the URL redirect.

Path String False

The original path to redirect from. When a customer visits this path, they are redirected to the target location.

Target String False

The target location where the customer is redirected.

CData Python Connector for Shopify

Views

Views are similar to tables in the way that data is represented; however, views are read-only.

Queries can be executed against a view as if it were a normal table.

CData Python Connector for Shopify Views

Name Description
AbandonedCheckoutCustomAttributes Retrieves custom attributes captured on an abandoned checkout, such as personalization fields or internal flags.
AbandonedCheckoutLineItems Lists the products, variants, and quantities that were in the cart when the checkout was abandoned.
AbandonedCheckouts Returns abandoned checkout sessions with customer, cart, and timing details for recovery.
AbandonedCheckoutTaxLines Shows the tax lines calculated for an abandoned checkout by jurisdiction and rate.
Abandonment Summarizes visit-level abandonment metrics and context for unfinished checkouts.
AbandonmentProductsAddedToCart Lists products customers added to cart during sessions that ended in abandonment.
AbandonmentProductsViewed Returns products viewed during sessions that later resulted in an abandoned checkout.
AppCredits Lists credits that merchants can apply toward future app charges.
AppPurchases Returns a list of one-time purchases made by the current app installation.
ArticleCommentEvents Retrieves events tied to article comments, such as creation, approval, or deletion.
ArticleEvents Returns event history for articles, including publication, updates, and deletions.
AssignedFulfillmentOrders Retrieves fulfillment orders assigned to app-managed locations (requires read_assigned_fulfillment_orders). CLOSED orders are excluded by default.
BlogEvents Retrieves activity events related to blogs, such as creation or deletion.
BusinessEntities Lists business entities associated with the shop for organizational context.
CollectionRules Returns a list of collection rules.
CompanyContactRoles Lists available roles that can be assigned to company contacts.
CompanyEvents Retrieves event history associated with company records.
CustomerEvents Retrieves event history for customer records (creation, updates, tags).
CustomerSegmentMembers Lists members (for example, customers) associated with a specific customer segment.
CustomerSegmentMembersQueries Returns the status of a customer segment members query.
CustomerStoreCreditAccounts Lists customers' store credit accounts with balances and status.
DeliveryProfileLocationGroupCountries Lists countries already selected in any zone for the specified location group.
DeliveryProfileLocationGroupCountryProvinces Lists regions/provinces associated with the specified country in a location group.
DeliveryProfileLocationGroups Lists location groups configured under a delivery profile.
DeliveryProfileLocationGroupZones Lists shipping zones associated with the specified location group.
DeliveryProfileUnassignedLocations Lists locations not yet assigned to any location group for this profile.
DiscountAppCodes Returns a list of discount redeem codes.
DiscountBasicCodes Returns a list of discount redeem codes.
DiscountBxgyCodes Returns a list of discount redeem codes.
DiscountEvents Retrieves event history for discounts, including publishing and edits.
DiscountFreeShippingCodes Returns a list of discount redeem codes.
DiscountRedeemCodeBulkCreations An entity that represents the status and counts of an asynchronous bulk code creation associated with a code discount.
Disputes Lists chargeback and dispute cases related to the shop.
DraftOrderCustomAttributes Lists custom attributes attached to draft orders for internal or personalization data.
DraftOrderEvents Retrieves event history for draft orders, such as creation or completion.
DraftOrderLineItemCustomAttributes Lists custom attributes attached to draft order line items.
DraftOrderLineItems Lists the line items included in a draft order with quantities and prices.
DraftOrderLineItemTaxLines Shows tax lines applied to individual draft order items.
DraftOrderTaxLines Shows tax lines applied at the draft order level.
Events Lists shop-wide events for auditing and troubleshooting.
FulfillmentLineItems Lists order line items included in fulfillments for picking and packing.
FulfillmentLineItemTaxLines Shows tax lines on fulfillment line items where applicable.
FulfillmentOrderLineItems Lists the line items grouped under a fulfillment order.
FulfillmentOrderLocationForMoveAvailableLineItems Lists fulfillment order line items available to move to a new location.
FulfillmentOrderLocationForMoveUnavailableLineItems Lists fulfillment order line items that cannot be moved to a new location.
FulfillmentOrderLocationsForMove Lists candidate locations to which a fulfillment order can be moved.
InventoryAdjustmentGroupChanges Lists sets of quantity changes that occurred within inventory events.
InventoryAdjustmentGroups Lists groups of adjustments applied during inventory operations.
InventoryItemCountryHarmonizedSystemCodes Lists country-specific Harmonized System (HS) codes assigned to inventory items.
InventoryItemInventoryLevelQuantities Lists on-hand, committed, and available quantities by location for an inventory item.
InventoryItemInventoryLevelScheduledChanges Lists scheduled future changes to inventory levels.
Jobs Returns job status by Id for asynchronous operations and internal tasks.
LocalizationCountries Lists countries with localized storefront experiences enabled.
MarketingEvents Lists marketing events associated with the marketing application and their metrics.
MetafieldDefinitionConstraintValues Lists constraint subtype values supported by a metafield definition.
MetafieldDefinitionStandardTemplates Lists standard metafield templates that provide ready-made definition presets.
MetafieldDefinitionTypes Lists core metafield types and validations available for definitions.
MetaobjectDefinitions Lists definitions for metaobjects, which are structured, reusable content modeled via metafields.
MetaObjects Lists all metaobjects created for the shop.
OrderAdditionalFees Lists additional fees applied to an order (for example, handling, or service).
OrderAgreementAdditionalFeeSales Lists sales attributed to agreement-based additional fees.
OrderAgreementAdjustmentSales Lists sales attributed to agreement-based adjustments.
OrderAgreementDutySales Lists sales attributed to agreement-based duties.
OrderAgreementGiftCardSales Lists sales attributed to agreement-based gift card usage.
OrderAgreementProductSales Lists sales attributed to agreement-based product charges.
OrderAgreements Lists sales agreements associated with orders.
OrderAgreementShippingLineSales Lists sales attributed to agreement-based shipping lines.
OrderAgreementTipSales Lists sales attributed to agreement-based tips.
OrderAgreementUnknownSales Lists agreement-based sales that fall into an unknown category.
OrderCustomAttributes Lists custom attributes attached to orders for internal or personalization data.
OrderDiscountApplications Lists discount applications that affected an order, excluding edits and refunds.
OrderEditAgreementAdditionalFeeSales Lists agreement-based additional fee sales within order edits.
OrderEditAgreementAdjustmentSales Lists agreement-based adjustment sales within order edits.
OrderEditAgreementDutySales Lists agreement-based duty sales within order edits.
OrderEditAgreementGiftCardSales Lists agreement-based gift card sales within order edits.
OrderEditAgreementProductSales Lists agreement-based product sales within order edits.
OrderEditAgreements Lists sales agreements that apply to order edits.
OrderEditAgreementShippingLineSales Lists agreement-based shipping line sales within order edits.
OrderEditAgreementTipSales Lists agreement-based tip sales within order edits.
OrderEditAgreementUnknownSales Lists uncategorized agreement-based sales within order edits.
OrderEvents Retrieves event history for orders (creation, updates, fulfillment changes).
OrderLineItemCustomAttributes Lists custom attributes attached to order line items.
OrderLineItemDiscountAllocations Shows discount allocations applied to a line item, excluding edits and refunds.
OrderLineItemDuties Lists duties allocated to order line items.
OrderLineItems Lists line items on orders, including variants, quantities, and pricing.
OrderLineItemTaxLines Shows tax lines calculated for an order line item.
OrderNonFulfillableLineItemDuties Lists duties on line items that cannot be fulfilled.
OrderNonFulfillableLineItems Lists order line items that are not fulfillable and related context.
OrderRefundAgreementAdditionalFeeSales Lists refund sales associated with agreement-based additional fees.
OrderRefundAgreementAdjustmentSales Lists refund sales associated with agreement-based adjustments.
OrderRefundAgreementDutySales Lists refund sales associated with agreement-based duties.
OrderRefundAgreementGiftCardSales Lists refund sales associated with agreement-based gift card usage.
OrderRefundAgreementProductSales Lists refund sales associated with agreement-based product charges.
OrderRefundAgreements Lists sales agreements tied to refunds.
OrderRefundAgreementShippingLineSales Lists refund sales associated with agreement-based shipping lines.
OrderRefundAgreementTipSales Lists refund sales associated with agreement-based tips.
OrderRefundAgreementUnknownSales Lists uncategorized agreement-based refund sales.
OrderShippingLineDiscountAllocations Retrieves the discounts that have been allocated onto the shipping lines of an order by discount applications.
OrderShippingLines Lists shipping lines attached to orders, including rates and titles.
OrderTaxLines Shows taxes calculated for an order at the order level.
PageEvents Retrieves event history for pages (creation, publishing, edits).
PriceListPrices Lists prices attached to a specific price list by currency and adjustment rules.
ProductBundleComponentOptionSelections Lists mappings between component options and selected parent bundle options.
ProductBundleComponents Lists component products that make up a bundle and their constraints.
ProductEvents Retrieves event history for products (creation, publication, updates).
ProductOperations Inspects details of asynchronous operations performed on products.
ProductVariantEvents Retrieves event history for product variants.
PublicationCollections Lists collections published to a specific publication (channel).
PublicationProducts Lists products published to a specific publication (channel).
RefundDuties Lists duties refunded as part of a refund.
RefundLineItemDuties Lists duties attached to refunded line items.
RefundLineItems Lists refund line item records that specify quantities and amounts refunded.
RefundOrderAdjustments Lists order-level adjustments included on a refund.
RefundShippingLines Lists shipping lines included in a refund.
RefundTransactionFees Lists transaction fees applied to the original order transaction (Shopify Payments only).
RefundTransactions Lists payment transactions generated as part of a refund.
ReturnExchangeLineItems Lists line items created for exchanges within a return.
ReturnLineItems Lists return line items attached to the return.
ReturnLineItemsUnverified Lists unverified return line items pending inspection or validation.
ReverseFulfillmentOrderDeliveries Lists reverse deliveries where buyers send packages back to the merchant.
ReverseFulfillmentOrderDeliveryLineItems Lists line items included in reverse deliveries.
ReverseFulfillmentOrderLineItems Lists line items managed under reverse fulfillment orders.
ReverseFulfillmentOrders Lists items within returns to be processed by a fulfillment service.
SegmentFilterParameters Lists available parameters used to construct event-based segment filters.
SegmentFilters Lists reusable segment filters available for building segments.
SellingPlanGroupSellingPlans Lists selling plans associated with a selling plan group.
Shop Returns the shop resource for the current token, including business and management settings.
ShopifyPaymentsAccount Returns Shopify Payments account details, including balances, disputes, and payouts.
ShopifyPaymentsAccountBalance Returns current balances across all currencies for the account.
ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders Lists adjustment orders linked to a specific balance transaction.
ShopifyPaymentsAccountBalanceTransactions Lists balance transactions associated with the account's balances.
ShopifyPaymentsAccountBankAccounts Lists bank accounts configured for the Shopify Payments account.
ShopifyPaymentsAccountDisputes Lists disputes associated with the Shopify Payments account.
ShopifyPaymentsAccountPayouts Lists past and current payouts between the account and the bank (available only in supported countries).
StaffMembers Lists staff members for the shop with pagination (Shopify Plus only).
StoreCreditAccountCreditTransactions Lists transactions that credit (increase) a store credit account.
StoreCreditAccountDebitRevertTransactions Lists debit-revert transactions created when a debit is reversed on a store credit account.
StoreCreditAccountDebitTransactions Lists transactions that debit (decrease) a store credit account.
StoreCreditAccountExpirationTransactions Lists expiration transactions created when credit expires on a store credit account.
TenderTransactions Lists tender (payment method) transactions recorded by the shop.

CData Python Connector for Shopify

AbandonedCheckoutCustomAttributes

Retrieves custom attributes captured on an abandoned checkout, such as personalization fields or internal flags.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AbandonedCheckoutCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

AbandonedCheckouts.Id

The globally unique identifier of the abandoned checkout resource this attribute is linked to.
Key [KEY] String The name or key that identifies the custom attribute.
Value String The stored value assigned to the custom attribute.

CData Python Connector for Shopify

AbandonedCheckoutLineItems

Lists the products, variants, and quantities that were in the cart when the checkout was abandoned.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AbandonedCheckoutLineItems WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the abandoned checkout line item.
ResourceId String

Abandonment.AbandonedCheckoutPayloadId

The globally unique identifier of the abandoned checkout that this line item belongs to.
Title String The display title of the product or service in this line item. Defaults to the product's title at the time of checkout.
ProductId String The globally unique identifier of the product linked to this line item.
VariantId String The globally unique identifier of the product variant chosen in the line item.
VariantTitle String The title of the selected variant at the time the checkout was created.
Quantity Int The total number of variant units included in the line item.
Sku String The SKU (stock keeping unit) code associated with the product variant.
ImageId String The unique identifier of the image connected to this line item.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text that describes the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL that points to the product image.
DiscountedTotalPriceSetPresentmentMoneyAmount Decimal The final total cost for the full quantity of this line item after discounts, expressed as a decimal money amount in the presentment currency.
DiscountedTotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the final discounted total price of the line item.
DiscountedTotalPriceSetShopMoneyAmount Decimal The final total cost for the full quantity of this line item after discounts, expressed as a decimal money amount in the shop's base currency.
DiscountedTotalPriceSetShopMoneyCurrencyCode String The shop currency code for the final discounted total price of the line item.
DiscountedTotalPriceWithCodeDiscountPresentmentMoneyAmount Decimal The final total cost for the full quantity of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the presentment currency.
DiscountedTotalPriceWithCodeDiscountPresentmentMoneyCurrencyCode String The presentment currency code for the final total price of the line item after all discounts, including code-based discounts.
DiscountedTotalPriceWithCodeDiscountShopMoneyAmount Decimal The final total cost for the full quantity of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the shop's base currency.
DiscountedTotalPriceWithCodeDiscountShopMoneyCurrencyCode String The shop currency code for the final total price of the line item after all discounts, including code-based discounts.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted price of a single unit in this line item, expressed as a decimal money amount in the presentment currency.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the discounted unit price of the line item.
DiscountedUnitPriceSetShopMoneyAmount Decimal The discounted price of a single unit in this line item, expressed as a decimal money amount in the shop's base currency.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The shop currency code for the discounted unit price of the line item.
DiscountedUnitPriceWithCodeDiscountPresentmentMoneyAmount Decimal The unit price of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the presentment currency.
DiscountedUnitPriceWithCodeDiscountPresentmentMoneyCurrencyCode String The presentment currency code for the unit price of this line item after all discounts, including code-based discounts.
DiscountedUnitPriceWithCodeDiscountShopMoneyAmount Decimal The unit price of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the shop's base currency.
DiscountedUnitPriceWithCodeDiscountShopMoneyCurrencyCode String The shop currency code for the unit price of this line item after all discounts, including code-based discounts.
OriginalTotalPriceSetPresentmentMoneyAmount Decimal The original total cost for the full quantity of this line item before discounts, expressed as a decimal money amount in the presentment currency.
OriginalTotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the original total price of the line item before discounts.
OriginalTotalPriceSetShopMoneyAmount Decimal The original total cost for the full quantity of this line item before discounts, expressed as a decimal money amount in the shop's base currency.
OriginalTotalPriceSetShopMoneyCurrencyCode String The shop currency code for the original total price of the line item before discounts.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price of this line item before discounts, expressed as a decimal money amount in the presentment currency.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the original unit price of the line item before discounts.
OriginalUnitPriceSetShopMoneyAmount Decimal The original unit price of this line item before discounts, expressed as a decimal money amount in the shop's base currency.
OriginalUnitPriceSetShopMoneyCurrencyCode String The shop currency code for the original unit price of the line item before discounts.

CData Python Connector for Shopify

AbandonedCheckouts

Returns abandoned checkout sessions with customer, cart, and timing details for recovery.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • EmailState supports the '=, !=' comparison operators.
  • RecoveryState supports the '=, !=' comparison operators.

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

  SELECT * FROM AbandonedCheckouts WHERE Id = 'Val1'
  SELECT * FROM AbandonedCheckouts WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM AbandonedCheckouts WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM AbandonedCheckouts WHERE Status = 'open'
  SELECT * FROM AbandonedCheckouts WHERE EmailState = 'sent'
  SELECT * FROM AbandonedCheckouts WHERE RecoveryState = 'open'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the abandoned checkout.
Name String A merchant-facing identifier that uniquely identifies this checkout in Shopify.
AbandonedCheckoutUrl String The URL that allows the buyer to return and complete their abandoned checkout.
CustomerId String The globally unique identifier of the customer associated with this abandoned checkout.
DiscountCodes String One or more discount codes entered by the buyer during checkout.
Note String A private note recorded by the merchant for this checkout, not visible to the buyer.
TaxesIncluded Bool Indicates whether line item and shipping prices already include taxes.
UpdatedAt Datetime The date and time when the abandoned checkout was last updated.
CreatedAt Datetime The date and time when the abandoned checkout was created.
CompletedAt Datetime The date and time when the buyer successfully completed the checkout. Returns null if the checkout remains incomplete.
BillingAddressCoordinatesValidated Bool Indicates whether the billing address corresponds to recognized latitude and longitude values.
BillingAddressId String The globally unique identifier of the billing address associated with this checkout.
BillingAddressValidationResultSummary String The result of address validation for the billing address, as reported in the Shopify Admin.
BillingAddressFirstName String The first name of the customer listed on the billing address.
BillingAddressLastName String The last name of the customer listed on the billing address.
BillingAddressName String The full name of the customer on the billing address, based on first and last name.
BillingAddressAddress1 String The first line of the billing address, usually a street address or PO Box.
BillingAddressAddress2 String The second line of the billing address, usually an apartment, suite, or unit number.
BillingAddressCity String The city, town, district, or village of the billing address.
BillingAddressCompany String The company or organization name provided in the billing address.
BillingAddressCountry String The full country name of the billing address.
BillingAddressCountryCode String The two-letter country code of the billing address, such as US.
BillingAddressFormattedArea String A comma-separated list combining the city, province, and country for the billing address.
BillingAddressLatitude Double The latitude coordinate of the billing address.
BillingAddressLongitude Double The longitude coordinate of the billing address.
BillingAddressPhone String The phone number listed with the billing address.
BillingAddressProvince String The province, state, or district of the billing address.
BillingAddressProvinceCode String The region code for the billing address, such as 'ON', for Ontario.
BillingAddressZip String The postal or ZIP code of the billing address.
BillingAddressTimeZone String The time zone associated with the billing address.
ShippingAddressCoordinatesValidated Bool Indicates whether the shipping address corresponds to recognized latitude and longitude values.
ShippingAddressId String The globally unique identifier of the shipping address associated with this checkout.
ShippingAddressValidationResultSummary String The result of address validation for the shipping address, as reported in the Shopify Admin.
ShippingAddressFirstName String The first name of the customer listed on the shipping address.
ShippingAddressLastName String The last name of the customer listed on the shipping address.
ShippingAddressName String The full name of the customer on the shipping address, based on first and last name.
ShippingAddressAddress1 String The first line of the shipping address, usually a street address or PO Box.
ShippingAddressAddress2 String The second line of the shipping address, usually an apartment, suite, or unit number.
ShippingAddressCity String The city, town, district, or village of the shipping address.
ShippingAddressCompany String The company or organization name provided in the shipping address.
ShippingAddressCountry String The full country name of the shipping address.
ShippingAddressCountryCode String The two-letter country code of the shipping address, such as US.
ShippingAddressFormattedArea String A comma-separated list combining the city, province, and country for the shipping address.
ShippingAddressLatitude Double The latitude coordinate of the shipping address.
ShippingAddressLongitude Double The longitude coordinate of the shipping address.
ShippingAddressPhone String The phone number listed with the shipping address.
ShippingAddressProvince String The province, state, or district of the shipping address.
ShippingAddressProvinceCode String The region code for the shipping address, such as 'ON' for Ontario.
ShippingAddressZip String The postal or ZIP code of the shipping address.
ShippingAddressTimeZone String The time zone associated with the shipping address.
SubtotalPriceSetPresentmentMoneyAmount Decimal The subtotal price of all line items before discounts, expressed as a decimal money amount in the presentment currency.
SubtotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the subtotal price of the line items before discounts.
SubtotalPriceSetShopMoneyAmount Decimal The subtotal price of all line items before discounts, expressed as a decimal money amount in the shop's base currency.
SubtotalPriceSetShopMoneyCurrencyCode String The shop currency code for the subtotal price of the line items before discounts.
TotalDiscountSetPresentmentMoneyAmount Decimal The total value of all discounts applied, expressed as a decimal money amount in the presentment currency.
TotalDiscountSetPresentmentMoneyCurrencyCode String The presentment currency code for the total discount value.
TotalDiscountSetShopMoneyAmount Decimal The total value of all discounts applied, expressed as a decimal money amount in the shop's base currency.
TotalDiscountSetShopMoneyCurrencyCode String The shop currency code for the total discount value.
TotalDutiesSetPresentmentMoneyAmount Decimal The total duties charged for this checkout, expressed as a decimal money amount in the presentment currency.
TotalDutiesSetPresentmentMoneyCurrencyCode String The presentment currency code for the duties total.
TotalDutiesSetShopMoneyAmount Decimal The total duties charged for this checkout, expressed as a decimal money amount in the shop's base currency.
TotalDutiesSetShopMoneyCurrencyCode String The shop currency code for the duties total.
TotalLineItemsPriceSetPresentmentMoneyAmount Decimal The combined price of all line items before taxes and duties, expressed as a decimal money amount in the presentment currency.
TotalLineItemsPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the combined line item price before taxes and duties.
TotalLineItemsPriceSetShopMoneyAmount Decimal The combined price of all line items before taxes and duties, expressed as a decimal money amount in the shop's base currency.
TotalLineItemsPriceSetShopMoneyCurrencyCode String The shop currency code for the combined line item price before taxes and duties.
TotalPriceSetPresentmentMoneyAmount Decimal The final checkout total including line items, shipping, taxes, and duties, expressed as a decimal money amount in the presentment currency.
TotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the final checkout total.
TotalPriceSetShopMoneyAmount Decimal The final checkout total including line items, shipping, taxes, and duties, expressed as a decimal money amount in the shop's base currency.
TotalPriceSetShopMoneyCurrencyCode String The shop currency code for the final checkout total.
TotalTaxSetPresentmentMoneyAmount Decimal The total taxes applied to the checkout, expressed as a decimal money amount in the presentment currency.
TotalTaxSetPresentmentMoneyCurrencyCode String The presentment currency code for the total taxes applied.
TotalTaxSetShopMoneyAmount Decimal The total taxes applied to the checkout, expressed as a decimal money amount in the shop's base currency.
TotalTaxSetShopMoneyCurrencyCode String The shop currency code for the total taxes applied.
Status String The current status of the abandoned checkout, such as open or completed.

The allowed values are open, closed.

EmailState String The status of recovery emails sent for this abandoned checkout.

The allowed values are sent, not_sent, scheduled, suppressed.

RecoveryState String The current recovery state of the abandoned checkout, such as recovered or unrecovered.

The allowed values are open, closed.

CData Python Connector for Shopify

AbandonedCheckoutTaxLines

Shows the tax lines calculated for an abandoned checkout by jurisdiction and rate.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AbandonedCheckoutTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name or label of the applied tax, such as Sales Tax or value-added tax (VAT).
ResourceId [KEY] String

AbandonedCheckouts.Id

The globally unique identifier of the abandoned checkout that this tax line belongs to.
Source String The system or integration that applied the tax, such as Shopify or a third-party app.
Rate Double The tax rate expressed as a decimal fraction of the line item price.
ChannelLiable Bool Indicates whether the sales channel that submitted the checkout is responsible for remitting this tax. Returns null if liability is unknown.
RatePercentage Double The tax rate expressed as a percentage of the line item price.
PriceSetPresentmentMoneyAmount Decimal The tax amount applied, expressed as a decimal money value in the presentment currency.
PriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the tax amount.
PriceSetShopMoneyAmount Decimal The tax amount applied, expressed as a decimal money value in the shop's base currency.
PriceSetShopMoneyCurrencyCode String The shop currency code for the tax amount.

CData Python Connector for Shopify

Abandonment

Summarizes visit-level abandonment metrics and context for unfinished checkouts.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • AbandonedCheckoutPayloadId supports the '=, IN' comparison operators.

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

  SELECT * FROM Abandonment WHERE Id = 'Val1'
  SELECT * FROM Abandonment WHERE AbandonedCheckoutPayloadId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the abandonment event.
AppId String The globally unique identifier of the app that recorded or triggered this abandonment.
CustomerId String The globally unique identifier of the customer associated with this abandonment.
AbandonmentType String The type of abandonment event, such as browse, cart, or checkout.
EmailState String The current status of abandonment recovery emails, such as sent or not sent.
InventoryAvailable Bool Indicates whether the products linked to the abandonment are still in stock.
EmailSentAt Datetime The date and time when the abandonment recovery email was sent, if applicable.
MostRecentStep String The most recent customer action or step type recorded before the abandonment.
VisitStartedAt Datetime The date and time when the customer's visit that led to abandonment began.
IsFromOnlineStore Bool Indicates whether the abandonment originated from the Online Store sales channel.
IsFromShopApp Bool Indicates whether the abandonment originated from the Shop app sales channel.
IsFromShopPay Bool Indicates whether the abandonment originated from the Shop Pay channel.
IsMostSignificantAbandonment Bool Indicates whether this abandonment is the customer's most significant one, meaning no more critical step has been abandoned since.
LastBrowseAbandonmentDate Datetime The date and time of the customer's most recent browse abandonment.
LastCartAbandonmentDate Datetime The date and time of the customer's most recent cart abandonment.
LastCheckoutAbandonmentDate Datetime The date and time of the customer's most recent checkout abandonment.
DaysSinceLastAbandonmentEmail Int The number of days since the customer last received an abandonment recovery email.
HoursSinceLastAbandonedCheckout Double The number of hours since the customer last abandoned a checkout.
CustomerHasNoOrderSinceAbandonment Bool Indicates whether the customer has placed an order since this checkout was abandoned.
CreatedAt Datetime The date and time when the abandonment record was created.
IsFromCustomStorefront Bool Indicates whether the abandonment originated from a custom storefront sales channel.
AbandonedCheckoutPayloadId String The globally unique identifier of the abandoned checkout payload linked to this abandonment.
AbandonedCheckoutPayloadDefaultCursor String A default cursor that returns the next abandoned-checkout payload record in ascending order by Id.
AbandonedCheckoutPayloadAbandonedCheckoutUrl String The recovery URL the buyer can use to return to their abandoned checkout.

CData Python Connector for Shopify

AbandonmentProductsAddedToCart

Lists products customers added to cart during sessions that ended in abandonment.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • AbandonmentId supports the '=, IN' comparison operators.
  • AbandonedCheckoutPayloadId supports the '=, IN' comparison operators.

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

  SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonmentId = 'Val1'
  SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonedCheckoutPayloadId = 'Val1'

Columns

Name Type References Description
AbandonmentId String The globally unique identifier of the abandonment event this cart addition is associated with.
AbandonedCheckoutPayloadId [KEY] String The globally unique identifier of the abandoned checkout payload connected to this cart addition.
ProductId [KEY] String The globally unique identifier of the product that was added to the cart.
VariantId [KEY] String The globally unique identifier of the specific product variant added to the cart.
Quantity Int The number of units of the product variant that the customer added to the cart.

CData Python Connector for Shopify

AbandonmentProductsViewed

Returns products viewed during sessions that later resulted in an abandoned checkout.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • AbandonmentId supports the '=, IN' comparison operators.
  • AbandonedCheckoutPayloadId supports the '=, IN' comparison operators.

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

  SELECT * FROM AbandonmentProductsViewed WHERE AbandonmentId = 'Val1'
  SELECT * FROM AbandonmentProductsViewed WHERE AbandonedCheckoutPayloadId = 'Val1'

Columns

Name Type References Description
AbandonmentId String

Abandonment.Id

The globally unique identifier of the abandonment event in which the product was viewed.
AbandonedCheckoutPayloadId [KEY] String The globally unique identifier of the abandoned checkout payload linked to this product view.
ProductId [KEY] String The globally unique identifier of the product that the customer viewed.
VariantId [KEY] String The globally unique identifier of the specific product variant that the customer viewed.
Quantity Int The number of product units displayed to the customer during the view event, typically representing the default or available quantity rather than a requested amount.

CData Python Connector for Shopify

AppCredits

Lists credits that merchants can apply toward future app charges.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppInstallationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppCredits WHERE AppInstallationId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the app credit record.
AppInstallationId String The globally unique identifier of the app installation that issued the credit.
Description String A merchant-facing description explaining the reason or purpose of the app credit.
Test Bool Indicates whether the app credit is a test transaction rather than a live credit.
CreatedAt Datetime The date and time when the app credit was issued.
Amount Decimal The value of the app credit, expressed as a decimal money amount.
AmountCurrencyCode String The currency code for the app credit amount.

CData Python Connector for Shopify

AppPurchases

Returns a list of one-time purchases made by the current app installation.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppInstallationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppPurchases WHERE AppInstallationId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
AppInstallationId String A globally-unique ID.
Name String The name of the app purchase.
Status String The status of the app purchase.
Test Bool Whether the app purchase is a test transaction.
CreatedAt Datetime The date and time when the app purchase occurred.
PriceAmount Decimal Decimal money amount charged to the store for the app purchase.
PriceCurrencyCode String Currency of the app purchase price.

CData Python Connector for Shopify

ArticleCommentEvents

Retrieves events tied to article comments, such as creation, approval, or deletion.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ArticleCommentEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the comment event.
HostId String

ArticleComments.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the comment event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the comment event was created.
CriticalAlert Bool Indicates whether the comment event is flagged as critical.
Action String The type of action recorded for this comment event.
Message String Human-readable text describing the comment event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as an order or product.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

ArticleEvents

Returns event history for articles, including publication, updates, and deletions.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ArticleEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the article event.
HostId String

Articles.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as an order or product.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

AssignedFulfillmentOrders

Retrieves fulfillment orders assigned to app-managed locations (requires read_assigned_fulfillment_orders). CLOSED orders are excluded by default.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • AssignedLocationLocationId supports the '=, IN' comparison operators.
  • AssignmentStatus supports the '=' comparison operator.

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

  SELECT * FROM AssignedFulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
  SELECT * FROM AssignedFulfillmentOrders WHERE AssignmentStatus = 'CANCELLATION_REQUESTED'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the assigned fulfillment order.
ShopId String

Shop.Id

The globally unique identifier of the shop associated with this fulfillment order.
OrderId String The globally unique identifier of the order linked to this fulfillment order.
Status String The current status of the fulfillment order, such as open, scheduled, or closed.
FulfillAt Datetime The date and time when the fulfillment order becomes fulfillable. Once this time is reached, scheduled orders automatically transition to open. For example, a subscription order might have a fulfill_at date set to the first of each month, while a pre-order might return null.
FulfillBy Datetime The deadline by which all items in the fulfillment order must be fulfilled.
RequestStatus String The current request status of the fulfillment order, such as accepted, pending, or failed.
CreatedAt Datetime The date and time when the fulfillment order was created.
UpdatedAt Datetime The date and time when the fulfillment order was last updated.
AssignedLocationName String The display name of the location assigned to fulfill this order.
AssignedLocationAddress1 String The first line of the assigned location's address.
AssignedLocationAddress2 String The second line of the assigned location's address, such as an apartment or suite number.
AssignedLocationCity String The city where the assigned location is based.
AssignedLocationPhone String The phone number of the assigned location.
AssignedLocationProvince String The province or state where the assigned location is based.
AssignedLocationZip String The postal or ZIP code of the assigned location.
AssignedLocationCountryCode String The two-letter country code for the assigned location.
AssignedLocationLocationId String The globally unique identifier of the assigned location.
AssignedLocationLocationLegacyResourceId String The legacy identifier for the assigned location in the REST Admin API.
AssignedLocationLocationName String The name of the assigned location resource.
AssignedLocationLocationActivatable Bool Indicates whether the location can be reactivated.
AssignedLocationLocationDeactivatable Bool Indicates whether the location can be deactivated.
AssignedLocationLocationDeletable Bool Indicates whether the location can be deleted.
AssignedLocationLocationAddressVerified Bool Indicates whether the address of the assigned location has been verified.
AssignedLocationLocationDeactivatedAt String The date and time when the assigned location was deactivated, in UTC. For example: '2019-09-07T15:50:00Z'.
AssignedLocationLocationIsActive Bool Indicates whether the assigned location is currently active.
AssignedLocationLocationShipsInventory Bool Indicates whether the location contributes to shipping rate calculations. This flag is ignored in multi-origin shipping mode.
AssignedLocationLocationFulfillsOnlineOrders Bool Indicates whether the assigned location can fulfill online orders.
AssignedLocationLocationHasActiveInventory Bool Indicates whether the assigned location has active inventory available.
AssignedLocationLocationHasUnfulfilledOrders Bool Indicates whether the assigned location currently has unfulfilled orders.
DeliveryMethodId String The globally unique identifier of the delivery method chosen for this order.
DeliveryMethodPresentedName String The name of the delivery option presented to the buyer at checkout.
DeliveryMethodMethodType String The type of delivery method used, such as standard or express.
DeliveryMethodMaxDeliveryDateTime Datetime The latest estimated date and time for delivery to the buyer's location.
DeliveryMethodMinDeliveryDateTime Datetime The earliest estimated date and time for delivery to the buyer's location.
DeliveryMethodServiceCode String The service code that identifies the shipping method.
DeliveryMethodSourceReference String Provider-specific reference data associated with the delivery promise.
DeliveryMethodBrandedPromiseName String The branded delivery promise name, such as 'Shop Promise'.
DeliveryMethodBrandedPromiseHandle String The branded delivery promise handle, such as 'shop_promise'.
DeliveryMethodAdditionalInformationPhone String A contact phone number for coordinating delivery.
DeliveryMethodAdditionalInformationInstructions String Special delivery instructions provided for the order.
DestinationId String The globally unique identifier of the destination record.
DestinationFirstName String The first name of the customer at the destination address.
DestinationLastName String The last name of the customer at the destination address.
DestinationAddress1 String The first line of the customer's destination address.
DestinationAddress2 String The second line of the customer's destination address, such as an apartment or suite number.
DestinationCity String The city of the customer's destination address.
DestinationCompany String The company name listed in the customer's destination address, if applicable.
DestinationEmail String The email address of the customer at the destination.
DestinationPhone String The phone number of the customer at the destination.
DestinationProvince String The province or state of the customer's destination address.
DestinationZip String The postal or ZIP code of the customer's destination address.
DestinationCountryCode String The two-letter country code of the customer's destination address.
DestinationLocationId String The globally unique identifier of the customer's destination location.
InternationalDutiesIncoterm String The incoterm that specifies how international duties are paid includes example values such as Delivered Duty Paid (DDP) and Delivered at Place (DAP).
AssignmentStatus String The assignment status of the fulfillment orders to return. If no assignmentStatus argument is provided, all assigned fulfillment orders are returned except those with CLOSED status.

The allowed values are CANCELLATION_REQUESTED, FULFILLMENT_ACCEPTED, FULFILLMENT_REQUESTED, FULFILLMENT_UNSUBMITTED.

CData Python Connector for Shopify

BlogEvents

Retrieves activity events related to blogs, such as creation or deletion.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM BlogEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the blog event.
HostId String

Blogs.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this blog event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as a blog or article.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

BusinessEntities

Lists business entities associated with the shop for organizational context.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM BusinessEntities WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the business entity.
CompanyName String The legal company name associated with the merchant's business entity.
DisplayName String The public-facing display name of the merchant's business entity.
Primary Bool Indicates whether this is the merchant's primary business entity.
Address1 String The first line of the business entity's address, typically a street address or PO Box.
Address2 String The second line of the business entity's address, typically an apartment, suite, or unit number.
AddressCountryCode String The two-letter country code of the business entity's address.
AddressProvince String The province, state, or district of the business entity's address.
AddressCity String The city, town, district, or village of the business entity's address.
AddressZip String The postal or ZIP code of the business entity's address.
ShopifyPaymentsAccountId String The globally unique identifier of the Shopify Payments account associated with the business entity.

CData Python Connector for Shopify

CollectionRules

Returns a list of collection rules.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CollectionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CollectionRules WHERE CollectionId = 'Val1'

Columns

Name Type References Description
CollectionId String

Collections.Id

A globally-unique ID.
Column String The attribute that the rule focuses on.

The allowed values are IS_PRICE_REDUCED, PRODUCT_CATEGORY_ID, PRODUCT_CATEGORY_ID_WITH_DESCENDANTS, PRODUCT_METAFIELD_DEFINITION, PRODUCT_TAXONOMY_NODE_ID, TAG, TITLE, TYPE, VARIANT_COMPARE_AT_PRICE, VARIANT_INVENTORY, VARIANT_METAFIELD_DEFINITION, VARIANT_PRICE, VARIANT_TITLE, VARIANT_WEIGHT, VENDOR.

Relation String The type of operator that the rule is based on.

The allowed values are CONTAINS, ENDS_WITH, EQUALS, GREATER_THAN, IS_NOT_SET, IS_SET, LESS_THAN, NOT_CONTAINS, NOT_EQUALS, STARTS_WITH.

Condition String The value that the operator is applied to.
ConditionObjectText String The text used as a rule for the condition.
ConditionObjectTaxonomyCategoryId String The taxonomy category used as a rule for the condition.
ConditionObjectProductTaxonomyId String The product category used as a rule for the condition.
ConditionObjectMetafieldDefinitionId String The metafield definition used as a rule for the condition.

CData Python Connector for Shopify

CompanyContactRoles

Lists available roles that can be assigned to company contacts.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CompanyId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CompanyContactRoles WHERE CompanyId = 'Val1'

Columns

Name Type References Description
CompanyId String The globally unique identifier of the company that the role belongs to.
Id [KEY] String The globally unique identifier of the company contact role.
Name String The name of the role, such as 'admin' or 'buyer'.
Note String A note associated with the role.

CData Python Connector for Shopify

CompanyEvents

Retrieves event history associated with company records.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CompanyEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the company event.
HostId String

Companies.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as a company or contact.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

CustomerEvents

Retrieves event history for customer records (creation, updates, tags).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CustomerEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the customer event.
HostId String

Customers.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this customer event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as a customer or order.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

CustomerSegmentMembers

Lists members (for example, customers) associated with a specific customer segment.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • SegmentId supports the '=' comparison operator.
  • QueryId supports the '=' comparison operator.

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

  SELECT * FROM CustomerSegmentMembers WHERE SegmentId = 'Val1'
  SELECT * FROM CustomerSegmentMembers WHERE QueryId = 'Val1'

Columns

Name Type References Description
SegmentId [KEY] String

Segments.Id

The identifier of the segment that this member belongs to.
Id [KEY] String The globally unique identifier of the segment member.
DisplayName String The display name of the member, derived from first and last name. If unavailable, falls back to the customer's email address, or if not available, the phone number.
FirstName String The first name of the segment member.
LastName String The last name of the segment member.
Note String A merchant-facing note about the segment member.
LastOrderId String The identifier of the member's most recent order.
NumberOfOrders String The total number of orders placed by the member.
AmountSpentAmount Decimal The total amount spent by the member, expressed as a decimal money value.
AmountSpentCurrencyCode String The currency code for the member's total spent amount.
DefaultAddressId String The globally unique identifier of the member's default address.
DefaultAddressCountry String The country of the member's default address.
DefaultAddressProvince String The province, state, or district of the member's default address.
DefaultAddressCity String The city, town, district, or village of the member's default address.
DefaultAddressFormattedArea String A comma-separated string combining the city, province, and country of the default address.
DefaultAddressCompany String The company or organization name listed on the member's default address.
DefaultAddressAddress1 String The first line of the member's default address, typically a street address or PO Box.
DefaultAddressAddress2 String The second line of the member's default address, typically an apartment, suite, or unit number.
DefaultAddressName String The full name associated with the member's default address, based on first and last name.
DefaultAddressFirstName String The first name on the member's default address.
DefaultAddressLastName String The last name on the member's default address.
DefaultAddressLatitude Double The latitude coordinate of the member's default address.
DefaultAddressLongitude Double The longitude coordinate of the member's default address.
DefaultAddressCoordinatesValidated Bool Indicates whether the coordinates of the default address are valid.
DefaultAddressValidationResultSummary String The validation status of the default address, as determined by the Shopify Admin address validation feature.
DefaultAddressPhone String The phone number associated with the default address, formatted using the E.164 standard (for example, +16135551111).
DefaultAddressZip String The postal or ZIP code of the member's default address.
DefaultAddressProvinceCode String The alphanumeric code for the province, state, or district of the default address, such as ON.
DefaultAddressCountryCode String The two-letter country code of the default address, such as US.
DefaultAddressTimeZone String The time zone of the member's default address.
DefaultEmailAddressEmailAddress String The default email address of the member.
DefaultEmailAddressMarketingState String The current email marketing subscription state of the member.
DefaultEmailAddressMarketingUnsubscribeUrl String The URL where the member can unsubscribe from all mailing lists.
DefaultEmailAddressOpenTrackingLevel String The member's opt-in level for tracking whether their emails are opened.
DefaultEmailAddressOpenTrackingUrl String The URL the member can use to opt in or out of email open tracking.
DefaultPhoneNumberMarketingState String The current SMS marketing subscription state of the member.
DefaultPhoneNumberPhoneNumber String The phone number of the member.
MergeableReason String The reason why the member cannot be merged with another customer record.
MergeableErrorFields String The list of fields preventing the member from being merged.
MergeableIsMergeable Bool Indicates whether the member can be merged with another customer record.
MergeableMergeInProgressJobId String The identifier of the merge job currently in progress.
MergeableMergeInProgressResultingCustomerId String The identifier of the resulting customer record after a merge.
MergeableMergeInProgressStatus String The current status of the member merge request.
QueryId String The ID of the query.

CData Python Connector for Shopify

CustomerSegmentMembersQueries

Returns the status of a customer segment members query.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM CustomerSegmentMembersQueries WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The ID of the CustomerSegmentMembersQuery to return.
Done Bool Whether the query has finished processing.
CurrentCount Int The current count of segment members matching the query.

CData Python Connector for Shopify

CustomerStoreCreditAccounts

Lists customers' store credit accounts with balances and status.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • CustomerId supports the '=, IN' comparison operators.

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

  SELECT * FROM CustomerStoreCreditAccounts WHERE Id = 'Val1'
  SELECT * FROM CustomerStoreCreditAccounts WHERE CustomerId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the customer store credit account.
CustomerId String The globally unique identifier of the customer associated with this store credit account.
BalanceAmount Decimal The current balance of the store credit account, expressed as a decimal money value.
BalanceCurrencyCode String The currency code of the store credit account balance.

CData Python Connector for Shopify

DeliveryProfileLocationGroupCountries

Lists countries already selected in any zone for the specified location group.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM DeliveryProfileLocationGroupCountries

Columns

Name Type References Description
CountryId [KEY] String The globally unique identifier of the country associated with the delivery profile location group.
LocationGroupId [KEY] String The globally unique identifier of the location group within the delivery profile.
DeliveryProfileId String The globally unique identifier of the delivery profile that this country belongs to.
Zone String The name of the shipping zone that includes this country.
CountryName String The full name of the country included in the delivery profile's location group (for example, 'Canada' or 'United States').
CountryTranslatedName String The translated name of the country, based on the system's locale.
CountryCodeCountryCode String The two-letter country code in ISO 3166-1 alpha-2 format.
CountryCodeRestOfWorld Bool Indicates whether the country is included in the 'Rest of World' shipping zone.

CData Python Connector for Shopify

DeliveryProfileLocationGroupCountryProvinces

Lists regions/provinces associated with the specified country in a location group.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM DeliveryProfileLocationGroupCountryProvinces

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the province record within the delivery profile location group.
CountryId String The globally unique identifier of the country associated with this province.
Code String The standardized code of the province, state, or region.
Name String The full name of the province, state, or region.
TranslatedName String The translated name of the province, state, or region, based on the system's locale.

CData Python Connector for Shopify

DeliveryProfileLocationGroups

Lists location groups configured under a delivery profile.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM DeliveryProfileLocationGroups

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the delivery profile location group.
DeliveryProfileId String The globally unique identifier of the delivery profile associated with this location group.
LocationsCount Int The number of locations included in this location group.
LocationsCountPrecision String The level of precision applied to the location count value.

CData Python Connector for Shopify

DeliveryProfileLocationGroupZones

Lists shipping zones associated with the specified location group.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • DeliveryProfileId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DeliveryProfileLocationGroupZones WHERE DeliveryProfileId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the delivery profile location group zone.
LocationGroupId [KEY] String The globally unique identifier of the location group associated with this zone.
DeliveryProfileId String

DeliveryProfiles.Id

The globally unique identifier of the delivery profile associated with this zone.
Name String The display name of the zone.
MethodDefinitionCountsParticipantDefinitionsCount Int The number of participant method definitions configured for this zone.
MethodDefinitionCountsRateDefinitionsCount Int The number of merchant-defined rate method definitions configured for this zone.

CData Python Connector for Shopify

DeliveryProfileUnassignedLocations

Lists locations not yet assigned to any location group for this profile.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • DeliveryProfileId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DeliveryProfileUnassignedLocations WHERE DeliveryProfileId = 'Val1'

Columns

Name Type References Description
DeliveryProfileId [KEY] String

DeliveryProfiles.Id

The globally unique identifier of the delivery profile that does not include this location.
LocationId [KEY] String

Locations.Id

The globally unique identifier of the unassigned location.

CData Python Connector for Shopify

DiscountAppCodes

Returns a list of discount redeem codes.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • DiscountId supports the '=, IN' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountAppCodes WHERE Id = 'Val1'
  SELECT * FROM DiscountAppCodes WHERE DiscountId = 'Val1'
  SELECT * FROM DiscountAppCodes WHERE AsyncUsageCount = 123

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
Code String The code that a customer can use at checkout.
DiscountId String A globally-unique ID of the discount.
AsyncUsageCount Int The number of times that the discount code has been used.
CreatedById String The application that created the discount redeem code.

CData Python Connector for Shopify

DiscountBasicCodes

Returns a list of discount redeem codes.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • DiscountId supports the '=, IN' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountBasicCodes WHERE Id = 'Val1'
  SELECT * FROM DiscountBasicCodes WHERE DiscountId = 'Val1'
  SELECT * FROM DiscountBasicCodes WHERE AsyncUsageCount = 123

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
Code String The code that a customer can use at checkout.
DiscountId String A globally-unique ID of the discount.
AsyncUsageCount Int The number of times that the discount code has been used.
CreatedById String The application that created the discount redeem code.

CData Python Connector for Shopify

DiscountBxgyCodes

Returns a list of discount redeem codes.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • DiscountId supports the '=, IN' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountBxgyCodes WHERE Id = 'Val1'
  SELECT * FROM DiscountBxgyCodes WHERE DiscountId = 'Val1'
  SELECT * FROM DiscountBxgyCodes WHERE AsyncUsageCount = 123

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
Code String The code that a customer can use at checkout.
DiscountId String A globally-unique ID of the discount.
AsyncUsageCount Int The number of times that the discount code has been used.
CreatedById String The application that created the discount redeem code.

CData Python Connector for Shopify

DiscountEvents

Retrieves event history for discounts, including publishing and edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DiscountEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the discount event.
HostId String The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this discount event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as a discount or price rule.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

DiscountFreeShippingCodes

Returns a list of discount redeem codes.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • DiscountId supports the '=, IN' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountFreeShippingCodes WHERE Id = 'Val1'
  SELECT * FROM DiscountFreeShippingCodes WHERE DiscountId = 'Val1'
  SELECT * FROM DiscountFreeShippingCodes WHERE AsyncUsageCount = 123

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
Code String The code that a customer can use at checkout.
DiscountId String A globally-unique ID of the discount.
AsyncUsageCount Int The number of times that the discount code has been used.
CreatedById String The application that created the discount redeem code.

CData Python Connector for Shopify

DiscountRedeemCodeBulkCreations

An entity that represents the status and counts of an asynchronous bulk code creation associated with a code discount.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operator. The connector processes other filters client-side within the connector.

  • Id supports the '=' comparison operator.

For example, the following query is processed server-side:

  SELECT * FROM DiscountRedeemCodeBulkCreations WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The ID of the DiscountRedeemCodeBulkCreation to return.
Done Bool Whether the bulk creation is still queued or has run.
CodesCount Int The number of codes to create.
ImportedCount Int The number of codes created successfully.
FailedCount Int The number of codes that weren't created successfully.

CData Python Connector for Shopify

Disputes

Lists chargeback and dispute cases related to the shop.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • InitiatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Disputes WHERE Id = 'Val1'
  SELECT * FROM Disputes WHERE Status = 'Val1'
  SELECT * FROM Disputes WHERE InitiatedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the dispute.
LegacyResourceId String The identifier of the corresponding resource in the REST Admin API.
EvidenceDueBy Date The deadline by which evidence must be submitted for the dispute.
EvidenceSentOn Date The date when evidence was submitted. Returns null if no evidence has been sent.
Status String The current status of the dispute, such as open, under review, or closed.
Type String Indicates whether the dispute is still in the inquiry stage or has escalated to a chargeback.
FinalizedOn Date The date when the dispute was resolved. Returns null if the dispute has not been finalized.
InitiatedAt Datetime The date and time when the dispute was initiated.
Amount Decimal The disputed amount, expressed as a decimal money value.
AmountCurrencyCode String The currency code of the disputed amount.
OrderId String The globally unique identifier of the order associated with the dispute.
ReasonDetailsReason String The reason for the dispute as provided by the cardholder's bank.
ReasonDetailsNetworkReasonCode String The raw reason code returned by the payment network.

CData Python Connector for Shopify

DraftOrderCustomAttributes

Lists custom attributes attached to draft orders for internal or personalization data.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

DraftOrders.Id

The globally unique identifier of the draft order associated with the custom attribute.
Key [KEY] String The key or name that identifies the custom attribute.
Value String The value assigned to the custom attribute.

CData Python Connector for Shopify

DraftOrderEvents

Retrieves event history for draft orders, such as creation or completion.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the draft order event.
HostId String

DraftOrders.Id

The globally unique identifier of the host system that logged the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is marked as critical.
Action String The specific action that occurred in the event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event includes additional content.
BasicEventAdditionalContent String Supplementary content for collapsible timeline events.
BasicEventAdditionalData String Additional structured data provided for event consumers.
BasicEventSecondaryMessage String Supporting human-readable text that complements the main event message.
BasicEventArguments String Arguments or references tied to the event and its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The unformatted body text of the comment event.
CommentEventSubjectId String The identifier of the parent subject associated with the comment event.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes a timeline comment.
CommentEventEmbedCustomerId String The identifier of the customer object referenced in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order object referenced in the comment event.
CommentEventEmbedOrderId String The identifier of the order object referenced in the comment event.
CommentEventEmbedProductId String The identifier of the product object referenced in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant object referenced in the comment event.

CData Python Connector for Shopify

DraftOrderLineItemCustomAttributes

Lists custom attributes attached to draft order line items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderLineItemCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

DraftOrderLineItems.Id

The globally unique identifier of the draft order line item associated with the custom attribute.
Key [KEY] String The key or name that identifies the custom attribute.
Value String The value assigned to the custom attribute.

CData Python Connector for Shopify

DraftOrderLineItems

Lists the line items included in a draft order with quantities and prices.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • DraftOrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderLineItems WHERE DraftOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the draft order line item.
DraftOrderId String

DraftOrders.Id

The globally unique identifier of the draft order that contains this line item.
Name String The display name of the product in the line item.
Title String The title of the product or variant. Applies only to custom line items.
VariantTitle String The title of the product variant included in the draft order.
Custom Bool Indicates whether the line item is a custom line item (true) or a product variant line item (false).
Quantity Int The number of product variants requested in the draft order.
Sku String The stock keeping unit (SKU) of the product variant.
Taxable Bool Indicates whether the product variant is taxable.
Vendor String The vendor associated with the product variant.
RequiresShipping Bool Indicates whether the product variant requires physical shipping.
IsGiftCard Bool Indicates whether the line item represents a gift card.
AppliedDiscountTitle String The title of the order-level discount applied to this line item.
AppliedDiscountDescription String The description of the order-level discount applied to this line item.
AppliedDiscountValue Double The value of the order-level discount. If the value type is 'percentage', this field represents the discount percentage.
AppliedDiscountValueType String The type of discount applied at the order level, such as percentage or fixed amount.
AppliedDiscountAmountV2Amount Decimal The discount amount applied to the line item, expressed as a decimal money value.
AppliedDiscountAmountV2CurrencyCode String The currency code of the discount amount applied to the line item.
DiscountedTotalSetPresentmentMoneyAmount Decimal The total price of the line item after discounts, in the presentment currency, expressed as a decimal money value.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code of the discounted total in the presentment currency.
DiscountedTotalSetShopMoneyAmount Decimal The total price of the line item after discounts, in the shop currency, expressed as a decimal money value.
DiscountedTotalSetShopMoneyCurrencyCode String The currency code of the discounted total in the shop currency.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The per-unit price of the line item after discounts, in the presentment currency, expressed as a decimal money value.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The currency code of the discounted per-unit price in the presentment currency.
DiscountedUnitPriceSetShopMoneyAmount Decimal The per-unit price of the line item after discounts, in the shop currency, expressed as a decimal money value.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The currency code of the discounted per-unit price in the shop currency.
FulfillmentServiceId String The identifier of the fulfillment service responsible for fulfilling the line item.
ImageId String The unique identifier of the product image associated with the line item.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text describing the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL of the product image.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total price of the line item before discounts, in the presentment currency, expressed as a decimal money value.
OriginalTotalSetPresentmentMoneyCurrencyCode String The currency code of the original total in the presentment currency.
OriginalTotalSetShopMoneyAmount Decimal The original total price of the line item before discounts, in the shop currency, expressed as a decimal money value.
OriginalTotalSetShopMoneyCurrencyCode String The currency code of the original total in the shop currency.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original per-unit price of the line item before discounts, in the presentment currency, expressed as a decimal money value.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The currency code of the original per-unit price in the presentment currency.
OriginalUnitPriceSetShopMoneyAmount Decimal The original per-unit price of the line item before discounts, in the shop currency, expressed as a decimal money value.
OriginalUnitPriceSetShopMoneyCurrencyCode String The currency code of the original per-unit price in the shop currency.
ProductId String The globally unique identifier of the product associated with the line item.
TotalDiscountSetPresentmentMoneyAmount Decimal The total discount applied to the line item, in the presentment currency, expressed as a decimal money value.
TotalDiscountSetPresentmentMoneyCurrencyCode String The currency code of the total discount in the presentment currency.
TotalDiscountSetShopMoneyAmount Decimal The total discount applied to the line item, in the shop currency, expressed as a decimal money value.
TotalDiscountSetShopMoneyCurrencyCode String The currency code of the total discount in the shop currency.
VariantId String The globally unique identifier of the product variant included in the line item.
WeightValue Double The numerical weight of the line item based on the unit system specified in WeightUnit.
WeightUnit String The unit of measurement used for the weight value, such as grams or kilograms.

CData Python Connector for Shopify

DraftOrderLineItemTaxLines

Shows tax lines applied to individual draft order items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderLineItemTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the tax applied to the draft order line item.
ResourceId [KEY] String

DraftOrderLineItems.Id

The globally unique identifier of the draft order line item associated with this tax line.
Source String The system or source that applied the tax.
Rate Double The portion of the line item price that the tax represents, expressed as a decimal value.
ChannelLiable Bool Indicates whether the sales channel that submitted the tax line is responsible for remitting the tax. Returns null if liability is unknown.
RatePercentage Double The portion of the line item price that the tax represents, expressed as a percentage.
PriceSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency, expressed as a decimal money value.
PriceSetPresentmentMoneyCurrencyCode String The currency code of the tax amount in the presentment currency.
PriceSetShopMoneyAmount Decimal The tax amount in the shop currency, expressed as a decimal money value.
PriceSetShopMoneyCurrencyCode String The currency code of the tax amount in the shop currency.

CData Python Connector for Shopify

DraftOrderTaxLines

Shows tax lines applied at the draft order level.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the tax applied to the line item.
ResourceId [KEY] String

DraftOrders.Id

The globally unique identifier of the tax line resource.
Source String The origin or system that applied the tax.
Rate Double The proportion of the line item price represented by the tax, expressed as a decimal.
ChannelLiable Bool Indicates whether the sales channel that submitted the tax line is responsible for remitting it. A null value means liability is unknown.
RatePercentage Double The proportion of the line item price represented by the tax, expressed as a percentage.
PriceSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency, expressed as a decimal.
PriceSetPresentmentMoneyCurrencyCode String The currency code of the tax amount in the presentment currency.
PriceSetShopMoneyAmount Decimal The tax amount in the shop currency, expressed as a decimal.
PriceSetShopMoneyCurrencyCode String The currency code of the tax amount in the shop currency.

CData Python Connector for Shopify

Events

Lists shop-wide events for auditing and troubleshooting.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM Events

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The specific action that occurred in the event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event includes additional content.
BasicEventAdditionalContent String Supplementary content for collapsible timeline events.
BasicEventAdditionalData String Additional structured data provided for event consumers.
BasicEventSecondaryMessage String Supporting human-readable text that complements the main event message.
BasicEventArguments String Arguments or references tied to the event and its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The unformatted body text of the comment event.
CommentEventSubjectId String The identifier of the parent subject associated with the comment event.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes a timeline comment.
CommentEventEmbedCustomerId String The identifier of the customer object referenced in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order object referenced in the comment event.
CommentEventEmbedOrderId String The identifier of the order object referenced in the comment event.
CommentEventEmbedProductId String The identifier of the product object referenced in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant object referenced in the comment event.

CData Python Connector for Shopify

FulfillmentLineItems

Lists order line items included in fulfillments for picking and packing.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • FulfillmentId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentLineItems WHERE FulfillmentId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the fulfillment line item.
FulfillmentId String

Fulfillments.Id

The globally unique identifier of the fulfillment record this line item belongs to.
DiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total for the line item in the presentment currency.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the discounted total in presentment money.
DiscountedTotalSetShopMoneyAmount Decimal The discounted total for the line item in the shop's currency.
DiscountedTotalSetShopMoneyCurrencyCode String The currency code for the discounted total in shop money.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total for the line item in the presentment currency before discounts.
OriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the original total in presentment money.
OriginalTotalSetShopMoneyAmount Decimal The original total for the line item in the shop's currency before discounts.
OriginalTotalSetShopMoneyCurrencyCode String The currency code for the original total in shop money.
Quantity Int The total quantity of items included in this fulfillment line item.
LineItemId String The globally unique identifier of the related order line item.
LineItemName String The product name, optionally combined with its variant title.
LineItemTitle String The title of the product at the time of order creation.
LineItemVariantTitle String The title of the variant at the time of order creation.
LineItemVariantId String The globally unique identifier of the product variant.
LineItemProductId String The globally unique identifier of the product.
LineItemSellingPlanSellingPlanId String The identifier of the selling plan tied to the line item.
LineItemQuantity Int The number of product variant units ordered for this line item.
LineItemRestockable Bool Indicates whether this line item can be restocked.
LineItemSku String The SKU (stock keeping unit) of the product variant.
LineItemTaxable Bool Indicates whether this line item is taxable.
LineItemVendor String The vendor or brand associated with the product variant.
LineItemCurrentQuantity Int The current available quantity of the line item, excluding any removed units.
LineItemMerchantEditable Bool Indicates whether the line item can be edited by the merchant.
LineItemRefundableQuantity Int The number of units eligible for refund, excluding already removed or refunded units.
LineItemRequiresShipping Bool Indicates whether the product variant requires physical shipping.
LineItemUnfulfilledQuantity Int The quantity of units from this line item that have not yet been fulfilled.
LineItemNonFulfillableQuantity Int The number of units that cannot be fulfilled, such as refunded items or non-fulfillable products like tips.
LineItemIsGiftCard Bool Indicates whether this line item represents a gift card purchase.
LineItemDiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total for the line item in the presentment currency.
LineItemDiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts Decimal The discounted total in presentment currency after applying discount codes.
LineItemDiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the discounted total in presentment money.
LineItemDiscountedTotalSetShopMoneyAmount Decimal The discounted total for the line item in the shop's currency.
LineItemDiscountedTotalSetShopMoneyAmountWithCodeDiscounts Decimal The discounted total in shop currency after applying discount codes.
LineItemDiscountedTotalSetShopMoneyCurrencyCode String The currency code for the discounted total in shop money.
LineItemDiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted unit price in the presentment currency.
LineItemDiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The currency code for the discounted unit price in presentment money.
LineItemDiscountedUnitPriceSetShopMoneyAmount Decimal The discounted unit price in the shop's currency.
LineItemDiscountedUnitPriceSetShopMoneyCurrencyCode String The currency code for the discounted unit price in shop money.
LineItemImageId String The unique identifier of the product image associated with this line item.
LineItemImageWidth Int The width of the product image in pixels. Returns null if the image is not hosted by Shopify.
LineItemImageAltText String Alternative text describing the content or purpose of the product image.
LineItemImageHeight Int The height of the product image in pixels. Returns null if the image is not hosted by Shopify.
LineItemImageUrl String The URL of the product image.
LineItemOriginalTotalSetPresentmentMoneyAmount Decimal The original total before discounts in the presentment currency.
LineItemOriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the original total in presentment money.
LineItemOriginalTotalSetShopMoneyAmount Decimal The original total before discounts in the shop's currency.
LineItemOriginalTotalSetShopMoneyCurrencyCode String The currency code for the original total in shop money.
LineItemOriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price before discounts in the presentment currency.
LineItemOriginalUnitPriceSetPresentmentMoneyCurrencyCode String The currency code for the original unit price in presentment money.
LineItemOriginalUnitPriceSetShopMoneyAmount Decimal The original unit price before discounts in the shop's currency.
LineItemOriginalUnitPriceSetShopMoneyCurrencyCode String The currency code for the original unit price in shop money.
LineItemTotalDiscountSetPresentmentMoneyAmount Decimal The total discount applied to this line item in the presentment currency.
LineItemTotalDiscountSetPresentmentMoneyCurrencyCode String The currency code for the total discount in presentment money.
LineItemTotalDiscountSetShopMoneyAmount Decimal The total discount applied to this line item in the shop's currency.
LineItemTotalDiscountSetShopMoneyCurrencyCode String The currency code for the total discount in shop money.
LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total for unfulfilled units in the presentment currency.
LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the discounted unfulfilled total in presentment money.
LineItemUnfulfilledDiscountedTotalSetShopMoneyAmount Decimal The discounted total for unfulfilled units in the shop's currency.
LineItemUnfulfilledDiscountedTotalSetShopMoneyCurrencyCode String The currency code for the discounted unfulfilled total in shop money.
LineItemUnfulfilledOriginalTotalSetPresentmentMoneyAmount Decimal The original total for unfulfilled units in the presentment currency.
LineItemUnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the original unfulfilled total in presentment money.
LineItemUnfulfilledOriginalTotalSetShopMoneyAmount Decimal The original total for unfulfilled units in the shop's currency.
LineItemUnfulfilledOriginalTotalSetShopMoneyCurrencyCode String The currency code for the original unfulfilled total in shop money.

CData Python Connector for Shopify

FulfillmentLineItemTaxLines

Shows tax lines on fulfillment line items where applicable.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentLineItemTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the applied tax.
ResourceId [KEY] String

FulfillmentLineItems.Id

The globally unique identifier of the tax line record.
Source String The source system or origin of the tax calculation.
Rate Double The tax rate expressed as a decimal (for example, 0.05 for 5%).
ChannelLiable Bool Indicates whether the sales channel that submitted the tax line is responsible for remittance. A null value means the liability is unknown.
RatePercentage Double The tax rate expressed as a percentage of the line item price.
PriceSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency.
PriceSetPresentmentMoneyCurrencyCode String The currency code for the tax amount in presentment money.
PriceSetShopMoneyAmount Decimal The tax amount in the shop's currency.
PriceSetShopMoneyCurrencyCode String The currency code for the tax amount in shop money.

CData Python Connector for Shopify

FulfillmentOrderLineItems

Lists the line items grouped under a fulfillment order.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • FulfillmentOrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentOrderLineItems WHERE FulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the fulfillment order line item.
FulfillmentOrderId String The globally unique identifier of the fulfillment order that this line item belongs to.
FulfillmentOrderUpdatedAt Datetime The date and time when the fulfillment order was last updated.
ImageId String The globally unique identifier of the image associated with the product or variant.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text describing the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL of the product image.
InventoryItemId String The globally unique identifier of the inventory item tied to this line item.
Sku String The stock keeping unit (SKU) of the product variant.
ProductTitle String The title of the product linked to this line item.
VariantId String The globally unique identifier of the product variant associated with this line item.
VariantTitle String The title of the product variant.
Vendor String The name of the vendor that supplied or manufactured the product variant.
RemainingQuantity Int The number of units of this line item still pending fulfillment.
TotalQuantity Int The total number of units of this line item required in the fulfillment order.
RequiresShipping Bool Indicates whether the line item requires physical shipping.
WeightUnit String The unit of measurement used for the line item's weight, such as grams or kilograms.
WeightValue Double The numeric weight value of a single unit of the line item, measured in the specified unit.
Warnings String Any warnings or issues associated with the fulfillment order line item.
FinancialSummaries String A financial breakdown of costs associated with the fulfillment order line item.

CData Python Connector for Shopify

FulfillmentOrderLocationForMoveAvailableLineItems

Lists fulfillment order line items available to move to a new location.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • FulfillmentOrderId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • FulfillmentOrderId supports the '=, IN' comparison operators.

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

  SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE FulfillmentOrderId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE LocationId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE LocationId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE FulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the fulfillment order line item.
FulfillmentOrderId String The globally unique identifier of the fulfillment order this line item belongs to.
FulfillmentOrderUpdatedAt Datetime The date and time when the fulfillment order was last updated.
ImageId String The globally unique idenifier of the image associated with the product or variant.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text describing the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL of the product image.
InventoryItemId String The globally unique identifier of the inventory item tied to this line item.
Sku String The stock keeping unit (SKU) of the product variant.
ProductTitle String The title of the product linked to this line item.
VariantId String The globally unique identifier of the product variant associated with this line item.
VariantTitle String The title of the product variant.
Vendor String The name of the vendor that supplied or manufactured the product variant.
RemainingQuantity Int The number of units of this line item still pending fulfillment.
TotalQuantity Int The total number of units of this line item required in the fulfillment order.
RequiresShipping Bool Indicates whether the line item requires physical shipping.
WeightUnit String The unit of measurement used for the line item's weight, such as grams or kilograms.
WeightValue Double The numeric weight value of a single unit of the line item, measured in the specified unit.
Warnings String Any warnings or issues associated with the fulfillment order line item.
FinancialSummaries String A financial breakdown of costs associated with the fulfillment order line item.
LocationId [KEY] String The globally unique identifier of the location where this line item can be moved.

CData Python Connector for Shopify

FulfillmentOrderLocationForMoveUnavailableLineItems

Lists fulfillment order line items that cannot be moved to a new location.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • FulfillmentOrderId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • FulfillmentOrderId supports the '=, IN' comparison operators.

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

  SELECT * FROM FulfillmentOrderLocationForMoveUnavailableLineItems WHERE FulfillmentOrderId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveUnavailableLineItems WHERE LocationId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveUnavailableLineItems WHERE LocationId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveUnavailableLineItems WHERE FulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the fulfillment order line item.
FulfillmentOrderId String The globally unique identifier of the fulfillment order this line item belongs to.
FulfillmentOrderUpdatedAt Datetime The date and time when the fulfillment order was last updated.
ImageId String The globally unique identifier of the image associated with the product or variant.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text describing the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL of the product image.
InventoryItemId String The globally unique identifier of the inventory item tied to this line item.
Sku String The stock keeping unit (SKU) of the product variant.
ProductTitle String The title of the product linked to this line item.
VariantId String The globally unique identifier of the product variant associated with this line item.
VariantTitle String The title of the product variant.
Vendor String The name of the vendor that supplied or manufactured the product variant.
RemainingQuantity Int The number of units of this line item still pending fulfillment.
TotalQuantity Int The total number of units of this line item required in the fulfillment order.
RequiresShipping Bool Indicates whether the line item requires physical shipping.
WeightUnit String The unit of measurement used for the line item's weight, such as grams or kilograms.
WeightValue Double The numeric weight value of a single unit of the line item, measured in the specified unit.
Warnings String Any warnings or issues associated with the fulfillment order line item.
FinancialSummaries String A financial breakdown of costs associated with the fulfillment order line item.
LocationId [KEY] String The globally unique identifier of the location where this line item can be moved.

CData Python Connector for Shopify

FulfillmentOrderLocationsForMove

Lists candidate locations to which a fulfillment order can be moved.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • FulfillmentOrderId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.

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

  SELECT * FROM FulfillmentOrderLocationsForMove WHERE FulfillmentOrderId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationsForMove WHERE LocationId = 'Val1'

Columns

Name Type References Description
FulfillmentOrderId [KEY] String The globally unique identifier of the fulfillment order being evaluated for relocation.
LocationId [KEY] String The globally unique identifier of the target location.
AvailableLineItemsCount Int The number of fulfillment order line items that can be reassigned from their current location to this location.
AvailableLineItemsCountPrecision String The precision level of the available line items count.
UnavailableLineItemsCount Int The number of fulfillment order line items that cannot be reassigned to this location.
UnavailableLineItemsCountPrecision String The precision level of the unavailable line items count.
Movable Bool Indicates whether the fulfillment order as a whole can be moved to this location.
Message String A human-readable explanation of why the fulfillment order, or certain line items, cannot be moved to the location.

CData Python Connector for Shopify

InventoryAdjustmentGroupChanges

Lists sets of quantity changes that occurred within inventory events.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • InventoryAdjustmentGroupId supports the '=, IN' comparison operators.
  • InventoryItemId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • Name supports the '=, IN' comparison operators.

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

  SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1'
  SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND InventoryItemId = 'Val1'
  SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND LocationId = 'Val1'
  SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND Name = 'Val1'

Columns

Name Type References Description
InventoryAdjustmentGroupId [KEY] String

InventoryAdjustmentGroups.Id

The globally unique identifier of the inventory adjustment group associated with this change.
InventoryItemId [KEY] String The globally unique identifier of the inventory item whose quantity was adjusted.
LocationId [KEY] String The globally unique identifier of the location where the adjustment occurred.
Name [KEY] String The name of the inventory quantity type that was changed (for example, available, committed).
Delta Int The amount by which the inventory quantity changed. Positive values increase the quantity and negative values decrease it.
QuantityAfterChange Int The total inventory quantity for the specified type after the adjustment.
LedgerDocumentUri String A URI linking to the document or resource (such as an order or transfer) that caused the inventory change.

CData Python Connector for Shopify

InventoryAdjustmentGroups

Lists groups of adjustments applied during inventory operations.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM InventoryAdjustmentGroups WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the inventory adjustment group.
Reason String The reason provided for the set of inventory adjustments.
ReferenceDocumentUri String A URI that indicates the origin of the inventory change. This might point to the entity that performed the adjustment or to a related Shopify resource. For example, if a unit reserved in a draft order is later converted into an order, the URI might reference the resulting order Id.
CreatedAt Datetime The date and time when the inventory adjustment group was created.
AppId String The globally unique identifier of the app responsible for the adjustment, if applicable.
StaffMemberId String The globally unique identifier of the staff member who performed the adjustment. Available only with a Shopify Plus subscription.

CData Python Connector for Shopify

InventoryItemCountryHarmonizedSystemCodes

Lists country-specific Harmonized System (HS) codes assigned to inventory items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • InventoryItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM InventoryItemCountryHarmonizedSystemCodes WHERE InventoryItemId = 'Val1'

Columns

Name Type References Description
InventoryItemId String

InventoryItems.Id

The globally unique identifier of the inventory item.
CountryCode String The ISO 3166-1 alpha-2 code for the country that issued the harmonized system code.
HarmonizedSystemCode [KEY] String The country-specific harmonized system (HS) code used for international trade. These codes are typically longer than six digits.

CData Python Connector for Shopify

InventoryItemInventoryLevelQuantities

Lists on-hand, committed, and available quantities by location for an inventory item.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • InventoryLevelId supports the '=, IN' comparison operators.
  • Name supports the '=, IN' comparison operators.

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

  SELECT * FROM InventoryItemInventoryLevelQuantities WHERE InventoryLevelId = 'Val1'
  SELECT * FROM InventoryItemInventoryLevelQuantities WHERE Name = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the inventory level quantity record.
InventoryItemId String

InventoryItems.Id

The globally unique identifier of the related inventory item.
InventoryLevelId String

InventoryItemInventoryLevels.Id

The globally unique identifier of the inventory level associated with this quantity.
InventoryLevelLocationId String The globally unique identifier of the location tied to the inventory level.
Name String The label or name that identifies the specific type of inventory quantity (for example, available or reserved).
Quantity Int The recorded quantity for the specified inventory type.
UpdatedAt Datetime The date and time when the quantity was last updated.

CData Python Connector for Shopify

InventoryItemInventoryLevelScheduledChanges

Lists scheduled future changes to inventory levels.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • InventoryLevelId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM InventoryItemInventoryLevelScheduledChanges WHERE InventoryLevelId = 'Val1'

Columns

Name Type References Description
InventoryItemId String

InventoryItems.Id

The globally unique identifier of the inventory item associated with the scheduled change.
InventoryLevelId String

InventoryItemInventoryLevels.Id

The globally unique identifier of the inventory level affected by the scheduled change.
ExpectedAt Datetime The date and time when the scheduled change to inventory quantities is expected to take effect.
FromName String The inventory quantity type or bucket from which the quantity is transitioned (for example, 'on_hand').
ToName String The inventory quantity type or bucket to which the quantity is transitioned (for example, 'available').
Quantity Int The amount of inventory involved in the scheduled change, measured from the 'fromName' state.
LedgerDocumentUri String A freeform URI referencing the ledger document or entity that triggered the scheduled inventory change.

CData Python Connector for Shopify

Jobs

Returns job status by Id for asynchronous operations and internal tasks.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM Jobs WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique ID returned when an asynchronous mutation is run.
Done Bool Indicates whether the job has finished running or is still in the queue.

CData Python Connector for Shopify

LocalizationCountries

Lists countries with localized storefront experiences enabled.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM LocalizationCountries

Columns

Name Type References Description
IsoCode [KEY] String The ISO 3166 country code.
Name String The full name of the country.
UnitSystem String The measurement system used in the country, such as metric or imperial.
CurrencyIsoCode String The ISO 4217 currency code used in the country.
CurrencyName String The display name of the currency.
CurrencySymbol String The symbol representing the currency.
MarketId String A globally unique ID that identifies the associated market.
MarketHandle String A human-readable unique identifier for the market, automatically generated from its title.
AvailableLanguages String The languages available for storefronts in the country.

CData Python Connector for Shopify

MarketingEvents

Lists marketing events associated with the marketing application and their metrics.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • AppId supports the '=, !=' comparison operators.
  • Type supports the '=, !=' comparison operators.
  • StartedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM MarketingEvents WHERE Id = 'Val1'
  SELECT * FROM MarketingEvents WHERE AppId = 'Val1'
  SELECT * FROM MarketingEvents WHERE Type = 'Val1'
  SELECT * FROM MarketingEvents WHERE StartedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the marketing event.
RemoteId String An optional Id used by Shopify to validate engagement data.
LegacyResourceId String The Id of the corresponding resource in the REST Admin API.
AppId String A globally unique Id for the app that created the event.
MarketingChannelType String The channel or medium through which the marketing activity reached consumers. Used for reporting aggregation.
Description String A description of the marketing event, used to summarize the campaign or promotion.
Type String The type of marketing event.
EndedAt Datetime The date and time when the marketing event ended.
ManageUrl String The URL where the marketing event can be managed.
PreviewUrl String The URL where the marketing event can be previewed.
StartedAt Datetime The date and time when the marketing event started.
UtmCampaign String The UTM campaign name associated with the marketing event.
UtmMedium String The UTM medium used in the campaign (for example, 'cpc', 'banner').
UtmSource String The UTM source or referrer of the campaign (for example, 'google', 'newsletter').
SourceAndMedium String A combined representation of where the marketing event occurred and the type of content used. Derived from 'marketingChannel', 'referringDomain', and 'type' to ensure consistency across apps.
ScheduledToEndAt Datetime The date and time when the marketing event is scheduled to end.

CData Python Connector for Shopify

MetafieldDefinitionConstraintValues

Lists constraint subtype values supported by a metafield definition.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • DefinitionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM MetafieldDefinitionConstraintValues WHERE DefinitionId = 'Val1'

Columns

Name Type References Description
DefinitionId String

MetafieldDefinitions.Id

A globally unique Id for the metafield definition.
Key String The constraint key that specifies the category of resource subtypes the metafield definition supports.
Value String The constraint value that defines the allowed subtype for the metafield definition.

CData Python Connector for Shopify

MetafieldDefinitionStandardTemplates

Lists standard metafield templates that provide ready-made definition presets.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM MetafieldDefinitionStandardTemplates

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the standard metafield definition.
Namespace String The namespace owned by the definition after it has been activated.
Key String The key owned by the definition after it has been activated.
Name String The human-readable name of the standard metafield definition.
Description String The description of the standard metafield definition.
OwnerTypes String The list of resource types that the standard metafield definition can be applied to.
Validations String The configured validations for the standard metafield definition.
VisibleToStorefrontApi Bool Indicates whether metafields for the definition are visible by default through the Storefront API.
TypeName String The name of the type for the metafield definition.
TypeCategory String The category associated with the metafield definition type.
TypeSupportedValidations String The supported validations for the metafield definition type.
TypeSupportsDefinitionMigrations Bool Indicates whether metafields without a definition can be migrated to a definition of this type.

CData Python Connector for Shopify

MetafieldDefinitionTypes

Lists core metafield types and validations available for definitions.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM MetafieldDefinitionTypes

Columns

Name Type References Description
Name [KEY] String The name of the metafield definition type.
Category String The category associated with the metafield definition type.
SupportsDefinitionMigrations Bool Indicates whether metafields without a definition can be migrated to a definition of this type.
SupportedValidations String The rules supported for this metafield type, such as minimum or maximum values, length limits, or format requirements.

CData Python Connector for Shopify

MetaobjectDefinitions

Lists definitions for metaobjects, which are structured, reusable content modeled via metafields.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM MetaobjectDefinitions

Columns

Name Type References Description
ID [KEY] String A globally unique Id for the metaobject definition.
Name String The human-readable name of the metaobject definition.
MetaobjectsCount Int The number of metaobjects created for this definition.
Type String The type of the metaobject definition, which also defines the namespace of associated metafields.
Description String The administrative description of the metaobject definition.
DisplayNameKey String The field key used as the display name for each metaobject.
AccessAdmin String Access configuration for Admin API surface areas, including the GraphQL Admin API.
AccessStorefront String Access configuration for Storefront API surface areas, including the GraphQL Storefront API and Liquid.
CapabilitiesPublishableEnabled Bool Indicates whether the metaobject definition is publishable.
CapabilitiesTranslatableEnabled Bool Indicates whether the metaobject definition is translatable.
CapabilitiesOnlineStoreEnabled Bool Indicates whether the metaobject definition can be displayed as a page in the Online Store.
CapabilitiesOnlineStoreDataCanCreateRedirects Bool Indicates whether sufficient redirects are available to support all published entries for this metaobject type in the Online Store.
CapabilitiesOnlineStoreDataUrlHandle String The URL handle for accessing Online Store pages of this metaobject type.
CapabilitiesRenderableEnabled Bool Indicates whether the metaobject definition is renderable and exposes search engine optimization (SEO) data.
CapabilitiesRenderableDataMetaDescriptionKey String The field key used as the SEO page description when the metaobject definition is renderable.
CapabilitiesRenderableDataMetaTitleKey String The field key used as the SEO page title when the metaobject definition is renderable.

CData Python Connector for Shopify

MetaObjects

Lists all metaobjects created for the shop.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • Type supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM MetaObjects WHERE Type = 'Val1'

Columns

Name Type References Description
ID [KEY] String A globally unique Id for the metaobject.
Handle String The unique handle of the metaobject, useful as a custom Id.
DisplayName String The preferred display name value of the metaobject.
CreatedByDeveloperName String The name of the app developer that created the metaobject.
DefinitionId String The Id of the MetaobjectDefinition that models this metaobject type.
Title String The name of the app associated with the metaobject.
Type String The definition type of the metaobject.
Key [KEY] String The field key of the metaobject.
Value String The assigned field value, always stored as a string regardless of the field type.
TypeField String The data type of the field.
UpdatedAt Datetime The date and time when the metaobject was last updated.
CapabilitiesPublishableStatus String The publishable capability status of the metaobject.
CapabilitiesOnlineStoreTemplateSuffix String The theme template applied when viewing the metaobject in the Online Store.
ThumbnailFieldKey String The field key recommended to visually represent this metaobject(for example, a file reference or color field).
ThumbnailFieldThumbnailHex String The hexadecimal color code recommended to visually represent this metaobject.
ThumbnailFieldFileId String The file Id recommended to visually represent this metaobject.
ThumbnailFieldFileAlt String The alt text describing the file used to visually represent this metaobject.
ThumbnailFieldFileCreatedAt Datetime The date and time when the file used to represent this metaobject was created.
ThumbnailFieldFileUpdatedAt Datetime The date and time when the file used to represent this metaobject was last updated.
ThumbnailFieldFileFileStatus String The status of the file used to represent this metaobject.
ThumbnailFieldFileFileErrors String Any errors that occurred on the file used to represent this metaobject.
ThumbnailFieldFilePreviewStatus String The current status of the preview image for the file.
ThumbnailFieldFilePreviewImageId String The Id of the preview image for the file.
ThumbnailFieldFilePreviewImageAltText String The alt text describing the preview image for the file.
ThumbnailFieldFilePreviewImageHeight Int The original height of the preview image in pixels. Returns null if the image isn't hosted by Shopify.
ThumbnailFieldFilePreviewImageWidth Int The original width of the preview image in pixels. Returns null if the image isn't hosted by Shopify.
ThumbnailFieldFilePreviewImageUrl String The URL of the preview image for the file.

CData Python Connector for Shopify

OrderAdditionalFees

Lists additional fees applied to an order (for example, handling, or service).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAdditionalFees WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the additional fee.
OrderId String

Orders.Id

A globally unique Id for the order associated with the fee.
Name String The name of the additional fee.
PricePresentmentMoneyAmount Decimal The presentment currency amount of the fee as a decimal value.
PricePresentmentMoneyCurrencyCode String The ISO currency code of the presentment money.
PriceShopMoneyAmount Decimal The shop currency amount of the fee as a decimal value.
PriceShopMoneyCurrencyCode String The ISO currency code of the shop money.

CData Python Connector for Shopify

OrderAgreementAdditionalFeeSales

Lists sales attributed to agreement-based additional fees.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementAdditionalFeeSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
AdditionalFeeSaleAdditionalFeeId String The Id of the additional fee associated with the sale.

CData Python Connector for Shopify

OrderAgreementAdjustmentSales

Lists sales attributed to agreement-based adjustments.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementAdjustmentSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderAgreementDutySales

Lists sales attributed to agreement-based duties.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementDutySales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
DutySaleDutyId String The Id of the duty associated with the sale.

CData Python Connector for Shopify

OrderAgreementGiftCardSales

Lists sales attributed to agreement-based gift card usage.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementGiftCardSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
GiftCardSaleLineItemId String The Id of the gift card line item associated with the sale.

CData Python Connector for Shopify

OrderAgreementProductSales

Lists sales attributed to agreement-based product charges.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementProductSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
ProductSaleLineItemId String The Id of the product line item associated with the sale.

CData Python Connector for Shopify

OrderAgreements

Lists sales agreements associated with orders.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreements WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
Id [KEY] String A globally unique Id for the agreement.
HappenedAt Datetime The date and time when the agreement occurred.
Reason String The reason the agreement was created.
UserId String The Id of the staff member associated with the agreement. Available only with a Shopify Plus subscription.
AppApiKey String The API key of the application that created the agreement.

CData Python Connector for Shopify

OrderAgreementShippingLineSales

Lists sales attributed to agreement-based shipping lines.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementShippingLineSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
ShippingLineSaleShippingLineId String The Id of the shipping line item associated with the sale. Not available if the SaleActionType is a return.

CData Python Connector for Shopify

OrderAgreementTipSales

Lists sales attributed to agreement-based tips.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementTipSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
TipSaleLineItemId String The Id of the tip line item associated with the sale.

CData Python Connector for Shopify

OrderAgreementUnknownSales

Lists agreement-based sales that fall into an unknown category.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementUnknownSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderCustomAttributes

Lists custom attributes attached to orders for internal or personalization data.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

Orders.Id

A globally unique Id for the resource.
Key [KEY] String The key or name of the attribute.
Value String The value of the attribute.

CData Python Connector for Shopify

OrderDiscountApplications

Lists discount applications that affected an order, excluding edits and refunds.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderDiscountApplications WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId [KEY] String

Orders.Id

A globally unique Id for the order associated with the discount application.
AllocationMethod String The method by which the discount value is applied to its entitled items.
Index [KEY] Int The ordered index that identifies the discount application and indicates its precedence for calculations.
TargetSelection String How the discount amount is distributed across the discounted lines.
TargetType String Indicates whether the discount is applied to line items or shipping lines.
ValueAmount Decimal The discount amount as a decimal value.
ValueCurrencyCode String The ISO currency code of the discount amount.
ValuePercentage Double The discount percentage, represented as a number between -100 (free) and 0 (no discount).
AutomaticDiscountApplicationTitle String The title of the automatic discount application.
DiscountCodeApplicationCode String The discount code used at the time of application.
ManualDiscountApplicationTitle String The title of the manual discount application.
ManualDiscountApplicationDescription String The description of the manual discount application.
ScriptDiscountApplicationTitle String The title of the script-based discount application.

CData Python Connector for Shopify

OrderEditAgreementAdditionalFeeSales

Lists agreement-based additional fee sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementAdditionalFeeSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
AdditionalFeeSaleAdditionalFeeId String The Id of the additional fee associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementAdjustmentSales

Lists agreement-based adjustment sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementAdjustmentSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementDutySales

Lists agreement-based duty sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementDutySales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
DutySaleDutyId String The Id of the duty associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementGiftCardSales

Lists agreement-based gift card sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementGiftCardSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
GiftCardSaleLineItemId String The Id of the gift card line item associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementProductSales

Lists agreement-based product sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementProductSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
ProductSaleLineItemId String The Id of the product line item associated with the sale.

CData Python Connector for Shopify

OrderEditAgreements

Lists sales agreements that apply to order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreements WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
Id [KEY] String A globally unique Id for the agreement.
HappenedAt Datetime The date and time when the agreement occurred.
Reason String The reason the agreement was created.
UserId String The Id of the staff member associated with the agreement. Available only with a Shopify Plus subscription.
AppApiKey String The API key of the application that created the agreement.

CData Python Connector for Shopify

OrderEditAgreementShippingLineSales

Lists agreement-based shipping line sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementShippingLineSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
ShippingLineSaleShippingLineId String The Id of the shipping line item associated with the sale. Not available if the SaleActionType is a return.

CData Python Connector for Shopify

OrderEditAgreementTipSales

Lists agreement-based tip sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementTipSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
TipSaleLineItemId String The Id of the tip line item associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementUnknownSales

Lists uncategorized agreement-based sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementUnknownSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderEvents

Retrieves event history for orders (creation, updates, fulfillment changes).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the event.
HostId String

Orders.Id

A globally unique Id for the host associated with the event.
AppTitle String The name of the app that created the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was caused by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is critical.
Action String The action that occurred.
Message String Human-readable text that describes the event.
BasicEventSubjectId String The Id of the resource that generated the event.
BasicEventSubjectType String The type of the resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event has additional content.
BasicEventAdditionalContent String Additional content for collapsible timeline events.
BasicEventAdditionalData String Additional data for event consumers.
BasicEventSecondaryMessage String Human-readable text that supports the event message.
BasicEventArguments String Arguments that reference the event and its resources.
CommentEventAuthorId String The Id of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The raw body of the comment event.
CommentEventSubjectId String The Id of the parent subject to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject has a timeline comment.
CommentEventEmbedCustomerId String The Id of the customer referenced in the comment event.
CommentEventEmbedDraftOrderId String The Id of the draft order referenced in the comment event.
CommentEventEmbedOrderId String The Id of the order referenced in the comment event.
CommentEventEmbedProductId String The Id of the product referenced in the comment event.
CommentEventEmbedProductVariantId String The Id of the product variant referenced in the comment event.

CData Python Connector for Shopify

OrderLineItemCustomAttributes

Lists custom attributes attached to order line items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderLineItemCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

OrderLineItems.Id

A globally unique Id for the resource.
Key [KEY] String The key or name of the attribute.
Value String The value of the attribute.

CData Python Connector for Shopify

OrderLineItemDiscountAllocations

Shows discount allocations applied to a line item, excluding edits and refunds.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderLineItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderLineItemDiscountAllocations WHERE OrderLineItemId = 'Val1'

Columns

Name Type References Description
OrderLineItemId [KEY] String The Id of the order line item associated with the discount allocation.
DiscountApplicationIndex [KEY] Decimal The ordered index that identifies the discount application and indicates its precedence for calculations.
DiscountApplicationType String Discount type.
DiscountApplicationTargetType String Discount target type.
DiscountApplicationTargetSelection String Discount target selection.
DiscountApplicationTitle String Discount name.
DiscountApplicationValueAmount Decimal Discount value as a precise monetary value.
DiscountApplicationValueCurrencyCode String Discount value currency code.
DiscountApplicationValuePercentage Float Discount value as percentage.
AllocatedAmountSetPresentmentMoneyAmount Decimal The allocated discount amount, in presentment currency, as a decimal value.
AllocatedAmountSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the allocated discount amount.
AllocatedAmountSetShopMoneyAmount Decimal The allocated discount amount, in shop currency, as a decimal value.
AllocatedAmountSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the allocated discount amount.

CData Python Connector for Shopify

OrderLineItemDuties

Lists duties allocated to order line items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • LineItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderLineItemDuties WHERE LineItemId = 'Val1'

Columns

Name Type References Description
LineItemId String

OrderLineItems.Id

A globally unique Id for the order line item associated with the duty.
Id [KEY] String A globally unique Id for the duty record.
CountryCodeOfOrigin String The ISO 3166-1 alpha-2 country code of the item's country of origin, used in calculating the duty.
HarmonizedSystemCode String The harmonized system (HS) code of the item, used in calculating the duty.
PricePresentmentMoneyAmount Decimal The duty amount, in presentment currency, as a decimal value.
PricePresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the duty amount.
PriceShopMoneyAmount Decimal The duty amount, in shop currency, as a decimal value.
PriceShopMoneyCurrencyCode String The ISO currency code for the shop currency of the duty amount.

CData Python Connector for Shopify

OrderLineItems

Lists line items on orders, including variants, quantities, and pricing.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.
  • OrderUpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM OrderLineItems WHERE ResourceId = 'Val1'
  SELECT * FROM OrderLineItems WHERE OrderUpdatedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the order line item.
ResourceId String

Orders.Id

A globally unique Id for the resource associated with the line item.
Name String The title of the product, optionally appended with the title of the variant (if applicable).
Title String The title of the product at the time of order creation.
VariantTitle String The title of the variant at the time of order creation.
VariantId String A globally unique Id for the variant associated with the line item.
ProductId String A globally unique Id for the product associated with the line item.
SellingPlanSellingPlanId String The Id of the selling plan associated with the line item.
Quantity Int The number of variant units ordered.
Restockable Bool Indicates whether the line item can be restocked.
Sku String The variant SKU number.
Taxable Bool Indicates whether the variant is taxable.
Vendor String The name of the vendor who made the variant.
CurrentQuantity Int The current quantity of the line item, excluding removed units.
MerchantEditable Bool Indicates whether the line item can be edited.
RefundableQuantity Int The quantity of the line item that can be refunded.
RequiresShipping Bool Indicates whether physical shipping is required for the variant.
UnfulfilledQuantity Int The number of units not yet fulfilled.
NonFulfillableQuantity Int The number of units that cannot be fulfilled. For example, refunded items or non-fulfillable items like tips.
IsGiftCard Bool Indicates whether the line item represents the purchase of a gift card.
DiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total, in presentment currency, as a decimal value.
DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts Decimal The discounted total with code discounts applied, in presentment currency, as a decimal value.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the discounted total.
DiscountedTotalSetShopMoneyAmount Decimal The discounted total, in shop currency, as a decimal value.
DiscountedTotalSetShopMoneyAmountWithCodeDiscounts Decimal The discounted total with code discounts applied, in shop currency, as a decimal value.
DiscountedTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discounted total.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted unit price, in presentment currency, as a decimal value.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the discounted unit price.
DiscountedUnitPriceSetShopMoneyAmount Decimal The discounted unit price, in shop currency, as a decimal value.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discounted unit price.
ImageId String A globally unique Id for the image.
ImageWidth Int The original width of the image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String A word or phrase that describes the contents or purpose of the image.
ImageHeight Int The original height of the image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL location of the image.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total, in presentment currency, as a decimal value.
OriginalTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the original total.
OriginalTotalSetShopMoneyAmount Decimal The original total, in shop currency, as a decimal value.
OriginalTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the original total.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price, in presentment currency, as a decimal value.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the original unit price.
OriginalUnitPriceSetShopMoneyAmount Decimal The original unit price, in shop currency, as a decimal value.
OriginalUnitPriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the original unit price.
TotalDiscountSetPresentmentMoneyAmount Decimal The total discount applied, in presentment currency, as a decimal value.
TotalDiscountSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the total discount.
TotalDiscountSetShopMoneyAmount Decimal The total discount applied, in shop currency, as a decimal value.
TotalDiscountSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total discount.
UnfulfilledDiscountedTotalSetPresentmentMoneyAmount Decimal The unfulfilled discounted total, in presentment currency, as a decimal value.
UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the unfulfilled discounted total.
UnfulfilledDiscountedTotalSetShopMoneyAmount Decimal The unfulfilled discounted total, in shop currency, as a decimal value.
UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the unfulfilled discounted total.
UnfulfilledOriginalTotalSetPresentmentMoneyAmount Decimal The unfulfilled original total, in presentment currency, as a decimal value.
UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the unfulfilled original total.
UnfulfilledOriginalTotalSetShopMoneyAmount Decimal The unfulfilled original total, in shop currency, as a decimal value.
UnfulfilledOriginalTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the unfulfilled original total.
OrderUpdatedAt Datetime The date and time when the order was last updated.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
FulfillmentService String The handle of the fulfillment service that stocks the product variant for the line item.
OrderLineItemCustomAttributes String Custom information added to the cart for the line item, often used for product customization options.
OrderLineItemTaxLines String A list of tax line objects applied to the line item.

CData Python Connector for Shopify

OrderLineItemTaxLines

Shows tax lines calculated for an order line item.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderLineItemTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the tax.
ResourceId [KEY] String

OrderLineItems.Id

A globally unique Id for the resource associated with the tax line.
Source String The source of the tax.
Rate Double The proportion of the line item price that the tax represents, as a decimal value.
ChannelLiable Bool Indicates whether the channel that submitted the tax line is liable for remitting it. A null value indicates that liability is unknown.
RatePercentage Double The proportion of the line item price that the tax represents, as a percentage.
PriceSetPresentmentMoneyAmount Decimal The tax amount, in presentment currency, as a decimal value.
PriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the tax amount.
PriceSetShopMoneyAmount Decimal The tax amount, in shop currency, as a decimal value.
PriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the tax amount.

CData Python Connector for Shopify

OrderNonFulfillableLineItemDuties

Lists duties on line items that cannot be fulfilled.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • LineItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderNonFulfillableLineItemDuties WHERE LineItemId = 'Val1'

Columns

Name Type References Description
LineItemId String

OrderNonFulfillableLineItems.Id

A globally unique Id for the non-fulfillable order line item associated with the duty.
Id [KEY] String A globally unique Id for the duty record.
CountryCodeOfOrigin String The ISO 3166-1 alpha-2 country code of the item's country of origin, used in calculating the duty.
HarmonizedSystemCode String The harmonized system (HS) code of the item, used in calculating the duty.
PricePresentmentMoneyAmount Decimal The duty amount, in presentment currency, as a decimal value.
PricePresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the duty amount.
PriceShopMoneyAmount Decimal The duty amount, in shop currency, as a decimal value.
PriceShopMoneyCurrencyCode String The ISO currency code for the shop currency of the duty amount.

CData Python Connector for Shopify

OrderNonFulfillableLineItems

Lists order line items that are not fulfillable and related context.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderNonFulfillableLineItems WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the non-fulfillable order line item.
ResourceId String

Orders.Id

A globally unique Id for the resource associated with the line item.
Name String The title of the product, optionally appended with the title of the variant (if applicable).
Title String The title of the product at the time of order creation.
VariantTitle String The title of the variant at the time of order creation.
VariantId String A globally unique Id for the variant associated with the line item.
ProductId String A globally unique Id for the product associated with the line item.
SellingPlanSellingPlanId String The Id of the selling plan associated with the line item.
Quantity Int The number of variant units ordered.
Restockable Bool Indicates whether the line item can be restocked.
Sku String The variant SKU number.
Taxable Bool Indicates whether the variant is taxable.
Vendor String The name of the vendor who made the variant.
CurrentQuantity Int The current quantity of the line item, excluding removed units.
MerchantEditable Bool Indicates whether the line item can be edited.
RefundableQuantity Int The quantity of the line item that can be refunded.
RequiresShipping Bool Indicates whether physical shipping is required for the variant.
UnfulfilledQuantity Int The number of units not yet fulfilled.
NonFulfillableQuantity Int The number of units that cannot be fulfilled. For example, refunded items or non-fulfillable items like tips.
IsGiftCard Bool Indicates whether the line item represents the purchase of a gift card.
DiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total, in presentment currency, as a decimal value.
DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts Decimal The discounted total with code discounts applied, in presentment currency, as a decimal value.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the discounted total.
DiscountedTotalSetShopMoneyAmount Decimal The discounted total, in shop currency, as a decimal value.
DiscountedTotalSetShopMoneyAmountWithCodeDiscounts Decimal The discounted total with code discounts applied, in shop currency, as a decimal value.
DiscountedTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discounted total.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted unit price, in presentment currency, as a decimal value.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the discounted unit price.
DiscountedUnitPriceSetShopMoneyAmount Decimal The discounted unit price, in shop currency, as a decimal value.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discounted unit price.
ImageId String A globally unique Id for the image.
ImageWidth Int The original width of the image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String A word or phrase that describes the contents or purpose of the image.
ImageHeight Int The original height of the image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL location of the image.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total, in presentment currency, as a decimal value.
OriginalTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the original total.
OriginalTotalSetShopMoneyAmount Decimal The original total, in shop currency, as a decimal value.
OriginalTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the original total.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price, in presentment currency, as a decimal value.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the original unit price.
OriginalUnitPriceSetShopMoneyAmount Decimal The original unit price, in shop currency, as a decimal value.
OriginalUnitPriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the original unit price.
TotalDiscountSetPresentmentMoneyAmount Decimal The total discount applied, in presentment currency, as a decimal value.
TotalDiscountSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the total discount.
TotalDiscountSetShopMoneyAmount Decimal The total discount applied, in shop currency, as a decimal value.
TotalDiscountSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total discount.
UnfulfilledDiscountedTotalSetPresentmentMoneyAmount Decimal The unfulfilled discounted total, in presentment currency, as a decimal value.
UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the unfulfilled discounted total.
UnfulfilledDiscountedTotalSetShopMoneyAmount Decimal The unfulfilled discounted total, in shop currency, as a decimal value.
UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the unfulfilled discounted total.
UnfulfilledOriginalTotalSetPresentmentMoneyAmount Decimal The unfulfilled original total, in presentment currency, as a decimal value.
UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the unfulfilled original total.
UnfulfilledOriginalTotalSetShopMoneyAmount Decimal The unfulfilled original total, in shop currency, as a decimal value.
UnfulfilledOriginalTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the unfulfilled original total.

CData Python Connector for Shopify

OrderRefundAgreementAdditionalFeeSales

Lists refund sales associated with agreement-based additional fees.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementAdditionalFeeSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
AdditionalFeeSaleAdditionalFeeId String The Id of the additional fee charge associated with the sale.

CData Python Connector for Shopify

OrderRefundAgreementAdjustmentSales

Lists refund sales associated with agreement-based adjustments.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementAdjustmentSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderRefundAgreementDutySales

Lists refund sales associated with agreement-based duties.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementDutySales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
DutySaleDutyId String The Id of the duty charge associated with the sale.

CData Python Connector for Shopify

OrderRefundAgreementGiftCardSales

Lists refund sales associated with agreement-based gift card usage.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementGiftCardSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the gift card sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale, such as product or service.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.
GiftCardSaleLineItemId String A sale associated with a gift card. The line item for the associated sale. A globally unique Id.

CData Python Connector for Shopify

OrderRefundAgreementProductSales

Lists refund sales associated with agreement-based product charges.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementProductSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the product sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale, such as product or service.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.
ProductSaleLineItemId String A sale associated with a product. The line item for the associated sale. A globally unique Id.

CData Python Connector for Shopify

OrderRefundAgreements

Lists sales agreements tied to refunds.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreements WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
Id [KEY] String The unique identifier of the refund agreement.
HappenedAt Datetime The date and time when the agreement was created.
Reason String The reason why the refund agreement was issued.
UserId String The staff member associated with the agreement. A globally unique Id. (Available only with a Shopify Plus subscription.)
AppApiKey String The application that created the agreement, identified by its unique API key.
RefundId String

Refunds.Id

The refund record linked to the agreement.

CData Python Connector for Shopify

OrderRefundAgreementShippingLineSales

Lists refund sales associated with agreement-based shipping lines.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementShippingLineSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the shipping line sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale, such as shipping or handling.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.
ShippingLineSaleShippingLineId String A sale associated with a shipping charge. Represents the shipping line item for the sale. Not available if the SaleActionType is a return. A globally unique Id.

CData Python Connector for Shopify

OrderRefundAgreementTipSales

Lists refund sales associated with agreement-based tips.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementTipSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the tip sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale, such as tip or service charge.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.
TipSaleLineItemId String A sale associated with a tip. Represents the line item for the sale. A globally unique Id.

CData Python Connector for Shopify

OrderRefundAgreementUnknownSales

Lists uncategorized agreement-based refund sales.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementUnknownSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the unknown sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale when the type cannot be classified.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.

CData Python Connector for Shopify

OrderShippingLineDiscountAllocations

Retrieves the discounts that have been allocated onto the shipping lines of an order by discount applications.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderShippingLineDiscountAllocations WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId [KEY] String The ID of the Order.
ShippingLineId [KEY] String The ID of the shipping line.
DiscountApplicationIndex [KEY] Decimal An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.
DiscountApplicationType String Discount type.
DiscountApplicationTargetType String Discount target type.
DiscountApplicationTargetSelection String Discount target selection.
DiscountApplicationTitle String Discount name.
DiscountApplicationValueAmount Decimal Discount value as a precise monetary value.
DiscountApplicationValueCurrencyCode String Discount value currency code.
DiscountApplicationValuePercentage Float Discount value as percentage.
AllocatedAmountSetPresentmentMoneyAmount Decimal Decimal money amount.
AllocatedAmountSetPresentmentMoneyCurrencyCode String Currency of the money.
AllocatedAmountSetShopMoneyAmount Decimal Decimal money amount.
AllocatedAmountSetShopMoneyCurrencyCode String Currency of the money.

CData Python Connector for Shopify

OrderShippingLines

Lists shipping lines attached to orders, including rates and titles.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderShippingLines WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id.
CarrierIdentifier String A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service.
Title String The title of the shipping line.
Code String A reference to the shipping method.
Custom Bool Whether the shipping line is custom.
DeliveryCategory String The general classification of the delivery method.
IsRemoved Bool Whether the shipping line has been removed.
Phone String The phone number at the shipping address.
ShippingRateHandle String A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users.
Source String The rate source for the shipping line.
CurrentDiscountedPriceSetPresentmentMoneyAmount Decimal Decimal money amount.
CurrentDiscountedPriceSetPresentmentMoneyCurrencyCode String Currency of the money.
CurrentDiscountedPriceSetShopMoneyAmount Decimal Decimal money amount.
CurrentDiscountedPriceSetShopMoneyCurrencyCode String Currency of the money.
DiscountedPriceAmount Decimal Decimal money amount.
DiscountedPriceCurrencyCode String Currency of the money.
DiscountedPriceSetPresentmentMoneyAmount Decimal Decimal money amount.
DiscountedPriceSetPresentmentMoneyCurrencyCode String Currency of the money.
DiscountedPriceSetShopMoneyAmount Decimal Decimal money amount.
DiscountedPriceSetShopMoneyCurrencyCode String Currency of the money.
OriginalPriceAmount Decimal Decimal money amount.
OriginalPriceCurrencyCode String Currency of the money.
OriginalPriceSetPresentmentMoneyAmount Decimal Decimal money amount.
OriginalPriceSetPresentmentMoneyCurrencyCode String Currency of the money.
OriginalPriceSetShopMoneyAmount Decimal Decimal money amount.
OriginalPriceSetShopMoneyCurrencyCode String Currency of the money.
RequestedFulfillmentServiceId String The Id of the fulfillment service.
OrderId String

Orders.Id

A globally unique Id.
TaxLines String A list of tax line objects, each of which details a tax applicable to this shipping line.

CData Python Connector for Shopify

OrderTaxLines

Shows taxes calculated for an order at the order level.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the tax.
ResourceId [KEY] String

Orders.Id

A globally unique Id.
Source String The source of the tax.
Rate Double The proportion of the line item price that this tax represents, expressed as a decimal.
ChannelLiable Bool Whether the channel that submitted the tax line is liable for remittance. A value of null indicates unknown liability.
RatePercentage Double The proportion of the line item price that this tax represents, expressed as a percentage.
PriceSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency, expressed as a decimal.
PriceSetPresentmentMoneyCurrencyCode String The currency code of the tax amount in the presentment currency.
PriceSetShopMoneyAmount Decimal The tax amount in the shop's currency, expressed as a decimal.
PriceSetShopMoneyCurrencyCode String The currency code of the tax amount in the shop's currency.

CData Python Connector for Shopify

PageEvents

Retrieves event history for pages (creation, publishing, edits).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM PageEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id.
HostId String

Pages.Id

A globally unique Id.
AppTitle String The name of the app that created the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was caused by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is critical.
Action String The action that occurred.
Message String Human-readable text that describes the event.
BasicEventSubjectId String The Id of the resource that generated the event.
BasicEventSubjectType String The type of the resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event has additional content.
BasicEventAdditionalContent String Additional content for collapsible timeline events.
BasicEventAdditionalData String Additional data for event consumers.
BasicEventSecondaryMessage String Human-readable text that supports the main event message.
BasicEventArguments String References the event and its associated resources.
CommentEventAuthorId String The Id of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The raw body text of the comment event.
CommentEventSubjectId String The Id of the parent subject to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject has a timeline comment.
CommentEventEmbedCustomerId String The object reference to the associated customer for the comment event.
CommentEventEmbedDraftOrderId String The object reference to the associated draft order for the comment event.
CommentEventEmbedOrderId String The object reference to the associated order for the comment event.
CommentEventEmbedProductId String The object reference to the associated product for the comment event.
CommentEventEmbedProductVariantId String The object reference to the associated product variant for the comment event.

CData Python Connector for Shopify

PriceListPrices

Lists prices attached to a specific price list by currency and adjustment rules.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • PriceListId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM PriceListPrices WHERE PriceListId = 'Val1'

Columns

Name Type References Description
PriceListId [KEY] String

PriceLists.Id

The unique Id of the price list.
ProductVariantId [KEY] String

ProductVariants.Id

The unique Id of the product variant associated with this price.
OriginType String The origin of the price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration).
PriceAmount Decimal The price of the product variant on this price list, expressed as a decimal money amount.
PriceCurrencyCode String The currency code of the product variant price on this price list.
CompareAtPriceAmount Decimal The compare-at price of the product variant on this price list, expressed as a decimal money amount.
CompareAtPriceCurrencyCode String The currency code of the compare-at price on this price list.

CData Python Connector for Shopify

ProductBundleComponentOptionSelections

Lists mappings between component options and selected parent bundle options.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductBundleComponentOptionSelections WHERE ProductId = 'Val1'

Columns

Name Type References Description
ProductId [KEY] String A globally unique Id of the product.
ComponentProductId [KEY] String A globally unique Id of the component product.
ParentOptionId String A globally unique Id of the parent product option.
ParentOptionName String The name of the parent product option.
ComponentOptionId [KEY] String A globally unique Id of the component product option.
ComponentOptionName String The name of the component product option.
Values String The component option values that are actively selected for this relationship.

CData Python Connector for Shopify

ProductBundleComponents

Lists component products that make up a bundle and their constraints.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductBundleComponents WHERE ProductId = 'Val1'

Columns

Name Type References Description
ProductId [KEY] String A globally unique Id of the product.
ComponentProductId [KEY] String A globally unique Id of the component product.
ComponentVariantsCount Int The total number of component variants in the bundle.
ComponentVariantsCountPrecision String The precision of the component variant count, indicating the exactness of the value.
OptionSelections String The parent and component options they are connected to, along with the chosen option values that appear in the bundle.
Quantity Int The quantity of the component product set for this bundle line. Contains null if a quantity option is present.
QuantityOptionName String The name of the quantity option.
QuantityOptionValues String The values of the quantity option.
QuantityOptionParentOptionId String A globally unique Id of the parent option for the quantity setting.

CData Python Connector for Shopify

ProductEvents

Retrieves event history for products (creation, publication, updates).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id.
HostId String

Products.Id

A globally unique Id.
AppTitle String The name of the app that created the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was caused by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is critical.
Action String The action that occurred.
Message String Human-readable text that describes the event.
BasicEventSubjectId String The Id of the resource that generated the event.
BasicEventSubjectType String The type of the resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event has additional content.
BasicEventAdditionalContent String Additional content for collapsible timeline events.
BasicEventAdditionalData String Additional data for event consumers.
BasicEventSecondaryMessage String Human-readable text that supports the main event message.
BasicEventArguments String References the event and its associated resources.
CommentEventAuthorId String The Id of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The raw body text of the comment event.
CommentEventSubjectId String The Id of the parent subject to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject has a timeline comment.
CommentEventEmbedCustomerId String The object reference to the associated customer for the comment event.
CommentEventEmbedDraftOrderId String The object reference to the associated draft order for the comment event.
CommentEventEmbedOrderId String The object reference to the associated order for the comment event.
CommentEventEmbedProductId String The object reference to the associated product for the comment event.
CommentEventEmbedProductVariantId String The object reference to the associated product variant for the comment event.

CData Python Connector for Shopify

ProductOperations

Inspects details of asynchronous operations performed on products.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operator. The connector processes other filters client-side within the connector.

  • Id supports the '=' comparison operator.

For example, the following query is processed server-side:

  SELECT * FROM ProductOperations WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The unique Id of the product operation.
ProductId String A globally unique Id of the associated product.
Status String The status of the product operation.

CData Python Connector for Shopify

ProductVariantEvents

Retrieves event history for product variants.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductVariantEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id.
HostId String

ProductVariants.Id

A globally unique Id.
AppTitle String The name of the app that created the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was caused by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is critical.
Action String The action that occurred.
Message String Human-readable text that describes the event.
BasicEventSubjectId String The Id of the resource that generated the event.
BasicEventSubjectType String The type of the resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event has additional content.
BasicEventAdditionalContent String Additional content for collapsible timeline events.
BasicEventAdditionalData String Additional data for event consumers.
BasicEventSecondaryMessage String Human-readable text that supports the main event message.
BasicEventArguments String References the event and its associated resources.
CommentEventAuthorId String The Id of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The raw body text of the comment event.
CommentEventSubjectId String The Id of the parent subject to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject has a timeline comment.
CommentEventEmbedCustomerId String The object reference to the associated customer for the comment event.
CommentEventEmbedDraftOrderId String The object reference to the associated draft order for the comment event.
CommentEventEmbedOrderId String The object reference to the associated order for the comment event.
CommentEventEmbedProductId String The object reference to the associated product for the comment event.
CommentEventEmbedProductVariantId String The object reference to the associated product variant for the comment event.

CData Python Connector for Shopify

PublicationCollections

Lists collections published to a specific publication (channel).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • PublicationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM PublicationCollections WHERE PublicationId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id of the publication collection.
LegacyResourceId String The Id of the corresponding resource in the REST Admin API.
PublicationId [KEY] String

Publications.Id

A globally unique Id of the associated publication.

CData Python Connector for Shopify

PublicationProducts

Lists products published to a specific publication (channel).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM PublicationProducts WHERE ProductId = 'Val1'

Columns

Name Type References Description
ProductId [KEY] String

Products.Id

A globally unique Id of the product.
PublishDate Datetime The date and time when the resource publication is published to the publication.
IsPublished Bool Indicates whether the resource publication is currently published.
PublicationId [KEY] String A globally unique Id of the associated publication.
PublicationName String The name of the publication.

CData Python Connector for Shopify

RefundDuties

Lists duties refunded as part of a refund.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundDuties WHERE RefundId = 'Val1'

Columns

Name Type References Description
OriginalDutyId [KEY] String A globally unique Id of the original duty.
RefundId [KEY] String

Refunds.Id

A globally unique Id of the associated refund.
OriginalDutyHarmonizedSystemCode String The harmonized system code of the item used to calculate the duty.
OriginalDutyCountryCodeOfOrigin String The ISO 3166-1 alpha-2 country code of the item's country of origin used to calculate the duty.
AmountSetPresentmentMoneyAmount Decimal The duty refund amount in the presentment currency, expressed as a decimal money amount.
AmountSetPresentmentMoneyCurrencyCode String The currency code of the duty refund amount in the presentment currency.
AmountSetShopMoneyAmount Decimal The duty refund amount in the shop's currency, expressed as a decimal money amount.
AmountSetShopMoneyCurrencyCode String The currency code of the duty refund amount in the shop's currency.

CData Python Connector for Shopify

RefundLineItemDuties

Lists duties attached to refunded line items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundLineItemDuties WHERE RefundId = 'Val1'

Columns

Name Type References Description
RefundId String A globally unique Id of the associated refund.
LineItemId String A globally unique Id of the line item.
Id [KEY] String A globally unique Id of the refund duty.
CountryCodeOfOrigin String The ISO 3166-1 alpha-2 country code of the item's country of origin used to calculate the duty.
HarmonizedSystemCode String The harmonized system code of the item used to calculate the duty.
PricePresentmentMoneyAmount Decimal The duty refund amount in the presentment currency, expressed as a decimal money amount.
PricePresentmentMoneyCurrencyCode String The currency code of the duty refund amount in the presentment currency.
PriceShopMoneyAmount Decimal The duty refund amount in the shop's currency, expressed as a decimal money amount.
PriceShopMoneyCurrencyCode String The currency code of the duty refund amount in the shop's currency.

CData Python Connector for Shopify

RefundLineItems

Lists refund line item records that specify quantities and amounts refunded.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundLineItems WHERE RefundId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id of the refund line item.
LineItemId String A globally unique Id of the associated line item.
RefundId String

Refunds.Id

A globally unique Id of the associated refund.
LineItemName String The title of the product, optionally appended with the variant title if applicable.
LineItemTitle String The title of the product at the time of order creation.
LineItemVariantTitle String The title of the variant at the time of order creation.
LineItemQuantity Int The number of variant units ordered.
LineItemRestockable Bool Indicates whether the line item can be restocked.
LineItemSku String The SKU number of the variant.
LineItemTaxable Bool Indicates whether the variant is taxable.
LineItemVendor String The name of the vendor who supplied the variant.
LineItemCurrentQuantity Int The line item's quantity, minus any removed quantity.
LineItemMerchantEditable Bool Indicates whether the line item can be edited.
LineItemRefundableQuantity Int The line item's refundable quantity, calculated as quantity minus removed quantity.
LineItemNonFulfillableQuantity Int The total number of units that can't be fulfilled. For example, refunded items or non-fulfillable items such as tips.
LineItemRequiresShipping Bool Indicates whether the variant requires physical shipping.
LineItemUnfulfilledQuantity Int The number of units not yet fulfilled.
LineItemImageId String A globally unique Id of the associated image.
LineItemImageWidth Int The original width of the image in pixels. Contains null if the image isn't hosted by Shopify.
LineItemImageAltText String Alternative text that describes the image.
LineItemImageHeight Int The original height of the image in pixels. Contains null if the image isn't hosted by Shopify.
LineItemImageUrl String The URL location of the image.
LineItemProductId String A globally unique Id of the associated product.
LineItemVariantId String A globally unique Id of the associated variant.
LineItemSellingPlanSellingPlanId String The Id of the selling plan associated with the line item.
LineItemStaffMemberId String A globally unique Id of the staff member associated with the line item. (Available only with a ShopifyPlus subscription)
Quantity Int The quantity of the refunded line item.
Restocked Bool Indicates whether the refunded line item was restocked. Not applicable for SuggestedRefunds.
RestockType String The type of restock applied to the refunded line item.
LocationId String A globally unique Id of the location associated with the refund.
PriceSetPresentmentMoneyAmount Decimal The refund price in the presentment currency, expressed as a decimal money amount.
PriceSetPresentmentMoneyCurrencyCode String The currency code of the refund price in the presentment currency.
PriceSetShopMoneyAmount Decimal The refund price in the shop's currency, expressed as a decimal money amount.
PriceSetShopMoneyCurrencyCode String The currency code of the refund price in the shop's currency.
SubtotalSetPresentmentMoneyAmount Decimal The subtotal in the presentment currency, expressed as a decimal money amount.
SubtotalSetPresentmentMoneyCurrencyCode String The currency code of the subtotal in the presentment currency.
SubtotalSetShopMoneyAmount Decimal The subtotal in the shop's currency, expressed as a decimal money amount.
SubtotalSetShopMoneyCurrencyCode String The currency code of the subtotal in the shop's currency.
TotalTaxSetPresentmentMoneyAmount Decimal The total tax amount in the presentment currency, expressed as a decimal money amount.
TotalTaxSetPresentmentMoneyCurrencyCode String The currency code of the total tax in the presentment currency.
TotalTaxSetShopMoneyAmount Decimal The total tax amount in the shop's currency, expressed as a decimal money amount.
TotalTaxSetShopMoneyCurrencyCode String The currency code of the total tax in the shop's currency.

CData Python Connector for Shopify

RefundOrderAdjustments

Lists order-level adjustments included on a refund.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundOrderAdjustments WHERE RefundId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id of the refund order adjustment.
RefundId String A globally unique Id of the associated refund.
Reason String An optional reason that explains a discrepancy between the calculated and actual refund amounts.
AmountSetPresentmentMoneyAmount Decimal The refund adjustment amount in the presentment currency, expressed as a decimal money amount.
AmountSetPresentmentMoneyCurrencyCode String The currency code of the refund adjustment amount in the presentment currency.
AmountSetShopMoneyAmount Decimal The refund adjustment amount in the shop's currency, expressed as a decimal money amount.
AmountSetShopMoneyCurrencyCode String The currency code of the refund adjustment amount in the shop's currency.
TaxAmountSetPresentmentMoneyAmount Decimal The tax adjustment amount in the presentment currency, expressed as a decimal money amount.
TaxAmountSetPresentmentMoneyCurrencyCode String The currency code of the tax adjustment amount in the presentment currency.
TaxAmountSetShopMoneyAmount Decimal The tax adjustment amount in the shop's currency, expressed as a decimal money amount.
TaxAmountSetShopMoneyCurrencyCode String The currency code of the tax adjustment amount in the shop's currency.

CData Python Connector for Shopify

RefundShippingLines

Lists shipping lines included in a refund.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundShippingLines WHERE RefundId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id of the refund shipping line.
RefundId String

Refunds.Id

A globally unique Id of the associated refund.
SubtotalAmountSetPresentmentMoneyAmount Decimal The subtotal amount in the presentment currency, expressed as a decimal money amount.
SubtotalAmountSetPresentmentMoneyCurrencyCode String The currency code of the subtotal amount in the presentment currency.
SubtotalAmountSetShopMoneyAmount Decimal The subtotal amount in the shop's currency, expressed as a decimal money amount.
SubtotalAmountSetShopMoneyCurrencyCode String The currency code of the subtotal amount in the shop's currency.
TaxAmountSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency, expressed as a decimal money amount.
TaxAmountSetPresentmentMoneyCurrencyCode String The currency code of the tax amount in the presentment currency.
TaxAmountSetShopMoneyAmount Decimal The tax amount in the shop's currency, expressed as a decimal money amount.
TaxAmountSetShopMoneyCurrencyCode String The currency code of the tax amount in the shop's currency.
ShippingLineId String A globally unique Id of the associated shipping line.
ShippingLineCarrierIdentifier String A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service.
ShippingLineTitle String The title of the shipping line.
ShippingLineCode String A reference to the shipping method of the line.
ShippingLineCustom Bool Indicates whether the shipping line is custom.
ShippingLineDeliveryCategory String The general classification of the delivery method.
ShippingLineIsRemoved Bool Indicates whether the shipping line has been removed.
ShippingLinePhone String The phone number at the shipping address.
ShippingLineShippingRateHandle String A unique identifier for the shipping rate. The format can change without notice and isn't intended to be shown to users.
ShippingLineSource String The rate source for the shipping line.
ShippingLineCurrentDiscountedPriceSetPresentmentMoneyAmount Decimal The current discounted price in the presentment currency, expressed as a decimal money amount.
ShippingLineCurrentDiscountedPriceSetPresentmentMoneyCurrencyCode String The currency code of the current discounted price in the presentment currency.
ShippingLineCurrentDiscountedPriceSetShopMoneyAmount Decimal The current discounted price in the shop's currency, expressed as a decimal money amount.
ShippingLineCurrentDiscountedPriceSetShopMoneyCurrencyCode String The currency code of the current discounted price in the shop's currency.
ShippingLineDiscountedPriceAmount Decimal The discounted price, expressed as a decimal money amount.
ShippingLineDiscountedPriceCurrencyCode String The currency code of the discounted price.
ShippingLineDiscountedPriceSetPresentmentMoneyAmount Decimal The discounted price in the presentment currency, expressed as a decimal money amount.
ShippingLineDiscountedPriceSetPresentmentMoneyCurrencyCode String The currency code of the discounted price in the presentment currency.
ShippingLineDiscountedPriceSetShopMoneyAmount Decimal The discounted price in the shop's currency, expressed as a decimal money amount.
ShippingLineDiscountedPriceSetShopMoneyCurrencyCode String The currency code of the discounted price in the shop's currency.
ShippingLineOriginalPriceAmount Decimal The original price, expressed as a decimal money amount.
ShippingLineOriginalPriceCurrencyCode String The currency code of the original price.
ShippingLineOriginalPriceSetPresentmentMoneyAmount Decimal The original price in the presentment currency, expressed as a decimal money amount.
ShippingLineOriginalPriceSetPresentmentMoneyCurrencyCode String The currency code of the original price in the presentment currency.
ShippingLineOriginalPriceSetShopMoneyAmount Decimal The original price in the shop's currency, expressed as a decimal money amount.
ShippingLineOriginalPriceSetShopMoneyCurrencyCode String The currency code of the original price in the shop's currency.
ShippingLineRequestedFulfillmentServiceId String The Id of the fulfillment service requested for the shipping line.

CData Python Connector for Shopify

RefundTransactionFees

Lists transaction fees applied to the original order transaction (Shopify Payments only).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundTransactionFees WHERE RefundId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique identifier for the refund transaction fee record.
TransactionId String

RefundTransactions.Id

A globally unique identifier for the related transaction.
RefundId String

Refunds.Id

A globally unique identifier for the associated refund.
RateName String The name of the credit card rate applied to the transaction.
FlatFeeName String The name of the credit card flat fee applied to the transaction.
Rate Decimal The percentage fee rate charged for the transaction.
Type String The category or type of fee applied (for example, rate-based or flat).
AmountAmount Decimal The total fee amount, expressed as a decimal value.
AmountCurrencyCode String The currency of the total fee amount.
FlatFeeAmount Decimal The flat fee amount, expressed as a decimal value.
FlatFeeCurrencyCode String The currency of the flat fee amount.
TaxAmountAmount Decimal The tax amount applied to the fee, expressed as a decimal value.
TaxAmountCurrencyCode String The currency of the tax amount applied to the fee.

CData Python Connector for Shopify

RefundTransactions

Lists payment transactions generated as part of a refund.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundTransactions WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique identifier for the refund transaction record.
ResourceId [KEY] String

Refunds.Id

A globally unique identifier for the related resource.
PaymentId String The unique identifier of the payment associated with the transaction.
ParentTransactionId String The identifier of the parent transaction, such as the authorization for a capture.
UserId String Staff member who was logged into the Shopify POS device when the transaction was processed. (This column is available only with a ShopifyPlus subscription)
AccountNumber String The masked account number linked to the payment method.
Gateway String The payment gateway used to process the transaction.
Kind String The type of transaction (for example, authorization, capture, or refund).
Status String The current status of the transaction.
Test Bool Indicates whether the transaction was processed in test mode.
AuthorizationCode String The authorization code returned for the transaction.
ErrorCode String A standardized error code, independent of the payment provider.
FormattedGateway String The human-readable name of the payment gateway.
ManuallyCapturable Bool Indicates whether the transaction can be manually captured.
MultiCapturable Bool Indicates whether the transaction supports multiple captures.
ProcessedAt Datetime The date and time when the transaction was processed.
ReceiptJson String A JSON receipt from the payment gateway. The format varies depending on the gateway.
SettlementCurrency String The currency in which the transaction is settled.
AuthorizationExpiresAt Datetime The expiration time of the authorization. Available only for Shopify Plus stores using Shopify Payments.
SettlementCurrencyRate Decimal The conversion rate used to settle the transaction amount in the settlement currency.
CreatedAt Datetime The date and time when the transaction was created.
AmountRoundingSetPresentmentMoneyAmount Decimal A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99.
AmountRoundingSetPresentmentMoneyCurrencyCode String The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD.
AmountRoundingSetShopMoneyAmount Decimal A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99.
AmountRoundingSetShopMoneyCurrencyCode String The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD.
CurrencyExchangeAdjustmentId String A globally-unique ID of the adjustment on the transaction.
PaymentDetailsLocalPaymentDescriptor String The descriptor by the payment provider. Only available for Amazon Pay and Buy with Prime.
PaymentDetailsLocalPaymentMethodName String The name of payment method used by the buyer.
PaymentDetailsShopPayInstallmentsPaymentMethodName String The name of payment method used by the buyer.
PaymentDetailsCardAvsResultCode String The response code from the address verification system (AVS). The code is always a single letter.
PaymentDetailsCardBin String The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number.
PaymentDetailsCardCompany String The name of the company that issued the customer's credit card.
PaymentDetailsCardCvvResultCode String The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string.
PaymentDetailsCardExpirationMonth Int The month in which the used credit card expires.
PaymentDetailsCardExpirationYear Int The year in which the used credit card expires.
PaymentDetailsCardName String The holder of the credit card.
PaymentDetailsCardNumber String The customer's credit card number, with most of the leading digits redacted.
PaymentDetailsCardPaymentMethodName String The name of payment method used by the buyer.
PaymentDetailsCardWallet String Digital wallet used for the payment.
PaymentIconId String The unique identifier for the associated payment icon image.
PaymentIconWidth Int The original width of the payment icon image in pixels, or null if not hosted by Shopify.
PaymentIconAltText String Alternative text describing the payment icon image.
PaymentIconHeight Int The original height of the payment icon image in pixels, or null if not hosted by Shopify.
AmountSetPresentmentMoneyAmount Decimal The transaction amount in the presentment currency.
AmountSetPresentmentMoneyCurrencyCode String The presentment currency code.
AmountSetShopMoneyAmount Decimal The transaction amount in the shop currency.
AmountSetShopMoneyCurrencyCode String The shop currency code.
MaximumRefundableV2Amount Decimal The maximum refundable amount for this transaction.
MaximumRefundableV2CurrencyCode String The currency code for the maximum refundable amount.
ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt Datetime The time when the extended authorization expires. After expiry, the payment can no longer be captured.
ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt Datetime The time after which capturing the payment incurs an additional fee.
ShopifyPaymentsSetRefundSetAcquirerReferenceNumber String The acquirer reference number (ARN) generated for Visa/Mastercard transactions.
TotalUnsettledSetPresentmentMoneyAmount Decimal The unsettled transaction amount in the presentment currency.
TotalUnsettledSetPresentmentMoneyCurrencyCode String The presentment currency code for the unsettled amount.
TotalUnsettledSetShopMoneyAmount Decimal The unsettled transaction amount in the shop currency.
TotalUnsettledSetShopMoneyCurrencyCode String The shop currency code for the unsettled amount.

CData Python Connector for Shopify

ReturnExchangeLineItems

Lists line items created for exchanges within a return.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.
  • OrderId supports the '=' comparison operator.

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

  SELECT * FROM ReturnExchangeLineItems WHERE ResourceId = 'Val1'
  SELECT * FROM ReturnExchangeLineItems WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the return or exchange line item.
ResourceId String

Returns.Id

A globally unique Id for the related resource.
Name String The product title, optionally appended with the variant title if applicable.
Title String The product title at the time the order was created.
VariantTitle String The variant title at the time the order was created.
VariantId String A globally unique Id for the product variant.
ProductId String A globally unique Id for the product.
SellingPlanSellingPlanId String The Id of the selling plan linked to the line item.
Quantity Int The number of units of the variant ordered.
Restockable Bool Whether the line item can be restocked.
Sku String The stock keeping unit (SKU) of the variant.
Taxable Bool Whether the variant is taxable.
Vendor String The name of the vendor that supplied the variant.
CurrentQuantity Int The current quantity of the line item, after subtracting any removed units.
MerchantEditable Bool Whether the line item can be edited by the merchant.
RefundableQuantity Int The quantity of the line item that can be refunded.
RequiresShipping Bool Whether the variant requires physical shipping.
UnfulfilledQuantity Int The number of units that have not yet been fulfilled.
NonFulfillableQuantity Int The number of units that cannot be fulfilled. For example, refunded items or non-physical items like tips.
IsGiftCard Bool Whether the line item is a gift card purchase.
DiscountedTotalSetPresentmentMoneyAmount Decimal The total discounted amount in the presentment currency.
DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts Decimal The total discounted amount in the presentment currency, including code-based discounts.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the discounted total in presentment currency.
DiscountedTotalSetShopMoneyAmount Decimal The total discounted amount in the shop currency.
DiscountedTotalSetShopMoneyAmountWithCodeDiscounts Decimal The total discounted amount in the shop currency, including code-based discounts.
DiscountedTotalSetShopMoneyCurrencyCode String The currency code for the discounted total in shop currency.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted unit price in the presentment currency.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The currency code for the discounted unit price in presentment currency.
DiscountedUnitPriceSetShopMoneyAmount Decimal The discounted unit price in the shop currency.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The currency code for the discounted unit price in shop currency.
ImageId String A unique Id for the product image.
ImageWidth Int The original width of the product image in pixels, or null if not hosted by Shopify.
ImageAltText String Alternative text describing the contents of the product image.
ImageHeight Int The original height of the product image in pixels, or null if not hosted by Shopify.
ImageUrl String The URL of the product image.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total amount in the presentment currency.
OriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the original total in presentment currency.
OriginalTotalSetShopMoneyAmount Decimal The original total amount in the shop currency.
OriginalTotalSetShopMoneyCurrencyCode String The currency code for the original total in shop currency.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price in the presentment currency.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The currency code for the original unit price in presentment currency.
OriginalUnitPriceSetShopMoneyAmount Decimal The original unit price in the shop currency.
OriginalUnitPriceSetShopMoneyCurrencyCode String The currency code for the original unit price in shop currency.
TotalDiscountSetPresentmentMoneyAmount Decimal The total discount amount in the presentment currency.
TotalDiscountSetPresentmentMoneyCurrencyCode String The currency code for the total discount in presentment currency.
TotalDiscountSetShopMoneyAmount Decimal The total discount amount in the shop currency.
TotalDiscountSetShopMoneyCurrencyCode String The currency code for the total discount in shop currency.
UnfulfilledDiscountedTotalSetPresentmentMoneyAmount Decimal The unfulfilled discounted total in the presentment currency.
UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the unfulfilled discounted total in presentment currency.
UnfulfilledDiscountedTotalSetShopMoneyAmount Decimal The unfulfilled discounted total in the shop currency.
UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode String The currency code for the unfulfilled discounted total in shop currency.
UnfulfilledOriginalTotalSetPresentmentMoneyAmount Decimal The unfulfilled original total in the presentment currency.
UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the unfulfilled original total in presentment currency.
UnfulfilledOriginalTotalSetShopMoneyAmount Decimal The unfulfilled original total in the shop currency.
UnfulfilledOriginalTotalSetShopMoneyCurrencyCode String The currency code for the unfulfilled original total in shop currency.
OrderId String

Orders.Id

A globally-unique ID.
OrderReturnStatus String The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
AppliedDiscountValueAmount Decimal A fixed discount amount applied to the exchange line item.
AppliedDiscountValueAmountCurrencyCode String The currency code for the fixed discount applied to the exchange line item.
AppliedDiscountValuePercentage Double The discount percentage applied to the exchange line item.
AppliedDiscountDescription String A description of the discount applied to the exchange line item.
GiftCardCodes String The gift card codes linked to physical gift cards in the order.

CData Python Connector for Shopify

ReturnLineItems

Lists return line items attached to the return.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ReturnId supports the '=, IN' comparison operators.
  • OrderId supports the '=' comparison operator.

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

  SELECT * FROM ReturnLineItems WHERE ReturnId = 'Val1'
  SELECT * FROM ReturnLineItems WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the return line item.
ReturnId [KEY] String

Returns.Id

A globally unique Id for the associated return.
OrderId String

Orders.Id

A globally-unique ID.
OrderReturnStatus String The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

Quantity Int The number of units being returned.
CustomerNote String A note from the customer describing the item to be returned. Maximum length: 300 characters.
ProcessableQuantity Int The quantity that can be processed.
ProcessedQuantity Int The quantity that has been processed.
UnprocessedQuantity Int The quantity that hasn't been processed.
RefundableQuantity Int The number of units that can still be refunded.
RefundedQuantity Int The number of units that have already been refunded.
ReturnReason String The reason provided for returning the item.
ReturnReasonNote String Additional details about the reason for the return. Maximum length: 255 characters.
TotalWeightUnit String The unit of measurement for the weight value.
TotalWeightValue Double The weight value, expressed using the unit defined in `TotalWeightUnit`.
WithCodeDiscountedTotalPriceSetPresentmentMoneyAmount Decimal The discounted total price in the presentment currency.
WithCodeDiscountedTotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the discounted total price.
WithCodeDiscountedTotalPriceSetShopMoneyAmount Decimal The discounted total price in the shop currency.
WithCodeDiscountedTotalPriceSetShopMoneyCurrencyCode String The shop currency code for the discounted total price.
FulfillmentLineItemId String A globally unique Id for the associated fulfillment line item.

CData Python Connector for Shopify

ReturnLineItemsUnverified

Lists unverified return line items pending inspection or validation.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ReturnId supports the '=, IN' comparison operators.
  • OrderId supports the '=' comparison operator.

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

  SELECT * FROM ReturnLineItemsUnverified WHERE ReturnId = 'Val1'
  SELECT * FROM ReturnLineItemsUnverified WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the unverified return line item.
ReturnId [KEY] String

Returns.Id

A globally unique Id for the associated return.
OrderId String

Orders.Id

A globally-unique ID.
OrderReturnStatus String The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

CustomerNote String A note from the customer describing the item to be returned. Maximum length: 300 characters.
Quantity Int The number of units being returned.
RefundableQuantity Int The number of units that can still be refunded.
RefundedQuantity Int The number of units that have already been refunded.
ReturnReason String The reason provided for returning the item.
ReturnReasonNote String Additional details about the reason for the return. Maximum length: 255 characters.
UnitPriceAmount Decimal The unit price of the item in decimal format.
UnitPriceCurrencyCode String The currency code for the unit price.

CData Python Connector for Shopify

ReverseFulfillmentOrderDeliveries

Lists reverse deliveries where buyers send packages back to the merchant.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ReverseFulfillmentOrderId supports the '=, IN' comparison operators.

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

  SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE Id = 'Val1'
  SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE ReverseFulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The Id of the reverse delivery.
ReverseFulfillmentOrderId String

ReverseFulfillmentOrders.Id

A globally unique Id for the associated reverse fulfillment order.
DeliverableLabelPublicFileUrl String A public link for downloading the reverse delivery label image.
DeliverableLabelUpdatedAt Datetime The date and time when the reverse delivery label was last updated.
DeliverableLabelCreatedAt Datetime The date and time when the reverse delivery label was created.
DeliverableTrackingCarrierName String The name of the carrier providing the tracking information, in a human-readable format.
DeliverableTrackingNumber String The tracking number assigned by the carrier for the shipment.
DeliverableTrackingUrl String The URL to track the shipment with the carrier.

CData Python Connector for Shopify

ReverseFulfillmentOrderDeliveryLineItems

Lists line items included in reverse deliveries.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ReverseFulfillmentOrderDeliveryId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ReverseFulfillmentOrderDeliveryLineItems WHERE ReverseFulfillmentOrderDeliveryId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the reverse fulfillment order delivery line item.
ReverseFulfillmentOrderDeliveryId String A globally unique Id for the associated reverse fulfillment order delivery.
ReverseFulfillmentOrderLineItemId String A globally unique Id for the associated reverse fulfillment order line item.
Dispositions String The condition or outcome assigned to the item (for example, restocked, discarded, or returned to vendor).
Quantity Int The expected number of units for this line item.

CData Python Connector for Shopify

ReverseFulfillmentOrderLineItems

Lists line items managed under reverse fulfillment orders.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ReverseFulfillmentOrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ReverseFulfillmentOrderLineItems WHERE ReverseFulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the reverse fulfillment order line item.
ReverseFulfillmentOrderId String

ReverseFulfillmentOrders.Id

A globally unique Id for the associated reverse fulfillment order.
FulfillmentLineItemId String A globally unique Id for the related fulfillment line item.
Dispositions String The condition or outcome assigned to the item (for example, restocked, discarded, or returned to vendor).
TotalQuantity Int The total number of units in this line item to be processed.

CData Python Connector for Shopify

ReverseFulfillmentOrders

Lists items within returns to be processed by a fulfillment service.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ReturnId supports the '=, IN' comparison operators.
  • OrderId supports the '=' comparison operator.

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

  SELECT * FROM ReverseFulfillmentOrders WHERE ReturnId = 'Val1'
  SELECT * FROM ReverseFulfillmentOrders WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the reverse fulfillment order.
ReturnId String

Returns.Id

A globally unique Id for the associated return.
OrderId String

Orders.Id

A globally-unique ID.
OrderReturnStatus String The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

Status String The current status of the reverse fulfillment order (for example, open, in_progress, or completed).
ThirdPartyConfirmationStatus String The status of the third-party confirmation for the reverse fulfillment order.

CData Python Connector for Shopify

SegmentFilterParameters

Lists available parameters used to construct event-based segment filters.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM SegmentFilterParameters

Columns

Name Type References Description
SegmentFilterQueryName [KEY] String The query name of the segment filter.
QueryName [KEY] String The query name of the parameter within the filter.
ParameterType String The data type of the parameter (for example, string, int, or bool).
Optional Bool Indicates whether the parameter is optional.
AcceptsMultipleValues Bool Indicates whether the parameter accepts multiple values in a list.
LocalizedName String The localized name of the parameter.
LocalizedDescription String The localized description of the parameter.
MinRange Double The parameter minimum value range.
MaxRange Double The parameter maximum value range.

CData Python Connector for Shopify

SegmentFilters

Lists reusable segment filters available for building segments.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM SegmentFilters

Columns

Name Type References Description
QueryName [KEY] String The query name of the filter.
MultiValue Bool Indicates whether a filter can have multiple values for a single customer.
LocalizedName String The localized display name of the filter.
IntegerMinRange Double The minimum range a filter can have.
IntegerMaxRange Double The maximum range a filter can have.
FloatMinRange Double The minimum range a filter can have.
FloatMaxRange Double The maximum range a filter can have.
ReturnValueType String The return value type of the event segment filter.

CData Python Connector for Shopify

SellingPlanGroupSellingPlans

Lists selling plans associated with a selling plan group.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • SellingPlanGroupId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM SellingPlanGroupSellingPlans WHERE SellingPlanGroupId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the selling plan.
SellingPlanGroupId String

SellingPlanGroups.Id

A globally unique Id for the associated selling plan group.
Name String A customer-facing description of the selling plan. If the store supports multiple currencies, avoid including country-specific pricing (for example, 'Buy monthly, get 10$ CAD off') since this text is not converted for other currencies.
Category String The category used to classify the selling plan for reporting purposes.

The allowed values are OTHER, PRE_ORDER, SUBSCRIPTION, TRY_BEFORE_YOU_BUY.

Description String The buyer-facing description of the selling plan commitment.
Options String The option values available in the selling plan. Selling plans are grouped together in Liquid when created by the same app and share the same 'selling_plan_group.name' and 'selling_plan_group.options' values.
Position Int The relative display order of the selling plan. Lower values are shown before higher values.
CreatedAt Datetime The date and time when the selling plan was created.
InventoryPolicyReserve String Specifies when to reserve inventory for the order.

The allowed values are ON_FULFILLMENT, ON_SALE.

FixedBillingPolicyCheckoutChargeType String The type of checkout charge applied by the fixed billing policy.

The allowed values are PERCENTAGE, PRICE.

FixedBillingPolicyCheckoutChargeValueAmount Decimal The fixed checkout charge amount, expressed as a decimal value.
FixedBillingPolicyCheckoutChargeValueCurrencyCode String The currency code for the fixed checkout charge amount.
FixedBillingPolicyCheckoutChargeValuePercentage Double The checkout charge as a percentage of the product price.
FixedBillingPolicyRemainingBalanceChargeExactTime Datetime The exact date and time when to capture the remaining balance.
FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout String The duration between the checkout event and capturing the remaining balance. Expressed as an ISO8601 duration.
FixedBillingPolicyRemainingBalanceChargeTrigger String Specifies when to capture payment for the remaining balance.

The allowed values are EXACT_TIME, NO_REMAINING_BALANCE, TIME_AFTER_CHECKOUT.

RecurringBillingPolicyAnchors String The anchor dates used for calculating billing intervals.
RecurringBillingPolicyCreatedAt Datetime The date and time when the recurring billing policy was created.
RecurringBillingPolicyInterval String The billing interval unit.

The allowed values are DAY, MONTH, WEEK, YEAR.

RecurringBillingPolicyIntervalCount Int The number of interval units between billings.
RecurringBillingPolicyMaxCycles Int The maximum number of billing cycles allowed.
RecurringBillingPolicyMinCycles Int The minimum number of billing cycles required.
FixedDeliveryPolicyAnchors String The anchor dates used for calculating delivery intervals.
FixedDeliveryPolicyCutoff Int The cutoff period (in days) for including orders in the next fulfillment cycle.
FixedDeliveryPolicyFulfillmentExactTime Datetime The exact date and time when fulfillment should occur.
FixedDeliveryPolicyFulfillmentTrigger String Specifies what triggers fulfillment.

The allowed values are ANCHOR, ASAP, EXACT_TIME, UNKNOWN.

FixedDeliveryPolicyIntent String Indicates whether the delivery policy is merchant-centric or buyer-centric. Currently, only merchant-centric delivery policies are supported.
FixedDeliveryPolicyPreAnchorBehavior String Specifies fulfillment behavior if an order is placed before the anchor date.

The allowed values are ASAP, NEXT.

RecurringDeliveryPolicyAnchors String The anchor dates used for calculating recurring delivery intervals.
RecurringDeliveryPolicyCreatedAt Datetime The date and time when the recurring delivery policy was created.
RecurringDeliveryPolicyCutoff Int The cutoff period (in days) for including orders in the current delivery cycle.
RecurringDeliveryPolicyIntent String Indicates whether the delivery policy is merchant-centric or buyer-centric. Currently, only merchant-centric delivery policies are supported.

The allowed values are FULFILLMENT_BEGIN.

RecurringDeliveryPolicyInterval String The delivery interval unit. The unit for the delivery interval (day, week, month, or year).
RecurringDeliveryPolicyIntervalCount Int The number of interval units between deliveries.
RecurringDeliveryPolicyPreAnchorBehavior String Specifies fulfillment behavior if an order is placed before the anchor date.

The allowed values are ASAP, NEXT.

FixedPricingPolicies String Represents fixed pricing policies associated with the selling plan.
RecurringPricingPolicies String Represents recurring pricing policies associated with the selling plan.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Metafields String Additional metadata attached to the selling plan resource.

CData Python Connector for Shopify

Shop

Returns the shop resource for the current token, including business and management settings.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM Shop

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the shop.
Name String The name of the shop.
OwnerName String The name of the account owner for the shop.
RichTextEditorUrl String The URL of the rich text editor available for mobile devices.
Description String The shop's meta description, used in search engine results.
Email String The shop owner's email address. Shopify uses this address to communicate with the shop owner.
Url String The URL of the shop's online store.
ContactEmail String The public-facing contact email address for the shop. Customers use this address to communicate with the shop owner.
CurrencyCode String The three-letter currency code the shop sells in.
CustomerAccounts String Specifies whether customer accounts are required, optional, or disabled for the shop.
IanaTimezone String The shop's time zone as defined by the IANA.
MyshopifyDomain String The shop's myshopify.com domain name.
PublicationsCount Int The number of publications associated with the shop.
PublicationsCountPrecision String The precision of the publication count, or how exact the value is.
SetupRequired Bool Indicates whether the shop has outstanding setup steps.
TaxShipping Bool Indicates whether the shop charges taxes on shipping.
TaxesIncluded Bool Indicates whether product prices include applicable taxes.
TimezoneAbbreviation String The abbreviation of the shop's time zone.
TimezoneOffset String The shop's time zone offset.
UnitSystem String The unit system for weights and measures used in the shop.
WeightUnit String The primary unit of weight for products and shipping.
CheckoutApiSupported Bool Indicates whether the shop supports checkouts via the Checkout API.
EnabledPresentmentCurrencies String The presentment currencies enabled for the shop (for example, 'USD', 'EUR').
ShipsToCountries String A list of countries the shop ships to.
TimezoneOffsetMinutes Int The shop's time zone offset expressed in minutes.
TransactionalSmsDisabled Bool Indicates whether transactional SMS messages from Shopify are disabled for the shop.
OrderNumberFormatPrefix String The prefix that appears before order numbers.
OrderNumberFormatSuffix String The suffix that appears after order numbers.
UpdatedAt Datetime The date and time when the shop was last updated.
BillingAddressId String A globally unique Id for the billing address.
BillingAddressCoordinatesValidated Bool Indicates whether the billing address coordinates are valid.
BillingAddressAddress1 String The first line of the billing address, typically the street address or PO Box number.
BillingAddressAddress2 String The second line of the billing address, typically the apartment, suite, or unit number.
BillingAddressCity String The city, district, village, or town of the billing address.
BillingAddressCompany String The company or organization associated with the billing address.
BillingAddressCountry String The country of the billing address.
BillingAddressLatitude Double The latitude coordinate of the billing address.
BillingAddressLongitude Double The longitude coordinate of the billing address.
BillingAddressPhone String A phone number associated with the billing address, formatted using the E.164 standard (for example, +16135551111).
BillingAddressProvince String The province, state, or district of the billing address.
BillingAddressZip String The postal or zip code of the billing address.
BillingAddressFormattedArea String A comma-separated string of the city, province, and country for the billing address.
BillingAddressProvinceCode String The two-letter province or state code of the billing address (for example, ON).
BillingAddressCountryCodeV2 String The two-letter country code of the billing address (for example, US).
CountriesInShippingZonesCountryCodes String The list of all countries across the shop's shipping zones.
CountriesInShippingZonesIncludeRestOfWorld Bool Indicates whether 'Rest of World' is included in the shipping zones.
CurrencyFormatsMoneyFormat String Money without currency formatting, used in HTML.
CurrencyFormatsMoneyInEmailsFormat String Money without currency formatting, used in emails.
CurrencyFormatsMoneyWithCurrencyFormat String Money with currency formatting, used in HTML.
CurrencyFormatsMoneyWithCurrencyInEmailsFormat String Money with currency formatting, used in emails.
FeaturesInternationalPriceOverrides Bool Indicates whether the shop can enable international price overrides.
FeaturesStorefront Bool Indicates whether the shop has an online storefront.
FeaturesGiftCards Bool Indicates whether the shop can create gift cards.
FeaturesSellsSubscriptions Bool Indicates whether the shop has ever sold subscription products.
FeaturesEligibleForSubscriptions Bool Indicates whether the shop is configured to sell subscriptions.
FeaturesInternationalPriceRules Bool Indicates whether the shop can enable international price rules.
FeaturesEligibleForSubscriptionMigration Bool Indicates whether the shop can be migrated to Shopify's subscription system.
FeaturesLegacySubscriptionGatewayEnabled Bool Indicates whether the shop has enabled a legacy subscription gateway for older subscriptions.
FeaturesPaypalExpressSubscriptionGatewayStatus String The configuration status for selling subscriptions with PayPal Express.
PendingOrdersCount Int The number of pending orders for the shop.
PendingOrdersPrecision String The precision of the pending orders count, or how exact the value is.
PaymentSettingsSupportedDigitalWallets String A list of digital wallets supported by the shop.
PlanPublicDisplayName String The public display name of the shop's billing plan.
PlanPartnerDevelopment Bool Indicates whether the shop is a partner development shop for testing purposes.
PlanShopifyPlus Bool Indicates whether the shop has a Shopify Plus subscription.
PrimaryDomainId String A globally unique Id for the primary domain.
PrimaryDomainHost String The host name of the shop's primary domain (for example, example.com).
PrimaryDomainUrl String The URL of the shop's primary domain (for example, https://example.com).
PrimaryDomainSslEnabled Bool Indicates whether SSL is enabled on the primary domain.
PrimaryDomainLocalizationCountry String The ISO country code assigned to the primary domain (for example, CA or * for 'Rest of World').
PrimaryDomainLocalizationAlternateLocales String The ISO codes for alternate locales available on the primary domain (for example, ['en']).
PrimaryDomainLocalizationDefaultLocale String The ISO code for the default locale of the primary domain (for example, en).
PrimaryDomainMarketWebPresenceId String A globally unique Id for the market web presence of the primary domain.
PrimaryDomainMarketWebPresenceAlternateLocales String The ISO codes for alternate locales used in the primary domain's market web presence. These are exposed as language-specific subfolders.
PrimaryDomainMarketWebPresenceDefaultLocale String The default locale ISO code of the market web presence for the primary domain.
PrimaryDomainMarketWebPresenceDefaultLocaleMarketWebPresencesId String The Id of the market web presences that use the default locale.
PrimaryDomainMarketWebPresenceDefaultLocaleName String The human-readable name of the default locale for the primary domain.
PrimaryDomainMarketWebPresenceDefaultLocalePrimary Bool Indicates whether the default locale is the primary locale for the shop.
PrimaryDomainMarketWebPresenceDefaultLocalePublished Bool Indicates whether the default locale is visible to buyers.
PrimaryDomainMarketWebPresenceSubfolderSuffix String The market-specific subfolder suffix defined by the web presence (for example, 'us' in '/en-us'). Null if 'domain' is not null.
ResourceLimitsLocationLimit Int The maximum number of locations allowed for the shop.
ResourceLimitsMaxProductOptions Int The maximum number of product options allowed per product.
ResourceLimitsMaxProductVariants Int The maximum number of variants allowed per product.
ResourceLimitsRedirectLimitReached Bool Indicates whether the shop has reached its redirect limit for resources.

CData Python Connector for Shopify

ShopifyPaymentsAccount

Returns Shopify Payments account details, including balances, disputes, and payouts.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM ShopifyPaymentsAccount

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the Shopify Payments account.
Activated Bool Indicates whether the Shopify Payments setup is completed.
Country String The country associated with the Shopify Payments account.
Onboardable Bool Indicates whether the Shopify Payments account can be onboarded.
DefaultCurrency String The default payout currency for the Shopify Payments account.
PayoutStatementDescriptor String The descriptor used for payouts. This text appears on the merchant's bank statement when they receive a payout.
PayoutScheduleInterval String The interval at which payouts are sent to the connected bank account.
PayoutScheduleMonthlyAnchor Int The day of the month funds are paid out. Accepts values from 1–31. If set to monthly, payouts scheduled on the 29th–31st are sent on the last day of shorter months.
PayoutScheduleWeeklyAnchor String The day of the week funds are paid out. Accepts values from Monday to Friday. Used when the payment interval is set to weekly.

CData Python Connector for Shopify

ShopifyPaymentsAccountBalance

Returns current balances across all currencies for the account.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM ShopifyPaymentsAccountBalance

Columns

Name Type References Description
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
Amount Decimal The account balance amount, expressed as a decimal value.
CurrencyCode [KEY] String The currency code of the account balance amount.

CData Python Connector for Shopify

ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders

Lists adjustment orders linked to a specific balance transaction.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ShopifyPaymentsAccountBalanceTransactionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders WHERE ShopifyPaymentsAccountBalanceTransactionId = 'Val1'

Columns

Name Type References Description
Link [KEY] String The link to the adjustment order resource in Shopify Payments.
Name String The name of the adjustment order, typically the Shopify order number.
Amount Decimal The adjustment order amount, expressed as a decimal value.
Fee Decimal The adjustment order fee, expressed as a decimal value.
Net Decimal The net amount of the adjustment order, expressed as a decimal value.
AmountCurrencyCode String The currency code for the adjustment order amount.
ShopifyPaymentsAccountBalanceTransactionId [KEY] String A globally unique Id for the associated Shopify Payments account balance transaction.

CData Python Connector for Shopify

ShopifyPaymentsAccountBalanceTransactions

Lists balance transactions associated with the account's balances.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM ShopifyPaymentsAccountBalanceTransactions

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the balance transaction.
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
NetAmount Decimal The net amount contributing to the merchant's balance, expressed as a decimal value.
NetCurrencyCode String The currency code of the net amount contributing to the merchant's balance.
TransactionDate Datetime The date and time when the balance transaction was processed.
SourceId String The Id of the resource that led to the transaction.
SourceType String The type of source that generated the balance transaction.
SourceOrderTransactionId String The Id of the order transaction that resulted in this balance transaction.
AdjustmentReason String The reason for the adjustment associated with the transaction. Null if the source type is not an adjustment.
Type String The type of balance transaction.
Test Bool Indicates whether the transaction was created in test mode.
Amount Decimal The gross transaction amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the gross transaction amount.
FeeAmount Decimal The transaction fee amount, expressed as a decimal value.
FeeCurrencyCode String The currency code of the transaction fee amount.
AssociatedOrderId String The Id of the order associated with the balance transaction.
AssociatedOrderName String The name of the order associated with the balance transaction.
AssociatedPayoutId String The Id of the payout associated with the balance transaction.
AssociatedPayoutStatus String The status of the payout associated with the balance transaction.

CData Python Connector for Shopify

ShopifyPaymentsAccountBankAccounts

Lists bank accounts configured for the Shopify Payments account.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM ShopifyPaymentsAccountBankAccounts

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the Shopify Payments bank account.
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
BankName String The name of the bank where the account is held.
Country String The country of the bank.
Currency String The currency of the bank account.
Status String The current status of the bank account.
AccountNumberLastDigits String The last visible digits of the bank account number, with the rest redacted.
CreatedAt Datetime The date and time when the bank account was created.

CData Python Connector for Shopify

ShopifyPaymentsAccountDisputes

Lists disputes associated with the Shopify Payments account.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • InitiatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Id = 'Val1'
  SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Status = 'Val1'
  SELECT * FROM ShopifyPaymentsAccountDisputes WHERE InitiatedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the dispute.
LegacyResourceId String The Id of the corresponding resource in the REST Admin API.
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
EvidenceDueBy Date The deadline date for submitting evidence.
EvidenceSentOn Date The date when evidence was submitted. Returns null if evidence has not yet been sent.
Status String The current status of the dispute, such as under_review or accepted.
Type String Indicates whether the dispute is in the inquiry phase or has become a chargeback.
FinalizedOn Date The date when the dispute was resolved. Returns null if the dispute is not yet finalized.
InitiatedAt Datetime The date and time when the dispute was initiated.
AmountAmount Decimal The disputed amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the disputed amount.
OrderId String A globally unique Id for the associated order.
ReasonDetailsReason String The reason for the dispute provided by the cardholder's bank.
ReasonDetailsNetworkReasonCode String The raw reason code provided by the payment network.

CData Python Connector for Shopify

ShopifyPaymentsAccountPayouts

Lists past and current payouts between the account and the bank (available only in supported countries).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=' comparison operator.
  • Status supports the '=' comparison operator.
  • IssuedAt supports the '=, >, >=, <=, <' comparison operators.
  • TransactionType supports the '=' comparison operator.

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

  SELECT * FROM ShopifyPaymentsAccountPayouts WHERE Id = 'Val1'
  SELECT * FROM ShopifyPaymentsAccountPayouts WHERE Status = 'Val1'
  SELECT * FROM ShopifyPaymentsAccountPayouts WHERE IssuedAt = '2023-01-01 11:10:00'
  SELECT * FROM ShopifyPaymentsAccountPayouts WHERE TransactionType = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the payout.
LegacyResourceId String The Id of the corresponding resource in the REST Admin API.
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
Status String The current transfer status of the payout.
IssuedAt Datetime The exact date and time when the payout was issued. Includes only balance transactions available at this time.
TransactionType String The direction of the payout (for example, credit or debit).
BusinessEntityId String The Id of the business entity associated with the payout.
ExternalTraceId String A unique trace ID from the financial institution. Use this reference number to track the payout with your provider.
BankAccountId String A globally unique Id for the associated bank account.
NetAmount Decimal The net payout amount, expressed as a decimal value.
NetCurrencyCode String The currency code of the net payout amount.
SummaryAdjustmentsFeeAmount Decimal The adjustment fee amount, expressed as a decimal value.
SummaryAdjustmentsFeeCurrencyCode String The currency code of the adjustment fee amount.
SummaryAdjustmentsGrossAmount Decimal The gross adjustment amount, expressed as a decimal value.
SummaryAdjustmentsGrossCurrencyCode String The currency code of the gross adjustment amount.
SummaryChargesFeeAmount Decimal The charge fee amount, expressed as a decimal value.
SummaryChargesFeeCurrencyCode String The currency code of the charge fee amount.
SummaryChargesGrossAmount Decimal The gross charge amount, expressed as a decimal value.
SummaryChargesGrossCurrencyCode String The currency code of the gross charge amount.
SummaryRefundsFeeAmount Decimal The refund fee amount, expressed as a decimal value.
SummaryRefundsFeeCurrencyCode String The currency code of the refund fee amount.
SummaryRefundsFeeGrossAmount Decimal The gross refund fee amount, expressed as a decimal value.
SummaryRefundsFeeGrossCurrencyCode String The currency code of the gross refund fee amount.
SummaryReservedFundsFeeAmount Decimal The reserved funds fee amount, expressed as a decimal value.
SummaryReservedFundsFeeCurrencyCode String The currency code of the reserved funds fee amount.
SummaryReservedFundsGrossAmount Decimal The gross reserved funds amount, expressed as a decimal value.
SummaryReservedFundsGrossCurrencyCode String The currency code of the gross reserved funds amount.
SummaryRetriedPayoutsFeeAmount Decimal The retried payouts fee amount, expressed as a decimal value.
SummaryRetriedPayoutsFeeCurrencyCode String The currency code of the retried payouts fee amount.
SummaryRetriedPayoutsGrossAmount Decimal The gross retried payouts amount, expressed as a decimal value.
SummaryRetriedPayoutsGrossCurrencyCode String The currency code of the gross retried payouts amount.
SummaryAdvanceFeesAmount Decimal The advance fee amount, expressed as a decimal value.
SummaryAdvanceFeesCurrencyCode String The currency code of the advance fee amount, using ISO 4217 or supported legacy/non-standard codes.
SummaryAdvanceGrossAmount Decimal The gross advance amount, expressed as a decimal value.
SummaryAdvanceGrossCurrencyCode String The currency code of the gross advance amount, using ISO 4217 or supported legacy/non-standard codes.
SummaryUSDCRebateCreditAmount Decimal A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99.
SummaryUSDCRebateCreditAmountCurrencyCode String The three-letter currency code that represents a world currency used in a store. Currency codes include standard [standard ISO 4217 codes](https: //en. wikipedia. org/wiki/ISO 4217), legacy codes, and non-standard codes. For example, USD.

CData Python Connector for Shopify

StaffMembers

Lists staff members for the shop with pagination (Shopify Plus only).

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM StaffMembers

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the staff member.
ShopId String

Shop.Id

A globally unique Id for the associated shop.
Name String The staff member's full name.
FirstName String The staff member's first name.
LastName String The staff member's last name.
Active Bool Indicates whether the staff member is active.
Email String The staff member's email address.
Exists Bool Indicates whether the staff member's account exists.
Initials String The staff member's initials, if available.
Locale String The staff member's preferred locale, formatted as 'language' or 'language-COUNTRY' (for example, 'en' or 'en-US').
Phone String The staff member's phone number.
IsShopOwner Bool Indicates whether the staff member is the shop owner.
AccountType String The type of account assigned to the staff member.
PrivateDataAccountSettingsUrl String The URL to the staff member's account settings page.
PrivateDataCreatedAt Datetime The date and time when the staff member account was created.

CData Python Connector for Shopify

StoreCreditAccountCreditTransactions

Lists transactions that credit (increase) a store credit account.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • CustomerStoreCreditAccountId supports the '=, IN' comparison operators.

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

  SELECT * FROM StoreCreditAccountCreditTransactions WHERE Id = 'Val1'
  SELECT * FROM StoreCreditAccountCreditTransactions WHERE CustomerStoreCreditAccountId = 'Val1'

Insert

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

Amount, AmountCurrencyCode, ExpiresAt, CustomerStoreCreditAccountId

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the store credit account credit transaction.
Amount Decimal The transaction amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the transaction amount.
RemainingAmount Decimal The remaining credit balance after the transaction, expressed as a decimal value.
RemainingAmountCurrencyCode String The currency code of the remaining credit balance.
ExpiresAt Datetime The date and time when the transaction expires. Debit transactions always spend the soonest expiring credit first.
BalanceAfterTransactionAmount Decimal The account balance after the transaction, expressed as a decimal value.
BalanceAfterTransactionCurrencyCode String The currency code of the account balance after the transaction.
CreatedAt Datetime The date and time when the transaction was created.
CustomerStoreCreditAccountId String

CustomerStoreCreditAccounts.Id

A globally unique Id for the associated customer store credit account.

CData Python Connector for Shopify

StoreCreditAccountDebitRevertTransactions

Lists debit-revert transactions created when a debit is reversed on a store credit account.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • CustomerStoreCreditAccountId supports the '=, IN' comparison operators.

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

  SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE Id = 'Val1'
  SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE CustomerStoreCreditAccountId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the debit revert transaction.
Amount Decimal The amount of the reverted debit transaction, expressed as a decimal value.
AmountCurrencyCode String The currency code of the reverted debit transaction amount.
DebitTransactionId String The Id of the original debit transaction being reverted.
BalanceAfterTransactionAmount Decimal The account balance after the revert transaction, expressed as a decimal value.
BalanceAfterTransactionCurrencyCode String The currency code of the account balance after the revert transaction.
CreatedAt Datetime The date and time when the revert transaction was created.
CustomerStoreCreditAccountId String

CustomerStoreCreditAccounts.Id

A globally unique Id for the associated customer store credit account.

CData Python Connector for Shopify

StoreCreditAccountDebitTransactions

Lists transactions that debit (decrease) a store credit account.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • CustomerStoreCreditAccountId supports the '=, IN' comparison operators.

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

  SELECT * FROM StoreCreditAccountDebitTransactions WHERE Id = 'Val1'
  SELECT * FROM StoreCreditAccountDebitTransactions WHERE CustomerStoreCreditAccountId = 'Val1'

Insert

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

Amount, AmountCurrencyCode, CustomerStoreCreditAccountId

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the debit transaction.
Amount Decimal The debit amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the debit amount.
BalanceAfterTransactionAmount Decimal The account balance after the debit transaction, expressed as a decimal value.
BalanceAfterTransactionCurrencyCode String The currency code of the account balance after the debit transaction.
CreatedAt Datetime The date and time when the debit transaction was created.
CustomerStoreCreditAccountId String

CustomerStoreCreditAccounts.Id

A globally unique Id for the associated customer store credit account.

CData Python Connector for Shopify

StoreCreditAccountExpirationTransactions

Lists expiration transactions created when credit expires on a store credit account.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CustomerStoreCreditAccountId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM StoreCreditAccountExpirationTransactions WHERE CustomerStoreCreditAccountId = 'Val1'

Columns

Name Type References Description
Amount Decimal The amount of store credit that expired, expressed as a decimal value.
AmountCurrencyCode String The currency code of the expired store credit amount.
CreditTransactionId String The Id of the original credit transaction that expired.
BalanceAfterTransactionAmount Decimal The account balance after the expiration transaction, expressed as a decimal value.
BalanceAfterTransactionCurrencyCode String The currency code of the account balance after the expiration transaction.
CreatedAt Datetime The date and time when the expiration transaction was created.
CustomerStoreCreditAccountId String

CustomerStoreCreditAccounts.Id

A globally unique Id for the associated customer store credit account.

CData Python Connector for Shopify

TenderTransactions

Lists tender (payment method) transactions recorded by the shop.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Test supports the '=, !=' comparison operators.
  • ProcessedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM TenderTransactions WHERE Id = 'Val1'
  SELECT * FROM TenderTransactions WHERE Test = true
  SELECT * FROM TenderTransactions WHERE ProcessedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the tender transaction.
Test Bool Indicates whether the transaction is a test transaction.
PaymentMethod String Details about the payment method used for the transaction.
ProcessedAt Datetime The date and time when the transaction was processed.
RemoteReference String The remote gateway reference associated with the tender transaction.
AmountAmount Decimal The transaction amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the transaction amount.
TenderTransactionCreditCardDetailsCreditCardCompany String The name of the company that issued the customer's credit card (for example, Visa).
TenderTransactionCreditCardDetailsCreditCardNumber String The customer's credit card number, with all digits except the last four redacted.
UserId String A globally unique Id for the user associated with the transaction. Available only with a Shopify Plus subscription.
OrderId String A globally unique Id for the associated order.

CData Python Connector for Shopify

Stored Procedures

Stored procedures are function-like interfaces that extend the functionality of the connector beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.

Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.

CData Python Connector for Shopify Stored Procedures

Name Description
AcceptCancellationRequest Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
AcceptFulfillmentRequest Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
ApproveComment Approves a blog comment so it becomes publicly visible.
AppSubscriptionTrialExtend Extends the trial of an app subscription.
CollectionReorder Reorders products within a collection to control storefront merchandising.
CompanyContactRemoveFromCompany Removes a contact from a specified business-to-business (B2B) company.
CreateFile Creates file assets from an external URL or finalizes previously staged uploads.
CustomerGenerateActivationUrl Generates a URL for activating a customer account.
CustomerSegmentMembersQueryCreate Creates a customer segment members query.
CustomerSendAccountInviteEmail Sends an account invite email to a customer.
DiscountCodeRedeemCodeBulkDelete Asynchronously delete discount codes in bulk.
DiscountRedeemCodeBulkAdd Asynchronously adds discount codes in bulk to a code discount. Maximum: 250 codes per call.
DraftOrderComplete Completes a draft order and creates an order.
DraftOrderInvoiceSend Sends an email invoice for a draft order.
EnableStandardMetafieldDefinition Enables a standard metafield definition from a provided template.
FulfillmentCancel Cancels an existing Fulfillment and reverses its effects on associated FulfillmentOrder objects. When you cancel a fulfillment, the system creates new fulfillment orders for the cancelled items so they can be fulfilled again.
FulfillmentOrderHold Applies a hold on a fulfillment order to pause fulfillment.
FulfillmentOrderMerge Merges one or more fulfillment orders into a single order based on line item inputs and quantities.
FulfillmentOrderMove Moves a fulfillment order to a new location.
FulfillmentOrderReleaseHold Releases the fulfillment hold on a fulfillment order.
FulfillmentOrderSplit Splits a fulfillment order into multiple orders based on line item inputs and quantities.
FulfillmentOrdersReroute Route the fulfillment orders to an alternative location, according to the shop's order routing settings.
GetOAuthAccessToken Gets an authentication token from Shopify.
GetOAuthAuthorizationURL Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the OAuthAccessToken from this URL.
InventoryAdjustQuantities Applies relative changes to inventory quantities for specified items.
InventoryBulkToggleActivation Activates or deactivates inventory items at selected locations to control eligibility for stocking.
InventoryMoveQuantities Moves quantities between inventory quantity names (for example, available or reserved) within a location.
InventorySetQuantities Sets absolute inventory quantities for specified quantity names at a location.
InventorySetScheduledChanges Schedules future inventory level changes for specified items and locations.
MarkCommentNotSpam Marks a comment as not spam to restore normal visibility.
MarkCommentSpam Marks a comment as spam to hide it from public view.
MarketingEngagementCreate Creates a marketing engagement for a marketing activity.
OrderCancel Cancels an order and optionally restocks items and notifies the customer.
OrderCreateManualPayment Creates a manual payment for an order.
OrderSuggestRefund Retrieves a suggested refund for an order based on line items, duties, shipping, and the refund method allocation.
PublishTheme Publishes a theme to make it the live storefront theme.
RejectCancellationRequest Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
RejectFulfillmentRequest Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
SendCancellationRequest Sends a cancellation request to the fulfillment service of a fulfillment order.
SendFulfillmentRequest Sends a fulfillment request to the fulfillment service of a fulfillment order.
ThemeDuplicate Duplicates a theme.
ThemeFilesCopy Copies files within a theme, overwriting existing destination files.
TransactionVoid Voids an uncaptured authorization transaction so it can no longer be captured.
UpdateFile Updates metadata or properties of an existing uploaded file asset.

CData Python Connector for Shopify

AcceptCancellationRequest

Accepts a cancellation request sent to a fulfillment service for a fulfillment order.

Input

Name Type Required Description
Id String True The identifier of the fulfillment order tied to the cancellation request.
Message String False An optional message included with the cancellation acceptance, often used for notes or context.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the cancellation request was successfully accepted.
Details String Additional information or error details about the outcome of the cancellation request.
FulfillmentOrderID String The globally unique identifier of the fulfillment order after the cancellation request is processed.
RequestStatus String The current status of the cancellation request, such as accepted or failed.

CData Python Connector for Shopify

AcceptFulfillmentRequest

Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.

Input

Name Type Required Description
Id String True The identifier of the fulfillment order associated with the fulfillment request.
Message String False An optional message included with the fulfillment acceptance, often used for notes or context.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
FulfillmentOrderID String The globally unique identifier of the fulfillment order after the request is processed.
RequestStatus String The current status of the request, such as accepted, pending, or failed.

CData Python Connector for Shopify

ApproveComment

Approves a blog comment so it becomes publicly visible.

Input

Name Type Required Description
Id String True The identifier of the comment to be approved.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
Id String The globally unique identifier of the approved comment.
Status String The current status of the comment, such as approved or pending.

CData Python Connector for Shopify

AppSubscriptionTrialExtend

Extends the trial of an app subscription.

Input

Name Type Required Description
Id String True The ID of the app subscription.
Days Int True The number of days to extend the trial.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The ID of the app subscription.
Status String The status of the app subscription.

CData Python Connector for Shopify

CollectionReorder

Reorders products within a collection to control storefront merchandising.

Input

Name Type Required Description
CollectionID String True The identifier of the collection where products are reordered.
ProductIDs String True A comma-separated list of product identifiers in the collection to be reordered.
NewPositions String True A comma-separated list of new position values for the specified products.
WaitJob String False Indicates whether the stored procedure should wait until the reorder job is complete before returning a result.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
JobID String The identifier of the reorder job that was created.
Status String The current status of the reorder job, such as queued, running, or completed.

CData Python Connector for Shopify

CompanyContactRemoveFromCompany

Removes a contact from a specified business-to-business (B2B) company.

Input

Name Type Required Description
CompanyContactId String True The identifier of the company contact to remove from the company.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
RemovedCompanyContactId String The identifier of the company contact that was removed.

CData Python Connector for Shopify

CreateFile

Creates file assets from an external URL or finalizes previously staged uploads.

Input

Name Type Required Description
OriginalSource String True The source URL of the file. Supports external URLs for images or staged upload URLs.
FileName String False The name to assign to the file. If not provided, the filename from the OriginalSource is used.
Description String False The alternative text description of the file, used for accessibility.
ContentType String False The type of file. If omitted, Shopify attempts to detect the content type during processing.
DuplicateResolutionMode String False Specifies how to handle cases where the filename is already in use.

The allowed values are APPEND_UUID, RAISE_ERROR, REPLACE.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
Id String The globally unique identifier of the created file.
Status String The current status of the file, such as uploaded or failed.

CData Python Connector for Shopify

CustomerGenerateActivationUrl

Generates a URL for activating a customer account.

Input

Name Type Required Description
Id String True The ID of the customer.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
AccountActivationUrl String The generated activation URL for the customer.

CData Python Connector for Shopify

CustomerSegmentMembersQueryCreate

Creates a customer segment members query.

Input

Name Type Required Description
SegmentId String False The ID of the segment.
Query String False The search query to filter customers by.
Reverse Bool False Reverse the order of the query results.
SortKey String False Sort the query results by the given key.
WaitJob Bool False The Stored Procedure will wait until the Job is done.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
JobID String The CustomerSegmentMembersQuery job ID.
CurrentCount Int The current count of segment members matching the query.
Status String The status of the Job.

CData Python Connector for Shopify

CustomerSendAccountInviteEmail

Sends an account invite email to a customer.

Input

Name Type Required Description
Id String True The ID of the customer.
EmailTo String False The email recipient.
EmailFrom String False The email sender.
EmailSubject String False The email subject.
EmailBody String False The email body.
EmailCustomMessage String False A custom message to include in the email.
EmailBcc String False BCC recipients for the email.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The ID of the customer the invite was sent to.

CData Python Connector for Shopify

DiscountCodeRedeemCodeBulkDelete

Asynchronously delete discount codes in bulk.

Input

Name Type Required Description
DiscountId String True The ID of the DiscountCodeNode object that the codes will be removed from.
Ids String False The IDs of the discount redeem codes to delete. Provide a comma-separated list of IDs.
SavedSearchId String False The ID of the saved search that provides a list of the discount redeem codes to delete.
Search String False The search expression that provides the list of discount redeem codes to delete.
WaitJob String False The Stored Procedure will wait until the Job is done.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
JobID String The Job Id.
Status String The status of the Job.

CData Python Connector for Shopify

DiscountRedeemCodeBulkAdd

Asynchronously adds discount codes in bulk to a code discount. Maximum: 250 codes per call.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • Codes references the DiscountRedeemCodeBulkAddCodeInputs temporary table.

DiscountRedeemCodeBulkAddCodeInputs Temporary Table Columns

Column NameTypeDescription
CodeStringThe code to use the discount.

Input

Name Type Required Description
DiscountId String True The ID of the DiscountCodeNode object receiving the codes.
Codes String True The list of codes to associate with the code discount.
WaitJob String False The Stored Procedure will wait until the Job is done.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
JobId String The ID of the bulk operation that creates the discount codes.
Status String The status of the Job.
CodesCount Int The total number of codes to be created.
ImportedCount Int The number of codes successfully created.
FailedCount Int The number of codes that failed to be created.

CData Python Connector for Shopify

DraftOrderComplete

Completes a draft order and creates an order.

Input

Name Type Required Description
Id String True The ID of the draft order to complete.
PaymentGatewayId String False The gateway for the completed draft order.
SourceName String False The source of the checkout.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The ID of the completed draft order.
OrderId String The ID of the created order.

CData Python Connector for Shopify

DraftOrderInvoiceSend

Sends an email invoice for a draft order.

Input

Name Type Required Description
Id String True The ID of the draft order.
EmailTo String False The email recipient.
EmailFrom String False The email sender.
EmailSubject String False The email subject.
EmailBody String False The email body.
EmailCustomMessage String False A custom message to include in the email.
EmailBcc String False BCC recipients for the email.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The ID of the draft order.

CData Python Connector for Shopify

EnableStandardMetafieldDefinition

Enables a standard metafield definition from a provided template.

Input

Name Type Required Description
Id String False The identifier of the standard metafield definition template to enable.
Namespace String False The namespace of the standard metafield to enable. Must be provided along with the key.
Key String False The key of the standard metafield to enable. Must be provided along with the namespace.
OwnerType String True The Shopify resource type (such as Product, Collection, or Customer) that the metafield definition is scoped to.
UseAsCollectionCondition Boolean False Specifies whether this metafield definition can be used as a condition when creating automated collections.
Pin Boolean True Specifies whether the metafield definition should be pinned for easier visibility in the Shopify Admin.
AccessAdmin String False Defines the Admin API access level for metafields created under this definition.
AccessCustomerAccount String False Defines the Customer Account API access level for metafields created under this definition.
AccessStorefront String False Defines the Storefront API access level for metafields created under this definition.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation to enable the metafield definition was successful.
Details String Additional information about the outcome of the operation.
Id String The globally unique identifier of the enabled metafield definition.

CData Python Connector for Shopify

FulfillmentCancel

Cancels an existing Fulfillment and reverses its effects on associated FulfillmentOrder objects. When you cancel a fulfillment, the system creates new fulfillment orders for the cancelled items so they can be fulfilled again.

Input

Name Type Required Description
Id String True The ID of the fulfillment to be canceled.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The canceled fulfillment.

CData Python Connector for Shopify

FulfillmentOrderHold

Applies a hold on a fulfillment order to pause fulfillment.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • FulfillmentOrderLineItems references the FulfillmentOrderLineItemInputs temporary table.

FulfillmentOrderLineItemInputs Temporary Table Columns

Column NameTypeDescription
IdStringThe ID of the fulfillment order line item.
QuantityIntThe quantity of the line item.

Input

Name Type Required Description
FulfillmentOrderId String True The ID of the fulfillment order.
Reason String True The reason for applying the fulfillment hold.

The allowed values are AWAITING_PAYMENT, HIGH_RISK_OF_FRAUD, INCORRECT_ADDRESS, INVENTORY_OUT_OF_STOCK, UNKNOWN, OTHER.

ReasonNotes String False Additional notes about the fulfillment hold.
NotifyMerchant Bool False Whether to notify the merchant of the hold.
ExternalId String False An identifier for the hold that you can reference later.
FulfillmentOrderLineItems String False Line items to place on hold.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
FulfillmentHoldId String The fulfillment hold created for the fulfillment order. Null if no hold was created.
FulfillmentOrderId String The fulfillment order on which a fulfillment hold was applied.
RemainingFulfillmentOrderId String The remaining fulfillment order containing the line items to which the hold wasn't applied.

CData Python Connector for Shopify

FulfillmentOrderMerge

Merges one or more fulfillment orders into a single order based on line item inputs and quantities.

Input

Name Type Required Description
MergeIntents String True A structured input (JSON or XML array) containing objects with fulfillmentOrderId, fulfillmentOrderLineItemId, and fulfillmentOrderLineItemQuantity, which define the line items to merge.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the merge operation completed successfully.
Details String Additional details about the outcome of the merge operation.
FulfillmentOrderId String The globally unique identifier of the new fulfillment order created by the merge.

CData Python Connector for Shopify

FulfillmentOrderMove

Moves a fulfillment order to a new location.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • FulfillmentOrderLineItems references the FulfillmentOrderLineItemInputs temporary table.

FulfillmentOrderLineItemInputs Temporary Table Columns

Column NameTypeDescription
IdStringThe ID of the fulfillment order line item.
QuantityIntThe quantity of the line item.

Input

Name Type Required Description
FulfillmentOrderId String True The ID of the fulfillment order to move.
NewLocationId String True The ID of the new location to move the fulfillment order to.
FulfillmentOrderLineItems String False Line items to be moved.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
MovedFulfillmentOrderId String The ID of the moved fulfillment order.
RemainingFulfillmentOrderId String The ID of the remaining fulfillment order at the original location.
OriginalFulfillmentOrderId String The ID of the original fulfillment order.

CData Python Connector for Shopify

FulfillmentOrderReleaseHold

Releases the fulfillment hold on a fulfillment order.

Input

Name Type Required Description
FulfillmentOrderId String True The ID of the fulfillment order.
HoldIds String False The IDs of the fulfillment holds to release.
ExternalId String False An external identifier to identify the hold to release.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
FulfillmentOrderId String The ID of the fulfillment order.
FulfillmentOrderStatus String The status of the fulfillment order.

CData Python Connector for Shopify

FulfillmentOrderSplit

Splits a fulfillment order into multiple orders based on line item inputs and quantities.

Input

Name Type Required Description
FulfillmentOrderId String True The globally unique identifier of the fulfillment order to split.
FulfillmentOrderLineItemIDs String True A comma-separated list of globally unique identifiers for the fulfillment order line items to split.
FulfillmentOrderLineItemQuantities String True A comma-separated list of quantities that correspond to each fulfillment order line item being split.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderId String The globally unique identifier of the original fulfillment order after the split.
RemainingFulfillmentOrderId String The globally unique identifier of the remaining fulfillment order after the split.
ReplacementFulfillmentOrderId String The globally unique identifier of the replacement fulfillment order, used when the original fulfillment order could not be split.

CData Python Connector for Shopify

FulfillmentOrdersReroute

Route the fulfillment orders to an alternative location, according to the shop's order routing settings.

Input

Name Type Required Description
FulfillmentOrderIds String True A comma separated list of IDs of the fulfillment orders to be rerouted.
ExcludedLocationIds String False A comma separated list of IDs of the locations to exclude for rerouting.
IncludedLocationIds String False A comma separated list of the locations to include for rerouting.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
MovedFulfillmentOrderId String The id of the moved fulfillment order.

CData Python Connector for Shopify

GetOAuthAccessToken

Gets an authentication token from Shopify.

Input

Name Type Required Description
AuthMode String False The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app.

The allowed values are APP, WEB.

The default value is APP.

CallbackUrl String False The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL you have specified in the Shopify app settings. Only needed when the Authmode parameter is Web.
Verifier String False The verifier returned from Shopify after the user has authorized your app to have access to their data. This value will be returned as a parameter to the callback URL.
State String False Encodes state of the app, which will be returned verbatim in the response and can be used to match the response up to a given request.
Scope String False The scope or permissions you are requesting.

Result Set Columns

Name Type Description
OAuthAccessToken String The access token used for communication with Shopify.
ExpiresIn String The remaining lifetime on the access token. A -1 denotes that it will not expire.

CData Python Connector for Shopify

GetOAuthAuthorizationURL

Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the OAuthAccessToken from this URL.

Input

Name Type Required Description
CallbackUrl String False The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL in the Shopify app settings.
State String False Encodes state of the app, which will be returned verbatim in the response and can be used to match the response up to a given request.
Scope String False The scope or permissions you are requesting.

Result Set Columns

Name Type Description
URL String The authorization URL, entered into a Web browser to obtain the verifier token and authorize your app.

CData Python Connector for Shopify

InventoryAdjustQuantities

Applies relative changes to inventory quantities for specified items.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventoryAdjustChanges references the InventoryAdjustChanges temporary table.

InventoryAdjustChanges Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the change will be applied.
InventoryLevelLocationIdStringSpecifies the location at which the change will be applied.
LedgerDocumentUriStringA freeform URI that represents what changed the inventory quantities.
DeltaIntThe amount by which the inventory quantity will be changed.

Input

Name Type Required Description
Name String True The name of the inventory quantity to adjust.

The allowed values are available, damaged, quality_control, reserved, safety_stock.

Reason String True The reason for making the inventory adjustment.

The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.

ReferenceDocumentUri String False A URI identifying the origin or context of the adjustment (for example, the related Shopify resource or external document).
InventoryAdjustChanges String True The set of item quantity changes to apply across specific locations.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about the execution of the operation.
Id String The globally unique identifier of the adjustment group created by the operation.

CData Python Connector for Shopify

InventoryBulkToggleActivation

Activates or deactivates inventory items at selected locations to control eligibility for stocking.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventoryItemUpdates references the InventoryItemUpdates temporary table.

InventoryItemUpdates Temporary Table Columns

Column NameTypeDescription
ActivateBoolWhether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location.
LocationIdStringThe ID of the location to modify the inventory item's stocked status.

Input

Name Type Required Description
InventoryItemId String True The ID of the inventory item for which to update activation status at specific locations.
InventoryItemUpdates String True A list of location-and-status pairs defining where the inventory item should be activated or deactivated.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about the execution of the operation.
InventoryItemId String The ID of the inventory item that was processed.
InventoryLevelIds String The IDs of the inventory levels that were activated or deactivated.

CData Python Connector for Shopify

InventoryMoveQuantities

Moves quantities between inventory quantity names (for example, available or reserved) within a location.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventoryMoveChanges references the InventoryMoveChanges temporary table.

InventoryMoveChanges Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the change will be applied.
QuantityIntThe amount by which the inventory quantity will be changed.
FromNameStringThe quantity name to be moved.
FromInventoryLevelLocationIdStringSpecifies the location at which the change will be applied.
FromLedgerDocumentUriStringA freeform URI that represents what changed the inventory quantities.
ToNameStringThe quantity name to be moved.
ToInventoryLevelLocationIdStringSpecifies the location at which the change will be applied.
ToLedgerDocumentUriStringA freeform URI that represents what changed the inventory quantities.

Input

Name Type Required Description
Reason String True The explanation for why the inventory quantities are being moved between locations.

The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.

ReferenceDocumentUri String True A freeform URI identifying the context of the inventory change (for example, the resource or system action that triggered the move).
InventoryMoveChanges String True The set of quantity adjustments to apply for specific inventory items at defined locations.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the inventory move operation completed successfully.
Details String Additional information or messages about the execution of the operation.
Id String The unique identifier for the inventory adjustment group created by this move operation.

CData Python Connector for Shopify

InventorySetQuantities

Sets absolute inventory quantities for specified quantity names at a location.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventorySetChanges references the InventorySetChanges temporary table.

InventorySetChanges Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the quantity will be set.
InventoryLevelLocationIdStringSpecifies the location at which the quantity will be set.
CompareQuantityIntThe current quantity to be compared against the persisted quantity.
QuantityIntThe quantity to which the inventory quantity will be set.

Input

Name Type Required Description
Name String True The name of the quantity group to update.

The allowed values are available, on_hand.

Reason String True The reason provided for making the quantity changes.

The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.

ReferenceDocumentUri String False A URI reference that identifies the source or context for the inventory change.
IgnoreCompareQuantity Boolean False Specifies whether to skip the compare-quantity check before applying updates.
InventorySetChanges String True The new quantity values to assign for each inventory item and location.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
Id String The unique ID assigned to the group of quantity changes created by the operation.

CData Python Connector for Shopify

InventorySetScheduledChanges

Schedules future inventory level changes for specified items and locations.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventorySetScheduledItems references the InventorySetScheduledItems temporary table.

InventorySetScheduledItems Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the change will be applied.
InventoryLevelLocationIdStringThe ID of the location.
LedgerDocumentUriStringA freeform URI that represents what changed the inventory quantities.
InventorySetScheduledItemChanges (references InventorySetScheduledItemChanges)StringAn array of all the scheduled changes for the item.

InventorySetScheduledItemChanges Temporary Table Columns

Column NameTypeDescription
FromNameStringThe quantity name to transition from.
ToNameStringThe quantity name to transition to.
ExpectedAtDatetimeThe date and time that the scheduled change is expected to happen.

Input

Name Type Required Description
Reason String True The reason provided for creating the scheduled inventory changes.

The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.

ReferenceDocumentUri String True A URI reference that identifies the source or context for the inventory change.
InventorySetScheduledItems String True The list of inventory items and locations where the scheduled changes are applied.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
ScheduledChanges String The scheduled changes that were created by the operation.

CData Python Connector for Shopify

MarkCommentNotSpam

Marks a comment as not spam to restore normal visibility.

Input

Name Type Required Description
Id String True The ID of the comment to mark as not spam.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
Id String A globally unique Id returned for the operation.
Status String The status of the comment after being marked as not spam.

CData Python Connector for Shopify

MarkCommentSpam

Marks a comment as spam to hide it from public view.

Input

Name Type Required Description
Id String True The Id of the comment to mark as spam.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
Id String A globally unique Id returned for the operation.
Status String The status of the comment after being marked as spam.

CData Python Connector for Shopify

MarketingEngagementCreate

Creates a marketing engagement for a marketing activity.

Input

Name Type Required Description
MarketingActivityId String False The marketing activity ID. Set this or RemoteId for activity-level engagements; leave null for channel-level.
RemoteId String False A custom unique identifier for the marketing activity. Set this or MarketingActivityId for activity-level engagements; leave null for channel-level.
ChannelHandle String False The unique string identifier of the channel. Set only for channel-level engagements; leave null for activity-level.
OccurredOn Datetime True The calendar date for which the metrics are being reported.
UtcOffset String True The UTC offset for the time zone in which the metrics are reported (format '+HH:MM' or '-HH:MM').
IsCumulative Bool True Whether the provided metrics are cumulative (from first day of reporting) or non-cumulative (single-day). Non-cumulative is strongly preferred.
ImpressionsCount Int False The total number of times marketing content was displayed to users.
ViewsCount Int False The total number of views on the marketing content.
UniqueViewsCount Int False The total number of unique users who saw the marketing content.
ClicksCount Int False The total number of interactions on the marketing content.
UniqueClicksCount Int False The total number of unique clicks on the marketing content.
SharesCount Int False The total number of times marketing content was shared or reposted.
FavoritesCount Int False The total number of favorites, likes, saves, or bookmarks on the marketing content.
CommentsCount Int False The total number of comments on the marketing content.
ComplaintsCount Int False The total number of complaints on the marketing content (e.g. spam marks, dislikes, reports).
FailsCount Int False The total number of fails for the marketing content (e.g. bounced emails).
SendsCount Int False The total number of marketing emails or messages that were sent.
UnsubscribesCount Int False The total number of unsubscribes on the marketing content.
SessionsCount Int False The number of online store sessions generated from the marketing content.
Orders Decimal False The number of orders generated from the marketing content.
FirstTimeCustomers Decimal False The number of customers that placed their first order.
ReturningCustomers Decimal False The number of returning customers that placed an order.
SalesAmount Decimal False The amount of sales generated from the marketing content.
SalesCurrencyCode String False The currency code for the sales amount.
AdSpendAmount Decimal False The total ad spend for the marketing content.
AdSpendCurrencyCode String False The currency code for the ad spend.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
MarketingActivityId String The ID of the associated marketing activity.

CData Python Connector for Shopify

OrderCancel

Cancels an order and optionally restocks items and notifies the customer.

Input

Name Type Required Description
NotifyCustomer Bool False Indicates whether a notification is sent to the customer about the order cancellation.
OrderId String True The Id of the order to be canceled.
Reason String True The reason for canceling the order.

The allowed values are CUSTOMER, DECLINED, FRAUD, INVENTORY, OTHER, STAFF.

RefundMethodOriginalPaymentMethodsRefund Bool False Whether to refund to the original payment method.
RefundMethodStoreCreditRefundExpiresAt Datetime False Whether to refund to store credit.
Restock Bool True Indicates whether the inventory committed to the order is restocked.
StaffNote String False A staff-facing note about the order cancellation. Not visible to the customer.
WaitJob Bool False Indicates whether the stored procedure waits until the job is complete.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
JobID String The Id of the job associated with the cancellation.
Status String The status of the job.

CData Python Connector for Shopify

OrderCreateManualPayment

Creates a manual payment for an order.

Input

Name Type Required Description
Amount Decimal False Decimal money amount.
CurrencyCode String False Currency of the money.
OrderId String True The ID of the order to create a manual payment for.
PaymentMethodName String False The name of the payment method used for creating the payment. If none is provided, then the default manual payment method ('Other') will be used.
ProcessedAt Datetime False The date and time (ISO 8601 format) when a manual payment was processed.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.

CData Python Connector for Shopify

OrderSuggestRefund

Retrieves a suggested refund for an order based on line items, duties, shipping, and the refund method allocation.

Procedure-Specific Information

The following inputs can accept either temporary table names or JSON aggregates that match the structure of the referenced table as values.

  • RefundLineItems references the RefundLineItemInputs temporary table.
  • RefundDuties references the RefundDutyInputs temporary table.

RefundLineItemInputs Temporary Table Columns

Column NameTypeDescription
LineItemIdStringThe ID of the line item to refund.
QuantityIntThe quantity of the line item to refund.
LocationIdStringThe ID of the location where the items will be restocked.
RestockTypeStringThe type of restock for the refunded line item.

RefundDutyInputs Temporary Table Columns

Column NameTypeDescription
DutyIdStringThe ID of the duty to refund.
RefundTypeStringThe type of refund for the duty.

Input

Name Type Required Description
Id String True The ID of the order to suggest a refund for.
ShippingAmount Decimal False The amount of shipping to refund. Ignored when RefundShipping is set.
RefundShipping Boolean False Whether to refund the full shipping amount. Takes precedence over ShippingAmount.
RefundLineItems String False Line items to refund.
RefundDuties String False Duties to refund.
SuggestFullRefund Boolean False Whether to suggest a full refund regardless of the other inputs. Defaults to false.
RefundMethodAllocation String False How the refund amount should be allocated across refund methods. Defaults to ORIGINAL_PAYMENT_METHODS.

The allowed values are ORIGINAL_PAYMENT_METHODS, STORE_CREDIT.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
AmountSetShopMoneyAmount Decimal Amount of the suggested refund in shop currency.
AmountSetShopMoneyCurrencyCode String Currency code of the suggested refund in shop currency.
AmountSetPresentmentMoneyAmount Decimal Amount of the suggested refund in presentment currency.
AmountSetPresentmentMoneyCurrencyCode String Currency code of the suggested refund in presentment currency.
DiscountedSubtotalSetShopMoneyAmount Decimal Discounted subtotal amount in shop currency.
DiscountedSubtotalSetShopMoneyCurrencyCode String Discounted subtotal currency code in shop currency.
DiscountedSubtotalSetPresentmentMoneyAmount Decimal Discounted subtotal amount in presentment currency.
DiscountedSubtotalSetPresentmentMoneyCurrencyCode String Discounted subtotal currency code in presentment currency.
MaximumRefundableSetShopMoneyAmount Decimal Maximum refundable amount in shop currency.
MaximumRefundableSetShopMoneyCurrencyCode String Maximum refundable currency code in shop currency.
MaximumRefundableSetPresentmentMoneyAmount Decimal Maximum refundable amount in presentment currency.
MaximumRefundableSetPresentmentMoneyCurrencyCode String Maximum refundable currency code in presentment currency.
SubtotalSetShopMoneyAmount Decimal Subtotal amount in shop currency.
SubtotalSetShopMoneyCurrencyCode String Subtotal currency code in shop currency.
SubtotalSetPresentmentMoneyAmount Decimal Subtotal amount in presentment currency.
SubtotalSetPresentmentMoneyCurrencyCode String Subtotal currency code in presentment currency.
TotalCartDiscountAmountSetShopMoneyAmount Decimal Total cart discount amount in shop currency.
TotalCartDiscountAmountSetShopMoneyCurrencyCode String Total cart discount currency code in shop currency.
TotalCartDiscountAmountSetPresentmentMoneyAmount Decimal Total cart discount amount in presentment currency.
TotalCartDiscountAmountSetPresentmentMoneyCurrencyCode String Total cart discount currency code in presentment currency.
TotalDutiesSetShopMoneyAmount Decimal Total duties amount in shop currency.
TotalDutiesSetShopMoneyCurrencyCode String Total duties currency code in shop currency.
TotalDutiesSetPresentmentMoneyAmount Decimal Total duties amount in presentment currency.
TotalDutiesSetPresentmentMoneyCurrencyCode String Total duties currency code in presentment currency.
TotalTaxSetShopMoneyAmount Decimal Total tax amount in shop currency.
TotalTaxSetShopMoneyCurrencyCode String Total tax currency code in shop currency.
TotalTaxSetPresentmentMoneyAmount Decimal Total tax amount in presentment currency.
TotalTaxSetPresentmentMoneyCurrencyCode String Total tax currency code in presentment currency.
ShippingAmountSetShopMoneyAmount Decimal Shipping refund amount in shop currency.
ShippingAmountSetShopMoneyCurrencyCode String Shipping refund currency code in shop currency.
ShippingAmountSetPresentmentMoneyAmount Decimal Shipping refund amount in presentment currency.
ShippingAmountSetPresentmentMoneyCurrencyCode String Shipping refund currency code in presentment currency.
ShippingMaximumRefundableSetShopMoneyAmount Decimal Maximum refundable shipping amount in shop currency.
ShippingMaximumRefundableSetShopMoneyCurrencyCode String Maximum refundable shipping currency code in shop currency.
ShippingMaximumRefundableSetPresentmentMoneyAmount Decimal Maximum refundable shipping amount in presentment currency.
ShippingMaximumRefundableSetPresentmentMoneyCurrencyCode String Maximum refundable shipping currency code in presentment currency.
ShippingTaxSetShopMoneyAmount Decimal Shipping tax amount in shop currency.
ShippingTaxSetShopMoneyCurrencyCode String Shipping tax currency code in shop currency.
ShippingTaxSetPresentmentMoneyAmount Decimal Shipping tax amount in presentment currency.
ShippingTaxSetPresentmentMoneyCurrencyCode String Shipping tax currency code in presentment currency.
SuggestedRefundMethods String JSON aggregate of the suggested refund method allocations.
RefundLineItems String JSON aggregate of the refund line items suggested for this refund.
RefundDuties String JSON aggregate of the duties suggested for refund.
SuggestedTransactions String JSON aggregate of the suggested order transactions for this refund.

CData Python Connector for Shopify

PublishTheme

Publishes a theme to make it the live storefront theme.

Input

Name Type Required Description
Id String True The Id of the theme to be published.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation executed successfully.
Details String Additional details about the execution of the operation.
Id String A globally unique Id of the published theme.

CData Python Connector for Shopify

RejectCancellationRequest

Rejects a cancellation request sent to a fulfillment service for a fulfillment order.

Input

Name Type Required Description
Id String True The unique identifier of the fulfillment order linked to the cancellation request.
Message String False An optional message to include with the rejection of the cancellation request.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the cancellation request rejection executed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderID String A globally unique identifier for the fulfillment order.
RequestStatus String The status of the stored procedure execution.

CData Python Connector for Shopify

RejectFulfillmentRequest

Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.

Input

Name Type Required Description
Id String True The unique identifier of the fulfillment order associated with the fulfillment request.
Message String False An optional message to include with the rejection of the fulfillment request.
Reason String False The reason for rejecting the fulfillment request.

The allowed values are INCORRECT_ADDRESS, INELIGIBLE_PRODUCT, INVENTORY_OUT_OF_STOCK, OTHER, UNDELIVERABLE_DESTINATION.

LineItems String False An optional array of line item rejection details. If omitted, all line items are assumed to be unfulfillable. Example: [{fulfillmentOrderLineItemId: 'xxx', message: 'xx'}]

Result Set Columns

Name Type Description
Success Boolean Indicates whether the rejection of the fulfillment request executed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderID String A globally unique identifier for the fulfillment order.
RequestStatus String The resulting status of the stored procedure execution.

CData Python Connector for Shopify

SendCancellationRequest

Sends a cancellation request to the fulfillment service of a fulfillment order.

Input

Name Type Required Description
Id String True The Id of the fulfillment order associated with the cancellation request.
Message String False An optional message to include with the cancellation request.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the cancellation request executed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderID String A globally unique Id for the fulfillment order.
RequestStatus String The resulting status of the stored procedure execution.

CData Python Connector for Shopify

SendFulfillmentRequest

Sends a fulfillment request to the fulfillment service of a fulfillment order.

Input

Name Type Required Description
Id String True The Id of the fulfillment order associated with the fulfillment request.
Message String False An optional message to include with the fulfillment request.
NotifyCustomer String False Indicates whether the customer should be notified when fulfillments are created for this fulfillment order.
FulfillmentOrderLineItems String False The fulfillment order line items to include in the request. If none are specified, all line items are included by default (for example, [{id: 'xxx', quantity: 1}]).

Result Set Columns

Name Type Description
Success Boolean Indicates whether the fulfillment request executed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderID String A globally unique Id for the fulfillment order.
RequestStatus String The resulting status of the stored procedure execution.

CData Python Connector for Shopify

ThemeDuplicate

Duplicates a theme.

Input

Name Type Required Description
Id String True ID of the theme to be duplicated.
Name String False Name of the new theme.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
ThemeId String The newly duplicated theme id.

CData Python Connector for Shopify

ThemeFilesCopy

Copies files within a theme, overwriting existing destination files.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • Files references the ThemeFilesCopyFileInputs temporary table.

ThemeFilesCopyFileInputs Temporary Table Columns

Column NameTypeDescription
SrcFilenameStringThe source file to copy from.
DstFilenameStringThe destination file where the content is copied.

Input

Name Type Required Description
ThemeId String True The ID of the theme to copy files within.
Files String True The files to copy.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
CopiedThemeFiles String The resulting theme files.

CData Python Connector for Shopify

TransactionVoid

Voids an uncaptured authorization transaction so it can no longer be captured.

Input

Name Type Required Description
ParentTransactionId String True The Id of the uncaptured authorization transaction to be voided.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the void operation executed successfully.
Details String Additional details about the execution of the void operation.
TransactionId String The Id of the void transaction created by the operation.

CData Python Connector for Shopify

UpdateFile

Updates metadata or properties of an existing uploaded file asset.

Input

Name Type Required Description
Id String True The Id of the file to update.
FileName String False The name of the file, including its extension.
Description String False The alternative text description (alt text) of the file.
OriginalSource String False The source used to update a media image or generic file. Accepts an external URL (images only) or a staged upload URL.
PreviewImageSource String False The source used to update the media preview image. Accepts an external URL or a staged upload URL.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the file update operation executed successfully.
Details String Additional details about the execution of the update operation.
Id String A globally unique Id for the updated file.
Status String The current status of the file after the update operation.

CData Python Connector for Shopify

API Version 2025-07

The CData Python Connector for Shopify models the Shopify API as relational tables, views, and stored procedures.

Set Schema to GRAPHQL-2025-07 to use this data model.

Tables

The Tables section, which details standard SQL tables, and the Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Shopify account.

Common tables include:

Table Description
Shop Contains general settings and information about the shop.
Customers Lists customers with core profile data, marketing preferences, and tags.
Catalogs Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use.
Orders Lists orders with customer, payment, fulfillment, duty, and tax details.
DeliveryProfiles Lists saved delivery profiles that define shipping logic by product and location.
OrderTransactions Lists payment transactions associated with orders (authorization, capture, refund).
Refunds Represents refunds of items or transactions on an order, with amounts and reasons.
RefundLineItems Lists refund line item records that specify quantities and amounts refunded.
Products Lists products with titles, status, variants, media, and publishing details.
ProductVariants Lists product variants with pricing, inventory tracking, and option values.
Collections Returns manual and automated collections with titles, rules, and publication state.
CollectionProducts Lists products contained within a specified collection.
DraftOrders Lists saved draft orders for manual checkout or invoicing workflows.
DraftOrderLineItems Lists the line items included in a draft order with quantities and prices.
Fulfillments Represents shipments created for orders, including tracking and delivery status.
FulfillmentOrders Lists merchant-managed and third-party fulfillment orders with statuses and assignments.
FulfillmentEvents Lists status events (in transit, delivered) associated with fulfillments.
Locations Lists active inventory locations used for stock, fulfillment, and pickup.
InventoryItems Lists inventory items (SKU-level records) with tracking and cost data.
Metafields Lists metafields attached to one or more resource Ids.

Stored Procedures

Stored Procedures are actions that are invoked via SQL queries. They perform tasks beyond standard CRUD operations, including managing fulfillment orders, adjusting inventory across locations, and administering store configuration and content.

Using Bulk API

See UseBulkAPI for a more in-depth look at how the driver performs Shopify Bulk Operations.

CData Python Connector for Shopify

Tables

The connector models the data in Shopify as a list of tables in a relational database that can be queried using standard SQL statements.

CData Python Connector for Shopify Tables

Name Description
AppFeedbacks The system surfaces app feedback items that notify merchants about setup requirements or issues in the Admin.
AppSubscriptionLineItems Lists the plan components and recurring line items that comprise an app subscription.
AppSubscriptionLineItemUsageRecords Returns usage records for app subscription line items.
AppSubscriptions Lists all subscriptions created for the shop's installed app, including status and billing cycles.
ArticleComments Lists comments on blog articles with author details, content, and moderation status.
Articles Lists the shop's articles with titles, content, authorship, and publication state.
Blogs Lists the shop's blogs with titles, handles, and metadata.
CarrierServices Lists activated carrier services and the shop locations that support them for live rate calculation.
Catalogs Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use.
CollectionProducts Lists products contained within a specified collection.
Collections Returns manual and automated collections with titles, rules, and publication state.
Companies Lists business-to-business (B2B) companies configured in the shop.
CompanyContactRoleAssignments Lists role assignments mapping company contacts to their permissions.
CompanyContacts Lists contacts for companies, including identifiers, email, and role.
CompanyLocations Lists locations defined under a company, including addresses and identifiers.
CompanyLocationStaffMemberAssignments Lists staff members assigned to a company location. Actions are scoped to that location (Shopify Plus only).
CustomerAddresses Lists addresses stored on customer profiles, including default selections.
Customers Lists customers with core profile data, marketing preferences, and tags.
DeliveryProfiles Lists saved delivery profiles that define shipping logic by product and location.
DiscountsAutomaticApp Lists automatic discounts defined and managed by apps.
DiscountsAutomaticBasic Lists basic automatic discounts (for example, percentage or amount off).
DiscountsAutomaticBxgy Lists automatic buy-X-get-Y discounts.
DiscountsAutomaticFreeShipping Returns a list of automatic free shipping discounts.
DiscountsCodeApp Lists discount codes managed by apps.
DiscountsCodeBasic Lists basic code discounts (fixed/percentage off, minimums).
DiscountsCodeBxgy Lists buy-X-get-Y discount codes.
DiscountsCodeFreeShipping Lists free-shipping discounts available via discount codes.
DraftOrders Lists saved draft orders for manual checkout or invoicing workflows.
Files Lists files uploaded to Shopify (images, PDFs, media) with metadata and URLs.
FulfillmentEvents Lists status events (in transit, delivered) associated with fulfillments.
FulfillmentOrders Lists merchant-managed and third-party fulfillment orders with statuses and assignments.
Fulfillments Represents shipments created for orders, including tracking and delivery status.
FulfillmentServices Lists fulfillment services that prepare and ship orders on behalf of the merchant.
FulfillmentTrackingInfo Lists tracking details for fulfillments, including company, number, and tracking URL.
GiftCards Lists gift cards and balances (requires read_gift_cards; available for Shopify Plus/private or custom application).
GiftCardTransactionsCredit Lists credit transactions that increase a gift card balance (Shopify Plus only).
GiftCardTransactionsDebit Lists debit transactions that decrease a gift card balance (Shopify Plus only).
InventoryItemInventoryLevels Shows per-location inventory level summaries for an inventory item.
InventoryItems Lists inventory items (SKU-level records) with tracking and cost data.
Locations Lists active inventory locations used for stock, fulfillment, and pickup.
MarketingActivities Returns a list of external marketing activities.
Menus Lists navigation menus used on the storefront.
MetafieldDefinitions Lists metafield definitions, including validation and presentation details.
Metafields Lists metafields attached to one or more resource Ids.
OrderRiskAssessments Lists fraud risk assessments attached to orders with scores and reasons.
Orders Lists orders with customer, payment, fulfillment, duty, and tax details.
OrderTransactions Lists payment transactions associated with orders (authorization, capture, refund).
Pages Lists the shop's informational pages used on the storefront.
PriceLists Lists price lists configured for the shop (for example, business-to-business (B2B) tiers, or markets).
ProductMediaImages Lists image media attached to products with alt text and ordering.
ProductOptions Lists product options (Size or Color). Limited by Shop.resourceLimits.maxProductOptions.
ProductOptionValues Lists all possible option values for a given product option, even if not used by a variant.
ProductResourceFeedbacks Lists product resource feedback items visible to the current application.
Products Lists products with titles, status, variants, media, and publishing details.
ProductVariants Lists product variants with pricing, inventory tracking, and option values.
Publications Lists sales channel publications configured for the shop.
Refunds Represents refunds of items or transactions on an order, with amounts and reasons.
Returns Lists returns associated with orders, including statuses and dispositions.
ScriptTags Lists script tags that inject JavaScript into storefront pages.
Segments Lists customer segments defined in the shop.
SellingPlanGroups Lists selling plan groups used for subscriptions and prepaid options.
StorefrontAccessTokens Lists storefront access tokens for private applications, scoped per application.
ThemeFiles Represents files in an online store theme.
Themes Lists the shop's themes with role and preview data.
UrlRedirects Lists URL redirects configured for the shop to preserve search engine optimization (SEO) and navigation.

CData Python Connector for Shopify

AppFeedbacks

The system surfaces app feedback items that notify merchants about setup requirements or issues in the Admin.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM AppFeedbacks

Insert

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

Message, State, FeedbackGeneratedAt

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the app feedback record.

Title String True

The name of the app that generated the feedback.

Message String True

The feedback message provided to the merchant by the app.

Url String True

The link URL included with the feedback, directing the merchant to additional details or actions.

Label String True

A context-sensitive label that describes the purpose of the link.

State String True

The current state of the feedback, indicating whether merchant action is required.

The allowed values are ACCEPTED, REQUIRES_ACTION.

FeedbackGeneratedAt Datetime True

The date and time when the feedback was generated, used to determine whether new feedback is more recent than existing records.

CData Python Connector for Shopify

AppSubscriptionLineItems

Lists the plan components and recurring line items that comprise an app subscription.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppInstallationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppSubscriptionLineItems WHERE AppInstallationId = 'Val1'

Update

The following columns can be updated:

UsagePricingPlanCappedAmount, UsagePricingPlanCappedAmountCurrencyCode

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the app subscription line item.

AppSubscriptionId String True

The globally unique identifier of the app subscription that this line item belongs to.

AppInstallationId String True

The globally unique identifier of the app installation linked to this subscription line item.

RecurringPricingPlanDiscountDurationLimitInIntervals Int True

The total number of billing intervals during which the discount is applied. If blank, the discount applies indefinitely.

RecurringPricingPlanDiscountPriceAfterDiscountAmount Decimal True

The subscription price after discounts are applied, expressed as a decimal money amount.

RecurringPricingPlanDiscountPriceAfterDiscountCurrencyCode String True

The currency code for the subscription price after discounts are applied.

RecurringPricingPlanDiscountRemainingDurationInIntervals Int True

The number of billing intervals remaining in which the discount is applied.

RecurringPricingPlanValueAmount Decimal True

The value of the recurring discount applied to each billing interval, expressed as a decimal money amount.

RecurringPricingPlanValueAmountCurrencyCode String True

The currency code for the recurring discount value applied each billing interval.

RecurringPricingPlanValuePercentage Double True

The discount rate applied to each billing interval, expressed as a percentage.

RecurringPricingPlanInterval String True

The frequency at which the merchant is billed for the app subscription, such as monthly or yearly.

RecurringPricingPlanHandle String True

The handle (unique identifier) of the app store pricing plan for the subscription.

RecurringPricingPlanPriceAmount Decimal True

The amount billed to the merchant for the subscription at each interval, expressed as a decimal money amount.

RecurringPricingPlanPriceCurrencyCode String True

The currency code for the recurring subscription price billed to the merchant.

UsagePricingPlanBalanceUsedAmount Decimal True

The total usage charges accumulated during the billing interval, expressed as a decimal money amount.

UsagePricingPlanBalanceUsedCurrencyCode String True

The currency code for the usage charges accumulated during the billing interval.

UsagePricingPlanCappedAmount Decimal False

The capped amount that limits how much a merchant can be billed for usage within a billing period. If usage exceeds this cap, the merchant must approve a new usage charge to continue using the app. Expressed as a decimal money amount.

UsagePricingPlanCappedAmountCurrencyCode String False

The currency code for the capped usage charge amount.

UsagePricingPlanInterval String True

The frequency at which usage charges for the app are billed, such as daily, monthly, or yearly.

UsagePricingPlanTerms String True

The terms and conditions governing app usage pricing. These must be provided to create usage charges and are shown to the merchant when they approve usage billing.

CData Python Connector for Shopify

AppSubscriptionLineItemUsageRecords

Returns usage records for app subscription line items.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppSubscriptionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppSubscriptionLineItemUsageRecords WHERE AppSubscriptionId = 'Val1'

Insert

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

SubscriptionLineItemId, Description, IdempotencyKey, PriceAmount, PriceCurrencyCode

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A globally-unique ID.

SubscriptionLineItemId String True

The ID of the app subscription line item that the usage record belongs to.

AppSubscriptionId String True

AppSubscriptions.Id

The ID of the app subscription.

Description String True

The description of the app usage record.

IdempotencyKey String True

A unique key generated by the client to avoid duplicate charges.

PriceAmount Decimal True

The price of the app usage record. Decimal money amount.

PriceCurrencyCode String True

The currency of the app usage record price.

CreatedAt Datetime True

The date and time when the usage record was created.

CData Python Connector for Shopify

AppSubscriptions

Lists all subscriptions created for the shop's installed app, including status and billing cycles.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppInstallationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppSubscriptions WHERE AppInstallationId = 'Val1'

Insert

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

Name, Test, ReturnUrl, TrialDays, LineItem (references AppSubscriptionLineItems)

AppSubscriptionLineItems Temporary Table Columns

Column NameTypeDescription
RecurringPricingPlanDiscountDurationLimitInIntervalsIntThe total number of billing intervals to which the discount will be applied. The discount will be applied to an indefinite number of billing intervals if this value is blank.
RecurringPricingPlanValueAmountDecimalThe value of the discount applied every billing interval. Decimal money amount.
RecurringPricingPlanValuePercentageDoubleThe value of the discount applied every billing interval. The percentage value of a discount.
RecurringPricingPlanIntervalStringThe frequency at which the subscribing shop is billed for an app subscription.
RecurringPricingPlanPriceAmountDecimalThe amount to be charged to the subscribing shop every billing interval. Decimal money amount.
RecurringPricingPlanPriceCurrencyCodeStringThe currency to be charged to the subscribing shop every billing interval. Currency of the money.
UsagePricingPlanCappedAmountDecimalThe capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount.
UsagePricingPlanCappedAmountCurrencyCodeStringThe capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money.
UsagePricingPlanTermsStringThe terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the app subscription.

AppInstallationId String True

The globally unique identifier of the app installation linked to this subscription.

Name String True

The display name of the app subscription.

Status String True

The current status of the app subscription, such as active, expired, or pending.

Test Bool True

Indicates whether the app subscription is a test transaction rather than a live subscription.

ReturnUrl String True

The URL where the merchant is redirected after approving the subscription.

TrialDays Int True

The number of trial days provided before billing begins, starting from the subscription's creation date.

CurrentPeriodEnd Datetime True

The date and time when the current billing period of the subscription ends. Returns null if the subscription is not active.

CreatedAt Datetime True

The date and time when the app subscription was created.

LineItemIds String True

The identifiers of the subscription plans attached to this app subscription.

LineItem String True

The details of the subscription plans attached to this app subscription.

CData Python Connector for Shopify

ArticleComments

Lists comments on blog articles with author details, content, and moderation status.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ArticleId supports the '=, IN' comparison operators.
  • PublishedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM ArticleComments WHERE Id = 'Val1'
  SELECT * FROM ArticleComments WHERE ArticleId = 'Val1'
  SELECT * FROM ArticleComments WHERE PublishedAt = '2023-01-01 11:10:00'
  SELECT * FROM ArticleComments WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM ArticleComments WHERE CreatedAt = '2023-01-01 11:10:00'

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the comment.

ArticleId String True

The globally unique identifier of the article associated with the comment.

ArticleTitle String True

The title of the article that the comment is attached to.

Body String True

The plain text content of the comment.

BodyHtml String True

The comment content with HTML formatting included.

Status String True

The current status of the comment, such as approved, pending, or spam.

Ip String True

The IP address from which the commenter submitted the comment.

UserAgent String True

The user agent string of the commenter's browser or application.

AuthorName String True

The display name of the commenter.

AuthorEmail String True

The email address of the commenter.

IsPublished Bool True

Indicates whether the comment has been published.

PublishedAt Datetime True

The date and time when the comment was published.

UpdatedAt Datetime True

The date and time when the comment was most recently updated.

CreatedAt Datetime True

The date and time when the comment was originally created.

CData Python Connector for Shopify

Articles

Lists the shop's articles with titles, content, authorship, and publication state.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Handle supports the '=, !=' comparison operators.
  • AuthorName supports the '=, !=' comparison operators.
  • BlogId supports the '=, !=' comparison operators.
  • BlogTitle supports the '=, !=' comparison operators.
  • IsPublished supports the '=, !=' comparison operators.
  • PublishedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Articles WHERE Id = 'Val1'
  SELECT * FROM Articles WHERE Title = 'Val1'
  SELECT * FROM Articles WHERE Handle = 'Val1'
  SELECT * FROM Articles WHERE AuthorName = 'Val1'
  SELECT * FROM Articles WHERE BlogId = 'Val1'
  SELECT * FROM Articles WHERE BlogTitle = 'Val1'
  SELECT * FROM Articles WHERE IsPublished = true
  SELECT * FROM Articles WHERE PublishedAt = '2023-01-01 11:10:00'
  SELECT * FROM Articles WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Articles WHERE CreatedAt = '2023-01-01 11:10:00'

Insert

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

Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, PublishedAt

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

AuthorUserId, Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

Title, Body, Handle, Summary, Tags, TemplateSuffix, AuthorName, BlogId, BlogTitle, ImageAltText, ImageUrl, IsPublished, PublishedAt

The following pseudo-columns can be used to update a record:

AuthorUserId, RedirectNewHandle, Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the article.

Title String False

The title of the article as displayed in the blog.

Body String False

The full body content of the article, including HTML markup.

Handle String False

A unique, human-readable string generated from the article title and used in the article's URL.

Summary String False

A short summary of the article, which can include HTML markup. The summary is displayed by the online store theme on pages such as the home page or main blog page.

Tags String False

Short descriptive tags associated with the article for categorization and search.

TemplateSuffix String False

The name of the alternate template applied to the article. Returns null if the default 'article.liquid' template is used.

AuthorName String False

The full name of the article's author.

BlogId String False

The globally unique identifier of the blog that contains this article.

BlogTitle String False

The title of the blog that contains this article.

ImageId String True

The unique identifier of the image associated with the article.

ImageAltText String False

Alternative text describing the content or purpose of the article's image.

ImageUrl String False

The URL of the article's image.

ImageWidth Int True

The original width of the article's image in pixels. Returns null if the image is not hosted by Shopify.

ImageHeight Int True

The original height of the article's image in pixels. Returns null if the image is not hosted by Shopify.

CommentsCount Int True

The total number of comments posted on the article.

CommentPrecision String True

The level of precision applied to the comment count value.

IsPublished Bool False

Indicates whether the article is currently published and visible.

PublishedAt Datetime False

The date and time when the article became visible. Returns null if the article is not published.

UpdatedAt Datetime True

The date and time when the article was last updated.

CreatedAt Datetime True

The date and time when the article was created.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
AuthorUserId String

The identifier of the staff account associated with the article's author.

RedirectNewHandle Bool

Indicates whether a redirect is automatically created when the article handle changes. If true, the old handle redirects to the new one.

Metafields String

The metafield input values used to create or update additional metadata for the article.

CData Python Connector for Shopify

Blogs

Lists the shop's blogs with titles, handles, and metadata.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Handle supports the '=, !=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Blogs WHERE Id = 'Val1'
  SELECT * FROM Blogs WHERE Title = 'Val1'
  SELECT * FROM Blogs WHERE Handle = 'Val1'
  SELECT * FROM Blogs WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Blogs WHERE CreatedAt = '2023-01-01 11:10:00'

Insert

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

Title, Handle, TemplateSuffix, CommentPolicy

The following pseudo-column can be used to create a new record:

Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

Title, Handle, TemplateSuffix, CommentPolicy

The following pseudo-columns can be used to update a record:

RedirectArticles, RedirectNewHandle, Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the blog.

Title String False

The display title of the blog.

Handle String False

A unique, human-readable string for the blog. If not provided, the handle is automatically generated from the blog title. The handle can be customized and is used in the Liquid templating language to reference the blog.

Tags String True

A list of tags applied to the 200 most recent articles in the blog.

TemplateSuffix String False

The name of the alternate template applied to the blog. Returns null if the default 'blog.liquid' template is used.

ArticlesCount Int True

The number of articles in the blog.

ArticlesCountPrecision String True

The level of precision applied to the article count value.

CommentPolicy String False

Indicates whether readers can post comments on the blog and whether comments require moderation.

FeedLocation String True

The URL of the blog's feed provider.

FeedPath String True

The path to the blog's feed provider.

UpdatedAt Datetime True

The date and time when the blog was most recently updated.

CreatedAt Datetime True

The date and time when the blog was created.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
RedirectArticles Bool

Indicates whether blog articles are automatically redirected.

RedirectNewHandle Bool

Indicates whether a redirect is automatically created when the blog handle changes. If true, the old handle redirects to the new one.

Metafields String

Additional metadata fields attached to the blog resource.

CData Python Connector for Shopify

CarrierServices

Lists activated carrier services and the shop locations that support them for live rate calculation.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM CarrierServices

Insert

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

Name, Active, SupportsServiceDiscovery, CallbackUrl

Update

The following columns can be updated:

Name, Active, SupportsServiceDiscovery, CallbackUrl

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the carrier service.

Name String False

The name of the shipping service provider.

FormattedName String True

The display-ready, formatted name of the shipping service provider.

IconAltText String True

Alternative text that describes the content or purpose of the carrier service's image.

IconHeight Int True

The original height of the carrier service image in pixels. Returns null if the image is not hosted by Shopify.

IconId String True

The unique identifier of the carrier service image.

IconWidth Int True

The original width of the carrier service image in pixels. Returns null if the image is not hosted by Shopify.

Active Bool False

Indicates whether the carrier service is active and available to use.

SupportsServiceDiscovery Bool False

Indicates whether merchants can send test data to the carrier service through the Shopify Admin to preview shipping rate examples.

CallbackUrl String False

The callback URL endpoint that Shopify uses to request shipping rates from the carrier service.

CData Python Connector for Shopify

Catalogs

Lists product catalogs belonging to the shop for business-to-business (B2B) or channel use.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM Catalogs

Insert

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

Status, Title, PriceListId, PublicationId

The following pseudo-column can be used to create a new record:

CompanyLocationIds

Update

The following columns can be updated:

Status, Title, PriceListId, PublicationId

The following pseudo-column can be used to update a record:

CompanyLocationIds

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the catalog.

Status String False

The current status of the catalog, such as active or inactive.

Title String False

The display name of the catalog.

PriceListId String False

The globally unique identifier of the price list associated with the catalog.

PublicationId String False

The globally unique identifier of the publication linked to the catalog.

OperationId String True

The globally unique identifier of the operation that created or last modified the catalog.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
CompanyLocationIds String

The identifiers of the company locations associated with the catalog.

CData Python Connector for Shopify

CollectionProducts

Lists products contained within a specified collection.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CollectionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CollectionProducts WHERE CollectionId = 'Val1'

Insert

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

Id, CollectionId

Delete

You can delete entries by specifying the following columns:

Id, CollectionId

Columns

Name Type ReadOnly References Description
Id [KEY] String True

Products.Id

The globally unique identifier of the collection product record.

CollectionId [KEY] String True

Collections.Id

The globally unique identifier of the collection that this product belongs to.

Title String True

The display title of the product within the collection.

Position Int True

The position of the product in the collection's sort order.

CData Python Connector for Shopify

Collections

Returns manual and automated collections with titles, rules, and publication state.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Handle supports the '=, IN' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • Value supports the '=' comparison operator.

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

  SELECT * FROM Collections WHERE Id = 'Val1'
  SELECT * FROM Collections WHERE Title = 'Val1'
  SELECT * FROM Collections WHERE Handle = 'Val1'
  SELECT * FROM Collections WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Collections WHERE Namespace = 'Val1'
  SELECT * FROM Collections WHERE Key = 'Val1'
  SELECT * FROM Collections WHERE Value = 'Val1'

Insert

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

Title, Handle, DescriptionHtml, SortOrder, TemplateSuffix, ImageAltText, ImageUrl, RuleSetRules (references CollectionRules), RuleSetAppliedDisjunctively, SeoTitle, SeoDescription

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

ProductIds, Metafields (references Metafields)

CollectionRules Temporary Table Columns

Column NameTypeDescription
ColumnStringThe attribute that the rule focuses on.
RelationStringThe type of operator that the rule is based on.
ConditionStringThe value that the operator is applied to.
ConditionObjectMetafieldDefinitionIdStringThe metafield definition used as a rule for the condition.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

Title, Handle, DescriptionHtml, SortOrder, TemplateSuffix, ImageAltText, ImageUrl, RuleSetRules (references CollectionRules), RuleSetAppliedDisjunctively, SeoTitle, SeoDescription

The following pseudo-column can be used to update a record:

RedirectNewHandle

CollectionRules Temporary Table Columns

Column NameTypeDescription
ColumnStringThe attribute that the rule focuses on.
RelationStringThe type of operator that the rule is based on.
ConditionStringThe value that the operator is applied to.
ConditionObjectMetafieldDefinitionIdStringThe metafield definition used as a rule for the condition.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the collection.

LegacyResourceId String True

The legacy identifier of the collection in the REST Admin API.

Title String False

The display name of the collection, shown in the Shopify Admin and in sales channels such as the online store.

Handle String False

A unique, human-readable string that identifies the collection. If not specified at creation, the handle is automatically generated from the collection title using hyphens between words. For example, a collection titled 'Summer Catalog 2022' might generate the handle 'summer-catalog-2022'. The handle does not automatically change if the title changes. In themes, the handle can be referenced with Liquid, though the collection Id is preferred because it never changes.

DescriptionHtml String False

The description of the collection, including HTML formatting. This content is typically shown to customers in sales channels, depending on the theme.

ProductsCount Int True

The number of products included in the collection.

ProductsCountPrecision String True

The level of precision applied to the product count value.

SortOrder String False

The default order in which products in the collection are displayed in the Shopify Admin and in sales channels such as the online store.

The allowed values are ALPHA_ASC, ALPHA_DESC, BEST_SELLING, CREATED, CREATED_DESC, MANUAL, PRICE_ASC, PRICE_DESC.

TemplateSuffix String False

The suffix of the Liquid template used to render the collection in an online store. For example, if the value is 'custom', the 'collection.custom.liquid' template is used. If null, the default 'collection.liquid' template is used.

AvailablePublicationsCount Int True

The number of publications where the collection is published without feedback errors.

AvailablePublicationsCountPrecision String True

The level of precision applied to the available publications count.

PublishedOnCurrentPublication Bool True

Indicates whether the collection is published to the calling app's publication.

UpdatedAt Datetime True

The date and time when the collection was last updated.

FeedbackSummary String True

A summary of feedback associated with the collection.

ImageId String True

The unique identifier of the image associated with the collection.

ImageWidth Int True

The original width of the collection image in pixels. Returns null if the image is not hosted by Shopify.

ImageAltText String False

Alternative text describing the content or purpose of the collection image.

ImageHeight Int True

The original height of the collection image in pixels. Returns null if the image is not hosted by Shopify.

ImageUrl String False

The URL of the collection image.

RuleSetRules String False

The rules used to assign products to the collection.

RuleSetAppliedDisjunctively Bool False

Specifies whether products must match any or all rules to be included in the collection. If true, products must match at least one rule. If false, products must match all rules.

SeoTitle String False

The search engine optimization (SEO) title of the collection, used in search engine results.

SeoDescription String False

The SEO description of the collection, used in search engine results.

Namespace String True

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

Key String True

The key for the metafield.

Value String True

The value of the metafield.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
ProductIds String

Initial list of collection products. Only valid when creating a collection and without rules.

Metafields String

The metafields to associate with the collection.

RedirectNewHandle Bool

Whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically.

CData Python Connector for Shopify

Companies

Lists business-to-business (B2B) companies configured in the shop.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ExternalId supports the '=, !=' comparison operators.
  • Name supports the '=, !=' comparison operators.
  • CustomerSince supports the '=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Companies WHERE Id = 'Val1'
  SELECT * FROM Companies WHERE ExternalId = 'Val1'
  SELECT * FROM Companies WHERE Name = 'Val1'
  SELECT * FROM Companies WHERE CustomerSince = '2023-01-01 11:10:00'
  SELECT * FROM Companies WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Companies WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

ExternalId, Name, Note, CustomerSince

Update

The following columns can be updated:

ExternalId, Name, Note, MainContactId

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the company.

ExternalId String False

An externally supplied identifier used to uniquely reference the company outside of Shopify.

Name String False

The name of the company.

Note String False

A merchant-facing note about the company.

ContactsCount Int True

The number of contacts associated with the company.

ContactsCountPrecision String True

The level of precision applied to the contact count value.

CustomerSince Datetime True

The date and time when the company became a customer.

DefaultCursor String True

A default cursor used to retrieve the next company record in ascending ID order.

LifetimeDuration String True

The duration of time since the company became a customer, expressed as a readable interval such as '2 days', '3 months', or '1 year'.

LocationsCount Int True

The number of locations linked to the company.

LocationsCountPrecision String True

The level of precision applied to the location count value.

OrdersCount Int True

The total number of orders placed by the company across all of its locations.

OrdersCountPrecision String True

The level of precision applied to the order count value.

HasTimelineComment Bool True

Indicates whether a timeline comment has been added to the company record by the merchant.

CreatedAt Datetime True

The date and time when the company was created in Shopify.

UpdatedAt Datetime True

The date and time when the company record was last updated.

DefaultRoleId String True

The globally unique identifier of the company's default role.

DefaultRoleName String True

The name of the company's default role, such as 'admin' or 'buyer'.

DefaultRoleNote String True

A note associated with the company's default role.

MainContactId String True

The globally unique identifier of the company's main contact.

TotalSpentAmount Decimal True

The total amount spent by the company, expressed as a decimal money value.

TotalSpentCurrencyCode String True

The currency code for the company's total spent amount.

CData Python Connector for Shopify

CompanyContactRoleAssignments

Lists role assignments mapping company contacts to their permissions.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CompanyContactId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CompanyContactRoleAssignments WHERE CompanyContactId = 'Val1'

Insert

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

CompanyLocationId, CompanyContactId, RoleId

Delete

You can delete entries by specifying the following columns:

Id, CompanyContactId

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the company contact role assignment.

CompanyId String True

The globally unique identifier of the company that this role assignment belongs to.

CompanyLocationId String True

The globally unique identifier of the company location where the role is assigned.

CompanyContactId String True

The globally unique identifier of the company contact associated with this role assignment.

CreatedAt Datetime True

The date and time when the role assignment record was created.

UpdatedAt Datetime True

The date and time when the role assignment record was last updated.

RoleId String True

The globally unique identifier of the assigned role.

RoleName String True

The name of the assigned role, such as 'admin' or 'buyer'.

RoleNote String True

A note associated with the assigned role.

CData Python Connector for Shopify

CompanyContacts

Lists contacts for companies, including identifiers, email, and role.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • CompanyId supports the '=, IN' comparison operators.
  • Id supports the '=, IN' comparison operators.

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

  SELECT * FROM CompanyContacts WHERE CompanyId = 'Val1'
  SELECT * FROM CompanyContacts WHERE Id = 'Val1'

Insert

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

CompanyId, Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone, CustomerId

Update

The following columns can be updated:

Title, Locale, CustomerFirstName, CustomerLastName, CustomerEmail, CustomerPhone

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
CompanyId String True

The globally unique identifier of the company that the contact belongs to.

Id [KEY] String False

The globally unique identifier of the company contact.

IsMainContact Bool True

Indicates whether this contact is the main contact for the company.

Title String False

The job title of the company contact.

Locale String False

The locale (language) preference of the company contact.

LifetimeDuration String True

The duration of time since the company contact was created in Shopify, expressed as a readable interval such as '1 year', '2 months', or '3 days'.

CreatedAt Datetime True

The date and time when the company contact was created in Shopify.

UpdatedAt Datetime True

The date and time when the company contact record was last updated.

CustomerId String True

The globally unique identifier of the customer linked to this contact.

CustomerFirstName String False

The first name of the customer associated with this contact.

CustomerLastName String False

The last name of the customer associated with this contact.

CustomerEmail String False

The email address of the customer associated with this contact.

CustomerPhone String False

The phone number of the customer associated with this contact.

CData Python Connector for Shopify

CompanyLocations

Lists locations defined under a company, including addresses and identifiers.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CompanyId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CompanyLocations WHERE CompanyId = 'Val1'

Insert

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

CompanyId, ExternalId, TaxRegistrationId, Name, Locale, Note, Phone, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressPhone, BillingAddressRecipient, BillingAddressZip, BillingAddressCountryCode, BillingAddressZoneCode, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressPhone, ShippingAddressRecipient, ShippingAddressZip, ShippingAddressCountryCode, ShippingAddressZoneCode

Update

The following columns can be updated:

ExternalId, Name, Locale, Note, Phone, BuyerExperienceConfigurationCheckoutToDraft, BuyerExperienceConfigurationEditableShippingAddress, BuyerExperienceConfigurationDepositPercentage, BuyerExperienceConfigurationPaymentTermsTemplateId

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the company location.

CompanyId String True

Companies.Id

The globally unique identifier of the company that this location belongs to.

ExternalId String False

An externally supplied identifier used to uniquely reference the company location outside of Shopify.

TaxRegistrationId String True

The tax registration identifier of the company location.

Name String False

The display name of the company location.

Currency String True

The currency of the company location, based on the shipping address. If no shipping address is provided, the value defaults to the shop's primary market currency.

Locale String False

The preferred locale (language) of the company location.

Note String False

A merchant-facing note about the company location.

Phone String False

The phone number of the company location.

DefaultCursor String True

A default cursor used to retrieve the next company location record in ascending ID order.

OrdersCount Int True

The total number of orders placed for the company location.

OrdersCountPrecision String True

The level of precision applied to the order count value.

TaxExemptions String True

A list of tax exemptions applied to the company location.

HasTimelineComment Bool True

Indicates whether a timeline comment has been added to the company location by the merchant.

CreatedAt Datetime True

The date and time when the company location was created in Shopify.

UpdatedAt Datetime True

The date and time when the company location record was last updated.

BillingAddressId String True

The globally unique identifier of the billing address for this company location.

BillingAddressCompanyName String True

The company name listed on the billing address.

BillingAddressFirstName String True

The first name of the billing address recipient.

BillingAddressLastName String True

The last name of the billing address recipient.

BillingAddressAddress1 String True

The first line of the billing address, typically a street address or PO Box.

BillingAddressAddress2 String True

The second line of the billing address, typically an apartment, suite, or unit number.

BillingAddressCity String True

The city, town, district, or village of the billing address.

BillingAddressCountry String True

The country of the billing address.

BillingAddressPhone String True

The phone number associated with the billing address, formatted using the E.164 standard (for example, +16135551111).

BillingAddressProvince String True

The province, state, or district of the billing address.

BillingAddressRecipient String True

The name of the recipient for the billing address, such as 'Receiving Department'.

BillingAddressZip String True

The postal or ZIP code of the billing address.

BillingAddressCountryCode String True

The two-letter country code of the billing address, such as US.

BillingAddressFormattedArea String True

A comma-separated string combining the city, province, and country of the billing address.

BillingAddressZoneCode String True

The two-letter code for the region of the billing address, such as 'ON' for Ontario, Canada.

BillingAddressCreatedAt Datetime True

The date and time when the billing address record was created.

BillingAddressUpdatedAt Datetime True

The date and time when the billing address record was last updated.

BuyerExperienceConfigurationCheckoutToDraft Bool False

Indicates whether checkouts are converted into draft orders for merchant review.

BuyerExperienceConfigurationPayNowOnly Bool True

Indicates whether buyers must pay immediately at checkout, or if they can also pay later using net terms.

BuyerExperienceConfigurationEditableShippingAddress Bool False

Indicates whether buyers can edit their shipping address during checkout.

BuyerExperienceConfigurationDepositPercentage Double False

The percentage of the order total that must be paid as a deposit at checkout.

BuyerExperienceConfigurationPaymentTermsTemplateId String False

The globally unique identifier of the payment terms template applied to this location.

BuyerExperienceConfigurationPaymentTermsTemplateName String True

The display name of the payment terms template.

BuyerExperienceConfigurationPaymentTermsTemplateTranslatedName String True

The translated display name of the payment terms template.

BuyerExperienceConfigurationPaymentTermsTemplateDescription String True

The description of the payment terms template.

BuyerExperienceConfigurationPaymentTermsTemplateDueInDays Int True

The number of days between the issue date and due date when using net payment terms.

BuyerExperienceConfigurationPaymentTermsTemplatePaymentTermsType String True

The type of payment terms defined by the template.

MarketId String True

The globally unique identifier of the market associated with this company location.

ShippingAddressId String True

The globally unique identifier of the shipping address for this company location.

ShippingAddressCompanyName String True

The company name listed on the shipping address.

ShippingAddressFirstName String True

The first name of the shipping address recipient.

ShippingAddressLastName String True

The last name of the shipping address recipient.

ShippingAddressAddress1 String True

The first line of the shipping address, typically a street address or PO Box.

ShippingAddressAddress2 String True

The second line of the shipping address, typically an apartment, suite, or unit number.

ShippingAddressCity String True

The city, town, district, or village of the shipping address.

ShippingAddressCountry String True

The country of the shipping address.

ShippingAddressPhone String True

The phone number associated with the shipping address, formatted using the E.164 standard (for example, +16135551111).

ShippingAddressProvince String True

The province, state, or district of the shipping address.

ShippingAddressRecipient String True

The name of the recipient for the shipping address, such as 'Receiving Department'.

ShippingAddressZip String True

The postal or ZIP code of the shipping address.

ShippingAddressCountryCode String True

The two-letter country code of the shipping address, such as US.

ShippingAddressFormattedArea String True

A comma-separated string combining the city, province, and country of the shipping address.

ShippingAddressZoneCode String True

The two-letter code for the region of the shipping address, such as ON.

ShippingAddressCreatedAt Datetime True

The date and time when the shipping address record was created.

ShippingAddressUpdatedAt Datetime True

The date and time when the shipping address record was last updated.

TotalSpentAmount Decimal True

The total amount spent through this company location, expressed as a decimal money value.

TotalSpentCurrencyCode String True

The currency code for the total amount spent through this company location.

CData Python Connector for Shopify

CompanyLocationStaffMemberAssignments

Lists staff members assigned to a company location. Actions are scoped to that location (Shopify Plus only).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  SELECT * FROM CompanyLocationStaffMemberAssignments WHERE Id = 'Val1'
  SELECT * FROM CompanyLocationStaffMemberAssignments WHERE CompanyLocationId = 'Val1'
  SELECT * FROM CompanyLocationStaffMemberAssignments WHERE StaffMemberId = 'Val1'

Insert

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

CompanyLocationId, StaffMemberId

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the company location staff member assignment.

CompanyId String True

The globally unique identifier of the company associated with the assignment.

CompanyName String True

The display name of the company associated with the assignment.

CompanyLocationId String True

CompanyLocations.Id

The globally unique identifier of the company location where the staff member is assigned.

CompanyLocationName String True

The display name of the company location where the staff member is assigned.

StaffMemberId String True

The globally unique identifier of the assigned staff member.

StaffMemberName String True

The full name of the assigned staff member.

CData Python Connector for Shopify

CustomerAddresses

Lists addresses stored on customer profiles, including default selections.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CustomerId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CustomerAddresses WHERE CustomerId = 'Val1'

Insert

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

CustomerId, CustomerFirstName, CustomerLastName, Phone, Address1, Address2, CountryCode, ProvinceCode, City, Company, Zip

The following pseudo-column can be used to create a new record:

SetAsDefault

Update

The following columns can be updated:

CustomerId, CustomerFirstName, CustomerLastName, Phone, Address1, Address2, CountryCode, ProvinceCode, City, Company, Zip

The following pseudo-column can be used to update a record:

SetAsDefault

Delete

You can delete entries by specifying the following columns:

Id, CustomerId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the customer address.

CustomerId String False

The globally unique identifier of the customer associated with this address.

CustomerFirstName String False

The first name of the customer.

CustomerLastName String False

The last name of the customer.

CustomerName String True

The full name of the customer, derived from the first and last name.

Phone String False

The customer's phone number associated with the address.

Address1 String False

The first line of the address, typically a street address or PO Box.

Address2 String False

The second line of the address, typically an apartment, suite, or unit number.

CountryCode String False

The two-letter country code of the address, such as US.

Country String True

The name of the country for the address.

ProvinceCode String False

The alphanumeric code for the province, state, or district of the address, such as 'ON', for Ontario.

Province String True

The province, state, or district of the address.

City String False

The city, town, district, or village of the address.

Company String False

The name of the company or organization associated with the customer address.

FormattedArea String True

A comma-separated string combining the city, province, and country of the address.

Zip String False

The postal or ZIP code of the address.

Latitude Double True

The latitude coordinate of the address.

Longitude Double True

The longitude coordinate of the address.

TimeZone String True

The time zone associated with the customer address.

CoordinatesValidated Bool True

Indicates whether the address corresponds to recognized latitude and longitude values.

ValidationResultSummary String True

The validation status of the address, as determined by the Shopify Admin address validation feature.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
SetAsDefault Bool

Whether to set the address as the customer's default address.

CData Python Connector for Shopify

Customers

Lists customers with core profile data, marketing preferences, and tags.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Email supports the '=, !=' comparison operators.
  • Phone supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Customers WHERE Id = 'Val1'
  SELECT * FROM Customers WHERE Email = 'Val1'
  SELECT * FROM Customers WHERE Phone = 'Val1'
  SELECT * FROM Customers WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Customers WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, EmailMarketingConsentMarketingState, EmailMarketingConsentMarketingOptInLevel, EmailMarketingConsentConsentUpdatedAt, EmailMarketingConsentSourceLocationId, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt, SmsMarketingConsentSourceLocationId

Update

The following columns can be updated:

FirstName, LastName, Email, Locale, Note, Phone, Tags, TaxExempt, TaxExemptions, DefaultAddressFirstName, DefaultAddressLastName, DefaultAddressAddress1, DefaultAddressAddress2, DefaultAddressCity, DefaultAddressCompany, DefaultAddressCountry, DefaultAddressPhone, DefaultAddressProvince, DefaultAddressZip, DefaultAddressProvinceCode, DefaultAddressCountryCodeV2, EmailMarketingConsentMarketingState, EmailMarketingConsentMarketingOptInLevel, EmailMarketingConsentConsentUpdatedAt, EmailMarketingConsentSourceLocationId, SmsMarketingConsentMarketingState, SmsMarketingConsentMarketingOptInLevel, SmsMarketingConsentConsentUpdatedAt, SmsMarketingConsentSourceLocationId

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the customer.

MultipassIdentifier String True

A unique identifier for the customer used with Multipass login.

LegacyResourceId String True

The legacy identifier of the customer in the REST Admin API.

ValidEmailAddress Bool True

Indicates whether the customer's email address is correctly formatted and belongs to an existing domain. This does not guarantee the email address actually exists.

DisplayName String True

The display name of the customer, derived from first and last name. Falls back to the customer's email, or if unavailable, their phone number.

FirstName String False

The first name of the customer.

LastName String False

The last name of the customer.

Email String False

The email address of the customer.

Locale String False

The preferred locale (language) of the customer.

Note String False

A merchant-facing note about the customer.

Phone String False

The phone number of the customer.

State String True

The current state of the customer's account with the shop.

Tags String False

A comma-separated list of tags assigned to the customer.

CanDelete Bool True

Indicates whether the customer can be deleted from the store. Customers cannot be deleted if they have placed at least one order.

LifetimeDuration String True

The length of time since the customer was first added to the store, expressed in a readable format such as 'about 12 years'.

TaxExempt Bool False

Indicates whether the customer is exempt from being charged taxes on their orders.

TaxExemptions String False

A list of tax exemptions applied to the customer.

UnsubscribeUrl String True

The URL where the customer can unsubscribe from the store's mailing list.

VerifiedEmail Bool True

Indicates whether the customer has verified their email address. Defaults to true if the customer is created through the Shopify Admin or API.

NumberOfOrders String True

The total number of orders the customer has placed with the store.

ProductSubscriberStatus String True

The current subscription status of the customer, defined by their subscription contracts.

CreatedAt Datetime True

The date and time when the customer was created in the store.

UpdatedAt Datetime True

The date and time when the customer record was last updated.

AmountSpentAmount Decimal True

The total amount the customer has spent, expressed as a decimal money value.

AmountSpentCurrencyCode String True

The currency code for the customer's total spent amount.

DefaultAddressId String True

The globally unique identifier of the customer's default address.

DefaultAddressCoordinatesValidated Bool True

Indicates whether the default address coordinates are valid.

DefaultAddressValidationResultSummary String True

The validation status of the default address, as determined by the Shopify Admin address validation feature.

DefaultAddressName String True

The full name of the customer on the default address, based on first and last name.

DefaultAddressFirstName String False

The first name on the customer's default address.

DefaultAddressLastName String False

The last name on the customer's default address.

DefaultAddressAddress1 String False

The first line of the customer's default address, typically a street address or PO Box.

DefaultAddressAddress2 String False

The second line of the customer's default address, typically an apartment, suite, or unit number.

DefaultAddressCity String False

The city, town, district, or village of the customer's default address.

DefaultAddressCompany String False

The company or organization name listed on the customer's default address.

DefaultAddressCountry String False

The country of the customer's default address.

DefaultAddressLatitude Double True

The latitude coordinate of the customer's default address.

DefaultAddressLongitude Double True

The longitude coordinate of the customer's default address.

DefaultAddressPhone String False

The phone number associated with the default address, formatted using the E.164 standard (for example, +16135551111).

DefaultAddressProvince String False

The province, state, or district of the customer's default address.

DefaultAddressZip String False

The postal or ZIP code of the customer's default address.

DefaultAddressFormattedArea String True

A comma-separated string combining the city, province, and country of the default address.

DefaultAddressProvinceCode String False

The two-letter code for the province, state, or district of the default address, such as 'ON', for Ontario.

DefaultAddressCountryCodeV2 String False

The two-letter country code of the customer's default address, such as US.

EmailMarketingConsentMarketingState String False

The current email marketing consent state of the customer.

EmailMarketingConsentMarketingOptInLevel String False

The email marketing opt-in level set by the customer when consenting, based on M3AAWG best practice guidelines.

EmailMarketingConsentConsentUpdatedAt Datetime False

The date and time when the customer last updated their email marketing consent. If not provided, defaults to when the consent information was originally sent.

EmailMarketingConsentSourceLocationId String False

The identifier of the location where the customer provided email marketing consent.

ImageId String True

The globally unique identifier of the customer's image.

ImageWidth Int True

The original width of the customer image in pixels. Returns null if the image is not hosted by Shopify.

ImageAltText String True

Alternative text describing the content or purpose of the customer image.

ImageHeight Int True

The original height of the customer image in pixels. Returns null if the image is not hosted by Shopify.

ImageUrl String True

The URL of the customer image.

LastOrderId String True

The globally unique identifier of the customer's most recent order.

MarketId String True

The globally unique identifier of the market associated with the customer.

MergeableReason String True

The reason why the customer cannot be merged with another customer.

MergeableErrorFields String True

A list of fields preventing the customer from being merged.

MergeableIsMergeable Bool True

Indicates whether the customer can be merged with another customer.

MergeableMergeInProgressJobId String True

The identifier of the merge job in progress.

MergeableMergeInProgressResultingCustomerId String True

The identifier of the resulting customer after the merge.

MergeableMergeInProgressStatus String True

The current status of the customer merge request.

SmsMarketingConsentMarketingState String False

The current SMS marketing consent state of the customer.

SmsMarketingConsentConsentCollectedFrom String True

The source from which the customer's SMS marketing consent was collected.

SmsMarketingConsentMarketingOptInLevel String False

The SMS marketing opt-in level set by the customer when consenting to receive SMS communications.

SmsMarketingConsentConsentUpdatedAt Datetime False

The date and time when the customer last updated their SMS marketing consent. If not provided, defaults to when the consent information was originally sent.

SmsMarketingConsentSourceLocationId String False

The identifier of the location where the customer provided SMS marketing consent.

StatisticsPredictedSpendTier String True

The predicted spend tier of the customer in the shop.

StatisticsRFMGroup String True

The RFM (Recency, Frequency, Monetary) group classification of the customer.

CData Python Connector for Shopify

DeliveryProfiles

Lists saved delivery profiles that define shipping logic by product and location.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  SELECT * FROM DeliveryProfiles WHERE Id = 'Val1'
  SELECT * FROM DeliveryProfiles WHERE MerchantOwnedOnly = true

Insert

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

Name

Update

The following column can be updated:

Name

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the delivery profile.

Name String False

The display name of the delivery profile.

Default Bool True

Indicates whether this is the default delivery profile.

LegacyMode Bool True

Indicates whether legacy compatibility mode is enabled for this shop's delivery profiles.

OriginLocationCount Int True

The number of active origin locations included in this delivery profile.

ZoneCountryCount Int True

The number of countries with active delivery rates in this profile.

ActiveMethodDefinitionsCount Int True

The number of active shipping rate definitions in this delivery profile.

LocationsWithoutRatesCount Int True

The number of locations in this profile that do not have rates defined.

ProductVariantsCount Int True

The number of product variants assigned to this delivery profile.

ProductVariantsCountPrecision String True

The level of precision applied to the product variant count value.

MerchantOwnedOnly Bool True

Indicates whether the profile is restricted to delivery profiles created by the merchant.

CData Python Connector for Shopify

DiscountsAutomaticApp

Lists automatic discounts defined and managed by apps.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.
  • AppDiscountTypeTitle supports the '=, !=' comparison operators.
  • AppDiscountTypeDiscountClass supports the '=, !=' comparison operators.

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

  SELECT * FROM DiscountsAutomaticApp WHERE Title = 'Val1'
  SELECT * FROM DiscountsAutomaticApp WHERE Status = 'Val1'
  SELECT * FROM DiscountsAutomaticApp WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsAutomaticApp WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticApp WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticApp WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticApp WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeTitle = 'Val1'
  SELECT * FROM DiscountsAutomaticApp WHERE AppDiscountTypeDiscountClass = 'Val1'

Insert

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

Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

Update

The following columns can be updated:

Title, AppliesOnSubscription, RecurringCycleLimit, EndsAt, StartsAt, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the automatic app discount.

DiscountId String True

The globally unique identifier of the discount associated with this app discount.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

AppliesOnSubscription Bool False

Indicates whether the discount applies to subscription items. Subscriptions allow customers to purchase products on a recurring basis.

RecurringCycleLimit Int False

The maximum number of billing cycles during which the discount can be applied for subscriptions. For example, a value of 3 applies the discount to the first three billing cycles, while 0 applies it indefinitely.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

StartsAt Datetime False

The date and time when the discount becomes active.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount record was last updated.

AppDiscountTypeFunctionId String False

The globally unique identifier of the function that provides the app discount type.

AppDiscountTypeTitle String True

The display title of the app discount type.

AppDiscountTypeDescription String True

The description of the app discount type.

AppDiscountTypeAppKey String True

The client identifier of the app that provides the app discount type.

AppDiscountTypeDiscountClass String True

The classification of the app discount type, used for combining logic.

AppDiscountTypeTargetType String True

The target type of the app discount type. Possible values include 'SHIPPING_LINE' and 'LINE_ITEM'.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

ErrorHistoryFirstOccurredAt Datetime True

The date and time when the first error related to this discount occurred.

ErrorHistoryErrorsFirstOccurredAt Datetime True

The date and time when the first error entry was recorded in the error history.

ErrorHistoryHasSharedRecentErrors Bool True

Indicates whether the merchant has shared recent errors with the app developer.

ErrorHistoryHasBeenSharedSinceLastError Bool True

Indicates whether the merchant has shared errors with the app developer since the most recent error occurred.

CData Python Connector for Shopify

DiscountsAutomaticBasic

Lists basic automatic discounts (for example, percentage or amount off).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsAutomaticBasic WHERE Title = 'Val1'
  SELECT * FROM DiscountsAutomaticBasic WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsAutomaticBasic WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBasic WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBasic WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBasic WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

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

AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, MinimumQuantity, MinimumSubtotal

Update

The following columns can be updated:

Title, EndsAt, StartsAt, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

The following pseudo-columns can be used to update a record:

AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the automatic discount.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

ShortSummary String True

A short summary of the automatic basic discount (for example, '10% off all orders' or '$20 off orders over $100, applied automatically at checkout').

StartsAt Datetime False

The date and time when the discount becomes active.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

DiscountMinimumQuantityGreaterThanOrEqualToQuantity String True

The minimum number of items required for the discount to apply.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
AppliesOnEachItem Bool

Indicates how the discount is applied. If true, it applies to each entitled item individually. If false, the discount amount is split across all entitled items.

DiscountAmount Decimal

The value of the discount, expressed as a decimal money amount.

ProductsToAdd String

A comma-separated list of product IDs to include in the discount.

ProductsToRemove String

A comma-separated list of product IDs to exclude from the discount.

MinimumQuantity String

The minimum number of items required for the discount to apply.

MinimumSubtotal String

The minimum subtotal required for the discount to apply.

CData Python Connector for Shopify

DiscountsAutomaticBxgy

Lists automatic buy-X-get-Y discounts.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsAutomaticBxgy WHERE Title = 'Val1'
  SELECT * FROM DiscountsAutomaticBxgy WHERE Status = 'Val1'
  SELECT * FROM DiscountsAutomaticBxgy WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsAutomaticBxgy WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBxgy WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBxgy WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticBxgy WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

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

DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

The following pseudo-columns can be used to update a record:

DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountQuantityToBuy, DiscountAmountToBuy, ProductsBuysToAdd, ProductsBuysToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the automatic Buy X, Get Y discount.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

StartsAt Datetime False

The date and time when the discount becomes active.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

UsesPerOrderLimit Int False

The maximum number of times this discount can be applied to a single order.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
DiscountOnQuantity String

The number of items discounted as part of the Buy X, Get Y promotion.

DiscountPercentage Double

The percentage value of the discount applied to eligible items.

ProductsToAdd String

A comma-separated list of product IDs to include in the discount.

ProductsToRemove String

A comma-separated list of product IDs to exclude from the discount.

DiscountQuantityToBuy String

The quantity of prerequisite items that must be purchased for the discount to apply.

DiscountAmountToBuy String

The amount or value associated with the prerequisite purchase for the discount.

ProductsBuysToAdd String

A comma-separated list of product IDs to add as eligible prerequisites for the discount.

ProductsBuysToRemove String

A comma-separated list of product IDs to remove from eligible prerequisites for the discount.

CData Python Connector for Shopify

DiscountsAutomaticFreeShipping

Returns a list of automatic free shipping discounts.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsAutomaticFreeShipping WHERE Title = 'Val1'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE Status = 'Val1'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE AsyncUsageCount = 123
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsAutomaticFreeShipping WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, AppliesOnSubscription, AppliesOnOneTimePurchase, RecurringCycleLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, DiscountCountriesCountries, DiscountCountriesIncludeRestOfWorld, DiscountCountryAllAllCountries, MaximumShippingPriceAmount, DiscountMinimumQuantityGreaterThanOrEqualToQuantity, DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount

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

CountriesToAdd, CountriesToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, AppliesOnSubscription, AppliesOnOneTimePurchase, RecurringCycleLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, DiscountCountriesCountries, DiscountCountriesIncludeRestOfWorld, DiscountCountryAllAllCountries, MaximumShippingPriceAmount, DiscountMinimumQuantityGreaterThanOrEqualToQuantity, DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount

The following pseudo-columns can be used to update a record:

CountriesToAdd, CountriesToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally-unique ID.

Title String False

The title of the discount.

Status String True

The status of the discount.

Summary String True

A detailed summary of the discount.

DiscountClass String True

The class of the discount.

EndsAt Datetime False

The date and time when the discount ends. For open-ended discounts, use null.

StartsAt Datetime False

The date and time when the discount starts.

AsyncUsageCount Int True

The number of times the discount has been used.

AppliesOnSubscription Bool False

Whether the discount applies on subscription shipping lines.

AppliesOnOneTimePurchase Bool False

Whether the discount applies on regular one-time-purchase shipping lines.

CreatedAt Datetime True

The date and time when the discount was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

HasTimelineComment Bool True

Whether there are timeline comments associated with the discount.

RecurringCycleLimit Int False

The number of times a discount applies on recurring purchases (subscriptions).

ShortSummary String True

A short summary of the discount.

CombinesWithOrderDiscounts Bool False

Combines with order discounts.

CombinesWithProductDiscounts Bool False

Combines with product discounts.

CombinesWithShippingDiscounts Bool True

Combines with shipping discounts.

DiscountCountriesCountries String False

The codes for the countries where the discount can be applied.

DiscountCountriesIncludeRestOfWorld Bool False

Whether the discount is applicable to countries not defined in the shop's shipping zones.

DiscountCountryAllAllCountries Bool False

Whether the discount can be applied to all countries as shipping destination.

MaximumShippingPriceAmount Decimal False

Decimal money amount.

MaximumShippingPriceCurrencyCode String True

Currency of the money.

DiscountMinimumQuantityGreaterThanOrEqualToQuantity String False

The minimum quantity of items that's required for the discount to be applied.

DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount Decimal False

The minimum subtotal that's required for the discount to be applied.

DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalCurrencyCode String True

The three-letter currency code that represents a world currency used in a store.

TotalSalesAmount Decimal True

Decimal money amount.

TotalSalesCurrencyCode String True

Currency of the money.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
CountriesToAdd String

A simple, comma-separated list of countries to add.

CountriesToRemove String

A simple, comma-separated list of countries to remove.

CData Python Connector for Shopify

DiscountsCodeApp

Lists discount codes managed by apps.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.
  • AppDiscountTypeTitle supports the '=, !=' comparison operators.
  • AppDiscountTypeDiscountClass supports the '=, !=' comparison operators.

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

  SELECT * FROM DiscountsCodeApp WHERE Title = 'Val1'
  SELECT * FROM DiscountsCodeApp WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsCodeApp WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeApp WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeApp WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeApp WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeTitle = 'Val1'
  SELECT * FROM DiscountsCodeApp WHERE AppDiscountTypeDiscountClass = 'Val1'

Insert

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

Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers

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

Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, AppDiscountTypeFunctionId, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, DiscountCustomerAllAllCustomers

The following pseudo-columns can be used to update a record:

Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the discount code app record.

DiscountId String True

The globally unique identifier of the discount associated with this app discount.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

CodesCount Int True

The number of unique discount codes generated for this discount.

CodesCountPrecision String True

The level of precision applied to the discount code count value.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

StartsAt Datetime False

The date and time when the discount becomes active.

UsageLimit Int False

The maximum number of times this discount can be used across all customers.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

HasTimelineComment Bool True

Indicates whether timeline comments have been added to the discount record.

RecurringCycleLimit Int True

The maximum number of billing cycles in which this discount can apply to subscriptions.

AppliesOncePerCustomer Bool False

Indicates whether the discount can be redeemed only once per customer.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

AppDiscountTypeFunctionId String False

The globally unique identifier of the function providing the app discount type.

AppDiscountTypeTitle String True

The display title of the app discount type.

AppDiscountTypeDescription String True

The description of the app discount type.

AppDiscountTypeAppKey String True

The client identifier of the app providing the app discount type.

AppDiscountTypeDiscountClass String True

The classification of the app discount type, used for combining logic.

AppDiscountTypeTargetType String True

The target type of the app discount type. Possible values include 'SHIPPING_LINE' and 'LINE_ITEM'.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

DiscountCustomerAllAllCustomers Bool False

Indicates whether the discount can be applied by all customers. This value is always true.

ErrorHistoryFirstOccurredAt Datetime True

The date and time when the first error related to this discount occurred.

ErrorHistoryErrorsFirstOccurredAt Datetime True

The date and time when the first error entry was recorded in the error history.

ErrorHistoryHasSharedRecentErrors Bool True

Indicates whether the merchant has shared recent errors with the app developer.

ErrorHistoryHasBeenSharedSinceLastError Bool True

Indicates whether the merchant has shared errors with the app developer since the most recent error occurred.

TotalSalesAmount Decimal True

The total sales amount attributed to this discount, expressed as a decimal money value.

TotalSalesCurrencyCode String True

The currency code of the total sales amount attributed to this discount.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Code String

The code customers must enter to redeem the discount.

AddAllCustomers Bool

Indicates whether the discount should apply to all customers automatically.

CustomersToAdd String

A comma-separated list of customer IDs to include as eligible for the discount.

CustomersToRemove String

A comma-separated list of customer IDs to remove from discount eligibility.

CustomerSegmentsToAdd String

A comma-separated list of customer segment IDs to include as eligible for the discount.

CustomerSegmentsToRemove String

A comma-separated list of customer segment IDs to remove from discount eligibility.

CData Python Connector for Shopify

DiscountsCodeBasic

Lists basic code discounts (fixed/percentage off, minimums).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=' comparison operator.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsCodeBasic WHERE Title = 'Val1'
  SELECT * FROM DiscountsCodeBasic WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsCodeBasic WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBasic WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBasic WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBasic WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity

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

Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsageLimit, RecurringCycleLimit, AppliesOncePerCustomer, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts, CustomerGetsAppliesOnSubscription, CustomerGetsAppliesOnOneTimePurchase, DiscountCustomerAllAllCustomers, DiscountMinimumQuantityGreaterThanOrEqualToQuantity

The following pseudo-columns can be used to update a record:

Code, AppliesOnEachItem, DiscountAmount, ProductsToAdd, ProductsToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the discount code record.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

CodesCount Int True

The number of unique discount codes generated for this discount.

CodesCountPrecision String True

The level of precision applied to the discount code count value.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

ShortSummary String True

A short summary of the basic discount code (for example, '10% off all products' or '$5 off orders over $25').

StartsAt Datetime False

The date and time when the discount becomes active.

UsageLimit Int False

The maximum number of times this discount can be used across all customers.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

HasTimelineComment Bool True

Indicates whether timeline comments have been added to the discount record.

RecurringCycleLimit Int False

The maximum number of billing cycles in which this discount can apply to subscriptions.

AppliesOncePerCustomer Bool False

Indicates whether the discount can be redeemed only once per customer.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

CustomerGetsAppliesOnSubscription Bool False

Indicates whether the discount applies to subscription items.

CustomerGetsAppliesOnOneTimePurchase Bool False

Indicates whether the discount applies to regular one-time purchase items.

DiscountCustomerAllAllCustomers Bool False

Indicates whether the discount can be applied by all customers. This value is always true.

DiscountMinimumQuantityGreaterThanOrEqualToQuantity String False

The minimum number of items required for the discount to apply.

TotalSalesAmount Decimal True

The total sales amount attributed to this discount, expressed as a decimal money value.

TotalSalesCurrencyCode String True

The currency code of the total sales amount attributed to this discount.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Code String

The code customers must enter to redeem the discount.

AppliesOnEachItem Bool

Indicates how the discount is applied. If true, it applies to each entitled item individually. If false, the discount amount is split across all entitled items.

DiscountAmount Decimal

The value of the discount, expressed as a decimal money amount.

ProductsToAdd String

A comma-separated list of product IDs to include in the discount.

ProductsToRemove String

A comma-separated list of product IDs to exclude from the discount.

AddAllCustomers Bool

Indicates whether all customers are automatically eligible for the discount.

CustomersToAdd String

A comma-separated list of customer IDs to include as eligible for the discount.

CustomersToRemove String

A comma-separated list of customer IDs to remove from discount eligibility.

CustomerSegmentsToAdd String

A comma-separated list of customer segment IDs to include as eligible for the discount.

CustomerSegmentsToRemove String

A comma-separated list of customer segment IDs to remove from discount eligibility.

CData Python Connector for Shopify

DiscountsCodeBxgy

Lists buy-X-get-Y discount codes.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsCodeBxgy WHERE Title = 'Val1'
  SELECT * FROM DiscountsCodeBxgy WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsCodeBxgy WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBxgy WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBxgy WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeBxgy WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

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

Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsageLimit, AppliesOncePerCustomer, UsesPerOrderLimit, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, CombinesWithShippingDiscounts

The following pseudo-columns can be used to update a record:

Code, DiscountOnQuantity, DiscountPercentage, ProductsToAdd, ProductsToRemove, DiscountAmountToBuy, DiscountQuantityToBuy, ProductsBuysToAdd, ProductsBuysToRemove, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the discount code record.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

CodesCount Int True

The number of unique discount codes generated for this discount.

CodesCountPrecision String True

The level of precision applied to the discount code count value.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

StartsAt Datetime False

The date and time when the discount becomes active.

UsageLimit Int False

The maximum number of times this discount can be used across all customers.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

HasTimelineComment Bool True

Indicates whether timeline comments have been added to the discount record.

AppliesOncePerCustomer Bool False

Indicates whether the discount can be redeemed only once per customer.

UsesPerOrderLimit Int False

The maximum number of times this discount can be applied within a single order.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool False

Indicates whether the discount can be combined with shipping-level discounts.

CustomerGetsAppliesOnSubscription Bool True

Indicates whether the discount applies to subscription items.

CustomerGetsAppliesOnOneTimePurchase Bool True

Indicates whether the discount applies to regular one-time purchase items.

DiscountCustomerAllAllCustomers Bool True

Indicates whether the discount can be applied by all customers. This value is always true.

TotalSalesAmount Decimal True

The total sales amount attributed to this discount, expressed as a decimal money value.

TotalSalesCurrencyCode String True

The currency code of the total sales amount attributed to this discount.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Code String

The code customers must enter to redeem the discount.

DiscountOnQuantity String

The number of items discounted as part of the Buy X, Get Y promotion.

DiscountPercentage Double

The percentage value of the discount applied to eligible items.

ProductsToAdd String

A comma-separated list of product Ids to include in the discount.

ProductsToRemove String

A comma-separated list of product Ids to exclude from the discount.

DiscountAmountToBuy String

The amount or value associated with the prerequisite purchase for the discount.

DiscountQuantityToBuy Double

The quantity of prerequisite items that must be purchased for the discount to apply.

ProductsBuysToAdd String

A comma-separated list of product Ids to add as eligible prerequisites for the discount.

ProductsBuysToRemove String

A comma-separated list of product Ids to remove from eligible prerequisites for the discount.

AddAllCustomers Bool

Indicates whether all customers are automatically eligible for the discount.

CustomersToAdd String

A comma-separated list of customer Ids to include as eligible for the discount.

CustomersToRemove String

A comma-separated list of customer Ids to remove from discount eligibility.

CustomerSegmentsToAdd String

A comma-separated list of customer segment Ids to include as eligible for the discount.

CustomerSegmentsToRemove String

A comma-separated list of customer segment Ids to remove from discount eligibility.

CData Python Connector for Shopify

DiscountsCodeFreeShipping

Lists free-shipping discounts available via discount codes.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Title supports the '=, !=' comparison operators.
  • DiscountClass supports the '=, !=' comparison operators.
  • EndsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • StartsAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountsCodeFreeShipping WHERE Title = 'Val1'
  SELECT * FROM DiscountsCodeFreeShipping WHERE DiscountClass = 'Val1'
  SELECT * FROM DiscountsCodeFreeShipping WHERE EndsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeFreeShipping WHERE StartsAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeFreeShipping WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DiscountsCodeFreeShipping WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, EndsAt, StartsAt, UsageLimit, AppliesOnSubscription, RecurringCycleLimit, AppliesOncePerCustomer, AppliesOnOneTimePurchase, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, DiscountCountriesIncludeRestOfWorld, DiscountCountryAllAllCountries, MaximumShippingPriceAmount, DiscountMinimumQuantityGreaterThanOrEqualToQuantity, DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount

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

Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove, CountriesToAdd, CountriesToRemove

Update

The following columns can be updated:

Title, EndsAt, StartsAt, UsageLimit, AppliesOnSubscription, RecurringCycleLimit, AppliesOncePerCustomer, AppliesOnOneTimePurchase, CombinesWithOrderDiscounts, CombinesWithProductDiscounts, DiscountCountriesIncludeRestOfWorld, DiscountCountryAllAllCountries, MaximumShippingPriceAmount, DiscountMinimumQuantityGreaterThanOrEqualToQuantity, DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount

The following pseudo-columns can be used to update a record:

Code, AddAllCustomers, CustomersToAdd, CustomersToRemove, CustomerSegmentsToAdd, CustomerSegmentsToRemove, CountriesToAdd, CountriesToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the free shipping discount code record.

Title String False

The display title of the discount.

Status String True

The current status of the discount, such as active or expired.

Summary String True

A detailed summary of the discount and how it is applied.

CodesCount Int True

The number of unique discount codes generated for this discount.

CodesCountPrecision String True

The level of precision applied to the discount code count value.

DiscountClass String True

The classification of the discount, used for determining compatibility with other discounts.

EndsAt Datetime False

The date and time when the discount ends. Returns null for open-ended discounts.

ShortSummary String True

A short summary of the free shipping discount (for example, 'Free standard shipping on orders over $50').

StartsAt Datetime False

The date and time when the discount becomes active.

UsageLimit Int False

The maximum number of times this discount can be used across all customers.

AppliesOnSubscription Bool False

Indicates whether the discount applies to shipping lines in subscription orders.

AsyncUsageCount Int True

The number of times the discount has been used. This value is updated asynchronously and might differ from the actual usage count.

HasTimelineComment Bool True

Indicates whether timeline comments have been added to the discount record.

RecurringCycleLimit Int False

The maximum number of billing cycles in which this discount can apply to subscription orders.

AppliesOncePerCustomer Bool False

Indicates whether the discount can be redeemed only once per customer.

AppliesOnOneTimePurchase Bool False

Indicates whether the discount applies to shipping lines in regular one-time purchase orders.

CreatedAt Datetime True

The date and time when the discount record was created.

UpdatedAt Datetime True

The date and time when the discount was updated.

CombinesWithOrderDiscounts Bool False

Indicates whether the discount can be combined with order-level discounts.

CombinesWithProductDiscounts Bool False

Indicates whether the discount can be combined with product-level discounts.

CombinesWithShippingDiscounts Bool True

Indicates whether the discount can be combined with other shipping-level discounts.

DiscountCustomerAllAllCustomers Bool True

Indicates whether the discount can be applied by all customers. This value is always true.

DiscountCountriesCountries String True

A list of two-letter country codes where the discount can be applied.

DiscountCountriesIncludeRestOfWorld Bool False

Indicates whether the discount applies to all other countries not explicitly included in the shop's shipping zones.

DiscountCountryAllAllCountries Bool False

Indicates whether the discount can be applied to all countries as shipping destinations. This value is always true.

MaximumShippingPriceAmount Decimal False

The maximum shipping price eligible for the discount, expressed as a decimal money amount.

MaximumShippingPriceCurrencyCode String True

The currency code of the maximum shipping price eligible for the discount.

DiscountMinimumQuantityGreaterThanOrEqualToQuantity String False

The minimum number of items required for the discount to apply.

DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalAmount Decimal False

The minimum subtotal that's required for the discount to be applied.

DiscountMinimumSubtotalGreaterThanOrEqualToSubtotalCurrencyCode String True

The three-letter currency code that represents a world currency used in a store.

TotalSalesAmount Decimal True

The total sales amount attributed to this discount, expressed as a decimal money value.

TotalSalesCurrencyCode String True

The currency code of the total sales amount attributed to this discount.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Code String

The code to use the discount.

AddAllCustomers Bool

Whether all customers can use this discount.

CustomersToAdd String

A simple, comma-separated list of customers IDs to add.

CustomersToRemove String

A simple, comma-separated list of customers IDs to remove.

CustomerSegmentsToAdd String

A simple, comma-separated list of customer segment IDs to add.

CustomerSegmentsToRemove String

A simple, comma-separated list of customer segment IDs to remove.

CountriesToAdd String

A simple, comma-separated list of countries to add.

CountriesToRemove String

A simple, comma-separated list of countries to remove.

CData Python Connector for Shopify

DraftOrders

Lists saved draft orders for manual checkout or invoicing workflows.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CustomerId supports the '=, !=' comparison operators.

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

  SELECT * FROM DraftOrders WHERE Id = 'Val1'
  SELECT * FROM DraftOrders WHERE Status = 'Val1'
  SELECT * FROM DraftOrders WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DraftOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM DraftOrders WHERE CustomerId = 'Val1'

Insert

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

Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout

DraftOrderLineItems Temporary Table Columns

Column NameTypeDescription
TitleStringThe title of the product or variant. This field only applies to custom line items.
QuantityIntThe number of product variants that are requested in the draft order.
SkuStringThe SKU number of the product variant.
TaxableBoolWhether the variant is taxable.
RequiresShippingBoolWhether physical shipping is required for the variant.
AppliedDiscountTitleStringName of the order-level discount.
AppliedDiscountDescriptionStringDescription of the order-level discount.
AppliedDiscountValueDoubleThe order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount.
AppliedDiscountValueTypeStringType of the order-level discount.
AppliedDiscountAmountV2AmountDecimalDecimal money amount.
VariantIdStringA globally-unique ID.
WeightValueDoubleThe weight value using the unit system specified with 'unit'.
WeightUnitStringThe unit of measurement for 'value'.

Update

The following columns can be updated:

Email, CustomerId, BillingAddressId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressCountry, BillingAddressPhone, BillingAddressProvince, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, AppliedDiscountTitle, AppliedDiscountDescription, AppliedDiscountValue, AppliedDiscountValueType, AppliedDiscountAmountV2Amount, DraftOrderLineItems (references DraftOrderLineItems), DiscountCodes, AcceptAutomaticDiscounts, AllowDiscountCodesInCheckout

DraftOrderLineItems Temporary Table Columns

Column NameTypeDescription
TitleStringThe title of the product or variant. This field only applies to custom line items.
QuantityIntThe number of product variants that are requested in the draft order.
SkuStringThe SKU number of the product variant.
TaxableBoolWhether the variant is taxable.
RequiresShippingBoolWhether physical shipping is required for the variant.
AppliedDiscountTitleStringName of the order-level discount.
AppliedDiscountDescriptionStringDescription of the order-level discount.
AppliedDiscountValueDoubleThe order level discount amount. If 'valueType' is 'percentage', then 'value' is the percentage discount.
AppliedDiscountValueTypeStringType of the order-level discount.
AppliedDiscountAmountV2AmountDecimalDecimal money amount.
VariantIdStringA globally-unique ID.
WeightValueDoubleThe weight value using the unit system specified with 'unit'.
WeightUnitStringThe unit of measurement for 'value'.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the draft order.

LegacyResourceId String True

The legacy identifier of the draft order in the REST Admin API.

Name String True

The unique identifier for the draft order within the store, typically shown with a prefix such as '#D1223'.

MarketName String True

The name of the market selected for the draft order.

Email String False

The email address of the customer associated with the draft order, used for notifications.

Note2 String True

Optional merchant-facing notes attached to the draft order.

Phone String True

The phone number associated with the draft order.

Ready Bool True

Indicates whether the draft order is complete and ready to be finalized. Draft orders might require asynchronous processing before this value becomes true.

Status String True

The current status of the draft order.

Tags String True

A comma-separated list of tags applied to the draft order. Updating this field overwrites all existing tags.

CompletedAt Datetime True

The date and time when the draft order was converted into a completed order.

CurrencyCode String True

The three-letter currency code of the shop at the time of the most recent update to the draft order.

DefaultCursor String True

A default cursor used to fetch the next record in ascending Id order.

InvoiceUrl String True

The URL to the checkout page, sent to the customer in the draft order invoice email.

TaxExempt Bool True

Indicates whether the draft order is exempt from taxes.

TaxesIncluded Bool True

Indicates whether taxes are included in the line item prices.

TotalWeight String True

The total weight of all items in the draft order, measured in grams.

HasTimelineComment Bool True

Indicates whether the merchant has added a timeline comment to the draft order.

InvoiceSentAt Datetime True

The date and time when the invoice was last sent to the customer.

PresentmentCurrencyCode String True

The currency code in which the customer is expected to pay for this draft order.

ReserveInventoryUntil Datetime True

The date and time after which reserved inventory for this draft order is released.

VisibleToCustomer Bool True

Indicates whether the draft order is visible to the customer in the self-serve portal.

InvoiceEmailTemplateSubject String True

The subject line defined in the draft invoice email template.

MarketRegionCountryCode String True

The country code of the selected market region for the draft order.

BillingAddressMatchesShippingAddress Bool True

Indicates whether the billing address matches the shipping address.

CreatedAt Datetime True

The date and time when the draft order was created.

UpdatedAt Datetime True

The date and time when the draft order was last updated.

OrderId String True

The globally unique identifier of the order created from the draft order, if completed.

PurchasingEntityCustomerId String True

The globally unique identifier of the purchasing customer.

PurchasingEntityCompanyCompanyId String True

The globally unique identifier of the purchasing company, if applicable.

CustomerId String False

Customers.Id

The globally unique identifier of the customer to whom the draft order invoice was sent.

BillingAddressId String False

The globally unique identifier of the billing address.

BillingAddressCoordinatesValidated Bool True

Indicates whether the billing address includes valid latitude and longitude coordinates.

BillingAddressValidationResultSummary String True

The validation status of the billing address, as determined by Shopify Admin's address validation feature.

BillingAddressName String True

The full name of the customer on the billing address.

BillingAddressFirstName String False

The first name of the customer on the billing address.

BillingAddressLastName String False

The last name of the customer on the billing address.

BillingAddressAddress1 String False

The first line of the billing address, usually the street address or PO Box.

BillingAddressAddress2 String False

The second line of the billing address, often an apartment, suite, or unit number.

BillingAddressCity String False

The city, district, village, or town of the billing address.

BillingAddressCompany String False

The company name on the billing address, if provided.

BillingAddressCountry String False

The country of the billing address.

BillingAddressLatitude Double True

The latitude coordinate of the billing address.

BillingAddressLongitude Double True

The longitude coordinate of the billing address.

BillingAddressPhone String False

The phone number associated with the billing address, formatted in E.164 (for example, +16135551111).

BillingAddressProvince String False

The region of the billing address, such as province, state, or district.

BillingAddressZip String False

The ZIP or postal code of the billing address.

BillingAddressFormattedArea String True

A comma-separated list of the billing address components: city, province, and country.

BillingAddressProvinceCode String False

The two-letter region code for the billing address (for example, ON).

BillingAddressCountryCodeV2 String False

The two-letter country code for the billing address (for example, US).

ShippingAddressId String False

The globally unique identifier of the shipping address.

ShippingAddressCoordinatesValidated Bool True

Indicates whether the shipping address includes valid latitude and longitude coordinates.

ShippingAddressValidationResultSummary String True

The validation status of the shipping address, as determined by Shopify Admin's address validation feature.

ShippingAddressName String True

The full name of the recipient on the shipping address.

ShippingAddressFirstName String False

The first name of the recipient on the shipping address.

ShippingAddressLastName String False

The last name of the recipient on the shipping address.

ShippingAddressAddress1 String False

The first line of the shipping address, usually the street address or PO Box.

ShippingAddressAddress2 String False

The second line of the shipping address, often an apartment, suite, or unit number.

ShippingAddressCity String False

The city, district, village, or town of the shipping address.

ShippingAddressCompany String False

The company name on the shipping address, if provided.

ShippingAddressCountry String False

The country of the shipping address.

ShippingAddressLatitude Double True

The latitude coordinate of the shipping address.

ShippingAddressLongitude Double True

The longitude coordinate of the shipping address.

ShippingAddressPhone String False

The phone number associated with the shipping address, formatted in E.164 (for example, +16135551111).

ShippingAddressProvince String False

The region of the shipping address, such as province, state, or district.

ShippingAddressZip String False

The ZIP or postal code of the shipping address.

ShippingAddressFormattedArea String True

A comma-separated list of the shipping address components: city, province, and country.

ShippingAddressProvinceCode String False

The two-letter region code for the shipping address (for example, ON).

ShippingAddressCountryCodeV2 String False

The two-letter country code for the shipping address (for example, US).

ShippingLineId String True

The globally unique identifier of the shipping line.

ShippingLineCarrierIdentifier String True

A reference to the carrier service that provided the shipping rate, when calculated by a third-party service.

ShippingLineTitle String True

The title of the shipping line.

ShippingLineCode String True

A reference to the shipping method used.

ShippingLineCustom Bool True

Indicates whether the shipping line is custom.

ShippingLinePhone String True

The phone number associated with the shipping address for the shipping line.

ShippingLineSource String True

The source system or rate provider of the shipping line.

ShippingLineDeliveryCategory String True

The classification of the shipping method applied to the draft order.

ShippingLineShippingRateHandle String True

A system-generated identifier for the shipping rate. Not stable and not intended for display.

ShippingLineRequestedFulfillmentServiceId String True

The globally unique identifier of the fulfillment service requested for this shipping line.

AppliedDiscountTitle String False

The name of the order-level discount applied to the draft order.

AppliedDiscountDescription String False

The description of the order-level discount.

AppliedDiscountValue Double False

The amount of the order-level discount. If the value type is 'percentage', this is the percentage discount applied.

AppliedDiscountValueType String False

The type of the order-level discount (for example, percentage or fixed amount).

PaymentTermsId String True

The globally unique identifier of the payment terms template used.

PaymentTermsTranslatedName String True

The translated name of the payment terms template in the shop admin's language.

PaymentTermsPaymentTermsName String True

The name of the payment terms template applied to the draft order.

PaymentTermsOverdue Bool True

Indicates whether any scheduled payments are overdue for the draft order.

PaymentTermsDueInDays Int True

The number of days between the issue date and due date, based on the applied payment terms template.

PaymentTermsPaymentTermsType String True

The type of payment terms template applied to the draft order.

PaymentTermsOrderId String True

The globally unique identifier of the order associated with the payment terms.

AppliedDiscountAmountV2Amount Decimal False

The monetary value of the applied discount, expressed as a decimal.

AppliedDiscountAmountV2CurrencyCode String True

The currency code of the applied discount.

LineItemsSubtotalPricePresentmentMoneyAmount Decimal True

The subtotal of draft order line items in the presentment currency, expressed as a decimal.

LineItemsSubtotalPricePresentmentMoneyCurrencyCode String True

The currency code of the line item subtotal in the presentment currency.

LineItemsSubtotalPriceShopMoneyAmount Decimal True

The subtotal of draft order line items in the shop currency, expressed as a decimal.

LineItemsSubtotalPriceShopMoneyCurrencyCode String True

The currency code of the line item subtotal in the shop currency.

SubtotalPriceSetPresentmentMoneyAmount Decimal True

The subtotal of the draft order in the presentment currency, expressed as a decimal.

SubtotalPriceSetPresentmentMoneyCurrencyCode String True

The currency code of the draft order subtotal in the presentment currency.

SubtotalPriceSetShopMoneyAmount Decimal True

The subtotal of the draft order in the shop currency, expressed as a decimal.

SubtotalPriceSetShopMoneyCurrencyCode String True

The currency code of the draft order subtotal in the shop currency.

TotalDiscountsSetPresentmentMoneyAmount Decimal True

The total discounts applied to the draft order in the presentment currency, expressed as a decimal.

TotalDiscountsSetPresentmentMoneyCurrencyCode String True

The currency code of the total discounts in the presentment currency.

TotalDiscountsSetShopMoneyAmount Decimal True

The total discounts applied to the draft order in the shop currency, expressed as a decimal.

TotalDiscountsSetShopMoneyCurrencyCode String True

The currency code of the total discounts in the shop currency.

TotalLineItemsPriceSetPresentmentMoneyAmount Decimal True

The total price of all line items in the presentment currency, expressed as a decimal.

TotalLineItemsPriceSetPresentmentMoneyCurrencyCode String True

The currency code of the total line item price in the presentment currency.

TotalLineItemsPriceSetShopMoneyAmount Decimal True

The total price of all line items in the shop currency, expressed as a decimal.

TotalLineItemsPriceSetShopMoneyCurrencyCode String True

The currency code of the total line item price in the shop currency.

TotalPriceSetPresentmentMoneyAmount Decimal True

The total price of the draft order in the presentment currency, expressed as a decimal.

TotalPriceSetPresentmentMoneyCurrencyCode String True

The currency code of the draft order total in the presentment currency.

TotalPriceSetShopMoneyAmount Decimal True

The total price of the draft order in the shop currency, expressed as a decimal.

TotalPriceSetShopMoneyCurrencyCode String True

The currency code of the draft order total in the shop currency.

TotalShippingPriceSetPresentmentMoneyAmount Decimal True

The total shipping price in the presentment currency, expressed as a decimal.

TotalShippingPriceSetPresentmentMoneyCurrencyCode String True

The currency code of the total shipping price in the presentment currency.

TotalShippingPriceSetShopMoneyAmount Decimal True

The total shipping price in the shop currency, expressed as a decimal.

TotalShippingPriceSetShopMoneyCurrencyCode String True

The currency code of the total shipping price in the shop currency.

TotalTaxSetPresentmentMoneyAmount Decimal True

The total tax amount in the presentment currency, expressed as a decimal.

TotalTaxSetPresentmentMoneyCurrencyCode String True

The currency code of the total tax amount in the presentment currency.

TotalTaxSetShopMoneyAmount Decimal True

The total tax amount in the shop currency, expressed as a decimal.

TotalTaxSetShopMoneyCurrencyCode String True

The currency code of the total tax amount in the shop currency.

DraftOrderLineItems String False

The list of line items included in the draft order.

DiscountCodes String False

The discount codes applied to the draft order.

AcceptAutomaticDiscounts Bool False

Indicates whether automatic discounts should be applied to the draft order during calculation.

AllowDiscountCodesInCheckout Bool False

Indicates whether discount codes are allowed during checkout of the draft order.

Warnings String True

A list of warnings raised during draft order calculation.

PlatformDiscountIds String True

The list of platform-level discounts applied to the draft order.

CData Python Connector for Shopify

Files

Lists files uploaded to Shopify (images, PDFs, media) with metadata and URLs.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=' comparison operator.
  • Status supports the '=' comparison operator.
  • CreatedAt supports the '=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Files WHERE Id = 'Val1'
  SELECT * FROM Files WHERE Status = 'Val1'
  SELECT * FROM Files WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Files WHERE UpdatedAt = '2023-01-01 11:10:00'

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the file.

Description String True

The descriptive text or alternative information associated with the file.

Status String True

The current processing or availability status of the file.

FileErrors String True

Details about any errors that occurred during file upload, processing, or use.

CreatedAt Datetime True

The date and time when the file was first created in Shopify.

UpdatedAt Datetime True

The date and time when the file was most recently updated in Shopify.

Size Int True

The file size in bytes.

CData Python Connector for Shopify

FulfillmentEvents

Lists status events (in transit, delivered) associated with fulfillments.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • FulfillmentId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentEvents WHERE FulfillmentId = 'Val1'

Insert

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

FulfillmentId, Status, Address1, City, Country, Latitude, Longitude, Message, Province, Zip, EstimatedDeliveryAt

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the fulfillment event.

FulfillmentId String True

Fulfillments.Id

The globally unique identifier of the fulfillment associated with this event.

OrderId String True

Orders.Id

The globally unique identifier of the order linked to this fulfillment event.

Status String True

The current status of the fulfillment event, such as in transit or delivered.

HappenedAt Datetime True

The exact date and time when the fulfillment event occurred.

Address1 String True

The first line of the street address where the fulfillment event took place.

City String True

The city where the fulfillment event occurred.

Country String True

The country where the fulfillment event occurred.

Latitude Double True

The latitude coordinate of the location where the fulfillment event occurred.

Longitude Double True

The longitude coordinate of the location where the fulfillment event occurred.

Message String True

Any message or note provided with the fulfillment event, often used for delivery updates.

Province String True

The province, state, or region where the fulfillment event occurred.

Zip String True

The postal or ZIP code of the location where the fulfillment event occurred.

EstimatedDeliveryAt Datetime True

The projected delivery date and time for the shipment related to this fulfillment event.

CreatedAt Datetime True

The date and time when the fulfillment event record was created in Shopify.

CData Python Connector for Shopify

FulfillmentOrders

Lists merchant-managed and third-party fulfillment orders with statuses and assignments.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • UpdatedAt supports the '=, <, >, >=, <=' comparison operators.
  • AssignedLocationLocationId supports the '=, !=' comparison operators.
  • OrderId supports the '=, IN' comparison operators.

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

  SELECT * FROM FulfillmentOrders WHERE Id = 'Val1'
  SELECT * FROM FulfillmentOrders WHERE Status = 'open'
  SELECT * FROM FulfillmentOrders WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM FulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
  SELECT * FROM FulfillmentOrders WHERE OrderId = 'Val1'

Update

The following columns can be updated:

Status, FulfillAt, FulfillBy

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the fulfillment order.

Status String False

The current status of the fulfillment order.

The allowed values are open, closed, cancelled, in_progress, incomplete, on_hold, scheduled.

FulfillAt Datetime True

The date and time when the fulfillment order becomes fulfillable. At this time, a scheduled fulfillment order automatically transitions to 'open'. For example, subscription orders might have a monthly fulfill_at date, pre-orders might be null, and standard orders typically use the order creation date.

FulfillBy Datetime True

The latest date and time by which all items in the fulfillment order must be fulfilled.

OrderName String True

The unique order identifier displayed on the order page.

RequestStatus String True

The current request status of the fulfillment order.

CreatedAt Datetime True

The date and time when the fulfillment order was created.

UpdatedAt Datetime True

The date and time when the fulfillment order was last updated.

OrderProcessedAt Datetime True

The date and time when the fulfillment order was processed.

AssignedLocationName String True

The name of the assigned fulfillment location.

AssignedLocationAddress1 String True

The first line of the assigned location's address.

AssignedLocationAddress2 String True

The second line of the assigned location's address.

AssignedLocationCity String True

The city of the assigned location.

AssignedLocationPhone String True

The phone number of the assigned location.

AssignedLocationProvince String True

The province or region of the assigned location.

AssignedLocationZip String True

The ZIP or postal code of the assigned location.

AssignedLocationCountryCode String True

The two-letter ISO country code of the assigned location.

AssignedLocationLocationId String True

The globally unique identifier of the assigned location.

AssignedLocationLocationLegacyResourceId String True

The legacy identifier of the assigned location in the REST Admin API.

AssignedLocationLocationName String True

The display name of the assigned location.

AssignedLocationLocationActivatable Bool True

Indicates whether the location can be reactivated.

AssignedLocationLocationDeactivatable Bool True

Indicates whether the location can be deactivated.

AssignedLocationLocationDeletable Bool True

Indicates whether the location can be deleted.

AssignedLocationLocationAddressVerified Bool True

Indicates whether the location's address has been verified.

AssignedLocationLocationDeactivatedAt String True

The date and time when the location was deactivated, in UTC. Example: '2019-09-07T15:50:00Z'.

AssignedLocationLocationIsActive Bool True

Indicates whether the location is active.

AssignedLocationLocationShipsInventory Bool True

Indicates whether this location is used to calculate shipping rates. In multi-origin shipping mode, this flag is ignored.

AssignedLocationLocationFulfillsOnlineOrders Bool True

Indicates whether this location can fulfill online orders.

AssignedLocationLocationHasActiveInventory Bool True

Indicates whether this location has active inventory.

AssignedLocationLocationHasUnfulfilledOrders Bool True

Indicates whether this location has unfulfilled orders.

DeliveryMethodId String True

The globally unique identifier of the delivery method.

DeliveryMethodPresentedName String True

The name of the delivery option presented to the buyer at checkout.

DeliveryMethodMethodType String True

The type of delivery method for the fulfillment order, such as shipping, local delivery, or pickup.

DeliveryMethodMaxDeliveryDateTime Datetime True

The latest date and time when the fulfillment is expected to arrive at the destination.

DeliveryMethodMinDeliveryDateTime Datetime True

The earliest date and time when the fulfillment is expected to arrive at the destination.

DeliveryMethodServiceCode String True

The reference code of the shipping method.

DeliveryMethodSourceReference String True

Provider-specific data associated with the delivery promise.

DeliveryMethodBrandedPromiseName String True

The display name of the branded delivery promise. For example: 'Shop Promise'.

DeliveryMethodBrandedPromiseHandle String True

The handle identifier of the branded delivery promise. For example: 'shop_promise'.

DeliveryMethodAdditionalInformationPhone String True

The phone number to contact regarding delivery.

DeliveryMethodAdditionalInformationInstructions String True

Special delivery instructions for the carrier.

DestinationId String True

The globally unique identifier of the destination address.

DestinationFirstName String True

The first name of the recipient at the destination.

DestinationLastName String True

The last name of the recipient at the destination.

DestinationAddress1 String True

The first line of the destination address.

DestinationAddress2 String True

The second line of the destination address.

DestinationCity String True

The city of the destination address.

DestinationCompany String True

The company name associated with the destination address.

DestinationEmail String True

The email address of the recipient at the destination.

DestinationPhone String True

The phone number of the recipient at the destination.

DestinationProvince String True

The province or region of the destination address.

DestinationZip String True

The ZIP or postal code of the destination address.

DestinationCountryCode String True

The two-letter ISO country code of the destination address.

DestinationLocationId String True

The globally unique identifier of the destination location.

InternationalDutiesIncoterm String True

The duties payment method for international shipments. Example values: 'DDP' (Delivered Duty Paid), 'DAP' (Delivered At Place).

OrderId String True

The globally unique identifier of the related order.

CData Python Connector for Shopify

Fulfillments

Represents shipments created for orders, including tracking and delivery status.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Fulfillments WHERE OrderId = 'Val1'
  SELECT * FROM Fulfillments WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Fulfillments WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

OriginAddressAddress1, OriginAddressAddress2, OriginAddressCity, OriginAddressCountryCode, OriginAddressProvinceCode, OriginAddressZip, TrackingInfoCompany, TrackingInfoNumber, TrackingInfoUrl

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

NotifyCustomer, Message, FulfillmentOrderIds

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the fulfillment.

LegacyResourceId String True

The legacy identifier of the corresponding resource in the REST Admin API.

OrderId String True

Orders.Id

The globally unique identifier of the order associated with the fulfillment.

Name String True

A human-readable reference identifier for the fulfillment.

Status String True

The current status of the fulfillment.

DeliveredAt Datetime True

The date when the fulfillment was delivered.

DisplayStatus String True

A human-readable display status for the fulfillment.

RequiresShipping Bool True

Indicates whether any of the line items in the fulfillment require shipping.

TotalQuantity Int True

The total quantity of all line items in the fulfillment.

EstimatedDeliveryAt Datetime True

The estimated date when the fulfillment is expected to arrive.

InTransitAt Datetime True

The date and time when the fulfillment was marked as in transit.

CreatedAt Datetime True

The date and time when the fulfillment was created.

UpdatedAt Datetime True

The date and time when the fulfillment was last updated.

LocationId String True

The globally unique identifier of the fulfillment location.

ServiceId String True

The identifier of the fulfillment service.

OriginAddressAddress1 String True

The first line of the fulfillment location's address.

OriginAddressAddress2 String True

The second line of the fulfillment location's address, typically an apartment, suite, or unit number.

OriginAddressCity String True

The city where the fulfillment location is situated.

OriginAddressCountryCode String True

The two-letter country code of the fulfillment location.

OriginAddressProvinceCode String True

The province or state code of the fulfillment location.

OriginAddressZip String True

The postal or ZIP code of the fulfillment location.

TrackingInfoCompany String True

The name of the shipping company handling the fulfillment.

TrackingInfoNumber String True

The tracking number assigned to the fulfillment.

TrackingInfoUrl String True

The URL used to track the fulfillment shipment.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
NotifyCustomer Bool

Indicates whether the customer is notified. If true, a notification is sent when the fulfillment is created. Defaults to false.

Message String

An optional message included with the fulfillment request.

FulfillmentOrderIds String

An aggregated object containing the fulfillment order IDs. For example: [{'fulfillmentOrderId': 'gid://shopify/FulfillmentOrder/xxx'}].

CData Python Connector for Shopify

FulfillmentServices

Lists fulfillment services that prepare and ship orders on behalf of the merchant.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM FulfillmentServices

Insert

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

ServiceName, CallbackUrl, InventoryManagement, RequiresShippingMethod

Update

The following columns can be updated:

ServiceName, CallbackUrl, InventoryManagement, RequiresShippingMethod

Delete

You can delete entries by specifying the following columns:

Id, LocationId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the fulfillment service.

ServiceName String False

The name of the fulfillment service as displayed to merchants.

Handle String True

A human-readable, unique string that identifies the fulfillment service.

Type String True

The type of the fulfillment service.

CallbackUrl String False

The callback URL that the fulfillment service registers to receive requests from Shopify.

InventoryManagement Bool False

Indicates whether the fulfillment service tracks product inventory and provides updates to Shopify.

PermitsSkuSharing Bool True

Indicates whether the fulfillment service can stock inventory alongside other locations.

RequiresShippingMethod Bool False

Indicates whether the fulfillment service requires products to be physically shipped.

TrackingSupport Bool True

Indicates whether the fulfillment service supports tracking numbers through the /fetch_tracking_numbers endpoint.

LocationId String True

The globally unique identifier of the location associated with the fulfillment service.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
InventoryAction String

Specifies the action to take with the location after the fulfillment service is deleted.

The allowed values are DELETE, KEEP, TRANSFER.

CData Python Connector for Shopify

FulfillmentTrackingInfo

Lists tracking details for fulfillments, including company, number, and tracking URL.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • FulfillmentId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentTrackingInfo WHERE FulfillmentId = 'Val1'

Update

The following columns can be updated:

FulfillmentId, Company, Number, Url

Columns

Name Type ReadOnly References Description
FulfillmentId String False

Fulfillments.Id

The globally unique identifier of the fulfillment associated with the tracking information.

Company String False

The name of the shipping or tracking company handling the fulfillment.

Number String False

The tracking number assigned to the fulfillment.

Url String False

The URL used to track the fulfillment's shipping status.

CData Python Connector for Shopify

GiftCards

Lists gift cards and balances (requires read_gift_cards; available for Shopify Plus/private or custom application).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ExpiresOn supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • InitialValueAmount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM GiftCards WHERE Id = 'Val1'
  SELECT * FROM GiftCards WHERE ExpiresOn = '2023-01-01'
  SELECT * FROM GiftCards WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM GiftCards WHERE InitialValueAmount = '100.00'

Insert

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

Note, ExpiresOn, InitialValueAmount, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt

Update

The following columns can be updated:

Note, ExpiresOn, CustomerId, RecipientAttributesRecipientId, RecipientAttributesPreferredName, RecipientAttributesMessage, RecipientAttributesSendNotificationAt, Enabled

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the gift card.

Enabled Bool True

Indicates whether the gift card is active and can be used.

Note String False

An internal note associated with the gift card, not visible to the customer.

ExpiresOn Date False

The expiration date of the gift card.

LastCharacters String True

The last four characters of the gift card code.

MaskedCode String True

The masked gift card code, showing only the last four characters.

DeactivatedAt Datetime True

The date and time when the gift card was deactivated.

UpdatedAt Datetime True

The date and time when the gift card was last updated.

CreatedAt Datetime True

The date and time when the gift card was created.

BalanceAmount Decimal True

The current balance of the gift card as a decimal value.

BalanceCurrencyCode String True

The currency of the gift card balance.

InitialValueAmount Decimal True

The original value of the gift card as a decimal amount.

InitialValueCurrencyCode String True

The currency of the original gift card value.

CustomerId String False

The unique identifier of the customer associated with the gift card.

RecipientAttributesRecipientId String False

The unique identifier of the gift card recipient.

RecipientAttributesPreferredName String False

The preferred name of the recipient of the gift card.

RecipientAttributesMessage String False

The custom message included with the gift card.

RecipientAttributesSendNotificationAt Datetime False

The scheduled date and time when the gift card notification is sent to the recipient. The message is sent within one hour of the scheduled time.

OrderId String True

The unique identifier of the order that generated the gift card.

CData Python Connector for Shopify

GiftCardTransactionsCredit

Lists credit transactions that increase a gift card balance (Shopify Plus only).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • GiftCardId supports the '=, IN' comparison operators.

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

  SELECT * FROM GiftCardTransactionsCredit WHERE Id = 'Val1'
  SELECT * FROM GiftCardTransactionsCredit WHERE GiftCardId = 'Val1'

Insert

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

GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the credit transaction.

GiftCardId String True

GiftCards.Id

The globally unique identifier of the gift card associated with the transaction.

Note String True

An internal note describing the transaction.

ProcessedAt Datetime True

The date and time when the credit transaction was processed.

Amount Decimal True

The credited amount in decimal format.

AmountCurrencyCode String True

The currency of the credited amount.

CData Python Connector for Shopify

GiftCardTransactionsDebit

Lists debit transactions that decrease a gift card balance (Shopify Plus only).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • GiftCardId supports the '=, IN' comparison operators.

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

  SELECT * FROM GiftCardTransactionsDebit WHERE Id = 'Val1'
  SELECT * FROM GiftCardTransactionsDebit WHERE GiftCardId = 'Val1'

Insert

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

GiftCardId, Note, ProcessedAt, Amount, AmountCurrencyCode

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the debit transaction.

GiftCardId String True

GiftCards.Id

The globally unique identifier of the associated gift card.

Note String True

A merchant-provided note about the debit transaction.

ProcessedAt Datetime True

The date and time when the debit transaction was processed.

Amount Decimal True

The debited amount.

AmountCurrencyCode String True

The currency of the debited amount.

CData Python Connector for Shopify

InventoryItemInventoryLevels

Shows per-location inventory level summaries for an inventory item.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • InventoryItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM InventoryItemInventoryLevels WHERE InventoryItemId = 'Val1'

Insert

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

InventoryItemId, LocationId

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

Available, OnHand, StockAtLegacyLocation

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the inventory level.

InventoryItemId String True

InventoryItems.Id

The globally unique identifier of the inventory item associated with this level.

LocationId String True

The globally unique identifier of the location tied to the inventory level.

CanDeactivate Bool True

Indicates whether the inventory level can be deactivated for the associated item at this location.

DeactivationAlert String True

Explains the impact of deactivating the inventory level or the reason why it cannot be deactivated.

CreatedAt Datetime True

The date and time when the inventory level was created.

UpdatedAt Datetime True

The date and time when the inventory level was last updated.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Available Int

The starting available quantity of the inventory item when it is activated at the location.

OnHand Int

The starting on-hand quantity of the inventory item when it is activated at the location.

StockAtLegacyLocation Bool

Indicates whether activation is allowed at or away from a legacy fulfillment service location when SKU sharing is disabled. Enabling this option deactivates inventory at all other locations.

CData Python Connector for Shopify

InventoryItems

Lists inventory items (SKU-level records) with tracking and cost data.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Sku supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM InventoryItems WHERE Id = 'Val1'
  SELECT * FROM InventoryItems WHERE Sku = 'Val1'
  SELECT * FROM InventoryItems WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM InventoryItems WHERE UpdatedAt = '2023-01-01 11:10:00'

Update

The following columns can be updated:

Sku, Tracked, RequiresShipping, HarmonizedSystemCode, CountryCodeOfOrigin, ProvinceCodeOfOrigin, MeasurementWeightValue, MeasurementWeightUnit, UnitCostAmount, InventoryItemCountryHarmonizedSystemCodes (references InventoryItemCountryHarmonizedSystemCodes)

InventoryItemCountryHarmonizedSystemCodes Temporary Table Columns

Column NameTypeDescription
CountryCodeStringThe ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code.
HarmonizedSystemCodeStringThe country-specific harmonized system code. These are usually longer than 6 digits.

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The globally unique identifier of the inventory item.

LegacyResourceId String True

The identifier of the corresponding inventory resource in the REST Admin API.

VariantId String True

The globally unique identifier of the associated product variant.

Sku String False

The stock keeping unit (SKU) code used to uniquely identify the inventory item.

Tracked Bool False

Indicates whether inventory levels are being tracked for this item.

LocationsCount Int True

The number of locations where this inventory item is stocked.

LocationsCountPrecision String True

The precision level applied to the location count value.

RequiresShipping Bool False

Indicates whether the inventory item requires physical shipping.

DuplicateSkuCount Int True

The number of inventory items that share the same SKU as this item.

HarmonizedSystemCode String False

The harmonized system code (HS code) for the item, used for customs and trade classification.

InventoryHistoryUrl String True

The URL linking to the inventory history record for this item.

CountryCodeOfOrigin String False

The ISO 3166-1 alpha-2 country code representing the item's country of origin.

ProvinceCodeOfOrigin String False

The ISO 3166-2 alpha-2 province or state code representing the item's region of origin.

CreatedAt Datetime True

The date and time when the inventory item was created in Shopify.

UpdatedAt Datetime True

The date and time when the inventory item was last updated.

TrackedEditableLocked Bool True

Indicates whether the 'tracked' attribute is locked from editing.

TrackedEditableReason String True

The explanation for why the 'tracked' attribute is locked from editing.

MeasurementId String True

The globally unique identifier of the measurement record for this inventory item.

MeasurementWeightValue Double False

The numeric weight of the item, measured using the unit specified in 'MeasurementWeightUnit'.

MeasurementWeightUnit String False

The unit of measurement for the item's weight value (for example, 'g', 'kg', 'lb').

UnitCostAmount Decimal False

The per-unit cost of the inventory item, expressed as a decimal amount.

UnitCostCurrencyCode String True

The currency code associated with the unit cost amount.

InventoryItemCountryHarmonizedSystemCodes String False

The list of country-specific harmonized system codes (HS codes) associated with this inventory item.

CData Python Connector for Shopify

Locations

Lists active inventory locations used for stock, fulfillment, and pickup.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Name supports the '=, !=' comparison operators.
  • IsActive supports the '=, !=' comparison operators.
  • AddressAddress1 supports the '=, !=' comparison operators.
  • AddressAddress2 supports the '=, !=' comparison operators.
  • AddressCity supports the '=, !=' comparison operators.
  • AddressCountry supports the '!=' comparison operator.
  • AddressProvince supports the '=, !=' comparison operators.
  • AddressZip supports the '=, !=' comparison operators.
  • IncludeInactive supports the '=' comparison operator.
  • IncludeLegacy supports the '=' comparison operator.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • Value supports the '=' comparison operator.

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

  SELECT * FROM Locations WHERE Id = 'Val1'
  SELECT * FROM Locations WHERE Name = 'Val1'
  SELECT * FROM Locations WHERE IsActive = true
  SELECT * FROM Locations WHERE AddressAddress1 = 'Val1'
  SELECT * FROM Locations WHERE AddressAddress2 = 'Val1'
  SELECT * FROM Locations WHERE AddressCity = 'Val1'
  SELECT * FROM Locations WHERE AddressCountry != 'Val1'
  SELECT * FROM Locations WHERE AddressProvince = 'Val1'
  SELECT * FROM Locations WHERE AddressZip = 'Val1'
  SELECT * FROM Locations WHERE IncludeInactive = true
  SELECT * FROM Locations WHERE IncludeLegacy = true
  SELECT * FROM Locations WHERE Namespace = 'Val1'
  SELECT * FROM Locations WHERE Key = 'Val1'
  SELECT * FROM Locations WHERE Value = 'Val1'

Insert

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

Name, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode

Update

The following columns can be updated:

Name, IsActive, FulfillsOnlineOrders, AddressAddress1, AddressAddress2, AddressCity, AddressPhone, AddressZip, AddressCountryCode, AddressProvinceCode

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the location.

LegacyResourceId String True

The Id of the corresponding resource in the REST Admin API.

Name String False

The name of the location, such as a store, office, or warehouse.

Activatable Bool True

Indicates whether the location can be reactivated.

Deactivatable Bool True

Indicates whether the location can be deactivated.

Deletable Bool True

Indicates whether the location can be deleted.

AddressVerified Bool True

Indicates whether the location's address has been verified.

DeactivatedAt String True

The date and time when the location was deactivated. For example, 3:30 p.m. on September 7, 2019 (UTC) is represented as '2019-09-07T15:30:00Z'.

IsActive Bool False

Indicates whether the location is active.

ShipsInventory Bool True

Indicates whether the location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored.

IsFulfillmentService Bool True

Indicates whether the location functions as a fulfillment service.

FulfillsOnlineOrders Bool False

Indicates whether the location can fulfill online orders.

HasActiveInventory Bool True

Indicates whether the location has active inventory.

HasUnfulfilledOrders Bool True

Indicates whether the location has unfulfilled orders.

CreatedAt Datetime True

The date and time when the location was created.

UpdatedAt Datetime True

The date and time when the location was last updated.

AddressAddress1 String False

The first line of the location's address.

AddressAddress2 String False

The second line of the location's address.

AddressCity String False

The city from the address of the location (for example, 'Toronto')

AddressCountry String True

The country from the address of the location, returned as the country name (for example, 'Canada').

AddressFormatted String True

The formatted address of the location.

AddressLatitude Double True

The latitude coordinate of the location.

AddressLongitude Double True

The longitude coordinate of the location.

AddressPhone String False

The phone number associated with the location.

AddressProvince String True

The province, state, or region of the location.

AddressZip String False

The ZIP or postal code of the location.

AddressCountryCode String False

The ISO country code of the location.

The allowed values are AC, AD, AE, AF, AG, AI, AL, AM, AN, AO, AR, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MK, ML, MM, MN, MO, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PS, PT, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TA, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW, ZZ.

AddressProvinceCode String False

The ISO code for the province, state, or district of the location.

FulfillmentServiceId String True

The Id of the fulfillment service linked to the location.

LocalPickupSettingsV2Instructions String True

Additional instructions for customers using local pickup.

LocalPickupSettingsV2PickupTime String True

The estimated pickup time displayed to customers at checkout.

IncludeInactive Bool True

If true, also includes locations that have been deactivated.

IncludeLegacy Bool True

If true, also includes legacy fulfillment service locations.

Namespace String True

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

Key String True

The key for the metafield.

Value String True

The value of the metafield.

CData Python Connector for Shopify

MarketingActivities

Returns a list of external marketing activities.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Tactic supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • AppId supports the '=, !=' comparison operators.
  • AppTitle supports the '=, !=' comparison operators.
  • RemoteId supports the '=, IN' comparison operators.
  • ScheduledStart supports the '=, !=, <, >, >=, <=' comparison operators.
  • ScheduledEnd supports the '=, !=, <, >, >=, <=' comparison operators.
  • MarketingCampaignId supports the '=, !=' comparison operators.

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

  SELECT * FROM MarketingActivities WHERE Id = 'Val1'
  SELECT * FROM MarketingActivities WHERE Title = 'Val1'
  SELECT * FROM MarketingActivities WHERE Tactic = 'ABANDONED_CART'
  SELECT * FROM MarketingActivities WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM MarketingActivities WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM MarketingActivities WHERE AppId = 'Val1'
  SELECT * FROM MarketingActivities WHERE AppTitle = 'Val1'
  SELECT * FROM MarketingActivities WHERE RemoteId = 'Val1'
  SELECT * FROM MarketingActivities WHERE ScheduledStart = '2023-01-01 11:10:00'
  SELECT * FROM MarketingActivities WHERE ScheduledEnd = '2023-01-01 11:10:00'
  SELECT * FROM MarketingActivities WHERE MarketingCampaignId = 'Val1'

Insert

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

Title, Status, MarketingChannelType, Tactic, UtmSource, UtmMedium, UtmCampaign, ParentActivityId, ParentRemoteId, UrlParameterValue, AdSpendAmount, AdSpendCurrencyCode, HierarchyLevel, BudgetType, BudgetAmount, BudgetCurrencyCode, RemoteId, ScheduledStart, ScheduledEnd

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

Start, End, ChannelHandle, ReferringDomain, RemoteUrl, RemotePreviewImageUrl

Update

The following columns can be updated:

Title, Status, MarketingChannelType, Tactic, UtmSource, UtmMedium, UtmCampaign, AdSpendAmount, AdSpendCurrencyCode, BudgetType, BudgetAmount, BudgetCurrencyCode, RemoteId, ScheduledStart, ScheduledEnd

The following pseudo-columns can be used to update a record:

Start, End, ReferringDomain, RemoteUrl, RemotePreviewImageUrl

Delete

You can delete entries by specifying the following columns:

Id, RemoteId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally-unique ID.

Title String False

The title of the marketing activity.

Status String False

The status of the marketing activity.

The allowed values are ACTIVE, DELETED, DELETED_EXTERNALLY, DISCONNECTED, DRAFT, FAILED, INACTIVE, PAUSED, PENDING, SCHEDULED, UNDEFINED.

MarketingChannelType String False

The medium through which the marketing activity reached consumers.

The allowed values are DISPLAY, SOCIAL, EMAIL, REFERRAL, SEARCH.

Tactic String False

The marketing tactic for the marketing activity.

The allowed values are ABANDONED_CART, AD, AFFILIATE, LINK, LOYALTY, MESSAGE, NEWSLETTER, NOTIFICATION, POST, RETARGETING, SEO, STOREFRONT_APP, TRANSACTIONAL.

UtmSource String False

The UTM source for the marketing activity.

UtmMedium String False

The UTM medium for the marketing activity.

UtmCampaign String False

The UTM campaign for the marketing activity.

UtmTerm String True

Paid search terms used by a marketing campaign.

UtmContent String True

Identifies specific content in a marketing campaign.

ActivityListUrl String True

The URL of the marketing activity listing page in the marketing section.

SourceAndMedium String True

A contextual description of the marketing activity based on the platform and tactic used.

ParentActivityId String True

The ID of the parent marketing activity.

ParentRemoteId String True

The remote ID of the parent marketing activity.

UrlParameterValue String True

The value portion of the URL query parameter used in attributing sessions to this activity.

IsExternal Bool True

Whether the marketing activity represents an external marketing activity.

StatusTransitionedAt Datetime True

The date and time when the activity's status last changed.

AdSpendAmount Decimal False

The amount spent on the marketing activity. Decimal money amount.

AdSpendCurrencyCode String False

Currency of the ad spend.

CreatedAt Datetime True

The date and time when the marketing activity was created.

UpdatedAt Datetime True

The date and time when the marketing activity was updated.

StatusLabel String True

The rendered status of the marketing activity.

HierarchyLevel String True

The hierarchy level of the marketing activity.

InMainWorkflowVersion Bool True

Whether the marketing activity is in the main workflow version of marketing automation.

TargetStatus String True

The status to which the marketing activity is currently transitioning.

FormData String True

The completed content in the marketing activity creation form.

AppId String True

A globally-unique ID of the app which created this marketing activity.

AppTitle String True

The name of the app which created this marketing activity.

AppErrorCode String True

The error code generated when an app publishes the marketing activity.

AppUserErrors String True

The list of errors returned by the app.

BudgetType String False

The budget type for the marketing activity.

BudgetAmount Decimal False

The amount of budget for the marketing activity.

BudgetCurrencyCode String False

The currency code for the marketing activity budget.

StatusBadgeTypeV2 String True

The severity of the marketing activity's status.

MarketingEventId String True

A globally-unique ID of the associated marketing event.

RemoteId String False

An optional ID that helps Shopify validate engagement data.

ScheduledStart Datetime False

The date and time at which the activity is scheduled to start.

ScheduledEnd Datetime False

The date and time at which the activity is scheduled to end.

MarketingCampaignId String True

The id of the marketing campaign.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Start Datetime

The date and time at which the activity started.

End Datetime

The date and time at which the activity ended.

ChannelHandle String

The unique string identifier of the channel to which this activity belongs.

ReferringDomain String

The domain from which ad clicks are forwarded to the shop.

RemoteUrl String

The URL for viewing and/or managing the activity outside of Shopify.

RemotePreviewImageUrl String

The preview image URL for the marketing activity.

CData Python Connector for Shopify

Menus

Lists navigation menus used on the storefront.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.

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

  SELECT * FROM Menus WHERE Id = 'Val1'
  SELECT * FROM Menus WHERE Title = 'Val1'

Insert

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

Title, Handle, Items

Update

The following columns can be updated:

Title, Handle, Items

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the menu.

Title String False

The title of the menu.

Handle String False

The handle of the menu.

IsDefault Bool True

Indicates whether the menu is a default. The handle for default menus can't be updated, and default menus can't be deleted.

Items String False

A list of the menu's items, sorted by position.

CData Python Connector for Shopify

MetafieldDefinitions

Lists metafield definitions, including validation and presentation details.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • OwnerType supports the '=, IN' comparison operators.
  • PinnedStatus supports the '=' comparison operator.
  • ConstraintStatus supports the '=' comparison operator.
  • ConstraintSubtypeKey supports the '=' comparison operator.
  • ConstraintSubtypeValue supports the '=' comparison operator.

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

  SELECT * FROM MetafieldDefinitions WHERE Id = 'Val1'
  SELECT * FROM MetafieldDefinitions WHERE Namespace = 'Val1'
  SELECT * FROM MetafieldDefinitions WHERE Key = 'Val1'
  SELECT * FROM MetafieldDefinitions WHERE OwnerType = 'API_PERMISSION'
  SELECT * FROM MetafieldDefinitions WHERE PinnedStatus = 'ANY'
  SELECT * FROM MetafieldDefinitions WHERE ConstraintStatus = 'CONSTRAINED_AND_UNCONSTRAINED'
  SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeKey = 'Val1'
  SELECT * FROM MetafieldDefinitions WHERE ConstraintSubtypeValue = 'Val1'

Insert

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

Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled, TypeName

The following pseudo-column can be used to create a new record:

Pin

Update

The following columns can be updated:

Namespace, Key, Name, Description, OwnerType, Validations, AccessAdmin, AccessCustomerAccount, AccessStorefront, CapabilitiesAdminFilterableEnabled, CapabilitiesSmartCollectionConditionEnabled

The following pseudo-column can be used to update a record:

Pin

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 for the metafield definition.

Namespace String False

The namespace, or container, that groups related metafields for this definition.

Key String False

The unique identifier for the metafield definition within its namespace.

Name String False

The human-readable name of the metafield definition.

PinnedPosition Int True

The position of the metafield definition in the pinned list, which determines its display order in the Shopify admin.

Description String False

The description of the metafield definition.

OwnerType String False

The resource type that the metafield definition is attached to.

The allowed values are API_PERMISSION, ARTICLE, BLOG, CARTTRANSFORM, COLLECTION, COMPANY, COMPANY_LOCATION, CUSTOMER, DELIVERY_CUSTOMIZATION, DISCOUNT, DRAFTORDER, FULFILLMENT_CONSTRAINT_RULE, GIFT_CARD_TRANSACTION, LOCATION, MARKET, ORDER, ORDER_ROUTING_LOCATION_RULE, PAGE, PAYMENT_CUSTOMIZATION, PRODUCT, PRODUCTVARIANT, SELLING_PLAN, SHOP, VALIDATION, MEDIA_IMAGE.

UseAsCollectionCondition Bool True

Indicates whether the metafield definition can be used as a collection condition.

ValidationStatus String True

The validation status for the metafields that belong to the metafield definition.

Validations String False

A list of validations for the metafields that belong to the definition. For example, a 'date' metafield definition can include a minimum date validation so that metafields created under it can only store dates after that date.

AccessAdmin String False

The default admin access setting for metafields under this definition.

AccessCustomerAccount String False

The customer account access setting for metafields under this definition.

AccessStorefront String False

The storefront access setting for metafields under this definition.

CapabilitiesAdminFilterableEligible Bool True

Indicates whether the definition is eligible for admin filtering.

CapabilitiesAdminFilterableEnabled Bool False

Indicates whether admin filtering is enabled for the definition.

CapabilitiesAdminFilterableStatus String True

The filter status of the metafield definition for admin use.

CapabilitiesSmartCollectionConditionEligible Bool True

Indicates whether the definition is eligible for use in smart collection conditions.

CapabilitiesSmartCollectionConditionEnabled Bool False

Indicates whether smart collection conditions are enabled for the definition.

ConstraintsKey String True

The category of resource subtypes that the definition applies to.

MetafieldsCount Int True

The number of metafields associated with the definition.

StandardTemplateId String True

A globally unique Id for the standard template associated with the definition.

TypeName String True

The name of the type for the metafield definition.

PinnedStatus String True

Filters metafield definitions by pinned status.

The allowed values are ANY, PINNED, UNPINNED.

ConstraintStatus String True

Filters metafield definitions by constraint status.

The allowed values are CONSTRAINED_AND_UNCONSTRAINED, CONSTRAINED_ONLY, UNCONSTRAINED_ONLY.

ConstraintSubtypeKey String True

Filters metafield definitions by the category of resource subtype they apply to.

ConstraintSubtypeValue String True

Filters metafield definitions by the specific subtype value within the identified category.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Pin Bool

Indicates whether to pin the metafield definition.

DeleteAllAssociatedMetafields Bool

Indicates whether to delete all metafields associated with the definition.

CData Python Connector for Shopify

Metafields

Lists metafields attached to one or more resource Ids.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Identifier supports the '=, IN' comparison operators.
  • Namespace supports the '=' comparison operator.
  • OwnerId supports the '=, IN' comparison operators.
  • OwnerResource supports the '=' comparison operator.

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

  SELECT * FROM Metafields WHERE OwnerResource = 'product' AND Id = 'Val1'
  SELECT * FROM Metafields WHERE OwnerResource = 'product' AND Identifier = 'Val1'
  SELECT * FROM Metafields WHERE OwnerResource = 'product' AND Namespace = 'Val1'
  SELECT * FROM Metafields WHERE OwnerResource = 'product' AND OwnerId = 'Val1'
  SELECT * FROM Metafields WHERE OwnerResource = 'product'

Insert

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

Namespace, Key, Value, Type, OwnerId

Delete

You can delete entries by specifying the following columns:

Namespace, Key, OwnerId

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A unique Id for the metafield.

LegacyResourceId Long True

The Id of the corresponding resource in the REST Admin API.

Identifier String True

The namespace and key combination for the metafield.

Namespace String True

The namespace, or container, that groups the metafield. Custom namespaces distinguish your metafields from those created by other apps.

Key String True

The unique key name of the metafield within its namespace.

Value String True

The data stored as metadata in the metafield.

Type String True

The data type of the metafield value.

Description String True

A human-readable description of the information stored in the metafield.

DefinitionId String True

The Id of the metafield definition the metafield belongs to, if any.

OwnerId String True

The Id of the resource that the metafield is attached to.

OwnerResource String True

The type of resource that the metafield is attached to.

The allowed values are product, variant, shop, draft_order, order, customer, collection, media_image, selling_plan, article, blog, page.

OwnerUpdatedAt Datetime True

The date and time when the resource that the metafield is attached to was last updated. This value is only returned if available otherwise it will be null.

CreatedAt Datetime True

The date and time when the metafield was created.

UpdatedAt Datetime True

The date and time when the metafield was last updated.

CData Python Connector for Shopify

OrderRiskAssessments

Lists fraud risk assessments attached to orders with scores and reasons.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRiskAssessments WHERE OrderId = 'Val1'

Insert

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

OrderId, RiskLevel, Facts (references OrderRiskAssessmentFacts)

OrderRiskAssessmentFacts Temporary Table Columns

Column NameTypeDescription
DescriptionStringA description of the fact.
SentimentStringIndicates whether the fact is a negative, neutral or positive contributor with regards to risk.

Columns

Name Type ReadOnly References Description
OrderId String True

The globally unique Id of the order being assessed.

RiskLevel String True

The likelihood that the order is fraudulent, as determined by this risk assessment.

The allowed values are HIGH, LOW, MEDIUM, NONE, PENDING.

Facts String True

Optional descriptive details about the risk assessment. Values are specific to the risk provider.

ProviderId String True

The globally unique Id of the provider that generated the assessment.

ProviderTitle String True

The name of the application or service that performed the risk assessment.

CData Python Connector for Shopify

Orders

Lists orders with customer, payment, fulfillment, duty, and tax details.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • PoNumber supports the '=, !=' comparison operators.
  • Name supports the '=, !=' comparison operators.
  • Email supports the '=, !=' comparison operators.
  • Test supports the '=, !=' comparison operators.
  • ConfirmationNumber supports the '=, !=' comparison operators.
  • DiscountCode supports the '=, !=' comparison operators.
  • ProcessedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • ReturnStatus supports the '=, !=' comparison operators.
  • CurrentSubtotalLineItemsQuantity supports the '=, !=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CustomerId supports the '=, !=' comparison operators.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • Value supports the '=' comparison operator.

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

  SELECT * FROM Orders WHERE Id = 'Val1'
  SELECT * FROM Orders WHERE PoNumber = 'Val1'
  SELECT * FROM Orders WHERE Name = 'Val1'
  SELECT * FROM Orders WHERE Email = 'Val1'
  SELECT * FROM Orders WHERE Test = true
  SELECT * FROM Orders WHERE ConfirmationNumber = 'Val1'
  SELECT * FROM Orders WHERE DiscountCode = 'Val1'
  SELECT * FROM Orders WHERE ProcessedAt = '2023-01-01 11:10:00'
  SELECT * FROM Orders WHERE ReturnStatus = 'IN_PROGRESS'
  SELECT * FROM Orders WHERE CurrentSubtotalLineItemsQuantity = 123
  SELECT * FROM Orders WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Orders WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Orders WHERE CustomerId = 'Val1'
  SELECT * FROM Orders WHERE Namespace = 'Val1'
  SELECT * FROM Orders WHERE Key = 'Val1'
  SELECT * FROM Orders WHERE Value = 'Val1'

Insert

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

PoNumber, SourceIdentifier, SourceName, Name, Email, Note, Phone, Tags, Test, ClosedAt, CurrencyCode, ProcessedAt, TaxesIncluded, CustomerAcceptsMarketing, DisplayFinancialStatus, DisplayFulfillmentStatus, PresentmentCurrencyCode, CustomerId, BillingAddressFirstName, BillingAddressLastName, BillingAddressAddress1, BillingAddressAddress2, BillingAddressCity, BillingAddressCompany, BillingAddressPhone, BillingAddressZip, BillingAddressProvinceCode, BillingAddressCountryCodeV2, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressPhone, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2

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

PurchasingEntityCompanyLocationId, ReferringSite, SourceUrl, UserId, DiscountCodeFreeShipping, DiscountCodeFixed, DiscountCodeFixedAmountSetPresentmentMoneyAmount, DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode, DiscountCodeFixedAmountSetShopMoneyAmount, DiscountCodeFixedAmountSetShopMoneyCurrencyCode, DiscountCodePercentage, DiscountCodePercentageValue, FulfillmentLocationId, FulfillmentNotifyCustomer, FulfillmentTrackingInfoNumber, FulfillmentTrackingInfoCompany, FulfillmentShipmentStatus, FulfillmentOriginAddressAddress1, FulfillmentOriginAddressAddress2, FulfillmentOriginAddressCity, FulfillmentOriginAddressCountryCode, FulfillmentOriginAddressProvinceCode, FulfillmentOriginAddressZip, OrderLineItems (references OrderLineItems), OrderShippingLines (references OrderShippingLines), OrderTaxLines (references OrderTaxLines), OrderTransactions (references OrderTransactions), OrderCustomAttributes (references OrderCustomAttributes), Metafields (references Metafields), OptionsInventoryBehaviour, OptionsSendFulfillmentRequest, OptionsSendReceipt

OrderLineItems Temporary Table Columns

Column NameTypeDescription
TitleStringThe title of the product at time of order creation.
VariantTitleStringThe title of the variant at time of order creation.
VariantIdStringA globally-unique ID.
ProductIdStringA globally-unique ID.
QuantityIntThe number of variant units ordered.
SkuStringThe variant SKU number.
TaxableBoolWhether the variant is taxable.
VendorStringThe name of the vendor who made the variant.
RequiresShippingBoolWhether physical shipping is required for the variant.
IsGiftCardBoolWhether the line item represents the purchase of a gift card.
OriginalUnitPriceSetPresentmentMoneyAmountDecimalDecimal money amount.
OriginalUnitPriceSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
OriginalUnitPriceSetShopMoneyAmountDecimalDecimal money amount.
OriginalUnitPriceSetShopMoneyCurrencyCodeStringCurrency of the money.
FulfillmentServiceStringThe handle of a fulfillment service that stocks the product variant belonging to a line item.
OrderLineItemCustomAttributes (references OrderLineItemCustomAttributes)StringAn array of custom information for the item that has been added to the cart. Often used to provide product customization options.
OrderLineItemTaxLines (references OrderLineItemTaxLines)StringA list of tax line objects, each of which details a tax applied to the item.

OrderShippingLines Temporary Table Columns

Column NameTypeDescription
TitleStringReturns the title of the shipping line.
CodeStringA reference to the shipping method.
SourceStringReturns the rate source for the shipping line.
OriginalPriceSetPresentmentMoneyAmountDecimalDecimal money amount.
OriginalPriceSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
OriginalPriceSetShopMoneyAmountDecimalDecimal money amount.
OriginalPriceSetShopMoneyCurrencyCodeStringCurrency of the money.
TaxLinesStringA list of tax line objects, each of which details a tax applicable to this shipping line.

OrderTaxLines Temporary Table Columns

Column NameTypeDescription
TitleStringThe name of the tax.
RateDoubleThe proportion of the line item price that the tax represents as a decimal.
ChannelLiableBoolWhether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line.
RatePercentageDoubleThe proportion of the line item price that the tax represents as a percentage.
PriceSetPresentmentMoneyAmountDecimalDecimal money amount.
PriceSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
PriceSetShopMoneyAmountDecimalDecimal money amount.
PriceSetShopMoneyCurrencyCodeStringCurrency of the money.

OrderTransactions Temporary Table Columns

Column NameTypeDescription
AmountSetPresentmentMoneyAmountDecimalDecimal money amount.
AmountSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
AmountSetShopMoneyAmountDecimalDecimal money amount.
AmountSetShopMoneyCurrencyCodeStringCurrency of the money.
AuthorizationCodeStringAuthorization code associated with the transaction.
DeviceIdStringThe ID of the device used to process the transaction.
GiftCardDetailsIdStringThe ID of the gift card used for this transaction.
KindStringThe kind of transaction.
LocationIdStringThe ID of the location where the transaction was processed.
ProcessedAtDatetimeDate and time when the transaction was processed.
ReceiptJsonStringThe transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction.
StatusStringThe status of this transaction.
TestBoolWhether the transaction is a test transaction.
UserIdStringStaff member who was logged into the Shopify POS device when the transaction was processed. (This column is available only with a ShopifyPlus subscription)

OrderCustomAttributes Temporary Table Columns

Column NameTypeDescription
KeyStringKey or name of the attribute.
ValueStringValue of the attribute.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

OrderLineItemCustomAttributes Temporary Table Columns

Column NameTypeDescription
KeyStringKey or name of the attribute.
ValueStringValue of the attribute.

OrderLineItemTaxLines Temporary Table Columns

Column NameTypeDescription
TitleStringThe name of the tax.
RateDoubleThe proportion of the line item price that the tax represents as a decimal.
ChannelLiableBoolWhether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line.
RatePercentageDoubleThe proportion of the line item price that the tax represents as a percentage.
PriceSetPresentmentMoneyAmountDecimalDecimal money amount.
PriceSetPresentmentMoneyCurrencyCodeStringCurrency of the money.
PriceSetShopMoneyAmountDecimalDecimal money amount.
PriceSetShopMoneyCurrencyCodeStringCurrency of the money.

Update

The following columns can be updated:

PoNumber, Email, Note, Tags, ShippingAddressId, ShippingAddressFirstName, ShippingAddressLastName, ShippingAddressAddress1, ShippingAddressAddress2, ShippingAddressCity, ShippingAddressCompany, ShippingAddressCountry, ShippingAddressPhone, ShippingAddressProvince, ShippingAddressZip, ShippingAddressProvinceCode, ShippingAddressCountryCodeV2, Closed

The following pseudo-column can be used to update a record:

OrderCustomAttributes (references OrderCustomAttributes)

OrderCustomAttributes Temporary Table Columns

Column NameTypeDescription
KeyStringKey or name of the attribute.
ValueStringValue of the attribute.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id.

PoNumber String False

The purchase order number associated to this order.

Unpaid Bool True

Indicates whether no payments have been made for the order.

FullyPaid Bool True

Indicates whether the order has been paid in full.

SourceIdentifier String True

A unique POS or third-party order identifier. For example, '1234-12-1000' or '111-98567-54'. The 'receipt_number' field is derived from this value for POS orders.

SourceName String True

The name of the source associated with the order.

LegacyResourceId String True

The Id of the corresponding resource in the REST Admin API.

CanMarkAsPaid Bool True

Whether the order can be manually marked as paid.

Name String True

The identifier shown on the order page in the Shopify admin and the order status page. For example, '#1001', 'EN1001', or '1001-A'. This value isn't unique across multiple stores.

PaymentGatewayNames String True

A list of the names of all payment gateways used for the order. For example, 'Shopify Payments' and 'Cash on Delivery (COD)'.

Capturable Bool True

Indicates whether payment for the order can be captured.

Closed Bool True

Indicates whether the order is closed.

Confirmed Bool True

Indicates whether inventory has been reserved for the order.

Edited Bool True

Indicates whether the order has had any edits applied.

Email String False

The email address associated with the customer.

Fulfillable Bool True

Indicates whether there are line items that can be fulfilled. Returns 'false' when the order has no fulfillable line items. For a more granular view of the fulfillment status, refer to the object.

Note String False

The contents of the note associated with the order.

Phone String True

The phone number associated with the customer.

Refundable Bool True

Indicates whether the order can be refunded.

Restockable Bool True

Indicates whether any line item on the order can be restocked.

Tags String False

A comma-separated list of tags associated with the order. Updating 'tags' overwrites any existing tags previously added to the order. To add new tags without overwriting existing tags, use the mutation.

Test Bool True

Indicates whether the order is a test. Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled. A test order cannot be converted into a real order and vice versa.

CancelReason String True

The reason provided when the order was canceled. Returns 'null' if the order wasn't canceled.

CancelledAt Datetime True

The date and time when the order was canceled. Returns 'null' if the order wasn't canceled.

ClientIp String True

The IP address of the API client that created the order.

ClosedAt Datetime True

The date and time when the order was closed. Returns 'null' if the order is not closed.

ConfirmationNumber String True

A randomly generated alphanumeric identifier for the order that might be shown to the customer instead of the sequential order name. For example, XPAV284CT, R50KELTJP, or 35PKUN0UJ. This value is not guaranteed to be unique.

CurrencyCode String True

The shop currency when the order was placed.

CustomerLocale String True

A two-letter or three-letter language code, optionally followed by a region modifier.

DiscountCode String True

The discount code used for the order.

DiscountCodes String True

The discount codes used for the order.

EstimatedTaxes Bool True

Indicates whether taxes on the order are estimated. Returns 'false' when taxes on the order are finalized and aren't subject to change.

MerchantEditable Bool True

Indicates whether the order can be edited by the merchant. For example, canceled orders cannot be edited.

ProcessedAt Datetime True

The date and time when the order was processed. This might not match the date and time when the order was created.

RequiresShipping Bool True

Indicates whether the order has shipping lines or at least one line item that requires shipping.

RiskRecommendation String True

The recommendation for the order based on the results of the risk assessments (suggested merchant action regarding fraud risk).

ReturnStatus String True

The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

TaxesIncluded Bool True

Indicates whether taxes are included in the subtotal price of the order.

DutiesIncluded Bool True

Indicates whether duties are included in the subtotal price of the order.

TotalWeight String True

The total weight of the order before returns, in grams.

CanNotifyCustomer Bool True

Indicates whether a customer email exists for the order.

CurrentTotalWeight String True

The total weight of the order after returns, in grams.

CustomerAcceptsMarketing Bool True

Indicates whether the customer agreed to receive marketing materials.

DisplayFinancialStatus String True

The financial status of the order that can be shown to the merchant. Use only for display summary.

DisplayFulfillmentStatus String True

The fulfillment status of the order that can be shown to the merchant. Use only for display summary. For granular details, refer to the object.

FulfillmentsCount Int True

The count of fulfillments, including canceled fulfillments.

FulfillmentsCountPrecision String True

The count's precision, or the exactness of the value.

HasTimelineComment Bool True

Indicates whether the merchant added a timeline comment to the order.

MerchantEditableErrors String True

A list of reasons why the order cannot be edited. For example, 'Canceled orders cannot be edited'.

PresentmentCurrencyCode String True

The customer's payment currency code for the order.

RegisteredSourceUrl String True

The URL of the source that the order originated from, if found in the domain registry.

StatusPageUrl String True

The URL where the customer can check the order's current status.

SubtotalLineItemsQuantity Int True

The sum of quantities for all line items that contribute to the order's subtotal price.

BillingAddressMatchesShippingAddress Bool True

Indicates whether the billing address matches the shipping address.

CurrentSubtotalLineItemsQuantity Int True

The sum of quantities for all line items that contribute to the order's current subtotal price.

Number String True

The purchase order number associated with this order.

CreatedAt Datetime True

The date and time when the order was created in Shopify.

UpdatedAt Datetime True

The date and time when the order was last modified.

StaffMemberId String True

The staff member associated with the order. (Available only with a Shopify Plus subscription.)

AppId String True

The application Id.

MerchantOfRecordAppId String True

The unique identifier for the app designated as the merchant of record.

MerchantBusinessEntityId String True

The unique identifier for the merchant's business entity record in Shopify.

PhysicalLocationId String True

The unique identifier for a physical location (such as a retail store, warehouse, or fulfillment center).

ChannelInformationId String True

The unique identifier for the channel information object that links sales activity to a channel.

ChannelInformationChannelId String True

The unique identifier for the sales channel (for example, Online Store, POS, or a third-party channel).

ChannelInformationAppId String True

The unique identifier for the app associated with the sales channel.

PublicationId String True

The unique identifier for a publication that makes products available to a sales channel.

PurchasingEntityCustomerId String True

The unique identifier for the customer who is acting as the purchasing entity.

PurchasingEntityCompanyId String True

The unique identifier for the company that is acting as the purchasing entity (business-to-business).

CustomerId String True

The unique identifier for a customer record in Shopify.

CustomerFirstName String True

The customer's first name.

CustomerLastName String True

The customer's last name.

CustomerJourneySummaryReady Bool True

Indicates whether the attributed sessions for the order have been created yet.

CustomerJourneySummaryMomentsCount Int True

The total number of customer moments associated with this order. Returns 'null' if the order is still being attributed.

CustomerJourneySummaryMomentsCountPrecision String True

The count's precision, or the exactness of the value.

CustomerJourneySummaryCustomerOrderIndex Int True

The position of the current order within the customer's order history. Test orders aren't included.

CustomerJourneySummaryDaysToConversion Int True

The number of days between the first session and the order creation date. The first session is since the last order, or the first within the 30-day attribution window.

CustomerJourneySummaryFirstVisitId String True

A globally unique Id.

CustomerJourneySummaryFirstVisitSource String True

The source from which the customer visited the store (for example, a platform such as Facebook or Google, email, direct, domain, QR code, or unknown).

CustomerJourneySummaryFirstVisitLandingPage String True

The URL of the first page the customer landed on for the session.

CustomerJourneySummaryFirstVisitOccurredAt Datetime True

The date and time when the customer's session occurred.

CustomerJourneySummaryFirstVisitReferralCode String True

Marketing referral code from the link that the customer clicked to visit the store. Supports URL attributes: ref, source, or r.

CustomerJourneySummaryFirstVisitReferrerUrl String True

The webpage where the customer clicked a link that sent them to the online store.

CustomerJourneySummaryFirstVisitSourceDescription String True

A description that explicitly names the source for the first or last session.

CustomerJourneySummaryFirstVisitSourceType String True

The type of marketing tactic.

CustomerJourneySummaryFirstVisitLandingPageHtml String True

Landing page information with URL linked in HTML.

CustomerJourneySummaryFirstVisitReferralInfoHtml String True

Referral information with URLs linked in HTML.

CustomerJourneySummaryLastVisitId String True

A globally unique Id.

CustomerJourneySummaryLastVisitSource String True

The source from which the customer visited the store (for example, Facebook, Google, email, direct, domain, QR code, or unknown).

CustomerJourneySummaryLastVisitLandingPage String True

The URL of the first page the customer landed on for the session.

CustomerJourneySummaryLastVisitOccurredAt Datetime True

The date and time when the customer's session occurred.

CustomerJourneySummaryLastVisitReferralCode String True

Marketing referral code from the link that the customer clicked to visit the store. Supports URL attributes: ref, source, or r.

CustomerJourneySummaryLastVisitReferrerUrl String True

The webpage where the customer clicked a link that sent them to the online store.

CustomerJourneySummaryLastVisitSourceDescription String True

A description that explicitly names the source for the first or last session.

CustomerJourneySummaryLastVisitSourceType String True

The type of marketing tactic.

CustomerJourneySummaryLastVisitLandingPageHtml String True

Landing page information with URL linked in HTML.

CustomerJourneySummaryLastVisitReferralInfoHtml String True

Referral information with URLs linked in HTML.

DisplayAddressId String True

A globally unique Id.

DisplayAddressCoordinatesValidated Bool True

Indicates whether the address coordinates are valid.

DisplayAddressValidationResultSummary String True

The validation status leveraged by the address validation feature in the Shopify admin.

DisplayAddressName String True

The full name of the customer, based on firstName and lastName.

DisplayAddressFirstName String True

The customer's first name.

DisplayAddressLastName String True

The customer's last name.

DisplayAddressAddress1 String True

The first line of the address (typically the street address or PO Box number).

DisplayAddressAddress2 String True

The second line of the address (typically an apartment, suite, or unit).

DisplayAddressCity String True

The name of the city, district, village, or town.

DisplayAddressCompany String True

The name of the customer's company or organization.

DisplayAddressCountry String True

The name of the country.

DisplayAddressLatitude Double True

The latitude coordinate of the customer address.

DisplayAddressLongitude Double True

The longitude coordinate of the customer address.

DisplayAddressPhone String True

A unique phone number for the customer, formatted using the E.164 standard (for example, +16135551111).

DisplayAddressProvince String True

The region of the address, such as the province, state, or district.

DisplayAddressZip String True

The ZIP or postal code of the address.

DisplayAddressFormattedArea String True

A comma-separated list of city, province, and country.

DisplayAddressProvinceCode String True

The two-letter region code (for example, ON).

DisplayAddressCountryCodeV2 String True

The two-letter country code (for example, US).

BillingAddressId String True

A globally unique Id.

BillingAddressCoordinatesValidated Bool True

Indicates whether the address coordinates are valid.

BillingAddressValidationResultSummary String True

The validation status leveraged by the address validation feature in the Shopify admin.

BillingAddressName String True

The full name of the customer, based on firstName and lastName.

BillingAddressFirstName String True

The customer's first name.

BillingAddressLastName String True

The customer's last name.

BillingAddressAddress1 String True

The first line of the address (typically the street address or PO Box number).

BillingAddressAddress2 String True

The second line of the address (typically an apartment, suite, or unit).

BillingAddressCity String True

The name of the city, district, village, or town.

BillingAddressCompany String True

The name of the customer's company or organization.

BillingAddressCountry String True

The name of the country.

BillingAddressLatitude Double True

The latitude coordinate of the customer address.

BillingAddressLongitude Double True

The longitude coordinate of the customer address.

BillingAddressPhone String True

A unique phone number for the customer, formatted using the E.164 standard (for example, +16135551111).

BillingAddressProvince String True

The region of the address, such as the province, state, or district.

BillingAddressZip String True

The ZIP or postal code of the address.

BillingAddressFormattedArea String True

A comma-separated list of city, province, and country.

BillingAddressProvinceCode String True

The two-letter region code (for example, ON).

BillingAddressCountryCodeV2 String True

The two-letter country code (for example, US).

ShippingAddressId String False

A globally unique Id.

ShippingAddressCoordinatesValidated Bool True

Indicates whether the address coordinates are valid.

ShippingAddressValidationResultSummary String True

The validation status leveraged by the address validation feature in the Shopify admin.

ShippingAddressName String True

The full name of the customer, based on firstName and lastName.

ShippingAddressFirstName String False

The customer's first name.

ShippingAddressLastName String False

The customer's last name.

ShippingAddressAddress1 String False

The first line of the address (typically the street address or PO Box number).

ShippingAddressAddress2 String False

The second line of the address (typically an apartment, suite, or unit).

ShippingAddressCity String False

The name of the city, district, village, or town.

ShippingAddressCompany String False

The name of the customer's company or organization.

ShippingAddressCountry String False

The name of the country.

ShippingAddressLatitude Double True

The latitude coordinate of the customer address.

ShippingAddressLongitude Double True

The longitude coordinate of the customer address.

ShippingAddressPhone String False

A unique phone number for the customer, formatted using the E.164 standard (for example, +16135551111).

ShippingAddressProvince String False

The region of the address, such as the province, state, or district.

ShippingAddressZip String False

The ZIP or postal code of the address.

ShippingAddressFormattedArea String True

A comma-separated list of city, province, and country.

ShippingAddressProvinceCode String False

The two-letter region code (for example, ON).

ShippingAddressCountryCodeV2 String False

The two-letter country code (for example, US).

ShippingLineId String True

A globally unique Id.

ShippingLineCarrierIdentifier String True

A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service.

ShippingLineTitle String True

The title of the shipping line.

ShippingLineCode String True

A reference to the shipping method.

ShippingLineCustom Bool True

Indicates whether the shipping line is custom.

ShippingLinePhone String True

The phone number at the shipping address.

ShippingLineSource String True

The rate source for the shipping line.

ShippingLineDeliveryCategory String True

The general classification of the delivery method.

ShippingLineShippingRateHandle String True

A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users.

ShippingLineRequestedFulfillmentServiceId String True

The Id of the fulfillment service.

PaymentTermsId String True

A globally unique Id.

PaymentTermsTranslatedName String True

The payment terms name, translated into the shop admin's preferred language.

PaymentTermsPaymentTermsName String True

The name of the payment terms template used to create the payment terms.

PaymentTermsOverdue Bool True

Indicates whether the payment terms have overdue payment schedules.

PaymentTermsDueInDays Int True

The duration of the payment terms in days based on the template used.

PaymentTermsPaymentTermsType String True

The payment terms template type used to create the payment terms.

PaymentTermsDraftOrderId String True

A globally unique Id.

CartDiscountAmountSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CartDiscountAmountSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CartDiscountAmountSetShopMoneyAmount Decimal True

Decimal money amount.

CartDiscountAmountSetShopMoneyCurrencyCode String True

Currency of the money.

ChannelInformationChannelDefinitionId String True

The unique Id for the channel definition.

CurrentCartDiscountAmountSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentCartDiscountAmountSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentCartDiscountAmountSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentCartDiscountAmountSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentSubtotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentSubtotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentSubtotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentSubtotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalAdditionalFeesSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalAdditionalFeesSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalAdditionalFeesSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalAdditionalFeesSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalDiscountsSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalDiscountsSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalDiscountsSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalDiscountsSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalDutiesSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalDutiesSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalDutiesSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalDutiesSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

CurrentTotalTaxSetPresentmentMoneyAmount Decimal True

Decimal money amount.

CurrentTotalTaxSetPresentmentMoneyCurrencyCode String True

Currency of the money.

CurrentTotalTaxSetShopMoneyAmount Decimal True

Decimal money amount.

CurrentTotalTaxSetShopMoneyCurrencyCode String True

Currency of the money.

NetPaymentSetPresentmentMoneyAmount Decimal True

Decimal money amount.

NetPaymentSetPresentmentMoneyCurrencyCode String True

Currency of the money.

NetPaymentSetShopMoneyAmount Decimal True

Decimal money amount.

NetPaymentSetShopMoneyCurrencyCode String True

Currency of the money.

OriginalTotalAdditionalFeesSetPresentmentMoneyAmount Decimal True

Decimal money amount.

OriginalTotalAdditionalFeesSetPresentmentMoneyCurrencyCode String True

Currency of the money.

OriginalTotalAdditionalFeesSetShopMoneyAmount Decimal True

Decimal money amount.

OriginalTotalAdditionalFeesSetShopMoneyCurrencyCode String True

Currency of the money.

OriginalTotalDutiesSetPresentmentMoneyAmount Decimal True

Decimal money amount.

OriginalTotalDutiesSetPresentmentMoneyCurrencyCode String True

Currency of the money.

OriginalTotalDutiesSetShopMoneyAmount Decimal True

Decimal money amount.

OriginalTotalDutiesSetShopMoneyCurrencyCode String True

Currency of the money.

OriginalTotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

OriginalTotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

OriginalTotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

OriginalTotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

PaymentCollectionDetailsAdditionalPaymentCollectionUrl String True

The URL to collect an additional payment on the order.

RefundDiscrepancySetPresentmentMoneyAmount Decimal True

Decimal money amount.

RefundDiscrepancySetPresentmentMoneyCurrencyCode String True

Currency of the money.

RefundDiscrepancySetShopMoneyAmount Decimal True

Decimal money amount.

RefundDiscrepancySetShopMoneyCurrencyCode String True

Currency of the money.

SubtotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

SubtotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

SubtotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

SubtotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

TotalCapturableSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalCapturableSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalCapturableSetShopMoneyAmount Decimal True

Decimal money amount.

TotalCapturableSetShopMoneyCurrencyCode String True

Currency of the money.

TotalDiscountsSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalDiscountsSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalDiscountsSetShopMoneyAmount Decimal True

Decimal money amount.

TotalDiscountsSetShopMoneyCurrencyCode String True

Currency of the money.

TotalOutstandingSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalOutstandingSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalOutstandingSetShopMoneyAmount Decimal True

Decimal money amount.

TotalOutstandingSetShopMoneyCurrencyCode String True

Currency of the money.

TotalPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalPriceSetShopMoneyAmount Decimal True

Decimal money amount.

TotalPriceSetShopMoneyCurrencyCode String True

Currency of the money.

TotalReceivedSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalReceivedSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalReceivedSetShopMoneyAmount Decimal True

Decimal money amount.

TotalReceivedSetShopMoneyCurrencyCode String True

Currency of the money.

TotalRefundedSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalRefundedSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalRefundedSetShopMoneyAmount Decimal True

Decimal money amount.

TotalRefundedSetShopMoneyCurrencyCode String True

Currency of the money.

TotalRefundedShippingSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalRefundedShippingSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalRefundedShippingSetShopMoneyAmount Decimal True

Decimal money amount.

TotalRefundedShippingSetShopMoneyCurrencyCode String True

Currency of the money.

TotalShippingPriceSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalShippingPriceSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalShippingPriceSetShopMoneyAmount Decimal True

Decimal money amount.

TotalShippingPriceSetShopMoneyCurrencyCode String True

Currency of the money.

TotalTaxSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalTaxSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalTaxSetShopMoneyAmount Decimal True

Decimal money amount.

TotalTaxSetShopMoneyCurrencyCode String True

Currency of the money.

TotalTipReceivedSetPresentmentMoneyAmount Decimal True

Decimal money amount.

TotalTipReceivedSetPresentmentMoneyCurrencyCode String True

Currency of the money.

TotalTipReceivedSetShopMoneyAmount Decimal True

Decimal money amount.

TotalTipReceivedSetShopMoneyCurrencyCode String True

Currency of the money.

TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyAmount Decimal True

A monetary value in decimal format (for example, 12.99).

TotalCashRoundingAdjustmentPaymentSetPresentmentMoneyCurrencyCode String True

The three-letter currency code (ISO 4217 or legacy/non-standard) (for example, USD).

TotalCashRoundingAdjustmentPaymentSetShopMoneyAmount Decimal True

A monetary value in decimal format (for example, 12.99).

TotalCashRoundingAdjustmentPaymentSetShopMoneyCurrencyCode String True

The three-letter currency code (ISO 4217 or legacy/non-standard) (for example, USD).

TotalCashRoundingAdjustmentRefundSetPresentmentMoneyAmount Decimal True

A monetary value in decimal format (for example, 12.99).

TotalCashRoundingAdjustmentRefundSetPresentmentMoneyCurrencyCode String True

The three-letter currency code (ISO 4217 or legacy/non-standard) (for example, USD).

TotalCashRoundingAdjustmentRefundSetShopMoneyAmount Decimal True

A monetary value in decimal format (for example, 12.99).

TotalCashRoundingAdjustmentRefundSetShopMoneyCurrencyCode String True

The three-letter currency code (ISO 4217 or legacy/non-standard) (for example, USD).

RetailLocationId String True

A globally unique Id.

Namespace String True

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

Key String True

The key for the metafield.

Value String True

The value of the metafield.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
PurchasingEntityCompanyLocationId String

The Id of the purchasing company's location for the order.

ReferringSite String

The website where the customer clicked a link to the shop.

SourceUrl String

A valid URL to the original order on the originating surface. Displayed to merchants on the Order Details page. Invalid URLs aren't shown.

UserId String

The Id of the user logged into Shopify POS who processed the order, if applicable.

DiscountCodeFreeShipping String

A free shipping discount code applied to shipping on an order.

DiscountCodeFixed String

A fixed-amount discount code applied to line items on the order.

DiscountCodeFixedAmountSetPresentmentMoneyAmount Decimal

Decimal money amount.

DiscountCodeFixedAmountSetPresentmentMoneyCurrencyCode String

Currency of the money.

DiscountCodeFixedAmountSetShopMoneyAmount Decimal

Decimal money amount.

DiscountCodeFixedAmountSetShopMoneyCurrencyCode String

Currency of the money.

DiscountCodePercentage String

A percentage discount code applied to line items on the order.

DiscountCodePercentageValue Double

The amount deducted from the order total. When creating an order, this value is the percentage to deduct.

FulfillmentLocationId String

The Id of the location to fulfill the order from.

FulfillmentNotifyCustomer Bool

Indicates whether the customer should be notified of fulfillment changes.

FulfillmentTrackingInfoNumber String

The tracking number of the fulfillment.

FulfillmentTrackingInfoCompany String

The name of the tracking company.

FulfillmentShipmentStatus String

The status of the shipment.

FulfillmentOriginAddressAddress1 String

The street address of the fulfillment location.

FulfillmentOriginAddressAddress2 String

The second line of the address (apartment, suite, or unit).

FulfillmentOriginAddressCity String

The city of the fulfillment location.

FulfillmentOriginAddressCountryCode String

The country of the fulfillment location.

FulfillmentOriginAddressProvinceCode String

The province of the fulfillment location.

FulfillmentOriginAddressZip String

The ZIP/postal code of the fulfillment location.

OrderLineItems String

The line items to create for the order.

OrderShippingLines String

A list of shipping method objects used for the order.

OrderTaxLines String

A list of tax line objects for the order. When creating an order through the API, tax lines can be specified on the order or the line items, but not both. Tax lines specified on the order are split across the taxable line items.

OrderTransactions String

The payment transactions to create for the order.

OrderCustomAttributes String

A list of extra information added to the order. Appears in the Additional details section of the order details page.

Metafields String

A list of metafields to add to the order.

OptionsInventoryBehaviour String

The behavior to use when updating inventory.

The allowed values are BYPASS, DECREMENT_IGNORING_POLICY, DECREMENT_OBEYING_POLICY.

OptionsSendFulfillmentRequest Bool

Indicates whether to send a shipping confirmation to the customer.

OptionsSendReceipt Bool

Indicates whether to send an order confirmation to the customer.

CData Python Connector for Shopify

OrderTransactions

Lists payment transactions associated with orders (authorization, capture, refund).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderTransactions WHERE ResourceId = 'Val1'

Insert

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

ResourceId, ParentTransactionId

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

Amount, Currency, FinalCapture

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A globally unique Id.

ResourceId [KEY] String True

Orders.Id

A globally unique Id.

PaymentId String True

The payment Id associated with the transaction.

ParentTransactionId String True

The parent transaction associated with this transaction, for example the authorization of a capture.

UserId String True

The staff member logged into Shopify POS when the transaction was processed. (Available only with a Shopify Plus subscription.)

AccountNumber String True

The masked account number associated with the payment method.

Gateway String True

The payment gateway used to process the transaction.

Kind String True

The type of transaction (for example, authorization, capture, or refund).

Status String True

The status of the transaction.

Test Bool True

Whether the transaction is a test transaction.

AuthorizationCode String True

The authorization code associated with the transaction.

ErrorCode String True

A standardized error code, independent of the payment provider.

FormattedGateway String True

The human-readable payment gateway name used to process the transaction.

ManuallyCapturable Bool True

Whether the transaction can be manually captured.

MultiCapturable Bool True

Whether the transaction can be captured multiple times.

ProcessedAt Datetime True

The date and time when the transaction was processed.

ReceiptJson String True

The transaction receipt attached by the payment gateway. The content depends on the payment gateway.

SettlementCurrency String True

The settlement currency of the transaction.

AuthorizationExpiresAt Datetime True

The date and time when the authorization expires. Available only to Shopify Plus stores, and only for Shopify Payments authorizations.

SettlementCurrencyRate Decimal True

The conversion rate used when converting the transaction amount to settlement currency.

CreatedAt Datetime True

The date and time when the transaction was created.

AmountRoundingSetPresentmentMoneyAmount Decimal True

A monetary value in decimal format, allowing precise representation of cents or fractional currency. For example, 12.99.

AmountRoundingSetPresentmentMoneyCurrencyCode String True

The three-letter ISO 4217 currency code (or legacy/non-standard code) for the presentment currency. For example, USD.

AmountRoundingSetShopMoneyAmount Decimal True

A monetary value in decimal format, allowing precise representation of cents or fractional currency. For example, 12.99.

AmountRoundingSetShopMoneyCurrencyCode String True

The three-letter ISO 4217 currency code (or legacy/non-standard code) for the shop currency. For example, USD.

CurrencyExchangeAdjustmentId String True

A globally-unique ID of the adjustment on the transaction.

PaymentDetailsLocalPaymentDescriptor String True

The descriptor provided by the payment provider. Available only for Amazon Pay and Buy with Prime.

PaymentDetailsLocalPaymentMethodName String True

The local payment method name used by the buyer.

PaymentDetailsShopPayInstallmentsPaymentMethodName String True

The Shop Pay Installments payment method name used by the buyer.

PaymentDetailsCardAvsResultCode String True

The address verification system (AVS) response code. Always a single letter.

PaymentDetailsCardBin String True

The issuer identification number (IIN), formerly called the bank identification number (BIN), from the first digits of the card.

PaymentDetailsCardCompany String True

The name of the company that issued the customer's credit card.

PaymentDetailsCardCvvResultCode String True

The credit card company's response code for the card verification value (CVV). A single letter or empty string.

PaymentDetailsCardExpirationMonth Int True

The month when the credit card expires.

PaymentDetailsCardExpirationYear Int True

The year when the credit card expires.

PaymentDetailsCardName String True

The name of the credit card holder.

PaymentDetailsCardNumber String True

The customer's credit card number, with most leading digits redacted.

PaymentDetailsCardPaymentMethodName String True

The payment method name used by the buyer.

PaymentDetailsCardWallet String True

The digital wallet used for the payment.

PaymentIconId String True

A unique Id for the payment icon image.

PaymentIconWidth Int True

The original width of the image in pixels. Returns null if the image isn't hosted by Shopify.

PaymentIconAltText String True

Alt text describing the content or purpose of the image.

PaymentIconHeight Int True

The original height of the image in pixels. Returns null if the image isn't hosted by Shopify.

AmountSetPresentmentMoneyAmount Decimal True

The transaction amount in the presentment currency, expressed as a decimal.

AmountSetPresentmentMoneyCurrencyCode String True

The currency code of the transaction amount in the presentment currency.

AmountSetShopMoneyAmount Decimal True

The transaction amount in the shop's currency, expressed as a decimal.

AmountSetShopMoneyCurrencyCode String True

The currency code of the transaction amount in the shop's currency.

MaximumRefundableV2Amount Decimal True

The maximum refundable amount, expressed as a decimal.

MaximumRefundableV2CurrencyCode String True

The currency code of the maximum refundable amount.

ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt Datetime True

The date and time when the extended authorization expires. After this, the payment can no longer be captured.

ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt Datetime True

The date and time after which capturing the payment incurs an additional fee.

ShopifyPaymentsSetRefundSetAcquirerReferenceNumber String True

The acquirer reference number (ARN) for Visa or Mastercard transactions.

TotalUnsettledSetPresentmentMoneyAmount Decimal True

The unsettled transaction amount in the presentment currency, expressed as a decimal.

TotalUnsettledSetPresentmentMoneyCurrencyCode String True

The currency code of the unsettled amount in the presentment currency.

TotalUnsettledSetShopMoneyAmount Decimal True

The unsettled transaction amount in the shop's currency, expressed as a decimal.

TotalUnsettledSetShopMoneyCurrencyCode String True

The currency code of the unsettled amount in the shop's currency.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Amount Decimal

The amount to capture. The capture amount can't exceed the authorized amount.

Currency String

The currency of the amount to capture.

FinalCapture Bool

Indicates whether this is the final capture for the transaction. Applies to multi-capturable Shopify Payments authorizations. If true, any uncaptured authorization amount is voided after capture.

DeviceId String

The Id of the device used to process the transaction.

GiftCardDetailsId String

The Id of the gift card used for the transaction.

LocationId String

The Id of the location where the transaction was processed.

CData Python Connector for Shopify

Pages

Lists the shop's informational pages used on the storefront.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • IsPublished supports the '=, !=' comparison operators.
  • PublishedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Pages WHERE Id = 'Val1'
  SELECT * FROM Pages WHERE IsPublished = true
  SELECT * FROM Pages WHERE PublishedAt = '2023-01-01 11:10:00'
  SELECT * FROM Pages WHERE UpdatedAt = '2023-01-01 11:10:00'

Insert

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

Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt

The following pseudo-column can be used to create a new record:

Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

Title, Body, Handle, TemplateSuffix, IsPublished, PublishedAt

The following pseudo-columns can be used to update a record:

RedirectNewHandle, Metafields (references Metafields)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id.

Title String False

The title of the page.

Body String False

The text content of the page, including HTML markup.

BodySummary String True

The first 150 characters of the page body. If the page body exceeds 150 characters, additional text is truncated with ellipses.

Handle String False

A unique, human-friendly string for the page. In themes, the Liquid templating language refers to a page by its handle.

TemplateSuffix String False

The suffix of the template used to render the page.

IsPublished Bool False

Indicates whether the page is visible.

PublishedAt Datetime False

The date and time when the page became visible. Returns null when the page isn't visible.

UpdatedAt Datetime True

The date and time when the page was last updated.

CreatedAt Datetime True

The date and time when the page was created.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
RedirectNewHandle Bool

Indicates whether a redirect is required after a new handle has been provided. If true, the old handle is redirected to the new one automatically.

Metafields String

The input fields used to create or update a metafield.

CData Python Connector for Shopify

PriceLists

Lists price lists configured for the shop (for example, business-to-business (B2B) tiers, or markets).

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM PriceLists WHERE Id = 'Val1'

Insert

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

Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode

Update

The following columns can be updated:

Currency, Name, ParentAdjustmentType, ParentAdjustmentValue, ParentSettingsCompareAtMode

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id.

Currency String False

The currency used for fixed prices associated with this price list.

FixedPricesCount Int True

The total number of fixed prices on the price list.

Name String False

The unique name of the price list, used as a human-readable identifier.

ParentAdjustmentType String False

The type of price adjustment, such as a percentage increase or decrease.

ParentAdjustmentValue Double False

The numeric value of the price adjustment, where positive numbers reduce prices and negative numbers increase them.

ParentSettingsCompareAtMode String False

The adjustment setting type applied to compare-at prices on the price list.

CData Python Connector for Shopify

ProductMediaImages

Lists image media attached to products with alt text and ordering.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductMediaImages WHERE ProductId = 'Val1'

Insert

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

ProductId, AltText, MediaContentType, Url

Update

The following columns can be updated:

AltText, Url

Delete

You can delete entries by specifying the following columns:

Id, ProductId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the media image.

ProductId [KEY] String False

Products.Id

A globally unique Id for the product associated with the media image.

AltText String False

Alternative text that describes the nature or contents of the media image.

MediaContentType String True

The type of media content (for example, image or video).

Height Int True

The original height of the image in pixels. Contains null if the image isn't hosted by Shopify.

Width Int True

The original width of the image in pixels. Contains null if the image isn't hosted by Shopify.

Url String False

The URL location of the media image.

UpdatedAt Datetime True

The date and time when the file was last updated.

CData Python Connector for Shopify

ProductOptions

Lists product options (Size or Color). Limited by Shop.resourceLimits.maxProductOptions.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductOptions WHERE ProductId = 'Val1'

Insert

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

ProductId, Name, Position, OptionValues (references ProductOptionValues)

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

LinkedMetafieldKey, LinkedMetafieldNamespace, LinkedMetafieldValues, CreateVariantStrategy

ProductOptionValues Temporary Table Columns

Column NameTypeDescription
ProductIdStringA globally-unique ID.
ProductOptionIdStringA globally-unique ID.
NameStringValue associated with an option.
LinkedMetafieldValueStringMetafield value associated with an option.
VariantStrategyStringThe strategy defines which behavior is observed regarding variants. The strategy 'LEAVE_AS_IS' is used by default - variants are not created nor deleted. If set to 'MANAGE', variants are created and deleted according to the option values to add and to delete.

Update

The following columns can be updated:

ProductId, Name, Position

The following pseudo-columns can be used to update a record:

LinkedMetafieldKey, LinkedMetafieldNamespace

Delete

You can delete entries by specifying the following columns:

Id, ProductId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id of the product option.

ProductId String False

Products.Id

A globally unique Id of the associated product.

Name String False

The name of the product option.

Position Int False

The position of the product option.

Values String True

The values corresponding to the product option name.

OptionValues String True

All option value objects associated with the product option, including values not assigned to any variants.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
LinkedMetafieldKey String

The key of the metafield linked to this option.

LinkedMetafieldNamespace String

The namespace of the metafield linked to this option.

LinkedMetafieldValues String

A comma-separated list of values associated with the option.

CreateVariantStrategy String

Defines how variants are created when new options are added. LEAVE_AS_IS: No new variants are created. Existing variants are updated with the first option value. CREATE: New variants are generated for every combination of existing variant option values and new option values.

The allowed values are CREATE, LEAVE_AS_IS.

DeleteVariantStrategy String

Defines how variants are handled when options are deleted. DEFAULT: The option might only have one corresponding value. NON_DESTRUCTIVE: The option can have multiple values and deletion only succeeds if no variants are removed. POSITION: The option can have multiple values. Duplicates are resolved by deleting remaining variants in descending position order.

The allowed values are DEFAULT, NON_DESTRUCTIVE, POSITION.

CData Python Connector for Shopify

ProductOptionValues

Lists all possible option values for a given product option, even if not used by a variant.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductOptionValues WHERE ProductId = 'Val1'

Insert

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

ProductId, ProductOptionId, Name, LinkedMetafieldValue

The following pseudo-column can be used to create a new record:

VariantStrategy

Update

The following columns can be updated:

ProductId, ProductOptionId, Name, LinkedMetafieldValue

Delete

You can delete entries by specifying the following columns:

ProductId, ProductOptionId, Id

Columns

Name Type ReadOnly References Description
ProductId String False

A globally unique Id of the product.

ProductOptionId String False

A globally unique Id of the associated product option.

ProductOptionName String True

The name of the product option.

Id [KEY] String False

A globally unique Id of the product option value.

Name String False

The value associated with the product option.

LinkedMetafieldValue String False

The metafield value associated with the product option value.

HasVariants Bool True

Indicates whether the product option value has any linked variants.

SwatchColor String True

The color swatch associated with the product option value.

SwatchImageId String True

The image swatch associated with the product option value. A globally unique Id.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
VariantStrategy String

Defines how variants are managed for the option values. LEAVE_AS_IS (default): no variants are created or deleted. MANAGE: variants are created and deleted according to the option values added or removed.

The allowed values are LEAVE_AS_IS, MANAGE.

CData Python Connector for Shopify

ProductResourceFeedbacks

Lists product resource feedback items visible to the current application.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operator. The connector processes other filters client-side within the connector.

  • ProductId supports the '=' comparison operator.

For example, the following query is processed server-side:

  SELECT * FROM ProductResourceFeedbacks WHERE ProductId = 'Val1'

Insert

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

ProductId, FeedbackGeneratedAt, Messages, ProductUpdatedAt, State

Columns

Name Type ReadOnly References Description
ProductId [KEY] String True

Products.Id

The Id of the product associated with the resource feedback.

FeedbackGeneratedAt Datetime True

The date and time when the feedback was generated, used to determine whether new feedback is outdated compared to existing feedback.

Messages String True

The feedback messages presented to the merchant.

ProductUpdatedAt Datetime True

The date and time when the associated product was last updated.

State String True

The current state of the feedback, indicating whether merchant action is required.

The allowed values are ACCEPTED, REQUIRES_ACTION.

CData Python Connector for Shopify

Products

Lists products with titles, status, variants, media, and publishing details.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • Handle supports the '=, IN' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • Vendor supports the '=, !=' comparison operators.
  • TotalInventory supports the '=, !=, <, >, >=, <=' comparison operators.
  • HasOnlyDefaultVariant supports the '=, !=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • ProductType supports the '=, !=' comparison operators.
  • PublicationId supports the '=' comparison operator.
  • VariantId supports the '=' comparison operator.
  • VariantTitle supports the '=' comparison operator.
  • Namespace supports the '=' comparison operator.
  • Key supports the '=' comparison operator.
  • Value supports the '=' comparison operator.

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

  SELECT * FROM Products WHERE Id = 'Val1'
  SELECT * FROM Products WHERE Title = 'Val1'
  SELECT * FROM Products WHERE Handle = 'Val1'
  SELECT * FROM Products WHERE Status = 'Val1'
  SELECT * FROM Products WHERE Vendor = 'Val1'
  SELECT * FROM Products WHERE TotalInventory = 123
  SELECT * FROM Products WHERE HasOnlyDefaultVariant = true
  SELECT * FROM Products WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Products WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM Products WHERE ProductType = 'Val1'
  SELECT * FROM Products WHERE PublicationId = 'Val1'
  SELECT * FROM Products WHERE VariantId = 'Val1'
  SELECT * FROM Products WHERE VariantTitle = 'Val1'
  SELECT * FROM Products WHERE Namespace = 'Val1'
  SELECT * FROM Products WHERE Key = 'Val1'
  SELECT * FROM Products WHERE Value = 'Val1'

Insert

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

DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, IsGiftCard, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan

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

Metafields (references Metafields), BundleComponents (references ProductBundleComponents)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

ProductBundleComponents Temporary Table Columns

Column NameTypeDescription
ComponentProductIdStringA globally-unique ID.
OptionSelections (references ProductBundleComponentOptionSelections)StringThe options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle.
QuantityIntThe quantity of the component product set for this bundle line. It will be null if there's a quantityOption present.
QuantityOptionNameStringThe name of the option value.
QuantityOptionValuesStringThe quantity values of the option.

ProductBundleComponentOptionSelections Temporary Table Columns

Column NameTypeDescription
ParentOptionNameStringThe product option’s name.
ComponentOptionIdStringA globally-unique ID.
ValuesStringThe component option values that are actively selected for this relationship.

Update

The following columns can be updated:

DescriptionHtml, Title, Handle, Tags, Status, Vendor, TemplateSuffix, GiftCardTemplateSuffix, ProductType, SeoTitle, SeoDescription, RequiresSellingPlan

The following pseudo-columns can be used to update a record:

Metafields (references Metafields), BundleComponents (references ProductBundleComponents)

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

ProductBundleComponents Temporary Table Columns

Column NameTypeDescription
ComponentProductIdStringA globally-unique ID.
OptionSelections (references ProductBundleComponentOptionSelections)StringThe options in the parent and the component options they're connected to, along with the chosen option values that appear in the bundle.
QuantityIntThe quantity of the component product set for this bundle line. It will be null if there's a quantityOption present.
QuantityOptionNameStringThe name of the option value.
QuantityOptionValuesStringThe quantity values of the option.

ProductBundleComponentOptionSelections Temporary Table Columns

Column NameTypeDescription
ParentOptionNameStringThe product option’s name.
ComponentOptionIdStringA globally-unique ID.
ValuesStringThe component option values that are actively selected for this relationship.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id of the product.

LegacyResourceId Long True

The Id of the corresponding resource in the REST Admin API.

Description String True

The description of the product, including HTML formatting.

DescriptionHtml String False

The description of the product, including HTML formatting.

Title String False

The title of the product.

Handle String False

A unique, human-friendly string based on the product's title.

Tags String False

A comma-separated list of tags associated with the product. Updating 'tags' overwrites existing tags. To add tags without overwriting, use a mutation.

Status String False

The product status, which controls visibility across all channels.

Vendor String False

The name of the product's vendor.

OnlineStorePreviewUrl String True

The preview URL of the product in the online store.

OnlineStoreUrl String True

The online store URL for the product. Contains null if the product isn't published to the Online Store channel.

TracksInventory Bool True

Indicates whether inventory tracking is enabled for the product.

TotalInventory Int True

The total quantity of inventory in stock.

HasOnlyDefaultVariant Bool True

Indicates whether the product has only a single variant with the default option and value.

HasOutOfStockVariants Bool True

Indicates whether the product has out-of-stock variants.

HasVariantsThatRequiresComponents Bool True

Indicates whether at least one product variant requires bundle components.

VariantsCount Int True

The total number of variants associated with the product.

VariantsCountPrecision String True

The precision of the variant count, indicating the exactness of the value.

TemplateSuffix String False

The theme template used when viewing the product in the store.

GiftCardTemplateSuffix String False

The theme template used when viewing the gift card in the store.

IsGiftCard Bool True

Indicates whether the product is a gift card.

PublishedAt Datetime True

The date and time when the product was published to the Online Store.

UpdatedAt Datetime True

The date and time when the product was last updated. This value can change for reasons such as inventory adjustments.

CreatedAt Datetime True

The date and time when the product was created.

ProductType String False

The product type specified by the merchant.

CategoryId String True

The globally unique Id of the taxonomy category.

CategoryName String True

The name of the taxonomy category. For example, Dog Beds.

CategoryFullName String True

The full taxonomy path of the category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds.

SeoTitle String False

The search engine optimization (SEO) title of the product.

SeoDescription String False

The SEO description of the product.

RequiresSellingPlan Bool False

Indicates whether the product can only be purchased with a selling plan (subscription).

SellingPlanGroupsCount Int True

The total number of selling plan groups associated with the product.

SellingPlanGroupsCountPrecision String True

The precision of the selling plan group count, indicating the exactness of the value.

PriceRangeMaxVariantPriceAmount Decimal True

The maximum variant price of the product, expressed as a decimal money amount.

PriceRangeMaxVariantPriceCurrencyCode String True

The currency code of the maximum variant price.

PriceRangeMinVariantPriceAmount Decimal True

The minimum variant price of the product, expressed as a decimal money amount.

PriceRangeMinVariantPriceCurrencyCode String True

The currency code of the minimum variant price.

CompareAtPriceRangeMaxVariantCompareAtPriceAmount Decimal True

The maximum compare-at price of the product's variants, expressed as a decimal money amount.

CompareAtPriceRangeMaxVariantCompareAtPriceCurrencyCode String True

The currency code of the maximum compare-at price.

CompareAtPriceRangeMinVariantCompareAtPriceAmount Decimal True

The minimum compare-at price of the product's variants, expressed as a decimal money amount.

CompareAtPriceRangeMinVariantCompareAtPriceCurrencyCode String True

The currency code of the minimum compare-at price.

MediaCount Int True

The total number of media items belonging to the product.

MediaCountPrecision String True

The precision of the media count, indicating the exactness of the value.

FeaturedMediaId String True

A globally unique Id of the featured media.

FeaturedMediaAlt String True

Alternative text that describes the featured media.

FeaturedMediaContentType String True

The content type of the featured media.

FeaturedMediaStatus String True

The current status of the featured media.

FeaturedMediaPreviewStatus String True

The current status of the featured media's preview image.

FeaturedMediaPreviewImageId String True

The Id of the preview image. Contains null until status is READY.

FeaturedMediaPreviewImageAltText String True

Alternative text that describes the preview image.

FeaturedMediaPreviewImageUrl String True

The URL location of the preview image.

FeaturedMediaPreviewImageWidth Int True

The original width of the preview image in pixels. Contains null if the image isn't hosted by Shopify.

FeaturedMediaPreviewImageHeight Int True

The original height of the preview image in pixels. Contains null if the image isn't hosted by Shopify.

AvailablePublicationsCount Int True

The number of publications the resource is published to without feedback errors.

AvailablePublicationsCountPrecision String True

The precision of the publication count, indicating the exactness of the value.

ResourcePublicationsCount Int True

The number of publications the resource is published to without feedback errors.

ResourcePublicationsCountPrecision String True

The precision of the publication count, indicating the exactness of the value.

FeedbackSummary String True

A summary of resource feedback related to the product.

FeedbackDetails String True

A list of AppFeedback entries detailing issues related to the product.

PublicationId String True

Filters by publication Ids associated with the product.

VariantId String True

Filters by the product variant Id.

VariantTitle String True

Filters by the product variant title.

Namespace String True

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

Key String True

The key for the metafield.

Value String True

The value of the metafield.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Metafields String

Additional customizable metafields for the product.

BundleComponents String

The bundle components associated with the product.

CData Python Connector for Shopify

ProductVariants

Lists product variants with pricing, inventory tracking, and option values.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ProductId supports the '=, !=' comparison operators.
  • Barcode supports the '=, !=' comparison operators.
  • Sku supports the '=, !=' comparison operators.
  • Title supports the '=, !=' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • Taxable supports the '=, !=' comparison operators.
  • DeliveryProfileId supports the '=, !=' comparison operators.
  • LocationInventoryQuantity supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM ProductVariants WHERE Id = 'Val1'
  SELECT * FROM ProductVariants WHERE ProductId = 'Val1'
  SELECT * FROM ProductVariants WHERE Barcode = 'Val1'
  SELECT * FROM ProductVariants WHERE Sku = 'Val1'
  SELECT * FROM ProductVariants WHERE Title = 'Val1'
  SELECT * FROM ProductVariants WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM ProductVariants WHERE Taxable = true
  SELECT * FROM ProductVariants WHERE DeliveryProfileId = 'Val1'
  SELECT * FROM ProductVariants WHERE LocationInventoryQuantity = 123

Insert

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

ProductId, Barcode, Sku, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin

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

MediaId, MediaSrc, InventoryQuantities (references InventoryItemInventoryLevelQuantities), OptionValues (references ProductOptionValues), Metafields (references Metafields), Strategy

InventoryItemInventoryLevelQuantities Temporary Table Columns

Column NameTypeDescription
InventoryLevelLocationIdStringA globally-unique ID.
QuantityIntThe quantity for the quantity name.

ProductOptionValues Temporary Table Columns

Column NameTypeDescription
ProductOptionIdStringA globally-unique ID.
ProductOptionNameStringThe product option's name.
IdStringA globally-unique ID.
NameStringValue associated with an option.
LinkedMetafieldValueStringMetafield value associated with an option.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

ProductId, Barcode, Sku, Price, CompareAtPrice, TaxCode, Taxable, InventoryPolicy, InventoryItemUnitCostAmount, InventoryItemHarmonizedSystemCode, InventoryItemMeasurementWeightValue, InventoryItemMeasurementWeightUnit, InventoryItemRequiresShipping, InventoryItemTracked, InventoryItemCountryCodeOfOrigin, InventoryItemProvinceCodeOfOrigin

The following pseudo-columns can be used to update a record:

MediaId, MediaSrc, OptionValues (references ProductOptionValues), Metafields (references Metafields), AllowPartialUpdates

ProductOptionValues Temporary Table Columns

Column NameTypeDescription
ProductOptionIdStringA globally-unique ID.
ProductOptionNameStringThe product option's name.
IdStringA globally-unique ID.
NameStringValue associated with an option.
LinkedMetafieldValueStringMetafield value associated with an option.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following columns:

Id, ProductId

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id of the product variant.

LegacyResourceId Long True

The Id of the corresponding resource in the REST Admin API.

ProductId String False

Products.Id

A globally unique Id of the associated product.

Position Int True

The position of the product variant in the list of product variants. The first position in the list is 1.

DisplayName String True

The display name of the variant, based on the product's title and the variant's title.

Barcode String False

The barcode value associated with the product variant.

Sku String False

An identifier for the product variant in the shop. Required to connect to a fulfillment service.

Title String True

The title of the product variant.

RequiresComponents Bool True

Indicates whether the product variant requires components. If true, it can only be purchased as part of a parent bundle and is omitted from channels that don't support bundles.

UpdatedAt Datetime True

The date and time when the product variant was last updated.

CreatedAt Datetime True

The date and time when the product variant was created.

SelectedOptions String True

The list of product options applied to the variant.

AvailableForSale Bool True

Indicates whether the product variant is available for sale.

Price Decimal False

The price of the product variant in the default shop currency.

CompareAtPrice Decimal False

The compare-at price of the product variant in the default shop currency.

TaxCode String False

The tax code for the product variant.

Taxable Bool False

Indicates whether tax is charged when the product variant is sold.

SellableOnlineQuantity Int True

The total sellable quantity of the variant for online channels. This does not represent total available inventory and might vary by customer location.

SellingPlanGroupsCount Int True

The total number of selling plan groups associated with the product variant.

SellingPlanGroupsCountPrecision String True

The precision of the selling plan group count, indicating the exactness of the value.

DeliveryProfileId String True

A globally unique Id of the delivery profile.

InventoryPolicy String False

Defines whether customers can place an order for the product variant when it is out of stock.

InventoryQuantity Int True

The total sellable quantity of the variant.

InventoryItemId String True

A globally unique Id of the inventory item.

InventoryItemUnitCostAmount Decimal False

The unit cost of the inventory item, expressed as a decimal money amount.

InventoryItemUnitCostCurrencyCode String True

The currency code of the unit cost for the inventory item.

InventoryItemHarmonizedSystemCode String False

The harmonized system code of the inventory item.

InventoryItemMeasurementWeightValue Double False

The weight value of the inventory item, based on the specified unit.

InventoryItemMeasurementWeightUnit String False

The unit of measurement for the inventory item's weight value.

InventoryItemRequiresShipping Bool False

Indicates whether the inventory item requires shipping.

InventoryItemTracked Bool False

Indicates whether inventory levels are tracked for the item.

InventoryItemCountryCodeOfOrigin String False

The ISO 3166-1 alpha-2 country code of where the item originated from.

InventoryItemProvinceCodeOfOrigin String False

The ISO 3166-2 alpha-2 province code of where the item originated from.

ImageId String True

A globally unique Id of the associated image.

ImageAltText String True

Alternative text that describes the image.

ImageHeight Int True

The original height of the image in pixels. Contains null if the image isn't hosted by Shopify.

ImageWidth Int True

The original width of the image in pixels. Contains null if the image isn't hosted by Shopify.

ImageUrl String True

The URL location of the image.

UnitPriceMeasurementMeasuredType String True

The type of measurement used for the unit price.

UnitPriceMeasurementQuantityUnit String True

The quantity unit used for the unit price measurement.

UnitPriceMeasurementQuantityValue Double True

The quantity value used for the unit price measurement.

UnitPriceMeasurementReferenceUnit String True

The reference unit used for the unit price measurement.

UnitPriceMeasurementReferenceValue Int True

The reference value used for the unit price measurement.

LocationInventoryQuantity Int True

Filters by the available inventory quantity of the variant at individual locations.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
MediaId String

The Id of the media associated with the variant.

MediaSrc String

The URL of the media associated with the variant.

InventoryQuantities String

The inventory quantities at each location where the variant is stocked. The number of entries can't exceed the plan limit.

OptionValues String

The custom properties that a shop owner uses to define product variants.

Metafields String

Additional customizable metafields for the product variant.

Strategy String

Defines how standalone variants are handled when creating new variants. DEFAULT: keeps the standalone variant. REMOVE_STANDALONE_VARIANT: deletes the standalone variant when new variants are created.

The allowed values are DEFAULT, REMOVE_STANDALONE_VARIANT.

AllowPartialUpdates Bool

Indicates whether partial updates are allowed. If true, valid changes are saved even when some variants contain errors. If false, any error prevents all updates.

CData Python Connector for Shopify

Publications

Lists sales channel publications configured for the shop.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  SELECT * FROM Publications WHERE Id = 'Val1'
  SELECT * FROM Publications WHERE CatalogType = 'Val1'

Insert

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

AutoPublish, CatalogId

The following pseudo-column can be used to create a new record:

DefaultState

Update

The following column can be updated:

AutoPublish

The following pseudo-columns can be used to update a record:

PublishablesToAdd, PublishablesToRemove

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id of the publication.

AutoPublish Bool False

Indicates whether new products are automatically published to this publication.

SupportsFuturePublishing Bool True

Indicates whether the publication supports future publishing.

CatalogId String True

A globally unique Id of the catalog.

AddAllProductsOperationId String True

A globally unique Id of the add-all-products operation.

AddAllProductsOperationStatus String True

The status of the add-all-products operation.

AddAllProductsOperationProcessedRowCount Int True

The total number of processed rows, including imported, failed, and skipped rows.

AddAllProductsOperationRowCountCount Int True

The estimated total number of rows in the background operation.

AddAllProductsOperationRowCountExceedsMax Bool True

Indicates whether the operation exceeds the maximum number of reportable rows.

CatalogCsvOperationId String True

A globally unique Id of the catalog CSV operation.

CatalogCsvOperationStatus String True

The status of the catalog CSV operation.

CatalogCsvOperationProcessedRowCount Int True

The total number of processed rows, including imported, failed, and skipped rows.

CatalogCsvOperationRowCountCount Int True

The estimated total number of rows in the background CSV operation.

CatalogCsvOperationRowCountExceedsMax Bool True

Indicates whether the CSV operation exceeds the maximum number of reportable rows.

PublicationResourceOperationId String True

A globally unique Id of the publication resource operation.

PublicationResourceOperationStatus String True

The status of the publication resource operation.

PublicationResourceOperationProcessedRowCount Int True

The total number of processed rows, including imported, failed, and skipped rows.

PublicationResourceOperationRowCountCount Int True

The estimated total number of rows in the publication resource operation.

PublicationResourceOperationRowCountExceedsMax Bool True

Indicates whether the resource operation exceeds the maximum number of reportable rows.

CatalogType String True

The catalog type used to filter publications.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
DefaultState String

Indicates whether to create an empty publication or prepopulate it with all products.

The allowed values are ALL_PRODUCTS, EMPTY.

PublishablesToAdd String

A comma-separated list of publishable Ids to add. A maximum of 50 can be updated at once.

PublishablesToRemove String

A comma-separated list of publishable Ids to remove. A maximum of 50 can be updated at once.

CData Python Connector for Shopify

Refunds

Represents refunds of items or transactions on an order, with amounts and reasons.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM Refunds WHERE OrderId = 'Val1'

Insert

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

OrderId, Note, RefundLineItems (references RefundLineItems)

RefundLineItems Temporary Table Columns

Column NameTypeDescription
LineItemIdStringA globally-unique ID.
LineItemQuantityIntThe number of variant units ordered.
RestockTypeStringThe type of restock for the refunded line item.
LocationIdStringA globally-unique ID.

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A globally unique Id of the refund.

LegacyResourceId String True

The Id of the corresponding resource in the REST Admin API.

OrderId String True

Orders.Id

A globally unique Id of the associated order.

Note String True

An optional note associated with the refund.

CreatedAt Datetime True

The date and time when the refund was created.

UpdatedAt Datetime True

The date and time when the refund was last updated.

ReturnId String True

A globally unique Id of the associated return.

StaffMemberId String True

A globally unique Id of the staff member associated with the refund. (Available only with a ShopifyPlus subscription)

TotalRefundedSetPresentmentMoneyAmount Decimal True

The total refunded amount in the presentment currency, expressed as a decimal money amount.

TotalRefundedSetPresentmentMoneyCurrencyCode String True

The currency code of the total refunded amount in the presentment currency.

TotalRefundedSetShopMoneyAmount Decimal True

The total refunded amount in the shop's currency, expressed as a decimal money amount.

TotalRefundedSetShopMoneyCurrencyCode String True

The currency code of the total refunded amount in the shop's currency.

RefundLineItems String True

The list of line items included in the refund.

CData Python Connector for Shopify

Returns

Lists returns associated with orders, including statuses and dispositions.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM Returns WHERE OrderId = 'Val1'

Insert

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

OrderId, ReturnLineItems (references ReturnLineItems), ReturnExchangeLineItems (references ReturnExchangeLineItems)

ReturnLineItems Temporary Table Columns

Column NameTypeDescription
QuantityIntThe quantity being returned.
ReturnReasonStringThe reason for returning the item.
ReturnReasonNoteStringAdditional information about the reason for the return. Maximum length: 255 characters.
FulfillmentLineItemIdStringA globally-unique ID.

ReturnExchangeLineItems Temporary Table Columns

Column NameTypeDescription
VariantIdStringA globally-unique ID.
QuantityIntThe number of variant units ordered.
AppliedDiscountValueAmountDecimalThe discount to be applied to the exchange line item. The value of the discount as a fixed amount.
AppliedDiscountValueAmountCurrencyCodeStringThe discount to be applied to the exchange line item. Currency of the money.
AppliedDiscountValuePercentageDoubleThe discount to be applied to the exchange line item. The value of the discount as a percentage.
AppliedDiscountDescriptionStringThe discount to be applied to the exchange line item. The description of the discount.
GiftCardCodesStringThe gift card codes associated with the physical gift cards.

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A globally unique Id for the return record.

OrderId String True

Orders.Id

A globally-unique ID.

OrderReturnStatus String True

The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

Name String True

The system-generated name of the return.

Status String True

The current status of the return (for example, open, approved, or declined).

TotalQuantity Int True

The total number of line item units included in the return.

DeclineReason String True

The reason the return request was declined.

DeclineNote String True

The message sent to the customer when their return request was declined. Maximum length: 500 characters.

ReturnLineItems String True

A list of the line items that are part of the return.

ReturnExchangeLineItems String True

A list of new line items to be added to the order as part of an exchange.

ClosedAt Datetime True

The date and time when the return was closed.

CreatedAt Datetime True

The date and time when the return was created.

RequestApprovedAt Datetime True

The date and time when the return was approved.

CData Python Connector for Shopify

ScriptTags

Lists script tags that inject JavaScript into storefront pages.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  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 False

A globally unique Id for the script tag.

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, the script is cached and served by the CDN for up to 15 minutes after being returned. If false, the script is served directly without caching.

Src String False

The URL of the remote script.

DisplayScope String False

The page or pages of the online store where the script tag should be included.

The allowed values are ONLINE_STORE.

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.

CData Python Connector for Shopify

Segments

Lists customer segments defined in the shop.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

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

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

  SELECT * FROM Segments WHERE Id = 'Val1'
  SELECT * FROM Segments WHERE Name = 'Val1'

Insert

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

Name, Query

Update

The following columns can be updated:

Name, Query

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the segment.

Name String False

The name of the segment (for example, 'High-value customers' or 'Subscribed to newsletter').

Query String False

The definition of the segment, composed of conditions based on customer attributes or behaviors.

CreationDate Datetime True

The date and time when the segment was created in the store.

LastEditDate Datetime True

The date and time when the segment was last updated.

CData Python Connector for Shopify

SellingPlanGroups

Lists selling plan groups used for subscriptions and prepaid options.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Name supports the '=' comparison operator.
  • CreatedAt supports the '<, >, >=' comparison operators.

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

  SELECT * FROM SellingPlanGroups WHERE Id = 'Val1'
  SELECT * FROM SellingPlanGroups WHERE Name = 'Val1'
  SELECT * FROM SellingPlanGroups WHERE CreatedAt < '2023-01-01 11:10:00'

Insert

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

AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans)

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

ProductIds, ProductVariantIds

SellingPlanGroupSellingPlans Temporary Table Columns

Column NameTypeDescription
IdStringA globally-unique ID.
NameStringA customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies.
CategoryStringThe category used to classify the selling plan for reporting purposes.
DescriptionStringBuyer facing string which describes the selling plan commitment.
OptionsStringThe values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values.
PositionIntRelative position of the selling plan for display. A lower position will be displayed before a higher position.
InventoryPolicyReserveStringWhen to reserve inventory for the order.
FixedBillingPolicyCheckoutChargeTypeStringThe charge type for the checkout charge.
FixedBillingPolicyCheckoutChargeValueAmountDecimalThe charge value for the checkout charge. Decimal money amount.
FixedBillingPolicyCheckoutChargeValuePercentageDoubleThe charge value for the checkout charge. The percentage value of the price used for checkout charge.
FixedBillingPolicyRemainingBalanceChargeExactTimeDatetimeThe exact time when to capture the full payment.
FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckoutStringThe period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration.
FixedBillingPolicyRemainingBalanceChargeTriggerStringWhen to capture payment for amount due.
RecurringBillingPolicyAnchorsStringSpecific anchor dates upon which the billing interval calculations should be made. Aggregate value.
RecurringBillingPolicyIntervalStringThe billing frequency, it can be either: day, week, month or year.
RecurringBillingPolicyIntervalCountIntThe number of intervals between billings.
RecurringBillingPolicyMaxCyclesIntMaximum number of billing iterations.
RecurringBillingPolicyMinCyclesIntMinimum number of billing iterations.
FixedDeliveryPolicyAnchorsStringThe specific anchor dates upon which the delivery interval calculations should be made. Aggregate value.
FixedDeliveryPolicyCutoffIntA buffer period for orders to be included in next fulfillment anchor.
FixedDeliveryPolicyFulfillmentExactTimeDatetimeThe date and time when the fulfillment should trigger.
FixedDeliveryPolicyFulfillmentTriggerStringWhat triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.
FixedDeliveryPolicyIntentStringWhether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
FixedDeliveryPolicyPreAnchorBehaviorStringThe fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
RecurringDeliveryPolicyAnchorsStringThe specific anchor dates upon which the delivery interval calculations should be made. Aggregate value.
RecurringDeliveryPolicyCutoffIntNumber of days which represent a buffer period for orders to be included in a cycle.
RecurringDeliveryPolicyIntentStringWhether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
RecurringDeliveryPolicyIntervalStringThe delivery frequency, it can be either: day, week, month or year.
RecurringDeliveryPolicyIntervalCountIntThe number of intervals between deliveries.
RecurringDeliveryPolicyPreAnchorBehaviorStringThe fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
FixedPricingPoliciesStringRepresents fixed selling plan pricing policies associated to the selling plan. Aggregate value.
RecurringPricingPoliciesStringRepresents recurring selling plan pricing policies associated to the selling plan. Aggregate value.
Metafields (references Metafields)StringAttaches additional metadata to a store's resources.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Update

The following columns can be updated:

AppId, Name, Description, Options, Position, MerchantCode, SellingPlansToCreate (references SellingPlanGroupSellingPlans), SellingPlansToUpdate (references SellingPlanGroupSellingPlans)

The following pseudo-column can be used to update a record:

SellingPlansToDelete

SellingPlanGroupSellingPlans Temporary Table Columns

Column NameTypeDescription
IdStringA globally-unique ID.
NameStringA customer-facing description of the selling plan. If your store supports multiple currencies, then don't include country-specific pricing content, such as 'Buy monthly, get 10$ CAD off'. This field won't be converted to reflect different currencies.
CategoryStringThe category used to classify the selling plan for reporting purposes.
DescriptionStringBuyer facing string which describes the selling plan commitment.
OptionsStringThe values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same 'selling_plan_group. name' and 'selling_plan_group. options' values.
PositionIntRelative position of the selling plan for display. A lower position will be displayed before a higher position.
InventoryPolicyReserveStringWhen to reserve inventory for the order.
FixedBillingPolicyCheckoutChargeTypeStringThe charge type for the checkout charge.
FixedBillingPolicyCheckoutChargeValueAmountDecimalThe charge value for the checkout charge. Decimal money amount.
FixedBillingPolicyCheckoutChargeValuePercentageDoubleThe charge value for the checkout charge. The percentage value of the price used for checkout charge.
FixedBillingPolicyRemainingBalanceChargeExactTimeDatetimeThe exact time when to capture the full payment.
FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckoutStringThe period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration.
FixedBillingPolicyRemainingBalanceChargeTriggerStringWhen to capture payment for amount due.
RecurringBillingPolicyAnchorsStringSpecific anchor dates upon which the billing interval calculations should be made. Aggregate value.
RecurringBillingPolicyIntervalStringThe billing frequency, it can be either: day, week, month or year.
RecurringBillingPolicyIntervalCountIntThe number of intervals between billings.
RecurringBillingPolicyMaxCyclesIntMaximum number of billing iterations.
RecurringBillingPolicyMinCyclesIntMinimum number of billing iterations.
FixedDeliveryPolicyAnchorsStringThe specific anchor dates upon which the delivery interval calculations should be made. Aggregate value.
FixedDeliveryPolicyCutoffIntA buffer period for orders to be included in next fulfillment anchor.
FixedDeliveryPolicyFulfillmentExactTimeDatetimeThe date and time when the fulfillment should trigger.
FixedDeliveryPolicyFulfillmentTriggerStringWhat triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.
FixedDeliveryPolicyIntentStringWhether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
FixedDeliveryPolicyPreAnchorBehaviorStringThe fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
RecurringDeliveryPolicyAnchorsStringThe specific anchor dates upon which the delivery interval calculations should be made. Aggregate value.
RecurringDeliveryPolicyCutoffIntNumber of days which represent a buffer period for orders to be included in a cycle.
RecurringDeliveryPolicyIntentStringWhether the delivery policy is merchant or buyer-centric. Buyer-centric delivery policies state the time when the buyer will receive the goods. Merchant-centric delivery policies state the time when the fulfillment should be started. Currently, only merchant-centric delivery policies are supported.
RecurringDeliveryPolicyIntervalStringThe delivery frequency, it can be either: day, week, month or year.
RecurringDeliveryPolicyIntervalCountIntThe number of intervals between deliveries.
RecurringDeliveryPolicyPreAnchorBehaviorStringThe fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is ASAP.
FixedPricingPoliciesStringRepresents fixed selling plan pricing policies associated to the selling plan. Aggregate value.
RecurringPricingPoliciesStringRepresents recurring selling plan pricing policies associated to the selling plan. Aggregate value.
Metafields (references Metafields)StringAttaches additional metadata to a store's resources.

Metafields Temporary Table Columns

Column NameTypeDescription
IdStringThe unique ID of the metafield.
NamespaceStringA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps.
KeyStringThe name of the metafield.
ValueStringThe information to be stored as metadata.
TypeStringThe metafield's information type.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the selling plan group.

AppId String False

The Id of the app that created the selling plan group, exposed in Liquid and product JSON.

Name String False

The buyer-facing label of the selling plan group (for example, 'Monthly Subscription').

Description String False

The merchant-facing description of the selling plan group.

Options String False

The option values available in the selling plan group.

Position Int False

The display order of the selling plan group relative to others.

Summary String True

A summary of the policies associated with the selling plan group.

MerchantCode String False

The merchant-facing label or code for the selling plan group.

ProductsCount Int True

The number of products linked to the selling plan group.

ProductsCountPrecision String True

The precision of the product count, or how exact the value is.

CreatedAt Datetime True

The date and time when the selling plan group was created.

SellingPlansToCreate String False

A list of selling plans to create in the selling plan group.

SellingPlansToUpdate String False

A list of selling plans to update in the selling plan group.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
SellingPlansToDelete String

A list of selling plans to delete, provided as a comma-separated string.

ProductIds String

A comma-separated list of product Ids to add to the selling plan group.

ProductVariantIds String

A comma-separated list of product variant Ids to add to the selling plan group.

CData Python Connector for Shopify

StorefrontAccessTokens

Lists storefront access tokens for private applications, scoped per application.

Table-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM StorefrontAccessTokens

Insert

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

Title

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 for the storefront access token.

ShopId String True

Shop.Id

A globally unique Id for the associated shop.

Title String True

A developer-assigned title for the token, used for reference purposes.

AccessToken String True

The issued public access token for the storefront.

CreatedAt Datetime True

The date and time when the storefront access token was created.

UpdatedAt Datetime True

The date and time when the storefront access token was last updated.

CData Python Connector for Shopify

ThemeFiles

Represents files in an online store theme.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Filename supports the '=, IN' comparison operators.
  • ThemeId supports the '=, IN' comparison operators.

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

  SELECT * FROM ThemeFiles WHERE Filename = 'Val1'
  SELECT * FROM ThemeFiles WHERE ThemeId = 'Val1'

Delete

You can delete entries by specifying the following columns:

Filename, ThemeId

Columns

Name Type ReadOnly References Description
Filename [KEY] String True

The unique filename identifier of the theme file.

ThemeId [KEY] String True

The ID of the theme this file belongs to.

ContentType String True

The content type of the theme file.

Size Long True

The size of the theme file in bytes.

ChecksumMd5 String True

The MD5 checksum of the theme file for data integrity.

CreatedAt Datetime True

The date and time when the theme file was created.

UpdatedAt Datetime True

The date and time when the theme file was last updated.

BodyContent String True

The body of the theme file.

BodyContentBase64 String True

The body of the theme file, base64 encoded.

BodyUrl String True

The short lived url for the body of the theme file.

CData Python Connector for Shopify

Themes

Lists the shop's themes with role and preview data.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Name supports the '=, IN' comparison operators.
  • Role supports the '=, IN' comparison operators.

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

  SELECT * FROM Themes WHERE Id = 'Val1'
  SELECT * FROM Themes WHERE Name = 'Val1'
  SELECT * FROM Themes WHERE Role = 'Val1'

Insert

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

Name, Role

The following pseudo-column can be used to create a new record:

Source

Update

The following column can be updated:

Name

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the theme.

ThemeStoreId Int True

The Id of the theme in the Shopify Theme Store.

Name String False

The name of the theme, set by the merchant.

Prefix String True

The prefix assigned to the theme.

Processing Bool True

Indicates whether the theme is currently processing.

ProcessingFailed Bool True

Indicates whether the theme processing failed.

Role String True

The role of the theme (for example, main, unpublished, or demo).

UpdatedAt Datetime True

The date and time when the theme was last updated.

CreatedAt Datetime True

The date and time when the theme was created.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Source String

An external URL or staged upload URL for importing the theme.

CData Python Connector for Shopify

UrlRedirects

Lists URL redirects configured for the shop to preserve search engine optimization (SEO) and navigation.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Path supports the '=, !=' comparison operators.
  • Target supports the '=, !=' comparison operators.

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

  SELECT * FROM UrlRedirects WHERE Id = 'Val1'
  SELECT * FROM UrlRedirects WHERE Path = 'Val1'
  SELECT * FROM UrlRedirects WHERE Target = 'Val1'

Insert

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

Path, Target

Update

The following columns can be updated:

Path, Target

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A globally unique Id for the URL redirect.

Path String False

The original path to redirect from. When a customer visits this path, they are redirected to the target location.

Target String False

The target location where the customer is redirected.

CData Python Connector for Shopify

Views

Views are similar to tables in the way that data is represented; however, views are read-only.

Queries can be executed against a view as if it were a normal table.

CData Python Connector for Shopify Views

Name Description
AbandonedCheckoutCustomAttributes Retrieves custom attributes captured on an abandoned checkout, such as personalization fields or internal flags.
AbandonedCheckoutLineItems Lists the products, variants, and quantities that were in the cart when the checkout was abandoned.
AbandonedCheckouts Returns abandoned checkout sessions with customer, cart, and timing details for recovery.
AbandonedCheckoutTaxLines Shows the tax lines calculated for an abandoned checkout by jurisdiction and rate.
Abandonment Summarizes visit-level abandonment metrics and context for unfinished checkouts.
AbandonmentProductsAddedToCart Lists products customers added to cart during sessions that ended in abandonment.
AbandonmentProductsViewed Returns products viewed during sessions that later resulted in an abandoned checkout.
AppCredits Lists credits that merchants can apply toward future app charges.
AppPurchases Returns a list of one-time purchases made by the current app installation.
ArticleCommentEvents Retrieves events tied to article comments, such as creation, approval, or deletion.
ArticleEvents Returns event history for articles, including publication, updates, and deletions.
AssignedFulfillmentOrders Retrieves fulfillment orders assigned to app-managed locations (requires read_assigned_fulfillment_orders). CLOSED orders are excluded by default.
BlogEvents Retrieves activity events related to blogs, such as creation or deletion.
BusinessEntities Lists business entities associated with the shop for organizational context.
CollectionRules Returns a list of collection rules.
CompanyContactRoles Lists available roles that can be assigned to company contacts.
CompanyEvents Retrieves event history associated with company records.
CustomerEvents Retrieves event history for customer records (creation, updates, tags).
CustomerSegmentMembers Lists members (for example, customers) associated with a specific customer segment.
CustomerSegmentMembersQueries Returns the status of a customer segment members query.
CustomerStoreCreditAccounts Lists customers' store credit accounts with balances and status.
DeliveryProfileLocationGroupCountries Lists countries already selected in any zone for the specified location group.
DeliveryProfileLocationGroupCountryProvinces Lists regions/provinces associated with the specified country in a location group.
DeliveryProfileLocationGroups Lists location groups configured under a delivery profile.
DeliveryProfileLocationGroupZones Lists shipping zones associated with the specified location group.
DeliveryProfileUnassignedLocations Lists locations not yet assigned to any location group for this profile.
DiscountAppCodes Returns a list of discount redeem codes.
DiscountBasicCodes Returns a list of discount redeem codes.
DiscountBxgyCodes Returns a list of discount redeem codes.
DiscountEvents Retrieves event history for discounts, including publishing and edits.
DiscountFreeShippingCodes Returns a list of discount redeem codes.
DiscountRedeemCodeBulkCreations An entity that represents the status and counts of an asynchronous bulk code creation associated with a code discount.
Disputes Lists chargeback and dispute cases related to the shop.
DraftOrderCustomAttributes Lists custom attributes attached to draft orders for internal or personalization data.
DraftOrderEvents Retrieves event history for draft orders, such as creation or completion.
DraftOrderLineItemCustomAttributes Lists custom attributes attached to draft order line items.
DraftOrderLineItems Lists the line items included in a draft order with quantities and prices.
DraftOrderLineItemTaxLines Shows tax lines applied to individual draft order items.
DraftOrderTaxLines Shows tax lines applied at the draft order level.
Events Lists shop-wide events for auditing and troubleshooting.
FulfillmentLineItems Lists order line items included in fulfillments for picking and packing.
FulfillmentLineItemTaxLines Shows tax lines on fulfillment line items where applicable.
FulfillmentOrderLineItems Lists the line items grouped under a fulfillment order.
FulfillmentOrderLocationForMoveAvailableLineItems Lists fulfillment order line items available to move to a new location.
FulfillmentOrderLocationForMoveUnavailableLineItems Lists fulfillment order line items that cannot be moved to a new location.
FulfillmentOrderLocationsForMove Lists candidate locations to which a fulfillment order can be moved.
InventoryAdjustmentGroupChanges Lists sets of quantity changes that occurred within inventory events.
InventoryAdjustmentGroups Lists groups of adjustments applied during inventory operations.
InventoryItemCountryHarmonizedSystemCodes Lists country-specific Harmonized System (HS) codes assigned to inventory items.
InventoryItemInventoryLevelQuantities Lists on-hand, committed, and available quantities by location for an inventory item.
InventoryItemInventoryLevelScheduledChanges Lists scheduled future changes to inventory levels.
Jobs Returns job status by Id for asynchronous operations and internal tasks.
LocalizationCountries Lists countries with localized storefront experiences enabled.
MarketingEvents Lists marketing events associated with the marketing application and their metrics.
MetafieldDefinitionConstraintValues Lists constraint subtype values supported by a metafield definition.
MetafieldDefinitionStandardTemplates Lists standard metafield templates that provide ready-made definition presets.
MetafieldDefinitionTypes Lists core metafield types and validations available for definitions.
MetaobjectDefinitions Lists definitions for metaobjects, which are structured, reusable content modeled via metafields.
MetaObjects Lists all metaobjects created for the shop.
OrderAdditionalFees Lists additional fees applied to an order (for example, handling, or service).
OrderAgreementAdditionalFeeSales Lists sales attributed to agreement-based additional fees.
OrderAgreementAdjustmentSales Lists sales attributed to agreement-based adjustments.
OrderAgreementDutySales Lists sales attributed to agreement-based duties.
OrderAgreementGiftCardSales Lists sales attributed to agreement-based gift card usage.
OrderAgreementProductSales Lists sales attributed to agreement-based product charges.
OrderAgreements Lists sales agreements associated with orders.
OrderAgreementShippingLineSales Lists sales attributed to agreement-based shipping lines.
OrderAgreementTipSales Lists sales attributed to agreement-based tips.
OrderAgreementUnknownSales Lists agreement-based sales that fall into an unknown category.
OrderCustomAttributes Lists custom attributes attached to orders for internal or personalization data.
OrderDiscountApplications Lists discount applications that affected an order, excluding edits and refunds.
OrderEditAgreementAdditionalFeeSales Lists agreement-based additional fee sales within order edits.
OrderEditAgreementAdjustmentSales Lists agreement-based adjustment sales within order edits.
OrderEditAgreementDutySales Lists agreement-based duty sales within order edits.
OrderEditAgreementGiftCardSales Lists agreement-based gift card sales within order edits.
OrderEditAgreementProductSales Lists agreement-based product sales within order edits.
OrderEditAgreements Lists sales agreements that apply to order edits.
OrderEditAgreementShippingLineSales Lists agreement-based shipping line sales within order edits.
OrderEditAgreementTipSales Lists agreement-based tip sales within order edits.
OrderEditAgreementUnknownSales Lists uncategorized agreement-based sales within order edits.
OrderEvents Retrieves event history for orders (creation, updates, fulfillment changes).
OrderLineItemCustomAttributes Lists custom attributes attached to order line items.
OrderLineItemDiscountAllocations Shows discount allocations applied to a line item, excluding edits and refunds.
OrderLineItemDuties Lists duties allocated to order line items.
OrderLineItems Lists line items on orders, including variants, quantities, and pricing.
OrderLineItemTaxLines Shows tax lines calculated for an order line item.
OrderNonFulfillableLineItemDuties Lists duties on line items that cannot be fulfilled.
OrderNonFulfillableLineItems Lists order line items that are not fulfillable and related context.
OrderRefundAgreementAdditionalFeeSales Lists refund sales associated with agreement-based additional fees.
OrderRefundAgreementAdjustmentSales Lists refund sales associated with agreement-based adjustments.
OrderRefundAgreementDutySales Lists refund sales associated with agreement-based duties.
OrderRefundAgreementGiftCardSales Lists refund sales associated with agreement-based gift card usage.
OrderRefundAgreementProductSales Lists refund sales associated with agreement-based product charges.
OrderRefundAgreements Lists sales agreements tied to refunds.
OrderRefundAgreementShippingLineSales Lists refund sales associated with agreement-based shipping lines.
OrderRefundAgreementTipSales Lists refund sales associated with agreement-based tips.
OrderRefundAgreementUnknownSales Lists uncategorized agreement-based refund sales.
OrderShippingLineDiscountAllocations Retrieves the discounts that have been allocated onto the shipping lines of an order by discount applications.
OrderShippingLines Lists shipping lines attached to orders, including rates and titles.
OrderTaxLines Shows taxes calculated for an order at the order level.
PageEvents Retrieves event history for pages (creation, publishing, edits).
PriceListPrices Lists prices attached to a specific price list by currency and adjustment rules.
ProductBundleComponentOptionSelections Lists mappings between component options and selected parent bundle options.
ProductBundleComponents Lists component products that make up a bundle and their constraints.
ProductEvents Retrieves event history for products (creation, publication, updates).
ProductOperations Inspects details of asynchronous operations performed on products.
ProductVariantEvents Retrieves event history for product variants.
PublicationCollections Lists collections published to a specific publication (channel).
PublicationProducts Lists products published to a specific publication (channel).
RefundDuties Lists duties refunded as part of a refund.
RefundLineItemDuties Lists duties attached to refunded line items.
RefundLineItems Lists refund line item records that specify quantities and amounts refunded.
RefundOrderAdjustments Lists order-level adjustments included on a refund.
RefundShippingLines Lists shipping lines included in a refund.
RefundTransactionFees Lists transaction fees applied to the original order transaction (Shopify Payments only).
RefundTransactions Lists payment transactions generated as part of a refund.
ReturnExchangeLineItems Lists line items created for exchanges within a return.
ReturnLineItems Lists return line items attached to the return.
ReturnLineItemsUnverified Lists unverified return line items pending inspection or validation.
ReverseFulfillmentOrderDeliveries Lists reverse deliveries where buyers send packages back to the merchant.
ReverseFulfillmentOrderDeliveryLineItems Lists line items included in reverse deliveries.
ReverseFulfillmentOrderLineItems Lists line items managed under reverse fulfillment orders.
ReverseFulfillmentOrders Lists items within returns to be processed by a fulfillment service.
SegmentFilterParameters Lists available parameters used to construct event-based segment filters.
SegmentFilters Lists reusable segment filters available for building segments.
SellingPlanGroupSellingPlans Lists selling plans associated with a selling plan group.
Shop Returns the shop resource for the current token, including business and management settings.
ShopifyPaymentsAccount Returns Shopify Payments account details, including balances, disputes, and payouts.
ShopifyPaymentsAccountBalance Returns current balances across all currencies for the account.
ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders Lists adjustment orders linked to a specific balance transaction.
ShopifyPaymentsAccountBalanceTransactions Lists balance transactions associated with the account's balances.
ShopifyPaymentsAccountBankAccounts Lists bank accounts configured for the Shopify Payments account.
ShopifyPaymentsAccountDisputes Lists disputes associated with the Shopify Payments account.
ShopifyPaymentsAccountPayouts Lists past and current payouts between the account and the bank (available only in supported countries).
StaffMembers Lists staff members for the shop with pagination (Shopify Plus only).
StoreCreditAccountCreditTransactions Lists transactions that credit (increase) a store credit account.
StoreCreditAccountDebitRevertTransactions Lists debit-revert transactions created when a debit is reversed on a store credit account.
StoreCreditAccountDebitTransactions Lists transactions that debit (decrease) a store credit account.
StoreCreditAccountExpirationTransactions Lists expiration transactions created when credit expires on a store credit account.
TenderTransactions Lists tender (payment method) transactions recorded by the shop.

CData Python Connector for Shopify

AbandonedCheckoutCustomAttributes

Retrieves custom attributes captured on an abandoned checkout, such as personalization fields or internal flags.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AbandonedCheckoutCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

AbandonedCheckouts.Id

The globally unique identifier of the abandoned checkout resource this attribute is linked to.
Key [KEY] String The name or key that identifies the custom attribute.
Value String The stored value assigned to the custom attribute.

CData Python Connector for Shopify

AbandonedCheckoutLineItems

Lists the products, variants, and quantities that were in the cart when the checkout was abandoned.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AbandonedCheckoutLineItems WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the abandoned checkout line item.
ResourceId String

Abandonment.AbandonedCheckoutPayloadId

The globally unique identifier of the abandoned checkout that this line item belongs to.
Title String The display title of the product or service in this line item. Defaults to the product's title at the time of checkout.
ProductId String The globally unique identifier of the product linked to this line item.
VariantId String The globally unique identifier of the product variant chosen in the line item.
VariantTitle String The title of the selected variant at the time the checkout was created.
Quantity Int The total number of variant units included in the line item.
Sku String The SKU (stock keeping unit) code associated with the product variant.
ImageId String The unique identifier of the image connected to this line item.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text that describes the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL that points to the product image.
DiscountedTotalPriceSetPresentmentMoneyAmount Decimal The final total cost for the full quantity of this line item after discounts, expressed as a decimal money amount in the presentment currency.
DiscountedTotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the final discounted total price of the line item.
DiscountedTotalPriceSetShopMoneyAmount Decimal The final total cost for the full quantity of this line item after discounts, expressed as a decimal money amount in the shop's base currency.
DiscountedTotalPriceSetShopMoneyCurrencyCode String The shop currency code for the final discounted total price of the line item.
DiscountedTotalPriceWithCodeDiscountPresentmentMoneyAmount Decimal The final total cost for the full quantity of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the presentment currency.
DiscountedTotalPriceWithCodeDiscountPresentmentMoneyCurrencyCode String The presentment currency code for the final total price of the line item after all discounts, including code-based discounts.
DiscountedTotalPriceWithCodeDiscountShopMoneyAmount Decimal The final total cost for the full quantity of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the shop's base currency.
DiscountedTotalPriceWithCodeDiscountShopMoneyCurrencyCode String The shop currency code for the final total price of the line item after all discounts, including code-based discounts.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted price of a single unit in this line item, expressed as a decimal money amount in the presentment currency.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the discounted unit price of the line item.
DiscountedUnitPriceSetShopMoneyAmount Decimal The discounted price of a single unit in this line item, expressed as a decimal money amount in the shop's base currency.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The shop currency code for the discounted unit price of the line item.
DiscountedUnitPriceWithCodeDiscountPresentmentMoneyAmount Decimal The unit price of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the presentment currency.
DiscountedUnitPriceWithCodeDiscountPresentmentMoneyCurrencyCode String The presentment currency code for the unit price of this line item after all discounts, including code-based discounts.
DiscountedUnitPriceWithCodeDiscountShopMoneyAmount Decimal The unit price of this line item after applying all discounts, including code-based discounts, expressed as a decimal money amount in the shop's base currency.
DiscountedUnitPriceWithCodeDiscountShopMoneyCurrencyCode String The shop currency code for the unit price of this line item after all discounts, including code-based discounts.
OriginalTotalPriceSetPresentmentMoneyAmount Decimal The original total cost for the full quantity of this line item before discounts, expressed as a decimal money amount in the presentment currency.
OriginalTotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the original total price of the line item before discounts.
OriginalTotalPriceSetShopMoneyAmount Decimal The original total cost for the full quantity of this line item before discounts, expressed as a decimal money amount in the shop's base currency.
OriginalTotalPriceSetShopMoneyCurrencyCode String The shop currency code for the original total price of the line item before discounts.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price of this line item before discounts, expressed as a decimal money amount in the presentment currency.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the original unit price of the line item before discounts.
OriginalUnitPriceSetShopMoneyAmount Decimal The original unit price of this line item before discounts, expressed as a decimal money amount in the shop's base currency.
OriginalUnitPriceSetShopMoneyCurrencyCode String The shop currency code for the original unit price of the line item before discounts.

CData Python Connector for Shopify

AbandonedCheckouts

Returns abandoned checkout sessions with customer, cart, and timing details for recovery.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • EmailState supports the '=, !=' comparison operators.
  • RecoveryState supports the '=, !=' comparison operators.

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

  SELECT * FROM AbandonedCheckouts WHERE Id = 'Val1'
  SELECT * FROM AbandonedCheckouts WHERE UpdatedAt = '2023-01-01 11:10:00'
  SELECT * FROM AbandonedCheckouts WHERE CreatedAt = '2023-01-01 11:10:00'
  SELECT * FROM AbandonedCheckouts WHERE Status = 'open'
  SELECT * FROM AbandonedCheckouts WHERE EmailState = 'sent'
  SELECT * FROM AbandonedCheckouts WHERE RecoveryState = 'open'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the abandoned checkout.
Name String A merchant-facing identifier that uniquely identifies this checkout in Shopify.
AbandonedCheckoutUrl String The URL that allows the buyer to return and complete their abandoned checkout.
CustomerId String The globally unique identifier of the customer associated with this abandoned checkout.
DiscountCodes String One or more discount codes entered by the buyer during checkout.
Note String A private note recorded by the merchant for this checkout, not visible to the buyer.
TaxesIncluded Bool Indicates whether line item and shipping prices already include taxes.
UpdatedAt Datetime The date and time when the abandoned checkout was last updated.
CreatedAt Datetime The date and time when the abandoned checkout was created.
CompletedAt Datetime The date and time when the buyer successfully completed the checkout. Returns null if the checkout remains incomplete.
BillingAddressCoordinatesValidated Bool Indicates whether the billing address corresponds to recognized latitude and longitude values.
BillingAddressId String The globally unique identifier of the billing address associated with this checkout.
BillingAddressValidationResultSummary String The result of address validation for the billing address, as reported in the Shopify Admin.
BillingAddressFirstName String The first name of the customer listed on the billing address.
BillingAddressLastName String The last name of the customer listed on the billing address.
BillingAddressName String The full name of the customer on the billing address, based on first and last name.
BillingAddressAddress1 String The first line of the billing address, usually a street address or PO Box.
BillingAddressAddress2 String The second line of the billing address, usually an apartment, suite, or unit number.
BillingAddressCity String The city, town, district, or village of the billing address.
BillingAddressCompany String The company or organization name provided in the billing address.
BillingAddressCountry String The full country name of the billing address.
BillingAddressCountryCode String The two-letter country code of the billing address, such as US.
BillingAddressFormattedArea String A comma-separated list combining the city, province, and country for the billing address.
BillingAddressLatitude Double The latitude coordinate of the billing address.
BillingAddressLongitude Double The longitude coordinate of the billing address.
BillingAddressPhone String The phone number listed with the billing address.
BillingAddressProvince String The province, state, or district of the billing address.
BillingAddressProvinceCode String The region code for the billing address, such as 'ON', for Ontario.
BillingAddressZip String The postal or ZIP code of the billing address.
BillingAddressTimeZone String The time zone associated with the billing address.
ShippingAddressCoordinatesValidated Bool Indicates whether the shipping address corresponds to recognized latitude and longitude values.
ShippingAddressId String The globally unique identifier of the shipping address associated with this checkout.
ShippingAddressValidationResultSummary String The result of address validation for the shipping address, as reported in the Shopify Admin.
ShippingAddressFirstName String The first name of the customer listed on the shipping address.
ShippingAddressLastName String The last name of the customer listed on the shipping address.
ShippingAddressName String The full name of the customer on the shipping address, based on first and last name.
ShippingAddressAddress1 String The first line of the shipping address, usually a street address or PO Box.
ShippingAddressAddress2 String The second line of the shipping address, usually an apartment, suite, or unit number.
ShippingAddressCity String The city, town, district, or village of the shipping address.
ShippingAddressCompany String The company or organization name provided in the shipping address.
ShippingAddressCountry String The full country name of the shipping address.
ShippingAddressCountryCode String The two-letter country code of the shipping address, such as US.
ShippingAddressFormattedArea String A comma-separated list combining the city, province, and country for the shipping address.
ShippingAddressLatitude Double The latitude coordinate of the shipping address.
ShippingAddressLongitude Double The longitude coordinate of the shipping address.
ShippingAddressPhone String The phone number listed with the shipping address.
ShippingAddressProvince String The province, state, or district of the shipping address.
ShippingAddressProvinceCode String The region code for the shipping address, such as 'ON' for Ontario.
ShippingAddressZip String The postal or ZIP code of the shipping address.
ShippingAddressTimeZone String The time zone associated with the shipping address.
SubtotalPriceSetPresentmentMoneyAmount Decimal The subtotal price of all line items before discounts, expressed as a decimal money amount in the presentment currency.
SubtotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the subtotal price of the line items before discounts.
SubtotalPriceSetShopMoneyAmount Decimal The subtotal price of all line items before discounts, expressed as a decimal money amount in the shop's base currency.
SubtotalPriceSetShopMoneyCurrencyCode String The shop currency code for the subtotal price of the line items before discounts.
TotalDiscountSetPresentmentMoneyAmount Decimal The total value of all discounts applied, expressed as a decimal money amount in the presentment currency.
TotalDiscountSetPresentmentMoneyCurrencyCode String The presentment currency code for the total discount value.
TotalDiscountSetShopMoneyAmount Decimal The total value of all discounts applied, expressed as a decimal money amount in the shop's base currency.
TotalDiscountSetShopMoneyCurrencyCode String The shop currency code for the total discount value.
TotalDutiesSetPresentmentMoneyAmount Decimal The total duties charged for this checkout, expressed as a decimal money amount in the presentment currency.
TotalDutiesSetPresentmentMoneyCurrencyCode String The presentment currency code for the duties total.
TotalDutiesSetShopMoneyAmount Decimal The total duties charged for this checkout, expressed as a decimal money amount in the shop's base currency.
TotalDutiesSetShopMoneyCurrencyCode String The shop currency code for the duties total.
TotalLineItemsPriceSetPresentmentMoneyAmount Decimal The combined price of all line items before taxes and duties, expressed as a decimal money amount in the presentment currency.
TotalLineItemsPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the combined line item price before taxes and duties.
TotalLineItemsPriceSetShopMoneyAmount Decimal The combined price of all line items before taxes and duties, expressed as a decimal money amount in the shop's base currency.
TotalLineItemsPriceSetShopMoneyCurrencyCode String The shop currency code for the combined line item price before taxes and duties.
TotalPriceSetPresentmentMoneyAmount Decimal The final checkout total including line items, shipping, taxes, and duties, expressed as a decimal money amount in the presentment currency.
TotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the final checkout total.
TotalPriceSetShopMoneyAmount Decimal The final checkout total including line items, shipping, taxes, and duties, expressed as a decimal money amount in the shop's base currency.
TotalPriceSetShopMoneyCurrencyCode String The shop currency code for the final checkout total.
TotalTaxSetPresentmentMoneyAmount Decimal The total taxes applied to the checkout, expressed as a decimal money amount in the presentment currency.
TotalTaxSetPresentmentMoneyCurrencyCode String The presentment currency code for the total taxes applied.
TotalTaxSetShopMoneyAmount Decimal The total taxes applied to the checkout, expressed as a decimal money amount in the shop's base currency.
TotalTaxSetShopMoneyCurrencyCode String The shop currency code for the total taxes applied.
Status String The current status of the abandoned checkout, such as open or completed.

The allowed values are open, closed.

EmailState String The status of recovery emails sent for this abandoned checkout.

The allowed values are sent, not_sent, scheduled, suppressed.

RecoveryState String The current recovery state of the abandoned checkout, such as recovered or unrecovered.

The allowed values are open, closed.

CData Python Connector for Shopify

AbandonedCheckoutTaxLines

Shows the tax lines calculated for an abandoned checkout by jurisdiction and rate.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AbandonedCheckoutTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name or label of the applied tax, such as Sales Tax or value-added tax (VAT).
ResourceId [KEY] String

AbandonedCheckouts.Id

The globally unique identifier of the abandoned checkout that this tax line belongs to.
Source String The system or integration that applied the tax, such as Shopify or a third-party app.
Rate Double The tax rate expressed as a decimal fraction of the line item price.
ChannelLiable Bool Indicates whether the sales channel that submitted the checkout is responsible for remitting this tax. Returns null if liability is unknown.
RatePercentage Double The tax rate expressed as a percentage of the line item price.
PriceSetPresentmentMoneyAmount Decimal The tax amount applied, expressed as a decimal money value in the presentment currency.
PriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the tax amount.
PriceSetShopMoneyAmount Decimal The tax amount applied, expressed as a decimal money value in the shop's base currency.
PriceSetShopMoneyCurrencyCode String The shop currency code for the tax amount.

CData Python Connector for Shopify

Abandonment

Summarizes visit-level abandonment metrics and context for unfinished checkouts.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • AbandonedCheckoutPayloadId supports the '=, IN' comparison operators.

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

  SELECT * FROM Abandonment WHERE Id = 'Val1'
  SELECT * FROM Abandonment WHERE AbandonedCheckoutPayloadId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the abandonment event.
AppId String The globally unique identifier of the app that recorded or triggered this abandonment.
CustomerId String The globally unique identifier of the customer associated with this abandonment.
AbandonmentType String The type of abandonment event, such as browse, cart, or checkout.
EmailState String The current status of abandonment recovery emails, such as sent or not sent.
InventoryAvailable Bool Indicates whether the products linked to the abandonment are still in stock.
EmailSentAt Datetime The date and time when the abandonment recovery email was sent, if applicable.
MostRecentStep String The most recent customer action or step type recorded before the abandonment.
VisitStartedAt Datetime The date and time when the customer's visit that led to abandonment began.
IsFromOnlineStore Bool Indicates whether the abandonment originated from the Online Store sales channel.
IsFromShopApp Bool Indicates whether the abandonment originated from the Shop app sales channel.
IsFromShopPay Bool Indicates whether the abandonment originated from the Shop Pay channel.
IsMostSignificantAbandonment Bool Indicates whether this abandonment is the customer's most significant one, meaning no more critical step has been abandoned since.
LastBrowseAbandonmentDate Datetime The date and time of the customer's most recent browse abandonment.
LastCartAbandonmentDate Datetime The date and time of the customer's most recent cart abandonment.
LastCheckoutAbandonmentDate Datetime The date and time of the customer's most recent checkout abandonment.
DaysSinceLastAbandonmentEmail Int The number of days since the customer last received an abandonment recovery email.
HoursSinceLastAbandonedCheckout Double The number of hours since the customer last abandoned a checkout.
CustomerHasNoOrderSinceAbandonment Bool Indicates whether the customer has placed an order since this checkout was abandoned.
CreatedAt Datetime The date and time when the abandonment record was created.
IsFromCustomStorefront Bool Indicates whether the abandonment originated from a custom storefront sales channel.
AbandonedCheckoutPayloadId String The globally unique identifier of the abandoned checkout payload linked to this abandonment.
AbandonedCheckoutPayloadDefaultCursor String A default cursor that returns the next abandoned-checkout payload record in ascending order by Id.
AbandonedCheckoutPayloadAbandonedCheckoutUrl String The recovery URL the buyer can use to return to their abandoned checkout.

CData Python Connector for Shopify

AbandonmentProductsAddedToCart

Lists products customers added to cart during sessions that ended in abandonment.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • AbandonmentId supports the '=, IN' comparison operators.
  • AbandonedCheckoutPayloadId supports the '=, IN' comparison operators.

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

  SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonmentId = 'Val1'
  SELECT * FROM AbandonmentProductsAddedToCart WHERE AbandonedCheckoutPayloadId = 'Val1'

Columns

Name Type References Description
AbandonmentId String The globally unique identifier of the abandonment event this cart addition is associated with.
AbandonedCheckoutPayloadId [KEY] String The globally unique identifier of the abandoned checkout payload connected to this cart addition.
ProductId [KEY] String The globally unique identifier of the product that was added to the cart.
VariantId [KEY] String The globally unique identifier of the specific product variant added to the cart.
Quantity Int The number of units of the product variant that the customer added to the cart.

CData Python Connector for Shopify

AbandonmentProductsViewed

Returns products viewed during sessions that later resulted in an abandoned checkout.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • AbandonmentId supports the '=, IN' comparison operators.
  • AbandonedCheckoutPayloadId supports the '=, IN' comparison operators.

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

  SELECT * FROM AbandonmentProductsViewed WHERE AbandonmentId = 'Val1'
  SELECT * FROM AbandonmentProductsViewed WHERE AbandonedCheckoutPayloadId = 'Val1'

Columns

Name Type References Description
AbandonmentId String

Abandonment.Id

The globally unique identifier of the abandonment event in which the product was viewed.
AbandonedCheckoutPayloadId [KEY] String The globally unique identifier of the abandoned checkout payload linked to this product view.
ProductId [KEY] String The globally unique identifier of the product that the customer viewed.
VariantId [KEY] String The globally unique identifier of the specific product variant that the customer viewed.
Quantity Int The number of product units displayed to the customer during the view event, typically representing the default or available quantity rather than a requested amount.

CData Python Connector for Shopify

AppCredits

Lists credits that merchants can apply toward future app charges.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppInstallationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppCredits WHERE AppInstallationId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the app credit record.
AppInstallationId String The globally unique identifier of the app installation that issued the credit.
Description String A merchant-facing description explaining the reason or purpose of the app credit.
Test Bool Indicates whether the app credit is a test transaction rather than a live credit.
CreatedAt Datetime The date and time when the app credit was issued.
Amount Decimal The value of the app credit, expressed as a decimal money amount.
AmountCurrencyCode String The currency code for the app credit amount.

CData Python Connector for Shopify

AppPurchases

Returns a list of one-time purchases made by the current app installation.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • AppInstallationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppPurchases WHERE AppInstallationId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
AppInstallationId String A globally-unique ID.
Name String The name of the app purchase.
Status String The status of the app purchase.
Test Bool Whether the app purchase is a test transaction.
CreatedAt Datetime The date and time when the app purchase occurred.
PriceAmount Decimal Decimal money amount charged to the store for the app purchase.
PriceCurrencyCode String Currency of the app purchase price.

CData Python Connector for Shopify

ArticleCommentEvents

Retrieves events tied to article comments, such as creation, approval, or deletion.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ArticleCommentEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the comment event.
HostId String

ArticleComments.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the comment event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the comment event was created.
CriticalAlert Bool Indicates whether the comment event is flagged as critical.
Action String The type of action recorded for this comment event.
Message String Human-readable text describing the comment event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as an order or product.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

ArticleEvents

Returns event history for articles, including publication, updates, and deletions.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ArticleEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the article event.
HostId String

Articles.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as an order or product.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

AssignedFulfillmentOrders

Retrieves fulfillment orders assigned to app-managed locations (requires read_assigned_fulfillment_orders). CLOSED orders are excluded by default.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • AssignedLocationLocationId supports the '=, IN' comparison operators.
  • AssignmentStatus supports the '=' comparison operator.

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

  SELECT * FROM AssignedFulfillmentOrders WHERE AssignedLocationLocationId = 'Val1'
  SELECT * FROM AssignedFulfillmentOrders WHERE AssignmentStatus = 'CANCELLATION_REQUESTED'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the assigned fulfillment order.
ShopId String

Shop.Id

The globally unique identifier of the shop associated with this fulfillment order.
OrderId String The globally unique identifier of the order linked to this fulfillment order.
Status String The current status of the fulfillment order, such as open, scheduled, or closed.
FulfillAt Datetime The date and time when the fulfillment order becomes fulfillable. Once this time is reached, scheduled orders automatically transition to open. For example, a subscription order might have a fulfill_at date set to the first of each month, while a pre-order might return null.
FulfillBy Datetime The deadline by which all items in the fulfillment order must be fulfilled.
RequestStatus String The current request status of the fulfillment order, such as accepted, pending, or failed.
CreatedAt Datetime The date and time when the fulfillment order was created.
UpdatedAt Datetime The date and time when the fulfillment order was last updated.
AssignedLocationName String The display name of the location assigned to fulfill this order.
AssignedLocationAddress1 String The first line of the assigned location's address.
AssignedLocationAddress2 String The second line of the assigned location's address, such as an apartment or suite number.
AssignedLocationCity String The city where the assigned location is based.
AssignedLocationPhone String The phone number of the assigned location.
AssignedLocationProvince String The province or state where the assigned location is based.
AssignedLocationZip String The postal or ZIP code of the assigned location.
AssignedLocationCountryCode String The two-letter country code for the assigned location.
AssignedLocationLocationId String The globally unique identifier of the assigned location.
AssignedLocationLocationLegacyResourceId String The legacy identifier for the assigned location in the REST Admin API.
AssignedLocationLocationName String The name of the assigned location resource.
AssignedLocationLocationActivatable Bool Indicates whether the location can be reactivated.
AssignedLocationLocationDeactivatable Bool Indicates whether the location can be deactivated.
AssignedLocationLocationDeletable Bool Indicates whether the location can be deleted.
AssignedLocationLocationAddressVerified Bool Indicates whether the address of the assigned location has been verified.
AssignedLocationLocationDeactivatedAt String The date and time when the assigned location was deactivated, in UTC. For example: '2019-09-07T15:50:00Z'.
AssignedLocationLocationIsActive Bool Indicates whether the assigned location is currently active.
AssignedLocationLocationShipsInventory Bool Indicates whether the location contributes to shipping rate calculations. This flag is ignored in multi-origin shipping mode.
AssignedLocationLocationFulfillsOnlineOrders Bool Indicates whether the assigned location can fulfill online orders.
AssignedLocationLocationHasActiveInventory Bool Indicates whether the assigned location has active inventory available.
AssignedLocationLocationHasUnfulfilledOrders Bool Indicates whether the assigned location currently has unfulfilled orders.
DeliveryMethodId String The globally unique identifier of the delivery method chosen for this order.
DeliveryMethodPresentedName String The name of the delivery option presented to the buyer at checkout.
DeliveryMethodMethodType String The type of delivery method used, such as standard or express.
DeliveryMethodMaxDeliveryDateTime Datetime The latest estimated date and time for delivery to the buyer's location.
DeliveryMethodMinDeliveryDateTime Datetime The earliest estimated date and time for delivery to the buyer's location.
DeliveryMethodServiceCode String The service code that identifies the shipping method.
DeliveryMethodSourceReference String Provider-specific reference data associated with the delivery promise.
DeliveryMethodBrandedPromiseName String The branded delivery promise name, such as 'Shop Promise'.
DeliveryMethodBrandedPromiseHandle String The branded delivery promise handle, such as 'shop_promise'.
DeliveryMethodAdditionalInformationPhone String A contact phone number for coordinating delivery.
DeliveryMethodAdditionalInformationInstructions String Special delivery instructions provided for the order.
DestinationId String The globally unique identifier of the destination record.
DestinationFirstName String The first name of the customer at the destination address.
DestinationLastName String The last name of the customer at the destination address.
DestinationAddress1 String The first line of the customer's destination address.
DestinationAddress2 String The second line of the customer's destination address, such as an apartment or suite number.
DestinationCity String The city of the customer's destination address.
DestinationCompany String The company name listed in the customer's destination address, if applicable.
DestinationEmail String The email address of the customer at the destination.
DestinationPhone String The phone number of the customer at the destination.
DestinationProvince String The province or state of the customer's destination address.
DestinationZip String The postal or ZIP code of the customer's destination address.
DestinationCountryCode String The two-letter country code of the customer's destination address.
DestinationLocationId String The globally unique identifier of the customer's destination location.
InternationalDutiesIncoterm String The incoterm that specifies how international duties are paid includes example values such as Delivered Duty Paid (DDP) and Delivered at Place (DAP).
AssignmentStatus String The assignment status of the fulfillment orders to return. If no assignmentStatus argument is provided, all assigned fulfillment orders are returned except those with CLOSED status.

The allowed values are CANCELLATION_REQUESTED, FULFILLMENT_ACCEPTED, FULFILLMENT_REQUESTED, FULFILLMENT_UNSUBMITTED.

CData Python Connector for Shopify

BlogEvents

Retrieves activity events related to blogs, such as creation or deletion.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM BlogEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the blog event.
HostId String

Blogs.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this blog event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as a blog or article.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

BusinessEntities

Lists business entities associated with the shop for organizational context.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM BusinessEntities WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the business entity.
CompanyName String The legal company name associated with the merchant's business entity.
DisplayName String The public-facing display name of the merchant's business entity.
Primary Bool Indicates whether this is the merchant's primary business entity.
Address1 String The first line of the business entity's address, typically a street address or PO Box.
Address2 String The second line of the business entity's address, typically an apartment, suite, or unit number.
AddressCountryCode String The two-letter country code of the business entity's address.
AddressProvince String The province, state, or district of the business entity's address.
AddressCity String The city, town, district, or village of the business entity's address.
AddressZip String The postal or ZIP code of the business entity's address.
ShopifyPaymentsAccountId String The globally unique identifier of the Shopify Payments account associated with the business entity.

CData Python Connector for Shopify

CollectionRules

Returns a list of collection rules.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CollectionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CollectionRules WHERE CollectionId = 'Val1'

Columns

Name Type References Description
CollectionId String

Collections.Id

A globally-unique ID.
Column String The attribute that the rule focuses on.

The allowed values are IS_PRICE_REDUCED, PRODUCT_CATEGORY_ID, PRODUCT_CATEGORY_ID_WITH_DESCENDANTS, PRODUCT_METAFIELD_DEFINITION, PRODUCT_TAXONOMY_NODE_ID, TAG, TITLE, TYPE, VARIANT_COMPARE_AT_PRICE, VARIANT_INVENTORY, VARIANT_METAFIELD_DEFINITION, VARIANT_PRICE, VARIANT_TITLE, VARIANT_WEIGHT, VENDOR.

Relation String The type of operator that the rule is based on.

The allowed values are CONTAINS, ENDS_WITH, EQUALS, GREATER_THAN, IS_NOT_SET, IS_SET, LESS_THAN, NOT_CONTAINS, NOT_EQUALS, STARTS_WITH.

Condition String The value that the operator is applied to.
ConditionObjectText String The text used as a rule for the condition.
ConditionObjectTaxonomyCategoryId String The taxonomy category used as a rule for the condition.
ConditionObjectProductTaxonomyId String The product category used as a rule for the condition.
ConditionObjectMetafieldDefinitionId String The metafield definition used as a rule for the condition.

CData Python Connector for Shopify

CompanyContactRoles

Lists available roles that can be assigned to company contacts.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CompanyId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CompanyContactRoles WHERE CompanyId = 'Val1'

Columns

Name Type References Description
CompanyId String The globally unique identifier of the company that the role belongs to.
Id [KEY] String The globally unique identifier of the company contact role.
Name String The name of the role, such as 'admin' or 'buyer'.
Note String A note associated with the role.

CData Python Connector for Shopify

CompanyEvents

Retrieves event history associated with company records.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CompanyEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the company event.
HostId String

Companies.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as a company or contact.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

CustomerEvents

Retrieves event history for customer records (creation, updates, tags).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM CustomerEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the customer event.
HostId String

Customers.Id

The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this customer event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as a customer or order.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

CustomerSegmentMembers

Lists members (for example, customers) associated with a specific customer segment.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • SegmentId supports the '=' comparison operator.
  • QueryId supports the '=' comparison operator.

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

  SELECT * FROM CustomerSegmentMembers WHERE SegmentId = 'Val1'
  SELECT * FROM CustomerSegmentMembers WHERE QueryId = 'Val1'

Columns

Name Type References Description
SegmentId [KEY] String

Segments.Id

The identifier of the segment that this member belongs to.
Id [KEY] String The globally unique identifier of the segment member.
DisplayName String The display name of the member, derived from first and last name. If unavailable, falls back to the customer's email address, or if not available, the phone number.
FirstName String The first name of the segment member.
LastName String The last name of the segment member.
Note String A merchant-facing note about the segment member.
LastOrderId String The identifier of the member's most recent order.
NumberOfOrders String The total number of orders placed by the member.
AmountSpentAmount Decimal The total amount spent by the member, expressed as a decimal money value.
AmountSpentCurrencyCode String The currency code for the member's total spent amount.
DefaultAddressId String The globally unique identifier of the member's default address.
DefaultAddressCountry String The country of the member's default address.
DefaultAddressProvince String The province, state, or district of the member's default address.
DefaultAddressCity String The city, town, district, or village of the member's default address.
DefaultAddressFormattedArea String A comma-separated string combining the city, province, and country of the default address.
DefaultAddressCompany String The company or organization name listed on the member's default address.
DefaultAddressAddress1 String The first line of the member's default address, typically a street address or PO Box.
DefaultAddressAddress2 String The second line of the member's default address, typically an apartment, suite, or unit number.
DefaultAddressName String The full name associated with the member's default address, based on first and last name.
DefaultAddressFirstName String The first name on the member's default address.
DefaultAddressLastName String The last name on the member's default address.
DefaultAddressLatitude Double The latitude coordinate of the member's default address.
DefaultAddressLongitude Double The longitude coordinate of the member's default address.
DefaultAddressCoordinatesValidated Bool Indicates whether the coordinates of the default address are valid.
DefaultAddressValidationResultSummary String The validation status of the default address, as determined by the Shopify Admin address validation feature.
DefaultAddressPhone String The phone number associated with the default address, formatted using the E.164 standard (for example, +16135551111).
DefaultAddressZip String The postal or ZIP code of the member's default address.
DefaultAddressProvinceCode String The alphanumeric code for the province, state, or district of the default address, such as ON.
DefaultAddressCountryCode String The two-letter country code of the default address, such as US.
DefaultAddressTimeZone String The time zone of the member's default address.
DefaultEmailAddressEmailAddress String The default email address of the member.
DefaultEmailAddressMarketingState String The current email marketing subscription state of the member.
DefaultEmailAddressMarketingUnsubscribeUrl String The URL where the member can unsubscribe from all mailing lists.
DefaultEmailAddressOpenTrackingLevel String The member's opt-in level for tracking whether their emails are opened.
DefaultEmailAddressOpenTrackingUrl String The URL the member can use to opt in or out of email open tracking.
DefaultPhoneNumberMarketingState String The current SMS marketing subscription state of the member.
DefaultPhoneNumberPhoneNumber String The phone number of the member.
MergeableReason String The reason why the member cannot be merged with another customer record.
MergeableErrorFields String The list of fields preventing the member from being merged.
MergeableIsMergeable Bool Indicates whether the member can be merged with another customer record.
MergeableMergeInProgressJobId String The identifier of the merge job currently in progress.
MergeableMergeInProgressResultingCustomerId String The identifier of the resulting customer record after a merge.
MergeableMergeInProgressStatus String The current status of the member merge request.
QueryId String The ID of the query.

CData Python Connector for Shopify

CustomerSegmentMembersQueries

Returns the status of a customer segment members query.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM CustomerSegmentMembersQueries WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The ID of the CustomerSegmentMembersQuery to return.
Done Bool Whether the query has finished processing.
CurrentCount Int The current count of segment members matching the query.

CData Python Connector for Shopify

CustomerStoreCreditAccounts

Lists customers' store credit accounts with balances and status.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • CustomerId supports the '=, IN' comparison operators.

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

  SELECT * FROM CustomerStoreCreditAccounts WHERE Id = 'Val1'
  SELECT * FROM CustomerStoreCreditAccounts WHERE CustomerId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the customer store credit account.
CustomerId String The globally unique identifier of the customer associated with this store credit account.
BalanceAmount Decimal The current balance of the store credit account, expressed as a decimal money value.
BalanceCurrencyCode String The currency code of the store credit account balance.

CData Python Connector for Shopify

DeliveryProfileLocationGroupCountries

Lists countries already selected in any zone for the specified location group.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM DeliveryProfileLocationGroupCountries

Columns

Name Type References Description
CountryId [KEY] String The globally unique identifier of the country associated with the delivery profile location group.
LocationGroupId [KEY] String The globally unique identifier of the location group within the delivery profile.
DeliveryProfileId String The globally unique identifier of the delivery profile that this country belongs to.
Zone String The name of the shipping zone that includes this country.
CountryName String The full name of the country included in the delivery profile's location group (for example, 'Canada' or 'United States').
CountryTranslatedName String The translated name of the country, based on the system's locale.
CountryCodeCountryCode String The two-letter country code in ISO 3166-1 alpha-2 format.
CountryCodeRestOfWorld Bool Indicates whether the country is included in the 'Rest of World' shipping zone.

CData Python Connector for Shopify

DeliveryProfileLocationGroupCountryProvinces

Lists regions/provinces associated with the specified country in a location group.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM DeliveryProfileLocationGroupCountryProvinces

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the province record within the delivery profile location group.
CountryId String The globally unique identifier of the country associated with this province.
Code String The standardized code of the province, state, or region.
Name String The full name of the province, state, or region.
TranslatedName String The translated name of the province, state, or region, based on the system's locale.

CData Python Connector for Shopify

DeliveryProfileLocationGroups

Lists location groups configured under a delivery profile.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM DeliveryProfileLocationGroups

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the delivery profile location group.
DeliveryProfileId String The globally unique identifier of the delivery profile associated with this location group.
LocationsCount Int The number of locations included in this location group.
LocationsCountPrecision String The level of precision applied to the location count value.

CData Python Connector for Shopify

DeliveryProfileLocationGroupZones

Lists shipping zones associated with the specified location group.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • DeliveryProfileId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DeliveryProfileLocationGroupZones WHERE DeliveryProfileId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the delivery profile location group zone.
LocationGroupId [KEY] String The globally unique identifier of the location group associated with this zone.
DeliveryProfileId String

DeliveryProfiles.Id

The globally unique identifier of the delivery profile associated with this zone.
Name String The display name of the zone.
MethodDefinitionCountsParticipantDefinitionsCount Int The number of participant method definitions configured for this zone.
MethodDefinitionCountsRateDefinitionsCount Int The number of merchant-defined rate method definitions configured for this zone.

CData Python Connector for Shopify

DeliveryProfileUnassignedLocations

Lists locations not yet assigned to any location group for this profile.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • DeliveryProfileId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DeliveryProfileUnassignedLocations WHERE DeliveryProfileId = 'Val1'

Columns

Name Type References Description
DeliveryProfileId [KEY] String

DeliveryProfiles.Id

The globally unique identifier of the delivery profile that does not include this location.
LocationId [KEY] String

Locations.Id

The globally unique identifier of the unassigned location.

CData Python Connector for Shopify

DiscountAppCodes

Returns a list of discount redeem codes.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • DiscountId supports the '=, IN' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountAppCodes WHERE Id = 'Val1'
  SELECT * FROM DiscountAppCodes WHERE DiscountId = 'Val1'
  SELECT * FROM DiscountAppCodes WHERE AsyncUsageCount = 123

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
Code String The code that a customer can use at checkout.
DiscountId String A globally-unique ID of the discount.
AsyncUsageCount Int The number of times that the discount code has been used.
CreatedById String The application that created the discount redeem code.

CData Python Connector for Shopify

DiscountBasicCodes

Returns a list of discount redeem codes.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • DiscountId supports the '=, IN' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountBasicCodes WHERE Id = 'Val1'
  SELECT * FROM DiscountBasicCodes WHERE DiscountId = 'Val1'
  SELECT * FROM DiscountBasicCodes WHERE AsyncUsageCount = 123

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
Code String The code that a customer can use at checkout.
DiscountId String A globally-unique ID of the discount.
AsyncUsageCount Int The number of times that the discount code has been used.
CreatedById String The application that created the discount redeem code.

CData Python Connector for Shopify

DiscountBxgyCodes

Returns a list of discount redeem codes.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • DiscountId supports the '=, IN' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountBxgyCodes WHERE Id = 'Val1'
  SELECT * FROM DiscountBxgyCodes WHERE DiscountId = 'Val1'
  SELECT * FROM DiscountBxgyCodes WHERE AsyncUsageCount = 123

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
Code String The code that a customer can use at checkout.
DiscountId String A globally-unique ID of the discount.
AsyncUsageCount Int The number of times that the discount code has been used.
CreatedById String The application that created the discount redeem code.

CData Python Connector for Shopify

DiscountEvents

Retrieves event history for discounts, including publishing and edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DiscountEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the discount event.
HostId String The globally unique identifier of the app or service that hosted the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The type of action recorded for this discount event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event, such as a discount or price rule.
BasicEventHasAdditionalContent Bool Indicates whether this event contains additional content.
BasicEventAdditionalContent String Additional content included for collapsible timeline events.
BasicEventAdditionalData String Supplementary event data available for consumers.
BasicEventSecondaryMessage String Secondary human-readable text that supports the main event message.
BasicEventArguments String Arguments or metadata linking the event to its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited after creation.
CommentEventRawMessage String The raw, unformatted body of the comment event.
CommentEventSubjectId String The identifier of the parent resource to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes an associated comment.
CommentEventEmbedCustomerId String The identifier of the customer resource embedded in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order resource embedded in the comment event.
CommentEventEmbedOrderId String The identifier of the order resource embedded in the comment event.
CommentEventEmbedProductId String The identifier of the product resource embedded in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant resource embedded in the comment event.

CData Python Connector for Shopify

DiscountFreeShippingCodes

Returns a list of discount redeem codes.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • DiscountId supports the '=, IN' comparison operators.
  • AsyncUsageCount supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM DiscountFreeShippingCodes WHERE Id = 'Val1'
  SELECT * FROM DiscountFreeShippingCodes WHERE DiscountId = 'Val1'
  SELECT * FROM DiscountFreeShippingCodes WHERE AsyncUsageCount = 123

Columns

Name Type References Description
Id [KEY] String A globally-unique ID.
Code String The code that a customer can use at checkout.
DiscountId String A globally-unique ID of the discount.
AsyncUsageCount Int The number of times that the discount code has been used.
CreatedById String The application that created the discount redeem code.

CData Python Connector for Shopify

DiscountRedeemCodeBulkCreations

An entity that represents the status and counts of an asynchronous bulk code creation associated with a code discount.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operator. The connector processes other filters client-side within the connector.

  • Id supports the '=' comparison operator.

For example, the following query is processed server-side:

  SELECT * FROM DiscountRedeemCodeBulkCreations WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The ID of the DiscountRedeemCodeBulkCreation to return.
Done Bool Whether the bulk creation is still queued or has run.
CodesCount Int The number of codes to create.
ImportedCount Int The number of codes created successfully.
FailedCount Int The number of codes that weren't created successfully.

CData Python Connector for Shopify

Disputes

Lists chargeback and dispute cases related to the shop.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • InitiatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM Disputes WHERE Id = 'Val1'
  SELECT * FROM Disputes WHERE Status = 'Val1'
  SELECT * FROM Disputes WHERE InitiatedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the dispute.
LegacyResourceId String The identifier of the corresponding resource in the REST Admin API.
EvidenceDueBy Date The deadline by which evidence must be submitted for the dispute.
EvidenceSentOn Date The date when evidence was submitted. Returns null if no evidence has been sent.
Status String The current status of the dispute, such as open, under review, or closed.
Type String Indicates whether the dispute is still in the inquiry stage or has escalated to a chargeback.
FinalizedOn Date The date when the dispute was resolved. Returns null if the dispute has not been finalized.
InitiatedAt Datetime The date and time when the dispute was initiated.
Amount Decimal The disputed amount, expressed as a decimal money value.
AmountCurrencyCode String The currency code of the disputed amount.
OrderId String The globally unique identifier of the order associated with the dispute.
ReasonDetailsReason String The reason for the dispute as provided by the cardholder's bank.
ReasonDetailsNetworkReasonCode String The raw reason code returned by the payment network.

CData Python Connector for Shopify

DraftOrderCustomAttributes

Lists custom attributes attached to draft orders for internal or personalization data.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

DraftOrders.Id

The globally unique identifier of the draft order associated with the custom attribute.
Key [KEY] String The key or name that identifies the custom attribute.
Value String The value assigned to the custom attribute.

CData Python Connector for Shopify

DraftOrderEvents

Retrieves event history for draft orders, such as creation or completion.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the draft order event.
HostId String

DraftOrders.Id

The globally unique identifier of the host system that logged the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is marked as critical.
Action String The specific action that occurred in the event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event includes additional content.
BasicEventAdditionalContent String Supplementary content for collapsible timeline events.
BasicEventAdditionalData String Additional structured data provided for event consumers.
BasicEventSecondaryMessage String Supporting human-readable text that complements the main event message.
BasicEventArguments String Arguments or references tied to the event and its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The unformatted body text of the comment event.
CommentEventSubjectId String The identifier of the parent subject associated with the comment event.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes a timeline comment.
CommentEventEmbedCustomerId String The identifier of the customer object referenced in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order object referenced in the comment event.
CommentEventEmbedOrderId String The identifier of the order object referenced in the comment event.
CommentEventEmbedProductId String The identifier of the product object referenced in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant object referenced in the comment event.

CData Python Connector for Shopify

DraftOrderLineItemCustomAttributes

Lists custom attributes attached to draft order line items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderLineItemCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

DraftOrderLineItems.Id

The globally unique identifier of the draft order line item associated with the custom attribute.
Key [KEY] String The key or name that identifies the custom attribute.
Value String The value assigned to the custom attribute.

CData Python Connector for Shopify

DraftOrderLineItems

Lists the line items included in a draft order with quantities and prices.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • DraftOrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderLineItems WHERE DraftOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the draft order line item.
DraftOrderId String

DraftOrders.Id

The globally unique identifier of the draft order that contains this line item.
Name String The display name of the product in the line item.
Title String The title of the product or variant. Applies only to custom line items.
VariantTitle String The title of the product variant included in the draft order.
Custom Bool Indicates whether the line item is a custom line item (true) or a product variant line item (false).
Quantity Int The number of product variants requested in the draft order.
Sku String The stock keeping unit (SKU) of the product variant.
Taxable Bool Indicates whether the product variant is taxable.
Vendor String The vendor associated with the product variant.
RequiresShipping Bool Indicates whether the product variant requires physical shipping.
IsGiftCard Bool Indicates whether the line item represents a gift card.
AppliedDiscountTitle String The title of the order-level discount applied to this line item.
AppliedDiscountDescription String The description of the order-level discount applied to this line item.
AppliedDiscountValue Double The value of the order-level discount. If the value type is 'percentage', this field represents the discount percentage.
AppliedDiscountValueType String The type of discount applied at the order level, such as percentage or fixed amount.
AppliedDiscountAmountV2Amount Decimal The discount amount applied to the line item, expressed as a decimal money value.
AppliedDiscountAmountV2CurrencyCode String The currency code of the discount amount applied to the line item.
DiscountedTotalSetPresentmentMoneyAmount Decimal The total price of the line item after discounts, in the presentment currency, expressed as a decimal money value.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code of the discounted total in the presentment currency.
DiscountedTotalSetShopMoneyAmount Decimal The total price of the line item after discounts, in the shop currency, expressed as a decimal money value.
DiscountedTotalSetShopMoneyCurrencyCode String The currency code of the discounted total in the shop currency.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The per-unit price of the line item after discounts, in the presentment currency, expressed as a decimal money value.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The currency code of the discounted per-unit price in the presentment currency.
DiscountedUnitPriceSetShopMoneyAmount Decimal The per-unit price of the line item after discounts, in the shop currency, expressed as a decimal money value.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The currency code of the discounted per-unit price in the shop currency.
FulfillmentServiceId String The identifier of the fulfillment service responsible for fulfilling the line item.
ImageId String The unique identifier of the product image associated with the line item.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text describing the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL of the product image.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total price of the line item before discounts, in the presentment currency, expressed as a decimal money value.
OriginalTotalSetPresentmentMoneyCurrencyCode String The currency code of the original total in the presentment currency.
OriginalTotalSetShopMoneyAmount Decimal The original total price of the line item before discounts, in the shop currency, expressed as a decimal money value.
OriginalTotalSetShopMoneyCurrencyCode String The currency code of the original total in the shop currency.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original per-unit price of the line item before discounts, in the presentment currency, expressed as a decimal money value.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The currency code of the original per-unit price in the presentment currency.
OriginalUnitPriceSetShopMoneyAmount Decimal The original per-unit price of the line item before discounts, in the shop currency, expressed as a decimal money value.
OriginalUnitPriceSetShopMoneyCurrencyCode String The currency code of the original per-unit price in the shop currency.
ProductId String The globally unique identifier of the product associated with the line item.
TotalDiscountSetPresentmentMoneyAmount Decimal The total discount applied to the line item, in the presentment currency, expressed as a decimal money value.
TotalDiscountSetPresentmentMoneyCurrencyCode String The currency code of the total discount in the presentment currency.
TotalDiscountSetShopMoneyAmount Decimal The total discount applied to the line item, in the shop currency, expressed as a decimal money value.
TotalDiscountSetShopMoneyCurrencyCode String The currency code of the total discount in the shop currency.
VariantId String The globally unique identifier of the product variant included in the line item.
WeightValue Double The numerical weight of the line item based on the unit system specified in WeightUnit.
WeightUnit String The unit of measurement used for the weight value, such as grams or kilograms.

CData Python Connector for Shopify

DraftOrderLineItemTaxLines

Shows tax lines applied to individual draft order items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderLineItemTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the tax applied to the draft order line item.
ResourceId [KEY] String

DraftOrderLineItems.Id

The globally unique identifier of the draft order line item associated with this tax line.
Source String The system or source that applied the tax.
Rate Double The portion of the line item price that the tax represents, expressed as a decimal value.
ChannelLiable Bool Indicates whether the sales channel that submitted the tax line is responsible for remitting the tax. Returns null if liability is unknown.
RatePercentage Double The portion of the line item price that the tax represents, expressed as a percentage.
PriceSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency, expressed as a decimal money value.
PriceSetPresentmentMoneyCurrencyCode String The currency code of the tax amount in the presentment currency.
PriceSetShopMoneyAmount Decimal The tax amount in the shop currency, expressed as a decimal money value.
PriceSetShopMoneyCurrencyCode String The currency code of the tax amount in the shop currency.

CData Python Connector for Shopify

DraftOrderTaxLines

Shows tax lines applied at the draft order level.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM DraftOrderTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the tax applied to the line item.
ResourceId [KEY] String

DraftOrders.Id

The globally unique identifier of the tax line resource.
Source String The origin or system that applied the tax.
Rate Double The proportion of the line item price represented by the tax, expressed as a decimal.
ChannelLiable Bool Indicates whether the sales channel that submitted the tax line is responsible for remitting it. A null value means liability is unknown.
RatePercentage Double The proportion of the line item price represented by the tax, expressed as a percentage.
PriceSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency, expressed as a decimal.
PriceSetPresentmentMoneyCurrencyCode String The currency code of the tax amount in the presentment currency.
PriceSetShopMoneyAmount Decimal The tax amount in the shop currency, expressed as a decimal.
PriceSetShopMoneyCurrencyCode String The currency code of the tax amount in the shop currency.

CData Python Connector for Shopify

Events

Lists shop-wide events for auditing and troubleshooting.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM Events

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the event.
AppTitle String The name of the app that generated the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was triggered by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is flagged as critical.
Action String The specific action that occurred in the event.
Message String Human-readable text describing the event.
BasicEventSubjectId String The identifier of the resource that generated the event.
BasicEventSubjectType String The type of resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event includes additional content.
BasicEventAdditionalContent String Supplementary content for collapsible timeline events.
BasicEventAdditionalData String Additional structured data provided for event consumers.
BasicEventSecondaryMessage String Supporting human-readable text that complements the main event message.
BasicEventArguments String Arguments or references tied to the event and its related resources.
CommentEventAuthorId String The identifier of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The unformatted body text of the comment event.
CommentEventSubjectId String The identifier of the parent subject associated with the comment event.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject includes a timeline comment.
CommentEventEmbedCustomerId String The identifier of the customer object referenced in the comment event.
CommentEventEmbedDraftOrderId String The identifier of the draft order object referenced in the comment event.
CommentEventEmbedOrderId String The identifier of the order object referenced in the comment event.
CommentEventEmbedProductId String The identifier of the product object referenced in the comment event.
CommentEventEmbedProductVariantId String The identifier of the product variant object referenced in the comment event.

CData Python Connector for Shopify

FulfillmentLineItems

Lists order line items included in fulfillments for picking and packing.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • FulfillmentId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentLineItems WHERE FulfillmentId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the fulfillment line item.
FulfillmentId String

Fulfillments.Id

The globally unique identifier of the fulfillment record this line item belongs to.
DiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total for the line item in the presentment currency.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the discounted total in presentment money.
DiscountedTotalSetShopMoneyAmount Decimal The discounted total for the line item in the shop's currency.
DiscountedTotalSetShopMoneyCurrencyCode String The currency code for the discounted total in shop money.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total for the line item in the presentment currency before discounts.
OriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the original total in presentment money.
OriginalTotalSetShopMoneyAmount Decimal The original total for the line item in the shop's currency before discounts.
OriginalTotalSetShopMoneyCurrencyCode String The currency code for the original total in shop money.
Quantity Int The total quantity of items included in this fulfillment line item.
LineItemId String The globally unique identifier of the related order line item.
LineItemName String The product name, optionally combined with its variant title.
LineItemTitle String The title of the product at the time of order creation.
LineItemVariantTitle String The title of the variant at the time of order creation.
LineItemVariantId String The globally unique identifier of the product variant.
LineItemProductId String The globally unique identifier of the product.
LineItemSellingPlanSellingPlanId String The identifier of the selling plan tied to the line item.
LineItemQuantity Int The number of product variant units ordered for this line item.
LineItemRestockable Bool Indicates whether this line item can be restocked.
LineItemSku String The SKU (stock keeping unit) of the product variant.
LineItemTaxable Bool Indicates whether this line item is taxable.
LineItemVendor String The vendor or brand associated with the product variant.
LineItemCurrentQuantity Int The current available quantity of the line item, excluding any removed units.
LineItemMerchantEditable Bool Indicates whether the line item can be edited by the merchant.
LineItemRefundableQuantity Int The number of units eligible for refund, excluding already removed or refunded units.
LineItemRequiresShipping Bool Indicates whether the product variant requires physical shipping.
LineItemUnfulfilledQuantity Int The quantity of units from this line item that have not yet been fulfilled.
LineItemNonFulfillableQuantity Int The number of units that cannot be fulfilled, such as refunded items or non-fulfillable products like tips.
LineItemIsGiftCard Bool Indicates whether this line item represents a gift card purchase.
LineItemDiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total for the line item in the presentment currency.
LineItemDiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts Decimal The discounted total in presentment currency after applying discount codes.
LineItemDiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the discounted total in presentment money.
LineItemDiscountedTotalSetShopMoneyAmount Decimal The discounted total for the line item in the shop's currency.
LineItemDiscountedTotalSetShopMoneyAmountWithCodeDiscounts Decimal The discounted total in shop currency after applying discount codes.
LineItemDiscountedTotalSetShopMoneyCurrencyCode String The currency code for the discounted total in shop money.
LineItemDiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted unit price in the presentment currency.
LineItemDiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The currency code for the discounted unit price in presentment money.
LineItemDiscountedUnitPriceSetShopMoneyAmount Decimal The discounted unit price in the shop's currency.
LineItemDiscountedUnitPriceSetShopMoneyCurrencyCode String The currency code for the discounted unit price in shop money.
LineItemImageId String The unique identifier of the product image associated with this line item.
LineItemImageWidth Int The width of the product image in pixels. Returns null if the image is not hosted by Shopify.
LineItemImageAltText String Alternative text describing the content or purpose of the product image.
LineItemImageHeight Int The height of the product image in pixels. Returns null if the image is not hosted by Shopify.
LineItemImageUrl String The URL of the product image.
LineItemOriginalTotalSetPresentmentMoneyAmount Decimal The original total before discounts in the presentment currency.
LineItemOriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the original total in presentment money.
LineItemOriginalTotalSetShopMoneyAmount Decimal The original total before discounts in the shop's currency.
LineItemOriginalTotalSetShopMoneyCurrencyCode String The currency code for the original total in shop money.
LineItemOriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price before discounts in the presentment currency.
LineItemOriginalUnitPriceSetPresentmentMoneyCurrencyCode String The currency code for the original unit price in presentment money.
LineItemOriginalUnitPriceSetShopMoneyAmount Decimal The original unit price before discounts in the shop's currency.
LineItemOriginalUnitPriceSetShopMoneyCurrencyCode String The currency code for the original unit price in shop money.
LineItemTotalDiscountSetPresentmentMoneyAmount Decimal The total discount applied to this line item in the presentment currency.
LineItemTotalDiscountSetPresentmentMoneyCurrencyCode String The currency code for the total discount in presentment money.
LineItemTotalDiscountSetShopMoneyAmount Decimal The total discount applied to this line item in the shop's currency.
LineItemTotalDiscountSetShopMoneyCurrencyCode String The currency code for the total discount in shop money.
LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total for unfulfilled units in the presentment currency.
LineItemUnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the discounted unfulfilled total in presentment money.
LineItemUnfulfilledDiscountedTotalSetShopMoneyAmount Decimal The discounted total for unfulfilled units in the shop's currency.
LineItemUnfulfilledDiscountedTotalSetShopMoneyCurrencyCode String The currency code for the discounted unfulfilled total in shop money.
LineItemUnfulfilledOriginalTotalSetPresentmentMoneyAmount Decimal The original total for unfulfilled units in the presentment currency.
LineItemUnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the original unfulfilled total in presentment money.
LineItemUnfulfilledOriginalTotalSetShopMoneyAmount Decimal The original total for unfulfilled units in the shop's currency.
LineItemUnfulfilledOriginalTotalSetShopMoneyCurrencyCode String The currency code for the original unfulfilled total in shop money.

CData Python Connector for Shopify

FulfillmentLineItemTaxLines

Shows tax lines on fulfillment line items where applicable.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM FulfillmentLineItemTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the applied tax.
ResourceId [KEY] String

FulfillmentLineItems.Id

The globally unique identifier of the tax line record.
Source String The source system or origin of the tax calculation.
Rate Double The tax rate expressed as a decimal (for example, 0.05 for 5%).
ChannelLiable Bool Indicates whether the sales channel that submitted the tax line is responsible for remittance. A null value means the liability is unknown.
RatePercentage Double The tax rate expressed as a percentage of the line item price.
PriceSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency.
PriceSetPresentmentMoneyCurrencyCode String The currency code for the tax amount in presentment money.
PriceSetShopMoneyAmount Decimal The tax amount in the shop's currency.
PriceSetShopMoneyCurrencyCode String The currency code for the tax amount in shop money.

CData Python Connector for Shopify

FulfillmentOrderLineItems

Lists the line items grouped under a fulfillment order.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • FulfillmentOrderId supports the '=, IN' comparison operators.
  • FulfillmentOrderUpdatedAt supports the '=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM FulfillmentOrderLineItems WHERE FulfillmentOrderId = 'Val1'
  SELECT * FROM FulfillmentOrderLineItems WHERE FulfillmentOrderUpdatedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the fulfillment order line item.
FulfillmentOrderId String The globally unique identifier of the fulfillment order that this line item belongs to.
FulfillmentOrderUpdatedAt Datetime The date and time when the fulfillment order was last updated.
ImageId String The globally unique identifier of the image associated with the product or variant.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text describing the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL of the product image.
InventoryItemId String The globally unique identifier of the inventory item tied to this line item.
Sku String The stock keeping unit (SKU) of the product variant.
ProductTitle String The title of the product linked to this line item.
VariantId String The globally unique identifier of the product variant associated with this line item.
VariantTitle String The title of the product variant.
Vendor String The name of the vendor that supplied or manufactured the product variant.
RemainingQuantity Int The number of units of this line item still pending fulfillment.
TotalQuantity Int The total number of units of this line item required in the fulfillment order.
RequiresShipping Bool Indicates whether the line item requires physical shipping.
WeightUnit String The unit of measurement used for the line item's weight, such as grams or kilograms.
WeightValue Double The numeric weight value of a single unit of the line item, measured in the specified unit.
Warnings String Any warnings or issues associated with the fulfillment order line item.
FinancialSummaries String A financial breakdown of costs associated with the fulfillment order line item.

CData Python Connector for Shopify

FulfillmentOrderLocationForMoveAvailableLineItems

Lists fulfillment order line items available to move to a new location.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • FulfillmentOrderId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • FulfillmentOrderId supports the '=, IN' comparison operators.

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

  SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE FulfillmentOrderId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE LocationId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE LocationId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveAvailableLineItems WHERE FulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the fulfillment order line item.
FulfillmentOrderId String The globally unique identifier of the fulfillment order this line item belongs to.
FulfillmentOrderUpdatedAt Datetime The date and time when the fulfillment order was last updated.
ImageId String The globally unique idenifier of the image associated with the product or variant.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text describing the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL of the product image.
InventoryItemId String The globally unique identifier of the inventory item tied to this line item.
Sku String The stock keeping unit (SKU) of the product variant.
ProductTitle String The title of the product linked to this line item.
VariantId String The globally unique identifier of the product variant associated with this line item.
VariantTitle String The title of the product variant.
Vendor String The name of the vendor that supplied or manufactured the product variant.
RemainingQuantity Int The number of units of this line item still pending fulfillment.
TotalQuantity Int The total number of units of this line item required in the fulfillment order.
RequiresShipping Bool Indicates whether the line item requires physical shipping.
WeightUnit String The unit of measurement used for the line item's weight, such as grams or kilograms.
WeightValue Double The numeric weight value of a single unit of the line item, measured in the specified unit.
Warnings String Any warnings or issues associated with the fulfillment order line item.
FinancialSummaries String A financial breakdown of costs associated with the fulfillment order line item.
LocationId [KEY] String The globally unique identifier of the location where this line item can be moved.

CData Python Connector for Shopify

FulfillmentOrderLocationForMoveUnavailableLineItems

Lists fulfillment order line items that cannot be moved to a new location.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • FulfillmentOrderId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • FulfillmentOrderId supports the '=, IN' comparison operators.

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

  SELECT * FROM FulfillmentOrderLocationForMoveUnavailableLineItems WHERE FulfillmentOrderId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveUnavailableLineItems WHERE LocationId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveUnavailableLineItems WHERE LocationId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationForMoveUnavailableLineItems WHERE FulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the fulfillment order line item.
FulfillmentOrderId String The globally unique identifier of the fulfillment order this line item belongs to.
FulfillmentOrderUpdatedAt Datetime The date and time when the fulfillment order was last updated.
ImageId String The globally unique identifier of the image associated with the product or variant.
ImageWidth Int The original width of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String Alternative text describing the content or purpose of the product image.
ImageHeight Int The original height of the product image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL of the product image.
InventoryItemId String The globally unique identifier of the inventory item tied to this line item.
Sku String The stock keeping unit (SKU) of the product variant.
ProductTitle String The title of the product linked to this line item.
VariantId String The globally unique identifier of the product variant associated with this line item.
VariantTitle String The title of the product variant.
Vendor String The name of the vendor that supplied or manufactured the product variant.
RemainingQuantity Int The number of units of this line item still pending fulfillment.
TotalQuantity Int The total number of units of this line item required in the fulfillment order.
RequiresShipping Bool Indicates whether the line item requires physical shipping.
WeightUnit String The unit of measurement used for the line item's weight, such as grams or kilograms.
WeightValue Double The numeric weight value of a single unit of the line item, measured in the specified unit.
Warnings String Any warnings or issues associated with the fulfillment order line item.
FinancialSummaries String A financial breakdown of costs associated with the fulfillment order line item.
LocationId [KEY] String The globally unique identifier of the location where this line item can be moved.

CData Python Connector for Shopify

FulfillmentOrderLocationsForMove

Lists candidate locations to which a fulfillment order can be moved.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • FulfillmentOrderId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.

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

  SELECT * FROM FulfillmentOrderLocationsForMove WHERE FulfillmentOrderId = 'Val1'
  SELECT * FROM FulfillmentOrderLocationsForMove WHERE LocationId = 'Val1'

Columns

Name Type References Description
FulfillmentOrderId [KEY] String The globally unique identifier of the fulfillment order being evaluated for relocation.
LocationId [KEY] String The globally unique identifier of the target location.
AvailableLineItemsCount Int The number of fulfillment order line items that can be reassigned from their current location to this location.
AvailableLineItemsCountPrecision String The precision level of the available line items count.
UnavailableLineItemsCount Int The number of fulfillment order line items that cannot be reassigned to this location.
UnavailableLineItemsCountPrecision String The precision level of the unavailable line items count.
Movable Bool Indicates whether the fulfillment order as a whole can be moved to this location.
Message String A human-readable explanation of why the fulfillment order, or certain line items, cannot be moved to the location.

CData Python Connector for Shopify

InventoryAdjustmentGroupChanges

Lists sets of quantity changes that occurred within inventory events.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • InventoryAdjustmentGroupId supports the '=, IN' comparison operators.
  • InventoryItemId supports the '=, IN' comparison operators.
  • LocationId supports the '=, IN' comparison operators.
  • Name supports the '=, IN' comparison operators.

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

  SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1'
  SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND InventoryItemId = 'Val1'
  SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND LocationId = 'Val1'
  SELECT * FROM InventoryAdjustmentGroupChanges WHERE InventoryAdjustmentGroupId = 'Val1' AND Name = 'Val1'

Columns

Name Type References Description
InventoryAdjustmentGroupId [KEY] String

InventoryAdjustmentGroups.Id

The globally unique identifier of the inventory adjustment group associated with this change.
InventoryItemId [KEY] String The globally unique identifier of the inventory item whose quantity was adjusted.
LocationId [KEY] String The globally unique identifier of the location where the adjustment occurred.
Name [KEY] String The name of the inventory quantity type that was changed (for example, available, committed).
Delta Int The amount by which the inventory quantity changed. Positive values increase the quantity and negative values decrease it.
QuantityAfterChange Int The total inventory quantity for the specified type after the adjustment.
LedgerDocumentUri String A URI linking to the document or resource (such as an order or transfer) that caused the inventory change.

CData Python Connector for Shopify

InventoryAdjustmentGroups

Lists groups of adjustments applied during inventory operations.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM InventoryAdjustmentGroups WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the inventory adjustment group.
Reason String The reason provided for the set of inventory adjustments.
ReferenceDocumentUri String A URI that indicates the origin of the inventory change. This might point to the entity that performed the adjustment or to a related Shopify resource. For example, if a unit reserved in a draft order is later converted into an order, the URI might reference the resulting order Id.
CreatedAt Datetime The date and time when the inventory adjustment group was created.
AppId String The globally unique identifier of the app responsible for the adjustment, if applicable.
StaffMemberId String The globally unique identifier of the staff member who performed the adjustment. Available only with a Shopify Plus subscription.

CData Python Connector for Shopify

InventoryItemCountryHarmonizedSystemCodes

Lists country-specific Harmonized System (HS) codes assigned to inventory items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • InventoryItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM InventoryItemCountryHarmonizedSystemCodes WHERE InventoryItemId = 'Val1'

Columns

Name Type References Description
InventoryItemId String

InventoryItems.Id

The globally unique identifier of the inventory item.
CountryCode String The ISO 3166-1 alpha-2 code for the country that issued the harmonized system code.
HarmonizedSystemCode [KEY] String The country-specific harmonized system (HS) code used for international trade. These codes are typically longer than six digits.

CData Python Connector for Shopify

InventoryItemInventoryLevelQuantities

Lists on-hand, committed, and available quantities by location for an inventory item.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • InventoryLevelId supports the '=, IN' comparison operators.
  • Name supports the '=, IN' comparison operators.

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

  SELECT * FROM InventoryItemInventoryLevelQuantities WHERE InventoryLevelId = 'Val1'
  SELECT * FROM InventoryItemInventoryLevelQuantities WHERE Name = 'Val1'

Columns

Name Type References Description
Id [KEY] String The globally unique identifier of the inventory level quantity record.
InventoryItemId String

InventoryItems.Id

The globally unique identifier of the related inventory item.
InventoryLevelId String

InventoryItemInventoryLevels.Id

The globally unique identifier of the inventory level associated with this quantity.
InventoryLevelLocationId String The globally unique identifier of the location tied to the inventory level.
Name String The label or name that identifies the specific type of inventory quantity (for example, available or reserved).
Quantity Int The recorded quantity for the specified inventory type.
UpdatedAt Datetime The date and time when the quantity was last updated.

CData Python Connector for Shopify

InventoryItemInventoryLevelScheduledChanges

Lists scheduled future changes to inventory levels.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • InventoryLevelId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM InventoryItemInventoryLevelScheduledChanges WHERE InventoryLevelId = 'Val1'

Columns

Name Type References Description
InventoryItemId String

InventoryItems.Id

The globally unique identifier of the inventory item associated with the scheduled change.
InventoryLevelId String

InventoryItemInventoryLevels.Id

The globally unique identifier of the inventory level affected by the scheduled change.
ExpectedAt Datetime The date and time when the scheduled change to inventory quantities is expected to take effect.
FromName String The inventory quantity type or bucket from which the quantity is transitioned (for example, 'on_hand').
ToName String The inventory quantity type or bucket to which the quantity is transitioned (for example, 'available').
Quantity Int The amount of inventory involved in the scheduled change, measured from the 'fromName' state.
LedgerDocumentUri String A freeform URI referencing the ledger document or entity that triggered the scheduled inventory change.

CData Python Connector for Shopify

Jobs

Returns job status by Id for asynchronous operations and internal tasks.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

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

For example, the following query is processed server-side:

  SELECT * FROM Jobs WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique ID returned when an asynchronous mutation is run.
Done Bool Indicates whether the job has finished running or is still in the queue.

CData Python Connector for Shopify

LocalizationCountries

Lists countries with localized storefront experiences enabled.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM LocalizationCountries

Columns

Name Type References Description
IsoCode [KEY] String The ISO 3166 country code.
Name String The full name of the country.
UnitSystem String The measurement system used in the country, such as metric or imperial.
CurrencyIsoCode String The ISO 4217 currency code used in the country.
CurrencyName String The display name of the currency.
CurrencySymbol String The symbol representing the currency.
MarketId String A globally unique ID that identifies the associated market.
MarketHandle String A human-readable unique identifier for the market, automatically generated from its title.
AvailableLanguages String The languages available for storefronts in the country.

CData Python Connector for Shopify

MarketingEvents

Lists marketing events associated with the marketing application and their metrics.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • AppId supports the '=, !=' comparison operators.
  • Type supports the '=, !=' comparison operators.
  • StartedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM MarketingEvents WHERE Id = 'Val1'
  SELECT * FROM MarketingEvents WHERE AppId = 'Val1'
  SELECT * FROM MarketingEvents WHERE Type = 'Val1'
  SELECT * FROM MarketingEvents WHERE StartedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the marketing event.
RemoteId String An optional Id used by Shopify to validate engagement data.
LegacyResourceId String The Id of the corresponding resource in the REST Admin API.
AppId String A globally unique Id for the app that created the event.
MarketingChannelType String The channel or medium through which the marketing activity reached consumers. Used for reporting aggregation.
Description String A description of the marketing event, used to summarize the campaign or promotion.
Type String The type of marketing event.
EndedAt Datetime The date and time when the marketing event ended.
ManageUrl String The URL where the marketing event can be managed.
PreviewUrl String The URL where the marketing event can be previewed.
StartedAt Datetime The date and time when the marketing event started.
UtmCampaign String The UTM campaign name associated with the marketing event.
UtmMedium String The UTM medium used in the campaign (for example, 'cpc', 'banner').
UtmSource String The UTM source or referrer of the campaign (for example, 'google', 'newsletter').
SourceAndMedium String A combined representation of where the marketing event occurred and the type of content used. Derived from 'marketingChannel', 'referringDomain', and 'type' to ensure consistency across apps.
ScheduledToEndAt Datetime The date and time when the marketing event is scheduled to end.

CData Python Connector for Shopify

MetafieldDefinitionConstraintValues

Lists constraint subtype values supported by a metafield definition.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • DefinitionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM MetafieldDefinitionConstraintValues WHERE DefinitionId = 'Val1'

Columns

Name Type References Description
DefinitionId String

MetafieldDefinitions.Id

A globally unique Id for the metafield definition.
Key String The constraint key that specifies the category of resource subtypes the metafield definition supports.
Value String The constraint value that defines the allowed subtype for the metafield definition.

CData Python Connector for Shopify

MetafieldDefinitionStandardTemplates

Lists standard metafield templates that provide ready-made definition presets.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM MetafieldDefinitionStandardTemplates

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the standard metafield definition.
Namespace String The namespace owned by the definition after it has been activated.
Key String The key owned by the definition after it has been activated.
Name String The human-readable name of the standard metafield definition.
Description String The description of the standard metafield definition.
OwnerTypes String The list of resource types that the standard metafield definition can be applied to.
Validations String The configured validations for the standard metafield definition.
VisibleToStorefrontApi Bool Indicates whether metafields for the definition are visible by default through the Storefront API.
TypeName String The name of the type for the metafield definition.
TypeCategory String The category associated with the metafield definition type.
TypeSupportedValidations String The supported validations for the metafield definition type.
TypeSupportsDefinitionMigrations Bool Indicates whether metafields without a definition can be migrated to a definition of this type.

CData Python Connector for Shopify

MetafieldDefinitionTypes

Lists core metafield types and validations available for definitions.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM MetafieldDefinitionTypes

Columns

Name Type References Description
Name [KEY] String The name of the metafield definition type.
Category String The category associated with the metafield definition type.
SupportsDefinitionMigrations Bool Indicates whether metafields without a definition can be migrated to a definition of this type.
SupportedValidations String The rules supported for this metafield type, such as minimum or maximum values, length limits, or format requirements.

CData Python Connector for Shopify

MetaobjectDefinitions

Lists definitions for metaobjects, which are structured, reusable content modeled via metafields.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM MetaobjectDefinitions

Columns

Name Type References Description
ID [KEY] String A globally unique Id for the metaobject definition.
Name String The human-readable name of the metaobject definition.
MetaobjectsCount Int The number of metaobjects created for this definition.
Type String The type of the metaobject definition, which also defines the namespace of associated metafields.
Description String The administrative description of the metaobject definition.
DisplayNameKey String The field key used as the display name for each metaobject.
AccessAdmin String Access configuration for Admin API surface areas, including the GraphQL Admin API.
AccessStorefront String Access configuration for Storefront API surface areas, including the GraphQL Storefront API and Liquid.
CapabilitiesPublishableEnabled Bool Indicates whether the metaobject definition is publishable.
CapabilitiesTranslatableEnabled Bool Indicates whether the metaobject definition is translatable.
CapabilitiesOnlineStoreEnabled Bool Indicates whether the metaobject definition can be displayed as a page in the Online Store.
CapabilitiesOnlineStoreDataCanCreateRedirects Bool Indicates whether sufficient redirects are available to support all published entries for this metaobject type in the Online Store.
CapabilitiesOnlineStoreDataUrlHandle String The URL handle for accessing Online Store pages of this metaobject type.
CapabilitiesRenderableEnabled Bool Indicates whether the metaobject definition is renderable and exposes search engine optimization (SEO) data.
CapabilitiesRenderableDataMetaDescriptionKey String The field key used as the SEO page description when the metaobject definition is renderable.
CapabilitiesRenderableDataMetaTitleKey String The field key used as the SEO page title when the metaobject definition is renderable.

CData Python Connector for Shopify

MetaObjects

Lists all metaobjects created for the shop.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • Type supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM MetaObjects WHERE Type = 'Val1'

Columns

Name Type References Description
ID [KEY] String A globally unique Id for the metaobject.
Handle String The unique handle of the metaobject, useful as a custom Id.
DisplayName String The preferred display name value of the metaobject.
CreatedByDeveloperName String The name of the app developer that created the metaobject.
DefinitionId String The Id of the MetaobjectDefinition that models this metaobject type.
Title String The name of the app associated with the metaobject.
Type String The definition type of the metaobject.
Key [KEY] String The field key of the metaobject.
Value String The assigned field value, always stored as a string regardless of the field type.
TypeField String The data type of the field.
UpdatedAt Datetime The date and time when the metaobject was last updated.
CapabilitiesPublishableStatus String The publishable capability status of the metaobject.
CapabilitiesOnlineStoreTemplateSuffix String The theme template applied when viewing the metaobject in the Online Store.
ThumbnailFieldKey String The field key recommended to visually represent this metaobject(for example, a file reference or color field).
ThumbnailFieldThumbnailHex String The hexadecimal color code recommended to visually represent this metaobject.
ThumbnailFieldFileId String The file Id recommended to visually represent this metaobject.
ThumbnailFieldFileAlt String The alt text describing the file used to visually represent this metaobject.
ThumbnailFieldFileCreatedAt Datetime The date and time when the file used to represent this metaobject was created.
ThumbnailFieldFileUpdatedAt Datetime The date and time when the file used to represent this metaobject was last updated.
ThumbnailFieldFileFileStatus String The status of the file used to represent this metaobject.
ThumbnailFieldFileFileErrors String Any errors that occurred on the file used to represent this metaobject.
ThumbnailFieldFilePreviewStatus String The current status of the preview image for the file.
ThumbnailFieldFilePreviewImageId String The Id of the preview image for the file.
ThumbnailFieldFilePreviewImageAltText String The alt text describing the preview image for the file.
ThumbnailFieldFilePreviewImageHeight Int The original height of the preview image in pixels. Returns null if the image isn't hosted by Shopify.
ThumbnailFieldFilePreviewImageWidth Int The original width of the preview image in pixels. Returns null if the image isn't hosted by Shopify.
ThumbnailFieldFilePreviewImageUrl String The URL of the preview image for the file.

CData Python Connector for Shopify

OrderAdditionalFees

Lists additional fees applied to an order (for example, handling, or service).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAdditionalFees WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the additional fee.
OrderId String

Orders.Id

A globally unique Id for the order associated with the fee.
Name String The name of the additional fee.
PricePresentmentMoneyAmount Decimal The presentment currency amount of the fee as a decimal value.
PricePresentmentMoneyCurrencyCode String The ISO currency code of the presentment money.
PriceShopMoneyAmount Decimal The shop currency amount of the fee as a decimal value.
PriceShopMoneyCurrencyCode String The ISO currency code of the shop money.

CData Python Connector for Shopify

OrderAgreementAdditionalFeeSales

Lists sales attributed to agreement-based additional fees.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementAdditionalFeeSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
AdditionalFeeSaleAdditionalFeeId String The Id of the additional fee associated with the sale.

CData Python Connector for Shopify

OrderAgreementAdjustmentSales

Lists sales attributed to agreement-based adjustments.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementAdjustmentSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderAgreementDutySales

Lists sales attributed to agreement-based duties.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementDutySales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
DutySaleDutyId String The Id of the duty associated with the sale.

CData Python Connector for Shopify

OrderAgreementGiftCardSales

Lists sales attributed to agreement-based gift card usage.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementGiftCardSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
GiftCardSaleLineItemId String The Id of the gift card line item associated with the sale.

CData Python Connector for Shopify

OrderAgreementProductSales

Lists sales attributed to agreement-based product charges.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementProductSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
ProductSaleLineItemId String The Id of the product line item associated with the sale.

CData Python Connector for Shopify

OrderAgreements

Lists sales agreements associated with orders.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreements WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
Id [KEY] String A globally unique Id for the agreement.
HappenedAt Datetime The date and time when the agreement occurred.
Reason String The reason the agreement was created.
UserId String The Id of the staff member associated with the agreement. Available only with a Shopify Plus subscription.
AppApiKey String The API key of the application that created the agreement.

CData Python Connector for Shopify

OrderAgreementShippingLineSales

Lists sales attributed to agreement-based shipping lines.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementShippingLineSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
ShippingLineSaleShippingLineId String The Id of the shipping line item associated with the sale. Not available if the SaleActionType is a return.

CData Python Connector for Shopify

OrderAgreementTipSales

Lists sales attributed to agreement-based tips.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementTipSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
TipSaleLineItemId String The Id of the tip line item associated with the sale.

CData Python Connector for Shopify

OrderAgreementUnknownSales

Lists agreement-based sales that fall into an unknown category.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderAgreementUnknownSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderCustomAttributes

Lists custom attributes attached to orders for internal or personalization data.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

Orders.Id

A globally unique Id for the resource.
Key [KEY] String The key or name of the attribute.
Value String The value of the attribute.

CData Python Connector for Shopify

OrderDiscountApplications

Lists discount applications that affected an order, excluding edits and refunds.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderDiscountApplications WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId [KEY] String

Orders.Id

A globally unique Id for the order associated with the discount application.
AllocationMethod String The method by which the discount value is applied to its entitled items.
Index [KEY] Int The ordered index that identifies the discount application and indicates its precedence for calculations.
TargetSelection String How the discount amount is distributed across the discounted lines.
TargetType String Indicates whether the discount is applied to line items or shipping lines.
ValueAmount Decimal The discount amount as a decimal value.
ValueCurrencyCode String The ISO currency code of the discount amount.
ValuePercentage Double The discount percentage, represented as a number between -100 (free) and 0 (no discount).
AutomaticDiscountApplicationTitle String The title of the automatic discount application.
DiscountCodeApplicationCode String The discount code used at the time of application.
ManualDiscountApplicationTitle String The title of the manual discount application.
ManualDiscountApplicationDescription String The description of the manual discount application.
ScriptDiscountApplicationTitle String The title of the script-based discount application.

CData Python Connector for Shopify

OrderEditAgreementAdditionalFeeSales

Lists agreement-based additional fee sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementAdditionalFeeSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
AdditionalFeeSaleAdditionalFeeId String The Id of the additional fee associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementAdjustmentSales

Lists agreement-based adjustment sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementAdjustmentSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementDutySales

Lists agreement-based duty sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementDutySales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
DutySaleDutyId String The Id of the duty associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementGiftCardSales

Lists agreement-based gift card sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementGiftCardSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
GiftCardSaleLineItemId String The Id of the gift card line item associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementProductSales

Lists agreement-based product sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementProductSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
ProductSaleLineItemId String The Id of the product line item associated with the sale.

CData Python Connector for Shopify

OrderEditAgreements

Lists sales agreements that apply to order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreements WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
Id [KEY] String A globally unique Id for the agreement.
HappenedAt Datetime The date and time when the agreement occurred.
Reason String The reason the agreement was created.
UserId String The Id of the staff member associated with the agreement. Available only with a Shopify Plus subscription.
AppApiKey String The API key of the application that created the agreement.

CData Python Connector for Shopify

OrderEditAgreementShippingLineSales

Lists agreement-based shipping line sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementShippingLineSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
ShippingLineSaleShippingLineId String The Id of the shipping line item associated with the sale. Not available if the SaleActionType is a return.

CData Python Connector for Shopify

OrderEditAgreementTipSales

Lists agreement-based tip sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementTipSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
TipSaleLineItemId String The Id of the tip line item associated with the sale.

CData Python Connector for Shopify

OrderEditAgreementUnknownSales

Lists uncategorized agreement-based sales within order edits.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEditAgreementUnknownSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderEvents

Retrieves event history for orders (creation, updates, fulfillment changes).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the event.
HostId String

Orders.Id

A globally unique Id for the host associated with the event.
AppTitle String The name of the app that created the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was caused by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is critical.
Action String The action that occurred.
Message String Human-readable text that describes the event.
BasicEventSubjectId String The Id of the resource that generated the event.
BasicEventSubjectType String The type of the resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event has additional content.
BasicEventAdditionalContent String Additional content for collapsible timeline events.
BasicEventAdditionalData String Additional data for event consumers.
BasicEventSecondaryMessage String Human-readable text that supports the event message.
BasicEventArguments String Arguments that reference the event and its resources.
CommentEventAuthorId String The Id of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The raw body of the comment event.
CommentEventSubjectId String The Id of the parent subject to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject has a timeline comment.
CommentEventEmbedCustomerId String The Id of the customer referenced in the comment event.
CommentEventEmbedDraftOrderId String The Id of the draft order referenced in the comment event.
CommentEventEmbedOrderId String The Id of the order referenced in the comment event.
CommentEventEmbedProductId String The Id of the product referenced in the comment event.
CommentEventEmbedProductVariantId String The Id of the product variant referenced in the comment event.

CData Python Connector for Shopify

OrderLineItemCustomAttributes

Lists custom attributes attached to order line items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderLineItemCustomAttributes WHERE ResourceId = 'Val1'

Columns

Name Type References Description
ResourceId [KEY] String

OrderLineItems.Id

A globally unique Id for the resource.
Key [KEY] String The key or name of the attribute.
Value String The value of the attribute.

CData Python Connector for Shopify

OrderLineItemDiscountAllocations

Shows discount allocations applied to a line item, excluding edits and refunds.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderLineItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderLineItemDiscountAllocations WHERE OrderLineItemId = 'Val1'

Columns

Name Type References Description
OrderLineItemId [KEY] String The Id of the order line item associated with the discount allocation.
DiscountApplicationIndex [KEY] Decimal The ordered index that identifies the discount application and indicates its precedence for calculations.
DiscountApplicationType String Discount type.
DiscountApplicationTargetType String Discount target type.
DiscountApplicationTargetSelection String Discount target selection.
DiscountApplicationTitle String Discount name.
DiscountApplicationValueAmount Decimal Discount value as a precise monetary value.
DiscountApplicationValueCurrencyCode String Discount value currency code.
DiscountApplicationValuePercentage Float Discount value as percentage.
AllocatedAmountSetPresentmentMoneyAmount Decimal The allocated discount amount, in presentment currency, as a decimal value.
AllocatedAmountSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the allocated discount amount.
AllocatedAmountSetShopMoneyAmount Decimal The allocated discount amount, in shop currency, as a decimal value.
AllocatedAmountSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the allocated discount amount.

CData Python Connector for Shopify

OrderLineItemDuties

Lists duties allocated to order line items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • LineItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderLineItemDuties WHERE LineItemId = 'Val1'

Columns

Name Type References Description
LineItemId String

OrderLineItems.Id

A globally unique Id for the order line item associated with the duty.
Id [KEY] String A globally unique Id for the duty record.
CountryCodeOfOrigin String The ISO 3166-1 alpha-2 country code of the item's country of origin, used in calculating the duty.
HarmonizedSystemCode String The harmonized system (HS) code of the item, used in calculating the duty.
PricePresentmentMoneyAmount Decimal The duty amount, in presentment currency, as a decimal value.
PricePresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the duty amount.
PriceShopMoneyAmount Decimal The duty amount, in shop currency, as a decimal value.
PriceShopMoneyCurrencyCode String The ISO currency code for the shop currency of the duty amount.

CData Python Connector for Shopify

OrderLineItems

Lists line items on orders, including variants, quantities, and pricing.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.
  • OrderUpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM OrderLineItems WHERE ResourceId = 'Val1'
  SELECT * FROM OrderLineItems WHERE OrderUpdatedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the order line item.
ResourceId String

Orders.Id

A globally unique Id for the resource associated with the line item.
Name String The title of the product, optionally appended with the title of the variant (if applicable).
Title String The title of the product at the time of order creation.
VariantTitle String The title of the variant at the time of order creation.
VariantId String A globally unique Id for the variant associated with the line item.
ProductId String A globally unique Id for the product associated with the line item.
SellingPlanSellingPlanId String The Id of the selling plan associated with the line item.
Quantity Int The number of variant units ordered.
Restockable Bool Indicates whether the line item can be restocked.
Sku String The variant SKU number.
Taxable Bool Indicates whether the variant is taxable.
Vendor String The name of the vendor who made the variant.
CurrentQuantity Int The current quantity of the line item, excluding removed units.
MerchantEditable Bool Indicates whether the line item can be edited.
RefundableQuantity Int The quantity of the line item that can be refunded.
RequiresShipping Bool Indicates whether physical shipping is required for the variant.
UnfulfilledQuantity Int The number of units not yet fulfilled.
NonFulfillableQuantity Int The number of units that cannot be fulfilled. For example, refunded items or non-fulfillable items like tips.
IsGiftCard Bool Indicates whether the line item represents the purchase of a gift card.
DiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total, in presentment currency, as a decimal value.
DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts Decimal The discounted total with code discounts applied, in presentment currency, as a decimal value.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the discounted total.
DiscountedTotalSetShopMoneyAmount Decimal The discounted total, in shop currency, as a decimal value.
DiscountedTotalSetShopMoneyAmountWithCodeDiscounts Decimal The discounted total with code discounts applied, in shop currency, as a decimal value.
DiscountedTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discounted total.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted unit price, in presentment currency, as a decimal value.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the discounted unit price.
DiscountedUnitPriceSetShopMoneyAmount Decimal The discounted unit price, in shop currency, as a decimal value.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discounted unit price.
ImageId String A globally unique Id for the image.
ImageWidth Int The original width of the image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String A word or phrase that describes the contents or purpose of the image.
ImageHeight Int The original height of the image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL location of the image.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total, in presentment currency, as a decimal value.
OriginalTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the original total.
OriginalTotalSetShopMoneyAmount Decimal The original total, in shop currency, as a decimal value.
OriginalTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the original total.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price, in presentment currency, as a decimal value.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the original unit price.
OriginalUnitPriceSetShopMoneyAmount Decimal The original unit price, in shop currency, as a decimal value.
OriginalUnitPriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the original unit price.
TotalDiscountSetPresentmentMoneyAmount Decimal The total discount applied, in presentment currency, as a decimal value.
TotalDiscountSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the total discount.
TotalDiscountSetShopMoneyAmount Decimal The total discount applied, in shop currency, as a decimal value.
TotalDiscountSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total discount.
UnfulfilledDiscountedTotalSetPresentmentMoneyAmount Decimal The unfulfilled discounted total, in presentment currency, as a decimal value.
UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the unfulfilled discounted total.
UnfulfilledDiscountedTotalSetShopMoneyAmount Decimal The unfulfilled discounted total, in shop currency, as a decimal value.
UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the unfulfilled discounted total.
UnfulfilledOriginalTotalSetPresentmentMoneyAmount Decimal The unfulfilled original total, in presentment currency, as a decimal value.
UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the unfulfilled original total.
UnfulfilledOriginalTotalSetShopMoneyAmount Decimal The unfulfilled original total, in shop currency, as a decimal value.
UnfulfilledOriginalTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the unfulfilled original total.
OrderUpdatedAt Datetime The date and time when the order was last updated.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
FulfillmentService String The handle of the fulfillment service that stocks the product variant for the line item.
OrderLineItemCustomAttributes String Custom information added to the cart for the line item, often used for product customization options.
OrderLineItemTaxLines String A list of tax line objects applied to the line item.

CData Python Connector for Shopify

OrderLineItemTaxLines

Shows tax lines calculated for an order line item.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderLineItemTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the tax.
ResourceId [KEY] String

OrderLineItems.Id

A globally unique Id for the resource associated with the tax line.
Source String The source of the tax.
Rate Double The proportion of the line item price that the tax represents, as a decimal value.
ChannelLiable Bool Indicates whether the channel that submitted the tax line is liable for remitting it. A null value indicates that liability is unknown.
RatePercentage Double The proportion of the line item price that the tax represents, as a percentage.
PriceSetPresentmentMoneyAmount Decimal The tax amount, in presentment currency, as a decimal value.
PriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the tax amount.
PriceSetShopMoneyAmount Decimal The tax amount, in shop currency, as a decimal value.
PriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the tax amount.

CData Python Connector for Shopify

OrderNonFulfillableLineItemDuties

Lists duties on line items that cannot be fulfilled.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • LineItemId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderNonFulfillableLineItemDuties WHERE LineItemId = 'Val1'

Columns

Name Type References Description
LineItemId String

OrderNonFulfillableLineItems.Id

A globally unique Id for the non-fulfillable order line item associated with the duty.
Id [KEY] String A globally unique Id for the duty record.
CountryCodeOfOrigin String The ISO 3166-1 alpha-2 country code of the item's country of origin, used in calculating the duty.
HarmonizedSystemCode String The harmonized system (HS) code of the item, used in calculating the duty.
PricePresentmentMoneyAmount Decimal The duty amount, in presentment currency, as a decimal value.
PricePresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the duty amount.
PriceShopMoneyAmount Decimal The duty amount, in shop currency, as a decimal value.
PriceShopMoneyCurrencyCode String The ISO currency code for the shop currency of the duty amount.

CData Python Connector for Shopify

OrderNonFulfillableLineItems

Lists order line items that are not fulfillable and related context.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderNonFulfillableLineItems WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the non-fulfillable order line item.
ResourceId String

Orders.Id

A globally unique Id for the resource associated with the line item.
Name String The title of the product, optionally appended with the title of the variant (if applicable).
Title String The title of the product at the time of order creation.
VariantTitle String The title of the variant at the time of order creation.
VariantId String A globally unique Id for the variant associated with the line item.
ProductId String A globally unique Id for the product associated with the line item.
SellingPlanSellingPlanId String The Id of the selling plan associated with the line item.
Quantity Int The number of variant units ordered.
Restockable Bool Indicates whether the line item can be restocked.
Sku String The variant SKU number.
Taxable Bool Indicates whether the variant is taxable.
Vendor String The name of the vendor who made the variant.
CurrentQuantity Int The current quantity of the line item, excluding removed units.
MerchantEditable Bool Indicates whether the line item can be edited.
RefundableQuantity Int The quantity of the line item that can be refunded.
RequiresShipping Bool Indicates whether physical shipping is required for the variant.
UnfulfilledQuantity Int The number of units not yet fulfilled.
NonFulfillableQuantity Int The number of units that cannot be fulfilled. For example, refunded items or non-fulfillable items like tips.
IsGiftCard Bool Indicates whether the line item represents the purchase of a gift card.
DiscountedTotalSetPresentmentMoneyAmount Decimal The discounted total, in presentment currency, as a decimal value.
DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts Decimal The discounted total with code discounts applied, in presentment currency, as a decimal value.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the discounted total.
DiscountedTotalSetShopMoneyAmount Decimal The discounted total, in shop currency, as a decimal value.
DiscountedTotalSetShopMoneyAmountWithCodeDiscounts Decimal The discounted total with code discounts applied, in shop currency, as a decimal value.
DiscountedTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discounted total.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted unit price, in presentment currency, as a decimal value.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the discounted unit price.
DiscountedUnitPriceSetShopMoneyAmount Decimal The discounted unit price, in shop currency, as a decimal value.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discounted unit price.
ImageId String A globally unique Id for the image.
ImageWidth Int The original width of the image in pixels. Returns null if the image is not hosted by Shopify.
ImageAltText String A word or phrase that describes the contents or purpose of the image.
ImageHeight Int The original height of the image in pixels. Returns null if the image is not hosted by Shopify.
ImageUrl String The URL location of the image.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total, in presentment currency, as a decimal value.
OriginalTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the original total.
OriginalTotalSetShopMoneyAmount Decimal The original total, in shop currency, as a decimal value.
OriginalTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the original total.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price, in presentment currency, as a decimal value.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the original unit price.
OriginalUnitPriceSetShopMoneyAmount Decimal The original unit price, in shop currency, as a decimal value.
OriginalUnitPriceSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the original unit price.
TotalDiscountSetPresentmentMoneyAmount Decimal The total discount applied, in presentment currency, as a decimal value.
TotalDiscountSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the total discount.
TotalDiscountSetShopMoneyAmount Decimal The total discount applied, in shop currency, as a decimal value.
TotalDiscountSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total discount.
UnfulfilledDiscountedTotalSetPresentmentMoneyAmount Decimal The unfulfilled discounted total, in presentment currency, as a decimal value.
UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the unfulfilled discounted total.
UnfulfilledDiscountedTotalSetShopMoneyAmount Decimal The unfulfilled discounted total, in shop currency, as a decimal value.
UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the unfulfilled discounted total.
UnfulfilledOriginalTotalSetPresentmentMoneyAmount Decimal The unfulfilled original total, in presentment currency, as a decimal value.
UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode String The ISO currency code for the presentment currency of the unfulfilled original total.
UnfulfilledOriginalTotalSetShopMoneyAmount Decimal The unfulfilled original total, in shop currency, as a decimal value.
UnfulfilledOriginalTotalSetShopMoneyCurrencyCode String The ISO currency code for the shop currency of the unfulfilled original total.

CData Python Connector for Shopify

OrderRefundAgreementAdditionalFeeSales

Lists refund sales associated with agreement-based additional fees.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementAdditionalFeeSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
AdditionalFeeSaleAdditionalFeeId String The Id of the additional fee charge associated with the sale.

CData Python Connector for Shopify

OrderRefundAgreementAdjustmentSales

Lists refund sales associated with agreement-based adjustments.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementAdjustmentSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.

CData Python Connector for Shopify

OrderRefundAgreementDutySales

Lists refund sales associated with agreement-based duties.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementDutySales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the parent order associated with the agreement.
AgreementId String A globally unique Id for the agreement.
Id [KEY] String A globally unique Id for the sale.
ActionType String The type of order action that the sale represents.
LineType String The line type associated with the sale.
Quantity Int The number of units either ordered or intended to be returned.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, in presentment currency, as a decimal value.
TotalAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total sale amount.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, in shop currency, as a decimal value.
TotalAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total sale amount.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, in presentment currency, as a decimal value.
TotalTaxAmountPresentmentCurrencyCode String The ISO currency code for the presentment currency of the total tax amount.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, in shop currency, as a decimal value.
TotalTaxAmountShopMoneyCurrencyCode String The ISO currency code for the shop currency of the total tax amount.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discount amount applied before taxes, in presentment currency, as a decimal value.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied before taxes.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discount amount applied before taxes, in shop currency, as a decimal value.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied before taxes.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discount amount applied after taxes, in presentment currency, as a decimal value.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The ISO currency code for the presentment currency of the discount amount applied after taxes.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discount amount applied after taxes, in shop currency, as a decimal value.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The ISO currency code for the shop currency of the discount amount applied after taxes.
Taxes String The individual taxes associated with the sale.
DutySaleDutyId String The Id of the duty charge associated with the sale.

CData Python Connector for Shopify

OrderRefundAgreementGiftCardSales

Lists refund sales associated with agreement-based gift card usage.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementGiftCardSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the gift card sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale, such as product or service.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.
GiftCardSaleLineItemId String A sale associated with a gift card. The line item for the associated sale. A globally unique Id.

CData Python Connector for Shopify

OrderRefundAgreementProductSales

Lists refund sales associated with agreement-based product charges.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementProductSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the product sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale, such as product or service.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.
ProductSaleLineItemId String A sale associated with a product. The line item for the associated sale. A globally unique Id.

CData Python Connector for Shopify

OrderRefundAgreements

Lists sales agreements tied to refunds.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreements WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
Id [KEY] String The unique identifier of the refund agreement.
HappenedAt Datetime The date and time when the agreement was created.
Reason String The reason why the refund agreement was issued.
UserId String The staff member associated with the agreement. A globally unique Id. (Available only with a Shopify Plus subscription.)
AppApiKey String The application that created the agreement, identified by its unique API key.
RefundId String

Refunds.Id

The refund record linked to the agreement.

CData Python Connector for Shopify

OrderRefundAgreementShippingLineSales

Lists refund sales associated with agreement-based shipping lines.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementShippingLineSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the shipping line sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale, such as shipping or handling.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.
ShippingLineSaleShippingLineId String A sale associated with a shipping charge. Represents the shipping line item for the sale. Not available if the SaleActionType is a return. A globally unique Id.

CData Python Connector for Shopify

OrderRefundAgreementTipSales

Lists refund sales associated with agreement-based tips.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementTipSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the tip sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale, such as tip or service charge.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.
TipSaleLineItemId String A sale associated with a tip. Represents the line item for the sale. A globally unique Id.

CData Python Connector for Shopify

OrderRefundAgreementUnknownSales

Lists uncategorized agreement-based refund sales.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderRefundAgreementUnknownSales WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId String

Orders.Id

The Id of the order that the agreement belongs to.
AgreementId String The unique identifier of the refund agreement.
Id [KEY] String The unique identifier of the unknown sale record.
ActionType String The type of order action represented by the sale, such as refund or adjustment.
LineType String The category of line item associated with the sale when the type cannot be classified.
Quantity Int The number of units sold or refunded in this sale.
TotalAmountPresentmentMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency.
TotalAmountPresentmentCurrencyCode String The currency code of the total sale amount in the presentment currency.
TotalAmountShopMoneyAmount Decimal The total sale amount after taxes and discounts, expressed as a decimal value in the shop's currency.
TotalAmountShopMoneyCurrencyCode String The currency code of the total sale amount in the shop's currency.
TotalTaxAmountPresentmentMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the presentment currency.
TotalTaxAmountPresentmentCurrencyCode String The currency code of the total tax amount in the presentment currency.
TotalTaxAmountShopMoneyAmount Decimal The total tax amount for the sale, expressed as a decimal value in the shop's currency.
TotalTaxAmountShopMoneyCurrencyCode String The currency code of the total tax amount in the shop's currency.
TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode String The currency code of the discounts applied before taxes in the presentment currency.
TotalDiscountAmountBeforeTaxesShopMoneyAmount Decimal The total discounts applied to the sale before taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode String The currency code of the discounts applied before taxes in the shop's currency.
TotalDiscountAmountAfterTaxesPresentmentMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the presentment currency.
TotalDiscountAmountAfterTaxesPresentmentCurrencyCode String The currency code of the discounts applied after taxes in the presentment currency.
TotalDiscountAmountAfterTaxesShopMoneyAmount Decimal The total discounts applied to the sale after taxes, expressed as a decimal value in the shop's currency.
TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode String The currency code of the discounts applied after taxes in the shop's currency.
Taxes String The list of individual taxes applied to the sale.

CData Python Connector for Shopify

OrderShippingLineDiscountAllocations

Retrieves the discounts that have been allocated onto the shipping lines of an order by discount applications.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderShippingLineDiscountAllocations WHERE OrderId = 'Val1'

Columns

Name Type References Description
OrderId [KEY] String The ID of the Order.
ShippingLineId [KEY] String The ID of the shipping line.
DiscountApplicationIndex [KEY] Decimal An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.
DiscountApplicationType String Discount type.
DiscountApplicationTargetType String Discount target type.
DiscountApplicationTargetSelection String Discount target selection.
DiscountApplicationTitle String Discount name.
DiscountApplicationValueAmount Decimal Discount value as a precise monetary value.
DiscountApplicationValueCurrencyCode String Discount value currency code.
DiscountApplicationValuePercentage Float Discount value as percentage.
AllocatedAmountSetPresentmentMoneyAmount Decimal Decimal money amount.
AllocatedAmountSetPresentmentMoneyCurrencyCode String Currency of the money.
AllocatedAmountSetShopMoneyAmount Decimal Decimal money amount.
AllocatedAmountSetShopMoneyCurrencyCode String Currency of the money.

CData Python Connector for Shopify

OrderShippingLines

Lists shipping lines attached to orders, including rates and titles.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • OrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderShippingLines WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id.
CarrierIdentifier String A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service.
Title String The title of the shipping line.
Code String A reference to the shipping method.
Custom Bool Whether the shipping line is custom.
DeliveryCategory String The general classification of the delivery method.
IsRemoved Bool Whether the shipping line has been removed.
Phone String The phone number at the shipping address.
ShippingRateHandle String A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users.
Source String The rate source for the shipping line.
CurrentDiscountedPriceSetPresentmentMoneyAmount Decimal Decimal money amount.
CurrentDiscountedPriceSetPresentmentMoneyCurrencyCode String Currency of the money.
CurrentDiscountedPriceSetShopMoneyAmount Decimal Decimal money amount.
CurrentDiscountedPriceSetShopMoneyCurrencyCode String Currency of the money.
DiscountedPriceAmount Decimal Decimal money amount.
DiscountedPriceCurrencyCode String Currency of the money.
DiscountedPriceSetPresentmentMoneyAmount Decimal Decimal money amount.
DiscountedPriceSetPresentmentMoneyCurrencyCode String Currency of the money.
DiscountedPriceSetShopMoneyAmount Decimal Decimal money amount.
DiscountedPriceSetShopMoneyCurrencyCode String Currency of the money.
OriginalPriceAmount Decimal Decimal money amount.
OriginalPriceCurrencyCode String Currency of the money.
OriginalPriceSetPresentmentMoneyAmount Decimal Decimal money amount.
OriginalPriceSetPresentmentMoneyCurrencyCode String Currency of the money.
OriginalPriceSetShopMoneyAmount Decimal Decimal money amount.
OriginalPriceSetShopMoneyCurrencyCode String Currency of the money.
RequestedFulfillmentServiceId String The Id of the fulfillment service.
OrderId String

Orders.Id

A globally unique Id.
TaxLines String A list of tax line objects, each of which details a tax applicable to this shipping line.

CData Python Connector for Shopify

OrderTaxLines

Shows taxes calculated for an order at the order level.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM OrderTaxLines WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Title [KEY] String The name of the tax.
ResourceId [KEY] String

Orders.Id

A globally unique Id.
Source String The source of the tax.
Rate Double The proportion of the line item price that this tax represents, expressed as a decimal.
ChannelLiable Bool Whether the channel that submitted the tax line is liable for remittance. A value of null indicates unknown liability.
RatePercentage Double The proportion of the line item price that this tax represents, expressed as a percentage.
PriceSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency, expressed as a decimal.
PriceSetPresentmentMoneyCurrencyCode String The currency code of the tax amount in the presentment currency.
PriceSetShopMoneyAmount Decimal The tax amount in the shop's currency, expressed as a decimal.
PriceSetShopMoneyCurrencyCode String The currency code of the tax amount in the shop's currency.

CData Python Connector for Shopify

PageEvents

Retrieves event history for pages (creation, publishing, edits).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM PageEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id.
HostId String

Pages.Id

A globally unique Id.
AppTitle String The name of the app that created the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was caused by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is critical.
Action String The action that occurred.
Message String Human-readable text that describes the event.
BasicEventSubjectId String The Id of the resource that generated the event.
BasicEventSubjectType String The type of the resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event has additional content.
BasicEventAdditionalContent String Additional content for collapsible timeline events.
BasicEventAdditionalData String Additional data for event consumers.
BasicEventSecondaryMessage String Human-readable text that supports the main event message.
BasicEventArguments String References the event and its associated resources.
CommentEventAuthorId String The Id of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The raw body text of the comment event.
CommentEventSubjectId String The Id of the parent subject to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject has a timeline comment.
CommentEventEmbedCustomerId String The object reference to the associated customer for the comment event.
CommentEventEmbedDraftOrderId String The object reference to the associated draft order for the comment event.
CommentEventEmbedOrderId String The object reference to the associated order for the comment event.
CommentEventEmbedProductId String The object reference to the associated product for the comment event.
CommentEventEmbedProductVariantId String The object reference to the associated product variant for the comment event.

CData Python Connector for Shopify

PriceListPrices

Lists prices attached to a specific price list by currency and adjustment rules.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • PriceListId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM PriceListPrices WHERE PriceListId = 'Val1'

Columns

Name Type References Description
PriceListId [KEY] String

PriceLists.Id

The unique Id of the price list.
ProductVariantId [KEY] String

ProductVariants.Id

The unique Id of the product variant associated with this price.
OriginType String The origin of the price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration).
PriceAmount Decimal The price of the product variant on this price list, expressed as a decimal money amount.
PriceCurrencyCode String The currency code of the product variant price on this price list.
CompareAtPriceAmount Decimal The compare-at price of the product variant on this price list, expressed as a decimal money amount.
CompareAtPriceCurrencyCode String The currency code of the compare-at price on this price list.

CData Python Connector for Shopify

ProductBundleComponentOptionSelections

Lists mappings between component options and selected parent bundle options.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductBundleComponentOptionSelections WHERE ProductId = 'Val1'

Columns

Name Type References Description
ProductId [KEY] String A globally unique Id of the product.
ComponentProductId [KEY] String A globally unique Id of the component product.
ParentOptionId String A globally unique Id of the parent product option.
ParentOptionName String The name of the parent product option.
ComponentOptionId [KEY] String A globally unique Id of the component product option.
ComponentOptionName String The name of the component product option.
Values String The component option values that are actively selected for this relationship.

CData Python Connector for Shopify

ProductBundleComponents

Lists component products that make up a bundle and their constraints.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductBundleComponents WHERE ProductId = 'Val1'

Columns

Name Type References Description
ProductId [KEY] String A globally unique Id of the product.
ComponentProductId [KEY] String A globally unique Id of the component product.
ComponentVariantsCount Int The total number of component variants in the bundle.
ComponentVariantsCountPrecision String The precision of the component variant count, indicating the exactness of the value.
OptionSelections String The parent and component options they are connected to, along with the chosen option values that appear in the bundle.
Quantity Int The quantity of the component product set for this bundle line. Contains null if a quantity option is present.
QuantityOptionName String The name of the quantity option.
QuantityOptionValues String The values of the quantity option.
QuantityOptionParentOptionId String A globally unique Id of the parent option for the quantity setting.

CData Python Connector for Shopify

ProductEvents

Retrieves event history for products (creation, publication, updates).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id.
HostId String

Products.Id

A globally unique Id.
AppTitle String The name of the app that created the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was caused by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is critical.
Action String The action that occurred.
Message String Human-readable text that describes the event.
BasicEventSubjectId String The Id of the resource that generated the event.
BasicEventSubjectType String The type of the resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event has additional content.
BasicEventAdditionalContent String Additional content for collapsible timeline events.
BasicEventAdditionalData String Additional data for event consumers.
BasicEventSecondaryMessage String Human-readable text that supports the main event message.
BasicEventArguments String References the event and its associated resources.
CommentEventAuthorId String The Id of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The raw body text of the comment event.
CommentEventSubjectId String The Id of the parent subject to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject has a timeline comment.
CommentEventEmbedCustomerId String The object reference to the associated customer for the comment event.
CommentEventEmbedDraftOrderId String The object reference to the associated draft order for the comment event.
CommentEventEmbedOrderId String The object reference to the associated order for the comment event.
CommentEventEmbedProductId String The object reference to the associated product for the comment event.
CommentEventEmbedProductVariantId String The object reference to the associated product variant for the comment event.

CData Python Connector for Shopify

ProductOperations

Inspects details of asynchronous operations performed on products.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operator. The connector processes other filters client-side within the connector.

  • Id supports the '=' comparison operator.

For example, the following query is processed server-side:

  SELECT * FROM ProductOperations WHERE Id = 'Val1'

Columns

Name Type References Description
Id [KEY] String The unique Id of the product operation.
ProductId String A globally unique Id of the associated product.
Status String The status of the product operation.

CData Python Connector for Shopify

ProductVariantEvents

Retrieves event history for product variants.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • HostId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ProductVariantEvents WHERE HostId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id.
HostId String

ProductVariants.Id

A globally unique Id.
AppTitle String The name of the app that created the event.
AttributeToApp Bool Indicates whether the event was created by an app.
AttributeToUser Bool Indicates whether the event was caused by an admin user.
CreatedAt Datetime The date and time when the event was created.
CriticalAlert Bool Indicates whether the event is critical.
Action String The action that occurred.
Message String Human-readable text that describes the event.
BasicEventSubjectId String The Id of the resource that generated the event.
BasicEventSubjectType String The type of the resource that generated the event.
BasicEventHasAdditionalContent Bool Indicates whether the event has additional content.
BasicEventAdditionalContent String Additional content for collapsible timeline events.
BasicEventAdditionalData String Additional data for event consumers.
BasicEventSecondaryMessage String Human-readable text that supports the main event message.
BasicEventArguments String References the event and its associated resources.
CommentEventAuthorId String The Id of the staff member who authored the comment event.
CommentEventCanDelete Bool Indicates whether the comment event can be deleted.
CommentEventCanEdit Bool Indicates whether the comment event can be edited.
CommentEventEdited Bool Indicates whether the comment event has been edited.
CommentEventRawMessage String The raw body text of the comment event.
CommentEventSubjectId String The Id of the parent subject to which the comment event belongs.
CommentEventSubjectHasTimelineComment Bool Indicates whether the timeline subject has a timeline comment.
CommentEventEmbedCustomerId String The object reference to the associated customer for the comment event.
CommentEventEmbedDraftOrderId String The object reference to the associated draft order for the comment event.
CommentEventEmbedOrderId String The object reference to the associated order for the comment event.
CommentEventEmbedProductId String The object reference to the associated product for the comment event.
CommentEventEmbedProductVariantId String The object reference to the associated product variant for the comment event.

CData Python Connector for Shopify

PublicationCollections

Lists collections published to a specific publication (channel).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • PublicationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM PublicationCollections WHERE PublicationId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id of the publication collection.
LegacyResourceId String The Id of the corresponding resource in the REST Admin API.
PublicationId [KEY] String

Publications.Id

A globally unique Id of the associated publication.

CData Python Connector for Shopify

PublicationProducts

Lists products published to a specific publication (channel).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ProductId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM PublicationProducts WHERE ProductId = 'Val1'

Columns

Name Type References Description
ProductId [KEY] String

Products.Id

A globally unique Id of the product.
PublishDate Datetime The date and time when the resource publication is published to the publication.
IsPublished Bool Indicates whether the resource publication is currently published.
PublicationId [KEY] String A globally unique Id of the associated publication.
PublicationName String The name of the publication.

CData Python Connector for Shopify

RefundDuties

Lists duties refunded as part of a refund.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundDuties WHERE RefundId = 'Val1'

Columns

Name Type References Description
OriginalDutyId [KEY] String A globally unique Id of the original duty.
RefundId [KEY] String

Refunds.Id

A globally unique Id of the associated refund.
OriginalDutyHarmonizedSystemCode String The harmonized system code of the item used to calculate the duty.
OriginalDutyCountryCodeOfOrigin String The ISO 3166-1 alpha-2 country code of the item's country of origin used to calculate the duty.
AmountSetPresentmentMoneyAmount Decimal The duty refund amount in the presentment currency, expressed as a decimal money amount.
AmountSetPresentmentMoneyCurrencyCode String The currency code of the duty refund amount in the presentment currency.
AmountSetShopMoneyAmount Decimal The duty refund amount in the shop's currency, expressed as a decimal money amount.
AmountSetShopMoneyCurrencyCode String The currency code of the duty refund amount in the shop's currency.

CData Python Connector for Shopify

RefundLineItemDuties

Lists duties attached to refunded line items.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundLineItemDuties WHERE RefundId = 'Val1'

Columns

Name Type References Description
RefundId String A globally unique Id of the associated refund.
LineItemId String A globally unique Id of the line item.
Id [KEY] String A globally unique Id of the refund duty.
CountryCodeOfOrigin String The ISO 3166-1 alpha-2 country code of the item's country of origin used to calculate the duty.
HarmonizedSystemCode String The harmonized system code of the item used to calculate the duty.
PricePresentmentMoneyAmount Decimal The duty refund amount in the presentment currency, expressed as a decimal money amount.
PricePresentmentMoneyCurrencyCode String The currency code of the duty refund amount in the presentment currency.
PriceShopMoneyAmount Decimal The duty refund amount in the shop's currency, expressed as a decimal money amount.
PriceShopMoneyCurrencyCode String The currency code of the duty refund amount in the shop's currency.

CData Python Connector for Shopify

RefundLineItems

Lists refund line item records that specify quantities and amounts refunded.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundLineItems WHERE RefundId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id of the refund line item.
LineItemId String A globally unique Id of the associated line item.
RefundId String

Refunds.Id

A globally unique Id of the associated refund.
LineItemName String The title of the product, optionally appended with the variant title if applicable.
LineItemTitle String The title of the product at the time of order creation.
LineItemVariantTitle String The title of the variant at the time of order creation.
LineItemQuantity Int The number of variant units ordered.
LineItemRestockable Bool Indicates whether the line item can be restocked.
LineItemSku String The SKU number of the variant.
LineItemTaxable Bool Indicates whether the variant is taxable.
LineItemVendor String The name of the vendor who supplied the variant.
LineItemCurrentQuantity Int The line item's quantity, minus any removed quantity.
LineItemMerchantEditable Bool Indicates whether the line item can be edited.
LineItemRefundableQuantity Int The line item's refundable quantity, calculated as quantity minus removed quantity.
LineItemNonFulfillableQuantity Int The total number of units that can't be fulfilled. For example, refunded items or non-fulfillable items such as tips.
LineItemRequiresShipping Bool Indicates whether the variant requires physical shipping.
LineItemUnfulfilledQuantity Int The number of units not yet fulfilled.
LineItemImageId String A globally unique Id of the associated image.
LineItemImageWidth Int The original width of the image in pixels. Contains null if the image isn't hosted by Shopify.
LineItemImageAltText String Alternative text that describes the image.
LineItemImageHeight Int The original height of the image in pixels. Contains null if the image isn't hosted by Shopify.
LineItemImageUrl String The URL location of the image.
LineItemProductId String A globally unique Id of the associated product.
LineItemVariantId String A globally unique Id of the associated variant.
LineItemSellingPlanSellingPlanId String The Id of the selling plan associated with the line item.
LineItemStaffMemberId String A globally unique Id of the staff member associated with the line item. (Available only with a ShopifyPlus subscription)
Quantity Int The quantity of the refunded line item.
Restocked Bool Indicates whether the refunded line item was restocked. Not applicable for SuggestedRefunds.
RestockType String The type of restock applied to the refunded line item.
LocationId String A globally unique Id of the location associated with the refund.
PriceSetPresentmentMoneyAmount Decimal The refund price in the presentment currency, expressed as a decimal money amount.
PriceSetPresentmentMoneyCurrencyCode String The currency code of the refund price in the presentment currency.
PriceSetShopMoneyAmount Decimal The refund price in the shop's currency, expressed as a decimal money amount.
PriceSetShopMoneyCurrencyCode String The currency code of the refund price in the shop's currency.
SubtotalSetPresentmentMoneyAmount Decimal The subtotal in the presentment currency, expressed as a decimal money amount.
SubtotalSetPresentmentMoneyCurrencyCode String The currency code of the subtotal in the presentment currency.
SubtotalSetShopMoneyAmount Decimal The subtotal in the shop's currency, expressed as a decimal money amount.
SubtotalSetShopMoneyCurrencyCode String The currency code of the subtotal in the shop's currency.
TotalTaxSetPresentmentMoneyAmount Decimal The total tax amount in the presentment currency, expressed as a decimal money amount.
TotalTaxSetPresentmentMoneyCurrencyCode String The currency code of the total tax in the presentment currency.
TotalTaxSetShopMoneyAmount Decimal The total tax amount in the shop's currency, expressed as a decimal money amount.
TotalTaxSetShopMoneyCurrencyCode String The currency code of the total tax in the shop's currency.

CData Python Connector for Shopify

RefundOrderAdjustments

Lists order-level adjustments included on a refund.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundOrderAdjustments WHERE RefundId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id of the refund order adjustment.
RefundId String A globally unique Id of the associated refund.
Reason String An optional reason that explains a discrepancy between the calculated and actual refund amounts.
AmountSetPresentmentMoneyAmount Decimal The refund adjustment amount in the presentment currency, expressed as a decimal money amount.
AmountSetPresentmentMoneyCurrencyCode String The currency code of the refund adjustment amount in the presentment currency.
AmountSetShopMoneyAmount Decimal The refund adjustment amount in the shop's currency, expressed as a decimal money amount.
AmountSetShopMoneyCurrencyCode String The currency code of the refund adjustment amount in the shop's currency.
TaxAmountSetPresentmentMoneyAmount Decimal The tax adjustment amount in the presentment currency, expressed as a decimal money amount.
TaxAmountSetPresentmentMoneyCurrencyCode String The currency code of the tax adjustment amount in the presentment currency.
TaxAmountSetShopMoneyAmount Decimal The tax adjustment amount in the shop's currency, expressed as a decimal money amount.
TaxAmountSetShopMoneyCurrencyCode String The currency code of the tax adjustment amount in the shop's currency.

CData Python Connector for Shopify

RefundShippingLines

Lists shipping lines included in a refund.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundShippingLines WHERE RefundId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id of the refund shipping line.
RefundId String

Refunds.Id

A globally unique Id of the associated refund.
SubtotalAmountSetPresentmentMoneyAmount Decimal The subtotal amount in the presentment currency, expressed as a decimal money amount.
SubtotalAmountSetPresentmentMoneyCurrencyCode String The currency code of the subtotal amount in the presentment currency.
SubtotalAmountSetShopMoneyAmount Decimal The subtotal amount in the shop's currency, expressed as a decimal money amount.
SubtotalAmountSetShopMoneyCurrencyCode String The currency code of the subtotal amount in the shop's currency.
TaxAmountSetPresentmentMoneyAmount Decimal The tax amount in the presentment currency, expressed as a decimal money amount.
TaxAmountSetPresentmentMoneyCurrencyCode String The currency code of the tax amount in the presentment currency.
TaxAmountSetShopMoneyAmount Decimal The tax amount in the shop's currency, expressed as a decimal money amount.
TaxAmountSetShopMoneyCurrencyCode String The currency code of the tax amount in the shop's currency.
ShippingLineId String A globally unique Id of the associated shipping line.
ShippingLineCarrierIdentifier String A reference to the carrier service that provided the rate. Present when the rate was computed by a third-party carrier service.
ShippingLineTitle String The title of the shipping line.
ShippingLineCode String A reference to the shipping method of the line.
ShippingLineCustom Bool Indicates whether the shipping line is custom.
ShippingLineDeliveryCategory String The general classification of the delivery method.
ShippingLineIsRemoved Bool Indicates whether the shipping line has been removed.
ShippingLinePhone String The phone number at the shipping address.
ShippingLineShippingRateHandle String A unique identifier for the shipping rate. The format can change without notice and isn't intended to be shown to users.
ShippingLineSource String The rate source for the shipping line.
ShippingLineCurrentDiscountedPriceSetPresentmentMoneyAmount Decimal The current discounted price in the presentment currency, expressed as a decimal money amount.
ShippingLineCurrentDiscountedPriceSetPresentmentMoneyCurrencyCode String The currency code of the current discounted price in the presentment currency.
ShippingLineCurrentDiscountedPriceSetShopMoneyAmount Decimal The current discounted price in the shop's currency, expressed as a decimal money amount.
ShippingLineCurrentDiscountedPriceSetShopMoneyCurrencyCode String The currency code of the current discounted price in the shop's currency.
ShippingLineDiscountedPriceAmount Decimal The discounted price, expressed as a decimal money amount.
ShippingLineDiscountedPriceCurrencyCode String The currency code of the discounted price.
ShippingLineDiscountedPriceSetPresentmentMoneyAmount Decimal The discounted price in the presentment currency, expressed as a decimal money amount.
ShippingLineDiscountedPriceSetPresentmentMoneyCurrencyCode String The currency code of the discounted price in the presentment currency.
ShippingLineDiscountedPriceSetShopMoneyAmount Decimal The discounted price in the shop's currency, expressed as a decimal money amount.
ShippingLineDiscountedPriceSetShopMoneyCurrencyCode String The currency code of the discounted price in the shop's currency.
ShippingLineOriginalPriceAmount Decimal The original price, expressed as a decimal money amount.
ShippingLineOriginalPriceCurrencyCode String The currency code of the original price.
ShippingLineOriginalPriceSetPresentmentMoneyAmount Decimal The original price in the presentment currency, expressed as a decimal money amount.
ShippingLineOriginalPriceSetPresentmentMoneyCurrencyCode String The currency code of the original price in the presentment currency.
ShippingLineOriginalPriceSetShopMoneyAmount Decimal The original price in the shop's currency, expressed as a decimal money amount.
ShippingLineOriginalPriceSetShopMoneyCurrencyCode String The currency code of the original price in the shop's currency.
ShippingLineRequestedFulfillmentServiceId String The Id of the fulfillment service requested for the shipping line.

CData Python Connector for Shopify

RefundTransactionFees

Lists transaction fees applied to the original order transaction (Shopify Payments only).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • RefundId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundTransactionFees WHERE RefundId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique identifier for the refund transaction fee record.
TransactionId String

RefundTransactions.Id

A globally unique identifier for the related transaction.
RefundId String

Refunds.Id

A globally unique identifier for the associated refund.
RateName String The name of the credit card rate applied to the transaction.
FlatFeeName String The name of the credit card flat fee applied to the transaction.
Rate Decimal The percentage fee rate charged for the transaction.
Type String The category or type of fee applied (for example, rate-based or flat).
AmountAmount Decimal The total fee amount, expressed as a decimal value.
AmountCurrencyCode String The currency of the total fee amount.
FlatFeeAmount Decimal The flat fee amount, expressed as a decimal value.
FlatFeeCurrencyCode String The currency of the flat fee amount.
TaxAmountAmount Decimal The tax amount applied to the fee, expressed as a decimal value.
TaxAmountCurrencyCode String The currency of the tax amount applied to the fee.

CData Python Connector for Shopify

RefundTransactions

Lists payment transactions generated as part of a refund.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM RefundTransactions WHERE ResourceId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique identifier for the refund transaction record.
ResourceId [KEY] String

Refunds.Id

A globally unique identifier for the related resource.
PaymentId String The unique identifier of the payment associated with the transaction.
ParentTransactionId String The identifier of the parent transaction, such as the authorization for a capture.
UserId String Staff member who was logged into the Shopify POS device when the transaction was processed. (This column is available only with a ShopifyPlus subscription)
AccountNumber String The masked account number linked to the payment method.
Gateway String The payment gateway used to process the transaction.
Kind String The type of transaction (for example, authorization, capture, or refund).
Status String The current status of the transaction.
Test Bool Indicates whether the transaction was processed in test mode.
AuthorizationCode String The authorization code returned for the transaction.
ErrorCode String A standardized error code, independent of the payment provider.
FormattedGateway String The human-readable name of the payment gateway.
ManuallyCapturable Bool Indicates whether the transaction can be manually captured.
MultiCapturable Bool Indicates whether the transaction supports multiple captures.
ProcessedAt Datetime The date and time when the transaction was processed.
ReceiptJson String A JSON receipt from the payment gateway. The format varies depending on the gateway.
SettlementCurrency String The currency in which the transaction is settled.
AuthorizationExpiresAt Datetime The expiration time of the authorization. Available only for Shopify Plus stores using Shopify Payments.
SettlementCurrencyRate Decimal The conversion rate used to settle the transaction amount in the settlement currency.
CreatedAt Datetime The date and time when the transaction was created.
AmountRoundingSetPresentmentMoneyAmount Decimal A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99.
AmountRoundingSetPresentmentMoneyCurrencyCode String The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD.
AmountRoundingSetShopMoneyAmount Decimal A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12. 99.
AmountRoundingSetShopMoneyCurrencyCode String The three-letter currency code that represents a world currency used in a store. Currency codes include standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD.
CurrencyExchangeAdjustmentId String A globally-unique ID of the adjustment on the transaction.
PaymentDetailsLocalPaymentDescriptor String The descriptor by the payment provider. Only available for Amazon Pay and Buy with Prime.
PaymentDetailsLocalPaymentMethodName String The name of payment method used by the buyer.
PaymentDetailsShopPayInstallmentsPaymentMethodName String The name of payment method used by the buyer.
PaymentDetailsCardAvsResultCode String The response code from the address verification system (AVS). The code is always a single letter.
PaymentDetailsCardBin String The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number.
PaymentDetailsCardCompany String The name of the company that issued the customer's credit card.
PaymentDetailsCardCvvResultCode String The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string.
PaymentDetailsCardExpirationMonth Int The month in which the used credit card expires.
PaymentDetailsCardExpirationYear Int The year in which the used credit card expires.
PaymentDetailsCardName String The holder of the credit card.
PaymentDetailsCardNumber String The customer's credit card number, with most of the leading digits redacted.
PaymentDetailsCardPaymentMethodName String The name of payment method used by the buyer.
PaymentDetailsCardWallet String Digital wallet used for the payment.
PaymentIconId String The unique identifier for the associated payment icon image.
PaymentIconWidth Int The original width of the payment icon image in pixels, or null if not hosted by Shopify.
PaymentIconAltText String Alternative text describing the payment icon image.
PaymentIconHeight Int The original height of the payment icon image in pixels, or null if not hosted by Shopify.
AmountSetPresentmentMoneyAmount Decimal The transaction amount in the presentment currency.
AmountSetPresentmentMoneyCurrencyCode String The presentment currency code.
AmountSetShopMoneyAmount Decimal The transaction amount in the shop currency.
AmountSetShopMoneyCurrencyCode String The shop currency code.
MaximumRefundableV2Amount Decimal The maximum refundable amount for this transaction.
MaximumRefundableV2CurrencyCode String The currency code for the maximum refundable amount.
ShopifyPaymentsSetExtendedAuthorizationSetExtendedAuthorizationExpiresAt Datetime The time when the extended authorization expires. After expiry, the payment can no longer be captured.
ShopifyPaymentsSetExtendedAuthorizationSetStandardAuthorizationExpiresAt Datetime The time after which capturing the payment incurs an additional fee.
ShopifyPaymentsSetRefundSetAcquirerReferenceNumber String The acquirer reference number (ARN) generated for Visa/Mastercard transactions.
TotalUnsettledSetPresentmentMoneyAmount Decimal The unsettled transaction amount in the presentment currency.
TotalUnsettledSetPresentmentMoneyCurrencyCode String The presentment currency code for the unsettled amount.
TotalUnsettledSetShopMoneyAmount Decimal The unsettled transaction amount in the shop currency.
TotalUnsettledSetShopMoneyCurrencyCode String The shop currency code for the unsettled amount.

CData Python Connector for Shopify

ReturnExchangeLineItems

Lists line items created for exchanges within a return.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ResourceId supports the '=, IN' comparison operators.
  • OrderId supports the '=' comparison operator.

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

  SELECT * FROM ReturnExchangeLineItems WHERE ResourceId = 'Val1'
  SELECT * FROM ReturnExchangeLineItems WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the return or exchange line item.
ResourceId String

Returns.Id

A globally unique Id for the related resource.
Name String The product title, optionally appended with the variant title if applicable.
Title String The product title at the time the order was created.
VariantTitle String The variant title at the time the order was created.
VariantId String A globally unique Id for the product variant.
ProductId String A globally unique Id for the product.
SellingPlanSellingPlanId String The Id of the selling plan linked to the line item.
Quantity Int The number of units of the variant ordered.
Restockable Bool Whether the line item can be restocked.
Sku String The stock keeping unit (SKU) of the variant.
Taxable Bool Whether the variant is taxable.
Vendor String The name of the vendor that supplied the variant.
CurrentQuantity Int The current quantity of the line item, after subtracting any removed units.
MerchantEditable Bool Whether the line item can be edited by the merchant.
RefundableQuantity Int The quantity of the line item that can be refunded.
RequiresShipping Bool Whether the variant requires physical shipping.
UnfulfilledQuantity Int The number of units that have not yet been fulfilled.
NonFulfillableQuantity Int The number of units that cannot be fulfilled. For example, refunded items or non-physical items like tips.
IsGiftCard Bool Whether the line item is a gift card purchase.
DiscountedTotalSetPresentmentMoneyAmount Decimal The total discounted amount in the presentment currency.
DiscountedTotalSetPresentmentMoneyAmountWithCodeDiscounts Decimal The total discounted amount in the presentment currency, including code-based discounts.
DiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the discounted total in presentment currency.
DiscountedTotalSetShopMoneyAmount Decimal The total discounted amount in the shop currency.
DiscountedTotalSetShopMoneyAmountWithCodeDiscounts Decimal The total discounted amount in the shop currency, including code-based discounts.
DiscountedTotalSetShopMoneyCurrencyCode String The currency code for the discounted total in shop currency.
DiscountedUnitPriceSetPresentmentMoneyAmount Decimal The discounted unit price in the presentment currency.
DiscountedUnitPriceSetPresentmentMoneyCurrencyCode String The currency code for the discounted unit price in presentment currency.
DiscountedUnitPriceSetShopMoneyAmount Decimal The discounted unit price in the shop currency.
DiscountedUnitPriceSetShopMoneyCurrencyCode String The currency code for the discounted unit price in shop currency.
ImageId String A unique Id for the product image.
ImageWidth Int The original width of the product image in pixels, or null if not hosted by Shopify.
ImageAltText String Alternative text describing the contents of the product image.
ImageHeight Int The original height of the product image in pixels, or null if not hosted by Shopify.
ImageUrl String The URL of the product image.
OriginalTotalSetPresentmentMoneyAmount Decimal The original total amount in the presentment currency.
OriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the original total in presentment currency.
OriginalTotalSetShopMoneyAmount Decimal The original total amount in the shop currency.
OriginalTotalSetShopMoneyCurrencyCode String The currency code for the original total in shop currency.
OriginalUnitPriceSetPresentmentMoneyAmount Decimal The original unit price in the presentment currency.
OriginalUnitPriceSetPresentmentMoneyCurrencyCode String The currency code for the original unit price in presentment currency.
OriginalUnitPriceSetShopMoneyAmount Decimal The original unit price in the shop currency.
OriginalUnitPriceSetShopMoneyCurrencyCode String The currency code for the original unit price in shop currency.
TotalDiscountSetPresentmentMoneyAmount Decimal The total discount amount in the presentment currency.
TotalDiscountSetPresentmentMoneyCurrencyCode String The currency code for the total discount in presentment currency.
TotalDiscountSetShopMoneyAmount Decimal The total discount amount in the shop currency.
TotalDiscountSetShopMoneyCurrencyCode String The currency code for the total discount in shop currency.
UnfulfilledDiscountedTotalSetPresentmentMoneyAmount Decimal The unfulfilled discounted total in the presentment currency.
UnfulfilledDiscountedTotalSetPresentmentMoneyCurrencyCode String The currency code for the unfulfilled discounted total in presentment currency.
UnfulfilledDiscountedTotalSetShopMoneyAmount Decimal The unfulfilled discounted total in the shop currency.
UnfulfilledDiscountedTotalSetShopMoneyCurrencyCode String The currency code for the unfulfilled discounted total in shop currency.
UnfulfilledOriginalTotalSetPresentmentMoneyAmount Decimal The unfulfilled original total in the presentment currency.
UnfulfilledOriginalTotalSetPresentmentMoneyCurrencyCode String The currency code for the unfulfilled original total in presentment currency.
UnfulfilledOriginalTotalSetShopMoneyAmount Decimal The unfulfilled original total in the shop currency.
UnfulfilledOriginalTotalSetShopMoneyCurrencyCode String The currency code for the unfulfilled original total in shop currency.
OrderId String

Orders.Id

A globally-unique ID.
OrderReturnStatus String The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
AppliedDiscountValueAmount Decimal A fixed discount amount applied to the exchange line item.
AppliedDiscountValueAmountCurrencyCode String The currency code for the fixed discount applied to the exchange line item.
AppliedDiscountValuePercentage Double The discount percentage applied to the exchange line item.
AppliedDiscountDescription String A description of the discount applied to the exchange line item.
GiftCardCodes String The gift card codes linked to physical gift cards in the order.

CData Python Connector for Shopify

ReturnLineItems

Lists return line items attached to the return.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ReturnId supports the '=, IN' comparison operators.
  • OrderId supports the '=' comparison operator.

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

  SELECT * FROM ReturnLineItems WHERE ReturnId = 'Val1'
  SELECT * FROM ReturnLineItems WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the return line item.
ReturnId [KEY] String

Returns.Id

A globally unique Id for the associated return.
OrderId String

Orders.Id

A globally-unique ID.
OrderReturnStatus String The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

Quantity Int The number of units being returned.
CustomerNote String A note from the customer describing the item to be returned. Maximum length: 300 characters.
ProcessableQuantity Int The quantity that can be processed.
ProcessedQuantity Int The quantity that has been processed.
UnprocessedQuantity Int The quantity that hasn't been processed.
RefundableQuantity Int The number of units that can still be refunded.
RefundedQuantity Int The number of units that have already been refunded.
ReturnReason String The reason provided for returning the item.
ReturnReasonNote String Additional details about the reason for the return. Maximum length: 255 characters.
TotalWeightUnit String The unit of measurement for the weight value.
TotalWeightValue Double The weight value, expressed using the unit defined in `TotalWeightUnit`.
WithCodeDiscountedTotalPriceSetPresentmentMoneyAmount Decimal The discounted total price in the presentment currency.
WithCodeDiscountedTotalPriceSetPresentmentMoneyCurrencyCode String The presentment currency code for the discounted total price.
WithCodeDiscountedTotalPriceSetShopMoneyAmount Decimal The discounted total price in the shop currency.
WithCodeDiscountedTotalPriceSetShopMoneyCurrencyCode String The shop currency code for the discounted total price.
FulfillmentLineItemId String A globally unique Id for the associated fulfillment line item.

CData Python Connector for Shopify

ReturnLineItemsUnverified

Lists unverified return line items pending inspection or validation.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ReturnId supports the '=, IN' comparison operators.
  • OrderId supports the '=' comparison operator.

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

  SELECT * FROM ReturnLineItemsUnverified WHERE ReturnId = 'Val1'
  SELECT * FROM ReturnLineItemsUnverified WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the unverified return line item.
ReturnId [KEY] String

Returns.Id

A globally unique Id for the associated return.
OrderId String

Orders.Id

A globally-unique ID.
OrderReturnStatus String The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

CustomerNote String A note from the customer describing the item to be returned. Maximum length: 300 characters.
Quantity Int The number of units being returned.
RefundableQuantity Int The number of units that can still be refunded.
RefundedQuantity Int The number of units that have already been refunded.
ReturnReason String The reason provided for returning the item.
ReturnReasonNote String Additional details about the reason for the return. Maximum length: 255 characters.
UnitPriceAmount Decimal The unit price of the item in decimal format.
UnitPriceCurrencyCode String The currency code for the unit price.

CData Python Connector for Shopify

ReverseFulfillmentOrderDeliveries

Lists reverse deliveries where buyers send packages back to the merchant.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • ReverseFulfillmentOrderId supports the '=, IN' comparison operators.

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

  SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE Id = 'Val1'
  SELECT * FROM ReverseFulfillmentOrderDeliveries WHERE ReverseFulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String The Id of the reverse delivery.
ReverseFulfillmentOrderId String

ReverseFulfillmentOrders.Id

A globally unique Id for the associated reverse fulfillment order.
DeliverableLabelPublicFileUrl String A public link for downloading the reverse delivery label image.
DeliverableLabelUpdatedAt Datetime The date and time when the reverse delivery label was last updated.
DeliverableLabelCreatedAt Datetime The date and time when the reverse delivery label was created.
DeliverableTrackingCarrierName String The name of the carrier providing the tracking information, in a human-readable format.
DeliverableTrackingNumber String The tracking number assigned by the carrier for the shipment.
DeliverableTrackingUrl String The URL to track the shipment with the carrier.

CData Python Connector for Shopify

ReverseFulfillmentOrderDeliveryLineItems

Lists line items included in reverse deliveries.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ReverseFulfillmentOrderDeliveryId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ReverseFulfillmentOrderDeliveryLineItems WHERE ReverseFulfillmentOrderDeliveryId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the reverse fulfillment order delivery line item.
ReverseFulfillmentOrderDeliveryId String A globally unique Id for the associated reverse fulfillment order delivery.
ReverseFulfillmentOrderLineItemId String A globally unique Id for the associated reverse fulfillment order line item.
Dispositions String The condition or outcome assigned to the item (for example, restocked, discarded, or returned to vendor).
Quantity Int The expected number of units for this line item.

CData Python Connector for Shopify

ReverseFulfillmentOrderLineItems

Lists line items managed under reverse fulfillment orders.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ReverseFulfillmentOrderId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ReverseFulfillmentOrderLineItems WHERE ReverseFulfillmentOrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the reverse fulfillment order line item.
ReverseFulfillmentOrderId String

ReverseFulfillmentOrders.Id

A globally unique Id for the associated reverse fulfillment order.
FulfillmentLineItemId String A globally unique Id for the related fulfillment line item.
Dispositions String The condition or outcome assigned to the item (for example, restocked, discarded, or returned to vendor).
TotalQuantity Int The total number of units in this line item to be processed.

CData Python Connector for Shopify

ReverseFulfillmentOrders

Lists items within returns to be processed by a fulfillment service.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • ReturnId supports the '=, IN' comparison operators.
  • OrderId supports the '=' comparison operator.

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

  SELECT * FROM ReverseFulfillmentOrders WHERE ReturnId = 'Val1'
  SELECT * FROM ReverseFulfillmentOrders WHERE OrderId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the reverse fulfillment order.
ReturnId String

Returns.Id

A globally unique Id for the associated return.
OrderId String

Orders.Id

A globally-unique ID.
OrderReturnStatus String The order's aggregated return status for display purposes.

The allowed values are IN_PROGRESS, INSPECTION_COMPLETE, NO_RETURN, RETURN_FAILED, RETURN_REQUESTED, RETURNED.

Status String The current status of the reverse fulfillment order (for example, open, in_progress, or completed).
ThirdPartyConfirmationStatus String The status of the third-party confirmation for the reverse fulfillment order.

CData Python Connector for Shopify

SegmentFilterParameters

Lists available parameters used to construct event-based segment filters.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM SegmentFilterParameters

Columns

Name Type References Description
SegmentFilterQueryName [KEY] String The query name of the segment filter.
QueryName [KEY] String The query name of the parameter within the filter.
ParameterType String The data type of the parameter (for example, string, int, or bool).
Optional Bool Indicates whether the parameter is optional.
AcceptsMultipleValues Bool Indicates whether the parameter accepts multiple values in a list.
LocalizedName String The localized name of the parameter.
LocalizedDescription String The localized description of the parameter.
MinRange Double The parameter minimum value range.
MaxRange Double The parameter maximum value range.

CData Python Connector for Shopify

SegmentFilters

Lists reusable segment filters available for building segments.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM SegmentFilters

Columns

Name Type References Description
QueryName [KEY] String The query name of the filter.
MultiValue Bool Indicates whether a filter can have multiple values for a single customer.
LocalizedName String The localized display name of the filter.
IntegerMinRange Double The minimum range a filter can have.
IntegerMaxRange Double The maximum range a filter can have.
FloatMinRange Double The minimum range a filter can have.
FloatMaxRange Double The maximum range a filter can have.
ReturnValueType String The return value type of the event segment filter.

CData Python Connector for Shopify

SellingPlanGroupSellingPlans

Lists selling plans associated with a selling plan group.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • SellingPlanGroupId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM SellingPlanGroupSellingPlans WHERE SellingPlanGroupId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the selling plan.
SellingPlanGroupId String

SellingPlanGroups.Id

A globally unique Id for the associated selling plan group.
Name String A customer-facing description of the selling plan. If the store supports multiple currencies, avoid including country-specific pricing (for example, 'Buy monthly, get 10$ CAD off') since this text is not converted for other currencies.
Category String The category used to classify the selling plan for reporting purposes.

The allowed values are OTHER, PRE_ORDER, SUBSCRIPTION, TRY_BEFORE_YOU_BUY.

Description String The buyer-facing description of the selling plan commitment.
Options String The option values available in the selling plan. Selling plans are grouped together in Liquid when created by the same app and share the same 'selling_plan_group.name' and 'selling_plan_group.options' values.
Position Int The relative display order of the selling plan. Lower values are shown before higher values.
CreatedAt Datetime The date and time when the selling plan was created.
InventoryPolicyReserve String Specifies when to reserve inventory for the order.

The allowed values are ON_FULFILLMENT, ON_SALE.

FixedBillingPolicyCheckoutChargeType String The type of checkout charge applied by the fixed billing policy.

The allowed values are PERCENTAGE, PRICE.

FixedBillingPolicyCheckoutChargeValueAmount Decimal The fixed checkout charge amount, expressed as a decimal value.
FixedBillingPolicyCheckoutChargeValueCurrencyCode String The currency code for the fixed checkout charge amount.
FixedBillingPolicyCheckoutChargeValuePercentage Double The checkout charge as a percentage of the product price.
FixedBillingPolicyRemainingBalanceChargeExactTime Datetime The exact date and time when to capture the remaining balance.
FixedBillingPolicyRemainingBalanceChargeTimeAfterCheckout String The duration between the checkout event and capturing the remaining balance. Expressed as an ISO8601 duration.
FixedBillingPolicyRemainingBalanceChargeTrigger String Specifies when to capture payment for the remaining balance.

The allowed values are EXACT_TIME, NO_REMAINING_BALANCE, TIME_AFTER_CHECKOUT.

RecurringBillingPolicyAnchors String The anchor dates used for calculating billing intervals.
RecurringBillingPolicyCreatedAt Datetime The date and time when the recurring billing policy was created.
RecurringBillingPolicyInterval String The billing interval unit.

The allowed values are DAY, MONTH, WEEK, YEAR.

RecurringBillingPolicyIntervalCount Int The number of interval units between billings.
RecurringBillingPolicyMaxCycles Int The maximum number of billing cycles allowed.
RecurringBillingPolicyMinCycles Int The minimum number of billing cycles required.
FixedDeliveryPolicyAnchors String The anchor dates used for calculating delivery intervals.
FixedDeliveryPolicyCutoff Int The cutoff period (in days) for including orders in the next fulfillment cycle.
FixedDeliveryPolicyFulfillmentExactTime Datetime The exact date and time when fulfillment should occur.
FixedDeliveryPolicyFulfillmentTrigger String Specifies what triggers fulfillment.

The allowed values are ANCHOR, ASAP, EXACT_TIME, UNKNOWN.

FixedDeliveryPolicyIntent String Indicates whether the delivery policy is merchant-centric or buyer-centric. Currently, only merchant-centric delivery policies are supported.
FixedDeliveryPolicyPreAnchorBehavior String Specifies fulfillment behavior if an order is placed before the anchor date.

The allowed values are ASAP, NEXT.

RecurringDeliveryPolicyAnchors String The anchor dates used for calculating recurring delivery intervals.
RecurringDeliveryPolicyCreatedAt Datetime The date and time when the recurring delivery policy was created.
RecurringDeliveryPolicyCutoff Int The cutoff period (in days) for including orders in the current delivery cycle.
RecurringDeliveryPolicyIntent String Indicates whether the delivery policy is merchant-centric or buyer-centric. Currently, only merchant-centric delivery policies are supported.

The allowed values are FULFILLMENT_BEGIN.

RecurringDeliveryPolicyInterval String The delivery interval unit. The unit for the delivery interval (day, week, month, or year).
RecurringDeliveryPolicyIntervalCount Int The number of interval units between deliveries.
RecurringDeliveryPolicyPreAnchorBehavior String Specifies fulfillment behavior if an order is placed before the anchor date.

The allowed values are ASAP, NEXT.

FixedPricingPolicies String Represents fixed pricing policies associated with the selling plan.
RecurringPricingPolicies String Represents recurring pricing policies associated with the selling plan.

Pseudo-Columns

Pseudo-columns are fields that can only be used in the types of statements under which they are explicitly listed. They are not standard columns but instead provide additional functionality for specific operations.

Name Type Description
Metafields String Additional metadata attached to the selling plan resource.

CData Python Connector for Shopify

Shop

Returns the shop resource for the current token, including business and management settings.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM Shop

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the shop.
Name String The name of the shop.
OwnerName String The name of the account owner for the shop.
RichTextEditorUrl String The URL of the rich text editor available for mobile devices.
Description String The shop's meta description, used in search engine results.
Email String The shop owner's email address. Shopify uses this address to communicate with the shop owner.
Url String The URL of the shop's online store.
ContactEmail String The public-facing contact email address for the shop. Customers use this address to communicate with the shop owner.
CurrencyCode String The three-letter currency code the shop sells in.
CustomerAccounts String Specifies whether customer accounts are required, optional, or disabled for the shop.
IanaTimezone String The shop's time zone as defined by the IANA.
MyshopifyDomain String The shop's myshopify.com domain name.
PublicationsCount Int The number of publications associated with the shop.
PublicationsCountPrecision String The precision of the publication count, or how exact the value is.
SetupRequired Bool Indicates whether the shop has outstanding setup steps.
TaxShipping Bool Indicates whether the shop charges taxes on shipping.
TaxesIncluded Bool Indicates whether product prices include applicable taxes.
TimezoneAbbreviation String The abbreviation of the shop's time zone.
TimezoneOffset String The shop's time zone offset.
UnitSystem String The unit system for weights and measures used in the shop.
WeightUnit String The primary unit of weight for products and shipping.
CheckoutApiSupported Bool Indicates whether the shop supports checkouts via the Checkout API.
EnabledPresentmentCurrencies String The presentment currencies enabled for the shop (for example, 'USD', 'EUR').
ShipsToCountries String A list of countries the shop ships to.
TimezoneOffsetMinutes Int The shop's time zone offset expressed in minutes.
TransactionalSmsDisabled Bool Indicates whether transactional SMS messages from Shopify are disabled for the shop.
OrderNumberFormatPrefix String The prefix that appears before order numbers.
OrderNumberFormatSuffix String The suffix that appears after order numbers.
UpdatedAt Datetime The date and time when the shop was last updated.
BillingAddressId String A globally unique Id for the billing address.
BillingAddressCoordinatesValidated Bool Indicates whether the billing address coordinates are valid.
BillingAddressAddress1 String The first line of the billing address, typically the street address or PO Box number.
BillingAddressAddress2 String The second line of the billing address, typically the apartment, suite, or unit number.
BillingAddressCity String The city, district, village, or town of the billing address.
BillingAddressCompany String The company or organization associated with the billing address.
BillingAddressCountry String The country of the billing address.
BillingAddressLatitude Double The latitude coordinate of the billing address.
BillingAddressLongitude Double The longitude coordinate of the billing address.
BillingAddressPhone String A phone number associated with the billing address, formatted using the E.164 standard (for example, +16135551111).
BillingAddressProvince String The province, state, or district of the billing address.
BillingAddressZip String The postal or zip code of the billing address.
BillingAddressFormattedArea String A comma-separated string of the city, province, and country for the billing address.
BillingAddressProvinceCode String The two-letter province or state code of the billing address (for example, ON).
BillingAddressCountryCodeV2 String The two-letter country code of the billing address (for example, US).
CountriesInShippingZonesCountryCodes String The list of all countries across the shop's shipping zones.
CountriesInShippingZonesIncludeRestOfWorld Bool Indicates whether 'Rest of World' is included in the shipping zones.
CurrencyFormatsMoneyFormat String Money without currency formatting, used in HTML.
CurrencyFormatsMoneyInEmailsFormat String Money without currency formatting, used in emails.
CurrencyFormatsMoneyWithCurrencyFormat String Money with currency formatting, used in HTML.
CurrencyFormatsMoneyWithCurrencyInEmailsFormat String Money with currency formatting, used in emails.
FeaturesInternationalPriceOverrides Bool Indicates whether the shop can enable international price overrides.
FeaturesStorefront Bool Indicates whether the shop has an online storefront.
FeaturesGiftCards Bool Indicates whether the shop can create gift cards.
FeaturesSellsSubscriptions Bool Indicates whether the shop has ever sold subscription products.
FeaturesEligibleForSubscriptions Bool Indicates whether the shop is configured to sell subscriptions.
FeaturesInternationalPriceRules Bool Indicates whether the shop can enable international price rules.
FeaturesEligibleForSubscriptionMigration Bool Indicates whether the shop can be migrated to Shopify's subscription system.
FeaturesLegacySubscriptionGatewayEnabled Bool Indicates whether the shop has enabled a legacy subscription gateway for older subscriptions.
FeaturesPaypalExpressSubscriptionGatewayStatus String The configuration status for selling subscriptions with PayPal Express.
PendingOrdersCount Int The number of pending orders for the shop.
PendingOrdersPrecision String The precision of the pending orders count, or how exact the value is.
PaymentSettingsSupportedDigitalWallets String A list of digital wallets supported by the shop.
PlanPublicDisplayName String The public display name of the shop's billing plan.
PlanPartnerDevelopment Bool Indicates whether the shop is a partner development shop for testing purposes.
PlanShopifyPlus Bool Indicates whether the shop has a Shopify Plus subscription.
PrimaryDomainId String A globally unique Id for the primary domain.
PrimaryDomainHost String The host name of the shop's primary domain (for example, example.com).
PrimaryDomainUrl String The URL of the shop's primary domain (for example, https://example.com).
PrimaryDomainSslEnabled Bool Indicates whether SSL is enabled on the primary domain.
PrimaryDomainLocalizationCountry String The ISO country code assigned to the primary domain (for example, CA or * for 'Rest of World').
PrimaryDomainLocalizationAlternateLocales String The ISO codes for alternate locales available on the primary domain (for example, ['en']).
PrimaryDomainLocalizationDefaultLocale String The ISO code for the default locale of the primary domain (for example, en).
PrimaryDomainMarketWebPresenceId String A globally unique Id for the market web presence of the primary domain.
PrimaryDomainMarketWebPresenceAlternateLocales String The ISO codes for alternate locales used in the primary domain's market web presence. These are exposed as language-specific subfolders.
PrimaryDomainMarketWebPresenceDefaultLocale String The default locale ISO code of the market web presence for the primary domain.
PrimaryDomainMarketWebPresenceDefaultLocaleMarketWebPresencesId String The Id of the market web presences that use the default locale.
PrimaryDomainMarketWebPresenceDefaultLocaleName String The human-readable name of the default locale for the primary domain.
PrimaryDomainMarketWebPresenceDefaultLocalePrimary Bool Indicates whether the default locale is the primary locale for the shop.
PrimaryDomainMarketWebPresenceDefaultLocalePublished Bool Indicates whether the default locale is visible to buyers.
PrimaryDomainMarketWebPresenceSubfolderSuffix String The market-specific subfolder suffix defined by the web presence (for example, 'us' in '/en-us'). Null if 'domain' is not null.
ResourceLimitsLocationLimit Int The maximum number of locations allowed for the shop.
ResourceLimitsMaxProductOptions Int The maximum number of product options allowed per product.
ResourceLimitsMaxProductVariants Int The maximum number of variants allowed per product.
ResourceLimitsRedirectLimitReached Bool Indicates whether the shop has reached its redirect limit for resources.

CData Python Connector for Shopify

ShopifyPaymentsAccount

Returns Shopify Payments account details, including balances, disputes, and payouts.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM ShopifyPaymentsAccount

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the Shopify Payments account.
Activated Bool Indicates whether the Shopify Payments setup is completed.
Country String The country associated with the Shopify Payments account.
Onboardable Bool Indicates whether the Shopify Payments account can be onboarded.
DefaultCurrency String The default payout currency for the Shopify Payments account.
PayoutStatementDescriptor String The descriptor used for payouts. This text appears on the merchant's bank statement when they receive a payout.
PayoutScheduleInterval String The interval at which payouts are sent to the connected bank account.
PayoutScheduleMonthlyAnchor Int The day of the month funds are paid out. Accepts values from 1–31. If set to monthly, payouts scheduled on the 29th–31st are sent on the last day of shorter months.
PayoutScheduleWeeklyAnchor String The day of the week funds are paid out. Accepts values from Monday to Friday. Used when the payment interval is set to weekly.

CData Python Connector for Shopify

ShopifyPaymentsAccountBalance

Returns current balances across all currencies for the account.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM ShopifyPaymentsAccountBalance

Columns

Name Type References Description
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
Amount Decimal The account balance amount, expressed as a decimal value.
CurrencyCode [KEY] String The currency code of the account balance amount.

CData Python Connector for Shopify

ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders

Lists adjustment orders linked to a specific balance transaction.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • ShopifyPaymentsAccountBalanceTransactionId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM ShopifyPaymentsAccountBalanceTransactionAdjustmentsOrders WHERE ShopifyPaymentsAccountBalanceTransactionId = 'Val1'

Columns

Name Type References Description
Link [KEY] String The link to the adjustment order resource in Shopify Payments.
Name String The name of the adjustment order, typically the Shopify order number.
Amount Decimal The adjustment order amount, expressed as a decimal value.
Fee Decimal The adjustment order fee, expressed as a decimal value.
Net Decimal The net amount of the adjustment order, expressed as a decimal value.
AmountCurrencyCode String The currency code for the adjustment order amount.
ShopifyPaymentsAccountBalanceTransactionId [KEY] String A globally unique Id for the associated Shopify Payments account balance transaction.

CData Python Connector for Shopify

ShopifyPaymentsAccountBalanceTransactions

Lists balance transactions associated with the account's balances.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM ShopifyPaymentsAccountBalanceTransactions

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the balance transaction.
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
NetAmount Decimal The net amount contributing to the merchant's balance, expressed as a decimal value.
NetCurrencyCode String The currency code of the net amount contributing to the merchant's balance.
TransactionDate Datetime The date and time when the balance transaction was processed.
SourceId String The Id of the resource that led to the transaction.
SourceType String The type of source that generated the balance transaction.
SourceOrderTransactionId String The Id of the order transaction that resulted in this balance transaction.
AdjustmentReason String The reason for the adjustment associated with the transaction. Null if the source type is not an adjustment.
Type String The type of balance transaction.
Test Bool Indicates whether the transaction was created in test mode.
Amount Decimal The gross transaction amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the gross transaction amount.
FeeAmount Decimal The transaction fee amount, expressed as a decimal value.
FeeCurrencyCode String The currency code of the transaction fee amount.
AssociatedOrderId String The Id of the order associated with the balance transaction.
AssociatedOrderName String The name of the order associated with the balance transaction.
AssociatedPayoutId String The Id of the payout associated with the balance transaction.
AssociatedPayoutStatus String The status of the payout associated with the balance transaction.

CData Python Connector for Shopify

ShopifyPaymentsAccountBankAccounts

Lists bank accounts configured for the Shopify Payments account.

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM ShopifyPaymentsAccountBankAccounts

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the Shopify Payments bank account.
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
BankName String The name of the bank where the account is held.
Country String The country of the bank.
Currency String The currency of the bank account.
Status String The current status of the bank account.
AccountNumberLastDigits String The last visible digits of the bank account number, with the rest redacted.
CreatedAt Datetime The date and time when the bank account was created.

CData Python Connector for Shopify

ShopifyPaymentsAccountDisputes

Lists disputes associated with the Shopify Payments account.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, !=' comparison operators.
  • Status supports the '=, !=' comparison operators.
  • InitiatedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Id = 'Val1'
  SELECT * FROM ShopifyPaymentsAccountDisputes WHERE Status = 'Val1'
  SELECT * FROM ShopifyPaymentsAccountDisputes WHERE InitiatedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the dispute.
LegacyResourceId String The Id of the corresponding resource in the REST Admin API.
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
EvidenceDueBy Date The deadline date for submitting evidence.
EvidenceSentOn Date The date when evidence was submitted. Returns null if evidence has not yet been sent.
Status String The current status of the dispute, such as under_review or accepted.
Type String Indicates whether the dispute is in the inquiry phase or has become a chargeback.
FinalizedOn Date The date when the dispute was resolved. Returns null if the dispute is not yet finalized.
InitiatedAt Datetime The date and time when the dispute was initiated.
AmountAmount Decimal The disputed amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the disputed amount.
OrderId String A globally unique Id for the associated order.
ReasonDetailsReason String The reason for the dispute provided by the cardholder's bank.
ReasonDetailsNetworkReasonCode String The raw reason code provided by the payment network.

CData Python Connector for Shopify

ShopifyPaymentsAccountPayouts

Lists past and current payouts between the account and the bank (available only in supported countries).

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=' comparison operator.
  • Status supports the '=' comparison operator.
  • IssuedAt supports the '=, >, >=, <=, <' comparison operators.
  • TransactionType supports the '=' comparison operator.

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

  SELECT * FROM ShopifyPaymentsAccountPayouts WHERE Id = 'Val1'
  SELECT * FROM ShopifyPaymentsAccountPayouts WHERE Status = 'Val1'
  SELECT * FROM ShopifyPaymentsAccountPayouts WHERE IssuedAt = '2023-01-01 11:10:00'
  SELECT * FROM ShopifyPaymentsAccountPayouts WHERE TransactionType = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the payout.
LegacyResourceId String The Id of the corresponding resource in the REST Admin API.
ShopifyPaymentsAccountId String

ShopifyPaymentsAccount.Id

A globally unique Id for the associated Shopify Payments account.
Status String The current transfer status of the payout.
IssuedAt Datetime The exact date and time when the payout was issued. Includes only balance transactions available at this time.
TransactionType String The direction of the payout (for example, credit or debit).
BusinessEntityId String The Id of the business entity associated with the payout.
BankAccountId String A globally unique Id for the associated bank account.
NetAmount Decimal The net payout amount, expressed as a decimal value.
NetCurrencyCode String The currency code of the net payout amount.
SummaryAdjustmentsFeeAmount Decimal The adjustment fee amount, expressed as a decimal value.
SummaryAdjustmentsFeeCurrencyCode String The currency code of the adjustment fee amount.
SummaryAdjustmentsGrossAmount Decimal The gross adjustment amount, expressed as a decimal value.
SummaryAdjustmentsGrossCurrencyCode String The currency code of the gross adjustment amount.
SummaryChargesFeeAmount Decimal The charge fee amount, expressed as a decimal value.
SummaryChargesFeeCurrencyCode String The currency code of the charge fee amount.
SummaryChargesGrossAmount Decimal The gross charge amount, expressed as a decimal value.
SummaryChargesGrossCurrencyCode String The currency code of the gross charge amount.
SummaryRefundsFeeAmount Decimal The refund fee amount, expressed as a decimal value.
SummaryRefundsFeeCurrencyCode String The currency code of the refund fee amount.
SummaryRefundsFeeGrossAmount Decimal The gross refund fee amount, expressed as a decimal value.
SummaryRefundsFeeGrossCurrencyCode String The currency code of the gross refund fee amount.
SummaryReservedFundsFeeAmount Decimal The reserved funds fee amount, expressed as a decimal value.
SummaryReservedFundsFeeCurrencyCode String The currency code of the reserved funds fee amount.
SummaryReservedFundsGrossAmount Decimal The gross reserved funds amount, expressed as a decimal value.
SummaryReservedFundsGrossCurrencyCode String The currency code of the gross reserved funds amount.
SummaryRetriedPayoutsFeeAmount Decimal The retried payouts fee amount, expressed as a decimal value.
SummaryRetriedPayoutsFeeCurrencyCode String The currency code of the retried payouts fee amount.
SummaryRetriedPayoutsGrossAmount Decimal The gross retried payouts amount, expressed as a decimal value.
SummaryRetriedPayoutsGrossCurrencyCode String The currency code of the gross retried payouts amount.
SummaryAdvanceFeesAmount Decimal The advance fee amount, expressed as a decimal value.
SummaryAdvanceFeesCurrencyCode String The currency code of the advance fee amount, using ISO 4217 or supported legacy/non-standard codes.
SummaryAdvanceGrossAmount Decimal The gross advance amount, expressed as a decimal value.
SummaryAdvanceGrossCurrencyCode String The currency code of the gross advance amount, using ISO 4217 or supported legacy/non-standard codes.

CData Python Connector for Shopify

StaffMembers

Lists staff members for the shop with pagination (Shopify Plus only).

View-Specific Information

Select

The connector processes all filters client-side within the connector. The following query is the only one processed server-side:

  SELECT * FROM StaffMembers

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the staff member.
ShopId String

Shop.Id

A globally unique Id for the associated shop.
Name String The staff member's full name.
FirstName String The staff member's first name.
LastName String The staff member's last name.
Active Bool Indicates whether the staff member is active.
Email String The staff member's email address.
Exists Bool Indicates whether the staff member's account exists.
Initials String The staff member's initials, if available.
Locale String The staff member's preferred locale, formatted as 'language' or 'language-COUNTRY' (for example, 'en' or 'en-US').
Phone String The staff member's phone number.
IsShopOwner Bool Indicates whether the staff member is the shop owner.
AccountType String The type of account assigned to the staff member.
PrivateDataAccountSettingsUrl String The URL to the staff member's account settings page.
PrivateDataCreatedAt Datetime The date and time when the staff member account was created.

CData Python Connector for Shopify

StoreCreditAccountCreditTransactions

Lists transactions that credit (increase) a store credit account.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • CustomerStoreCreditAccountId supports the '=, IN' comparison operators.

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

  SELECT * FROM StoreCreditAccountCreditTransactions WHERE Id = 'Val1'
  SELECT * FROM StoreCreditAccountCreditTransactions WHERE CustomerStoreCreditAccountId = 'Val1'

Insert

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

Amount, AmountCurrencyCode, ExpiresAt, CustomerStoreCreditAccountId

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the store credit account credit transaction.
Amount Decimal The transaction amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the transaction amount.
RemainingAmount Decimal The remaining credit balance after the transaction, expressed as a decimal value.
RemainingAmountCurrencyCode String The currency code of the remaining credit balance.
ExpiresAt Datetime The date and time when the transaction expires. Debit transactions always spend the soonest expiring credit first.
BalanceAfterTransactionAmount Decimal The account balance after the transaction, expressed as a decimal value.
BalanceAfterTransactionCurrencyCode String The currency code of the account balance after the transaction.
CreatedAt Datetime The date and time when the transaction was created.
CustomerStoreCreditAccountId String

CustomerStoreCreditAccounts.Id

A globally unique Id for the associated customer store credit account.

CData Python Connector for Shopify

StoreCreditAccountDebitRevertTransactions

Lists debit-revert transactions created when a debit is reversed on a store credit account.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • CustomerStoreCreditAccountId supports the '=, IN' comparison operators.

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

  SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE Id = 'Val1'
  SELECT * FROM StoreCreditAccountDebitRevertTransactions WHERE CustomerStoreCreditAccountId = 'Val1'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the debit revert transaction.
Amount Decimal The amount of the reverted debit transaction, expressed as a decimal value.
AmountCurrencyCode String The currency code of the reverted debit transaction amount.
DebitTransactionId String The Id of the original debit transaction being reverted.
BalanceAfterTransactionAmount Decimal The account balance after the revert transaction, expressed as a decimal value.
BalanceAfterTransactionCurrencyCode String The currency code of the account balance after the revert transaction.
CreatedAt Datetime The date and time when the revert transaction was created.
CustomerStoreCreditAccountId String

CustomerStoreCreditAccounts.Id

A globally unique Id for the associated customer store credit account.

CData Python Connector for Shopify

StoreCreditAccountDebitTransactions

Lists transactions that debit (decrease) a store credit account.

Table-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • CustomerStoreCreditAccountId supports the '=, IN' comparison operators.

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

  SELECT * FROM StoreCreditAccountDebitTransactions WHERE Id = 'Val1'
  SELECT * FROM StoreCreditAccountDebitTransactions WHERE CustomerStoreCreditAccountId = 'Val1'

Insert

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

Amount, AmountCurrencyCode, CustomerStoreCreditAccountId

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the debit transaction.
Amount Decimal The debit amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the debit amount.
BalanceAfterTransactionAmount Decimal The account balance after the debit transaction, expressed as a decimal value.
BalanceAfterTransactionCurrencyCode String The currency code of the account balance after the debit transaction.
CreatedAt Datetime The date and time when the debit transaction was created.
CustomerStoreCreditAccountId String

CustomerStoreCreditAccounts.Id

A globally unique Id for the associated customer store credit account.

CData Python Connector for Shopify

StoreCreditAccountExpirationTransactions

Lists expiration transactions created when credit expires on a store credit account.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.

  • CustomerStoreCreditAccountId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM StoreCreditAccountExpirationTransactions WHERE CustomerStoreCreditAccountId = 'Val1'

Columns

Name Type References Description
Amount Decimal The amount of store credit that expired, expressed as a decimal value.
AmountCurrencyCode String The currency code of the expired store credit amount.
CreditTransactionId String The Id of the original credit transaction that expired.
BalanceAfterTransactionAmount Decimal The account balance after the expiration transaction, expressed as a decimal value.
BalanceAfterTransactionCurrencyCode String The currency code of the account balance after the expiration transaction.
CreatedAt Datetime The date and time when the expiration transaction was created.
CustomerStoreCreditAccountId String

CustomerStoreCreditAccounts.Id

A globally unique Id for the associated customer store credit account.

CData Python Connector for Shopify

TenderTransactions

Lists tender (payment method) transactions recorded by the shop.

View-Specific Information

Select

The connector uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The connector processes other filters client-side within the connector.

  • Id supports the '=, IN' comparison operators.
  • Test supports the '=, !=' comparison operators.
  • ProcessedAt supports the '=, !=, <, >, >=, <=' comparison operators.

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

  SELECT * FROM TenderTransactions WHERE Id = 'Val1'
  SELECT * FROM TenderTransactions WHERE Test = true
  SELECT * FROM TenderTransactions WHERE ProcessedAt = '2023-01-01 11:10:00'

Columns

Name Type References Description
Id [KEY] String A globally unique Id for the tender transaction.
Test Bool Indicates whether the transaction is a test transaction.
PaymentMethod String Details about the payment method used for the transaction.
ProcessedAt Datetime The date and time when the transaction was processed.
RemoteReference String The remote gateway reference associated with the tender transaction.
AmountAmount Decimal The transaction amount, expressed as a decimal value.
AmountCurrencyCode String The currency code of the transaction amount.
TenderTransactionCreditCardDetailsCreditCardCompany String The name of the company that issued the customer's credit card (for example, Visa).
TenderTransactionCreditCardDetailsCreditCardNumber String The customer's credit card number, with all digits except the last four redacted.
UserId String A globally unique Id for the user associated with the transaction. Available only with a Shopify Plus subscription.
OrderId String A globally unique Id for the associated order.

CData Python Connector for Shopify

Stored Procedures

Stored procedures are function-like interfaces that extend the functionality of the connector beyond simple SELECT/INSERT/UPDATE/DELETE operations with Shopify.

Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Shopify, along with an indication of whether the procedure succeeded or failed.

CData Python Connector for Shopify Stored Procedures

Name Description
AcceptCancellationRequest Accepts a cancellation request sent to a fulfillment service for a fulfillment order.
AcceptFulfillmentRequest Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
ApproveComment Approves a blog comment so it becomes publicly visible.
AppSubscriptionTrialExtend Extends the trial of an app subscription.
CollectionReorder Reorders products within a collection to control storefront merchandising.
CompanyContactRemoveFromCompany Removes a contact from a specified business-to-business (B2B) company.
CreateFile Creates file assets from an external URL or finalizes previously staged uploads.
CustomerGenerateActivationUrl Generates a URL for activating a customer account.
CustomerSegmentMembersQueryCreate Creates a customer segment members query.
CustomerSendAccountInviteEmail Sends an account invite email to a customer.
DiscountCodeRedeemCodeBulkDelete Asynchronously delete discount codes in bulk.
DiscountRedeemCodeBulkAdd Asynchronously adds discount codes in bulk to a code discount. Maximum: 250 codes per call.
DraftOrderComplete Completes a draft order and creates an order.
DraftOrderInvoiceSend Sends an email invoice for a draft order.
EnableStandardMetafieldDefinition Enables a standard metafield definition from a provided template.
FulfillmentCancel Cancels an existing Fulfillment and reverses its effects on associated FulfillmentOrder objects. When you cancel a fulfillment, the system creates new fulfillment orders for the cancelled items so they can be fulfilled again.
FulfillmentOrderHold Applies a hold on a fulfillment order to pause fulfillment.
FulfillmentOrderMerge Merges one or more fulfillment orders into a single order based on line item inputs and quantities.
FulfillmentOrderMove Moves a fulfillment order to a new location.
FulfillmentOrderReleaseHold Releases the fulfillment hold on a fulfillment order.
FulfillmentOrderSplit Splits a fulfillment order into multiple orders based on line item inputs and quantities.
GetOAuthAccessToken Gets an authentication token from Shopify.
GetOAuthAuthorizationURL Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the OAuthAccessToken from this URL.
InventoryAdjustQuantities Applies relative changes to inventory quantities for specified items.
InventoryBulkToggleActivation Activates or deactivates inventory items at selected locations to control eligibility for stocking.
InventoryMoveQuantities Moves quantities between inventory quantity names (for example, available or reserved) within a location.
InventorySetQuantities Sets absolute inventory quantities for specified quantity names at a location.
InventorySetScheduledChanges Schedules future inventory level changes for specified items and locations.
MarkCommentNotSpam Marks a comment as not spam to restore normal visibility.
MarkCommentSpam Marks a comment as spam to hide it from public view.
MarketingEngagementCreate Creates a marketing engagement for a marketing activity.
OrderCancel Cancels an order and optionally restocks items and notifies the customer.
OrderCreateManualPayment Creates a manual payment for an order.
OrderSuggestRefund Retrieves a suggested refund for an order based on line items, duties, shipping, and the refund method allocation.
PublishTheme Publishes a theme to make it the live storefront theme.
RejectCancellationRequest Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
RejectFulfillmentRequest Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
SendCancellationRequest Sends a cancellation request to the fulfillment service of a fulfillment order.
SendFulfillmentRequest Sends a fulfillment request to the fulfillment service of a fulfillment order.
ThemeFilesCopy Copies files within a theme, overwriting existing destination files.
TransactionVoid Voids an uncaptured authorization transaction so it can no longer be captured.
UpdateFile Updates metadata or properties of an existing uploaded file asset.

CData Python Connector for Shopify

AcceptCancellationRequest

Accepts a cancellation request sent to a fulfillment service for a fulfillment order.

Input

Name Type Required Description
Id String True The identifier of the fulfillment order tied to the cancellation request.
Message String False An optional message included with the cancellation acceptance, often used for notes or context.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the cancellation request was successfully accepted.
Details String Additional information or error details about the outcome of the cancellation request.
FulfillmentOrderID String The globally unique identifier of the fulfillment order after the cancellation request is processed.
RequestStatus String The current status of the cancellation request, such as accepted or failed.

CData Python Connector for Shopify

AcceptFulfillmentRequest

Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.

Input

Name Type Required Description
Id String True The identifier of the fulfillment order associated with the fulfillment request.
Message String False An optional message included with the fulfillment acceptance, often used for notes or context.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
FulfillmentOrderID String The globally unique identifier of the fulfillment order after the request is processed.
RequestStatus String The current status of the request, such as accepted, pending, or failed.

CData Python Connector for Shopify

ApproveComment

Approves a blog comment so it becomes publicly visible.

Input

Name Type Required Description
Id String True The identifier of the comment to be approved.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
Id String The globally unique identifier of the approved comment.
Status String The current status of the comment, such as approved or pending.

CData Python Connector for Shopify

AppSubscriptionTrialExtend

Extends the trial of an app subscription.

Input

Name Type Required Description
Id String True The ID of the app subscription.
Days Int True The number of days to extend the trial.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The ID of the app subscription.
Status String The status of the app subscription.

CData Python Connector for Shopify

CollectionReorder

Reorders products within a collection to control storefront merchandising.

Input

Name Type Required Description
CollectionID String True The identifier of the collection where products are reordered.
ProductIDs String True A comma-separated list of product identifiers in the collection to be reordered.
NewPositions String True A comma-separated list of new position values for the specified products.
WaitJob String False Indicates whether the stored procedure should wait until the reorder job is complete before returning a result.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
JobID String The identifier of the reorder job that was created.
Status String The current status of the reorder job, such as queued, running, or completed.

CData Python Connector for Shopify

CompanyContactRemoveFromCompany

Removes a contact from a specified business-to-business (B2B) company.

Input

Name Type Required Description
CompanyContactId String True The identifier of the company contact to remove from the company.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
RemovedCompanyContactId String The identifier of the company contact that was removed.

CData Python Connector for Shopify

CreateFile

Creates file assets from an external URL or finalizes previously staged uploads.

Input

Name Type Required Description
OriginalSource String True The source URL of the file. Supports external URLs for images or staged upload URLs.
FileName String False The name to assign to the file. If not provided, the filename from the OriginalSource is used.
Description String False The alternative text description of the file, used for accessibility.
ContentType String False The type of file. If omitted, Shopify attempts to detect the content type during processing.
DuplicateResolutionMode String False Specifies how to handle cases where the filename is already in use.

The allowed values are APPEND_UUID, RAISE_ERROR, REPLACE.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the request completed successfully.
Details String Additional information or error details about the request outcome.
Id String The globally unique identifier of the created file.
Status String The current status of the file, such as uploaded or failed.

CData Python Connector for Shopify

CustomerGenerateActivationUrl

Generates a URL for activating a customer account.

Input

Name Type Required Description
Id String True The ID of the customer.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
AccountActivationUrl String The generated activation URL for the customer.

CData Python Connector for Shopify

CustomerSegmentMembersQueryCreate

Creates a customer segment members query.

Input

Name Type Required Description
SegmentId String False The ID of the segment.
Query String False The search query to filter customers by.
Reverse Bool False Reverse the order of the query results.
SortKey String False Sort the query results by the given key.
WaitJob Bool False The Stored Procedure will wait until the Job is done.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
JobID String The CustomerSegmentMembersQuery job ID.
CurrentCount Int The current count of segment members matching the query.
Status String The status of the Job.

CData Python Connector for Shopify

CustomerSendAccountInviteEmail

Sends an account invite email to a customer.

Input

Name Type Required Description
Id String True The ID of the customer.
EmailTo String False The email recipient.
EmailFrom String False The email sender.
EmailSubject String False The email subject.
EmailBody String False The email body.
EmailCustomMessage String False A custom message to include in the email.
EmailBcc String False BCC recipients for the email.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The ID of the customer the invite was sent to.

CData Python Connector for Shopify

DiscountCodeRedeemCodeBulkDelete

Asynchronously delete discount codes in bulk.

Input

Name Type Required Description
DiscountId String True The ID of the DiscountCodeNode object that the codes will be removed from.
Ids String False The IDs of the discount redeem codes to delete. Provide a comma-separated list of IDs.
SavedSearchId String False The ID of the saved search that provides a list of the discount redeem codes to delete.
Search String False The search expression that provides the list of discount redeem codes to delete.
WaitJob String False The Stored Procedure will wait until the Job is done.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
JobID String The Job Id.
Status String The status of the Job.

CData Python Connector for Shopify

DiscountRedeemCodeBulkAdd

Asynchronously adds discount codes in bulk to a code discount. Maximum: 250 codes per call.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • Codes references the DiscountRedeemCodeBulkAddCodeInputs temporary table.

DiscountRedeemCodeBulkAddCodeInputs Temporary Table Columns

Column NameTypeDescription
CodeStringThe code to use the discount.

Input

Name Type Required Description
DiscountId String True The ID of the DiscountCodeNode object receiving the codes.
Codes String True The list of codes to associate with the code discount.
WaitJob String False The Stored Procedure will wait until the Job is done.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
JobId String The ID of the bulk operation that creates the discount codes.
Status String The status of the Job.
CodesCount Int The total number of codes to be created.
ImportedCount Int The number of codes successfully created.
FailedCount Int The number of codes that failed to be created.

CData Python Connector for Shopify

DraftOrderComplete

Completes a draft order and creates an order.

Input

Name Type Required Description
Id String True The ID of the draft order to complete.
PaymentGatewayId String False The gateway for the completed draft order.
SourceName String False The source of the checkout.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The ID of the completed draft order.
OrderId String The ID of the created order.

CData Python Connector for Shopify

DraftOrderInvoiceSend

Sends an email invoice for a draft order.

Input

Name Type Required Description
Id String True The ID of the draft order.
EmailTo String False The email recipient.
EmailFrom String False The email sender.
EmailSubject String False The email subject.
EmailBody String False The email body.
EmailCustomMessage String False A custom message to include in the email.
EmailBcc String False BCC recipients for the email.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The ID of the draft order.

CData Python Connector for Shopify

EnableStandardMetafieldDefinition

Enables a standard metafield definition from a provided template.

Input

Name Type Required Description
Id String False The identifier of the standard metafield definition template to enable.
Namespace String False The namespace of the standard metafield to enable. Must be provided along with the key.
Key String False The key of the standard metafield to enable. Must be provided along with the namespace.
OwnerType String True The Shopify resource type (such as Product, Collection, or Customer) that the metafield definition is scoped to.
UseAsCollectionCondition Boolean False Specifies whether this metafield definition can be used as a condition when creating automated collections.
Pin Boolean True Specifies whether the metafield definition should be pinned for easier visibility in the Shopify Admin.
AccessAdmin String False Defines the Admin API access level for metafields created under this definition.
AccessCustomerAccount String False Defines the Customer Account API access level for metafields created under this definition.
AccessStorefront String False Defines the Storefront API access level for metafields created under this definition.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation to enable the metafield definition was successful.
Details String Additional information about the outcome of the operation.
Id String The globally unique identifier of the enabled metafield definition.

CData Python Connector for Shopify

FulfillmentCancel

Cancels an existing Fulfillment and reverses its effects on associated FulfillmentOrder objects. When you cancel a fulfillment, the system creates new fulfillment orders for the cancelled items so they can be fulfilled again.

Input

Name Type Required Description
Id String True The ID of the fulfillment to be canceled.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The canceled fulfillment.

CData Python Connector for Shopify

FulfillmentOrderHold

Applies a hold on a fulfillment order to pause fulfillment.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • FulfillmentOrderLineItems references the FulfillmentOrderLineItemInputs temporary table.

FulfillmentOrderLineItemInputs Temporary Table Columns

Column NameTypeDescription
IdStringThe ID of the fulfillment order line item.
QuantityIntThe quantity of the line item.

Input

Name Type Required Description
FulfillmentOrderId String True The ID of the fulfillment order.
Reason String True The reason for applying the fulfillment hold.

The allowed values are AWAITING_PAYMENT, HIGH_RISK_OF_FRAUD, INCORRECT_ADDRESS, INVENTORY_OUT_OF_STOCK, UNKNOWN, OTHER.

ReasonNotes String False Additional notes about the fulfillment hold.
NotifyMerchant Bool False Whether to notify the merchant of the hold.
ExternalId String False An identifier for the hold that you can reference later.
FulfillmentOrderLineItems String False Line items to place on hold.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
FulfillmentHoldId String The fulfillment hold created for the fulfillment order. Null if no hold was created.
FulfillmentOrderId String The fulfillment order on which a fulfillment hold was applied.
RemainingFulfillmentOrderId String The remaining fulfillment order containing the line items to which the hold wasn't applied.

CData Python Connector for Shopify

FulfillmentOrderMerge

Merges one or more fulfillment orders into a single order based on line item inputs and quantities.

Input

Name Type Required Description
MergeIntents String True A structured input (JSON or XML array) containing objects with fulfillmentOrderId, fulfillmentOrderLineItemId, and fulfillmentOrderLineItemQuantity, which define the line items to merge.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the merge operation completed successfully.
Details String Additional details about the outcome of the merge operation.
FulfillmentOrderId String The globally unique identifier of the new fulfillment order created by the merge.

CData Python Connector for Shopify

FulfillmentOrderMove

Moves a fulfillment order to a new location.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • FulfillmentOrderLineItems references the FulfillmentOrderLineItemInputs temporary table.

FulfillmentOrderLineItemInputs Temporary Table Columns

Column NameTypeDescription
IdStringThe ID of the fulfillment order line item.
QuantityIntThe quantity of the line item.

Input

Name Type Required Description
FulfillmentOrderId String True The ID of the fulfillment order to move.
NewLocationId String True The ID of the new location to move the fulfillment order to.
FulfillmentOrderLineItems String False Line items to be moved.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
MovedFulfillmentOrderId String The ID of the moved fulfillment order.
RemainingFulfillmentOrderId String The ID of the remaining fulfillment order at the original location.
OriginalFulfillmentOrderId String The ID of the original fulfillment order.

CData Python Connector for Shopify

FulfillmentOrderReleaseHold

Releases the fulfillment hold on a fulfillment order.

Input

Name Type Required Description
FulfillmentOrderId String True The ID of the fulfillment order.
HoldIds String False The IDs of the fulfillment holds to release.
ExternalId String False An external identifier to identify the hold to release.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
FulfillmentOrderId String The ID of the fulfillment order.
FulfillmentOrderStatus String The status of the fulfillment order.

CData Python Connector for Shopify

FulfillmentOrderSplit

Splits a fulfillment order into multiple orders based on line item inputs and quantities.

Input

Name Type Required Description
FulfillmentOrderId String True The globally unique identifier of the fulfillment order to split.
FulfillmentOrderLineItemIDs String True A comma-separated list of globally unique identifiers for the fulfillment order line items to split.
FulfillmentOrderLineItemQuantities String True A comma-separated list of quantities that correspond to each fulfillment order line item being split.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderId String The globally unique identifier of the original fulfillment order after the split.
RemainingFulfillmentOrderId String The globally unique identifier of the remaining fulfillment order after the split.
ReplacementFulfillmentOrderId String The globally unique identifier of the replacement fulfillment order, used when the original fulfillment order could not be split.

CData Python Connector for Shopify

GetOAuthAccessToken

Gets an authentication token from Shopify.

Input

Name Type Required Description
AuthMode String False The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app.

The allowed values are APP, WEB.

The default value is APP.

CallbackUrl String False The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL you have specified in the Shopify app settings. Only needed when the Authmode parameter is Web.
Verifier String False The verifier returned from Shopify after the user has authorized your app to have access to their data. This value will be returned as a parameter to the callback URL.
State String False Encodes state of the app, which will be returned verbatim in the response and can be used to match the response up to a given request.
Scope String False The scope or permissions you are requesting.

Result Set Columns

Name Type Description
OAuthAccessToken String The access token used for communication with Shopify.
ExpiresIn String The remaining lifetime on the access token. A -1 denotes that it will not expire.

CData Python Connector for Shopify

GetOAuthAuthorizationURL

Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the OAuthAccessToken from this URL.

Input

Name Type Required Description
CallbackUrl String False The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL in the Shopify app settings.
State String False Encodes state of the app, which will be returned verbatim in the response and can be used to match the response up to a given request.
Scope String False The scope or permissions you are requesting.

Result Set Columns

Name Type Description
URL String The authorization URL, entered into a Web browser to obtain the verifier token and authorize your app.

CData Python Connector for Shopify

InventoryAdjustQuantities

Applies relative changes to inventory quantities for specified items.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventoryAdjustChanges references the InventoryAdjustChanges temporary table.

InventoryAdjustChanges Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the change will be applied.
InventoryLevelLocationIdStringSpecifies the location at which the change will be applied.
LedgerDocumentUriStringA freeform URI that represents what changed the inventory quantities.
DeltaIntThe amount by which the inventory quantity will be changed.

Input

Name Type Required Description
Name String True The name of the inventory quantity to adjust.

The allowed values are available, damaged, quality_control, reserved, safety_stock.

Reason String True The reason for making the inventory adjustment.

The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.

ReferenceDocumentUri String False A URI identifying the origin or context of the adjustment (for example, the related Shopify resource or external document).
InventoryAdjustChanges String True The set of item quantity changes to apply across specific locations.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about the execution of the operation.
Id String The globally unique identifier of the adjustment group created by the operation.

CData Python Connector for Shopify

InventoryBulkToggleActivation

Activates or deactivates inventory items at selected locations to control eligibility for stocking.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventoryItemUpdates references the InventoryItemUpdates temporary table.

InventoryItemUpdates Temporary Table Columns

Column NameTypeDescription
ActivateBoolWhether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location.
LocationIdStringThe ID of the location to modify the inventory item's stocked status.

Input

Name Type Required Description
InventoryItemId String True The ID of the inventory item for which to update activation status at specific locations.
InventoryItemUpdates String True A list of location-and-status pairs defining where the inventory item should be activated or deactivated.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about the execution of the operation.
InventoryItemId String The ID of the inventory item that was processed.
InventoryLevelIds String The IDs of the inventory levels that were activated or deactivated.

CData Python Connector for Shopify

InventoryMoveQuantities

Moves quantities between inventory quantity names (for example, available or reserved) within a location.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventoryMoveChanges references the InventoryMoveChanges temporary table.

InventoryMoveChanges Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the change will be applied.
QuantityIntThe amount by which the inventory quantity will be changed.
FromNameStringThe quantity name to be moved.
FromInventoryLevelLocationIdStringSpecifies the location at which the change will be applied.
FromLedgerDocumentUriStringA freeform URI that represents what changed the inventory quantities.
ToNameStringThe quantity name to be moved.
ToInventoryLevelLocationIdStringSpecifies the location at which the change will be applied.
ToLedgerDocumentUriStringA freeform URI that represents what changed the inventory quantities.

Input

Name Type Required Description
Reason String True The explanation for why the inventory quantities are being moved between locations.

The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.

ReferenceDocumentUri String True A freeform URI identifying the context of the inventory change (for example, the resource or system action that triggered the move).
InventoryMoveChanges String True The set of quantity adjustments to apply for specific inventory items at defined locations.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the inventory move operation completed successfully.
Details String Additional information or messages about the execution of the operation.
Id String The unique identifier for the inventory adjustment group created by this move operation.

CData Python Connector for Shopify

InventorySetQuantities

Sets absolute inventory quantities for specified quantity names at a location.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventorySetChanges references the InventorySetChanges temporary table.

InventorySetChanges Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the quantity will be set.
InventoryLevelLocationIdStringSpecifies the location at which the quantity will be set.
CompareQuantityIntThe current quantity to be compared against the persisted quantity.
QuantityIntThe quantity to which the inventory quantity will be set.

Input

Name Type Required Description
Name String True The name of the quantity group to update.

The allowed values are available, on_hand.

Reason String True The reason provided for making the quantity changes.

The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.

ReferenceDocumentUri String False A URI reference that identifies the source or context for the inventory change.
IgnoreCompareQuantity Boolean False Specifies whether to skip the compare-quantity check before applying updates.
InventorySetChanges String True The new quantity values to assign for each inventory item and location.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
Id String The unique ID assigned to the group of quantity changes created by the operation.

CData Python Connector for Shopify

InventorySetScheduledChanges

Schedules future inventory level changes for specified items and locations.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventorySetScheduledItems references the InventorySetScheduledItems temporary table.

InventorySetScheduledItems Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the change will be applied.
InventoryLevelLocationIdStringThe ID of the location.
LedgerDocumentUriStringA freeform URI that represents what changed the inventory quantities.
InventorySetScheduledItemChanges (references InventorySetScheduledItemChanges)StringAn array of all the scheduled changes for the item.

InventorySetScheduledItemChanges Temporary Table Columns

Column NameTypeDescription
FromNameStringThe quantity name to transition from.
ToNameStringThe quantity name to transition to.
ExpectedAtDatetimeThe date and time that the scheduled change is expected to happen.

Input

Name Type Required Description
Reason String True The reason provided for creating the scheduled inventory changes.

The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.

ReferenceDocumentUri String True A URI reference that identifies the source or context for the inventory change.
InventorySetScheduledItems String True The list of inventory items and locations where the scheduled changes are applied.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
ScheduledChanges String The scheduled changes that were created by the operation.

CData Python Connector for Shopify

MarkCommentNotSpam

Marks a comment as not spam to restore normal visibility.

Input

Name Type Required Description
Id String True The ID of the comment to mark as not spam.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
Id String A globally unique Id returned for the operation.
Status String The status of the comment after being marked as not spam.

CData Python Connector for Shopify

MarkCommentSpam

Marks a comment as spam to hide it from public view.

Input

Name Type Required Description
Id String True The Id of the comment to mark as spam.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
Id String A globally unique Id returned for the operation.
Status String The status of the comment after being marked as spam.

CData Python Connector for Shopify

MarketingEngagementCreate

Creates a marketing engagement for a marketing activity.

Input

Name Type Required Description
MarketingActivityId String False The marketing activity ID. Set this or RemoteId for activity-level engagements; leave null for channel-level.
RemoteId String False A custom unique identifier for the marketing activity. Set this or MarketingActivityId for activity-level engagements; leave null for channel-level.
ChannelHandle String False The unique string identifier of the channel. Set only for channel-level engagements; leave null for activity-level.
OccurredOn Datetime True The calendar date for which the metrics are being reported.
UtcOffset String True The UTC offset for the time zone in which the metrics are reported (format '+HH:MM' or '-HH:MM').
IsCumulative Bool True Whether the provided metrics are cumulative (from first day of reporting) or non-cumulative (single-day). Non-cumulative is strongly preferred.
ImpressionsCount Int False The total number of times marketing content was displayed to users.
ViewsCount Int False The total number of views on the marketing content.
UniqueViewsCount Int False The total number of unique users who saw the marketing content.
ClicksCount Int False The total number of interactions on the marketing content.
UniqueClicksCount Int False The total number of unique clicks on the marketing content.
SharesCount Int False The total number of times marketing content was shared or reposted.
FavoritesCount Int False The total number of favorites, likes, saves, or bookmarks on the marketing content.
CommentsCount Int False The total number of comments on the marketing content.
ComplaintsCount Int False The total number of complaints on the marketing content (e.g. spam marks, dislikes, reports).
FailsCount Int False The total number of fails for the marketing content (e.g. bounced emails).
SendsCount Int False The total number of marketing emails or messages that were sent.
UnsubscribesCount Int False The total number of unsubscribes on the marketing content.
SessionsCount Int False The number of online store sessions generated from the marketing content.
Orders Decimal False The number of orders generated from the marketing content.
FirstTimeCustomers Decimal False The number of customers that placed their first order.
ReturningCustomers Decimal False The number of returning customers that placed an order.
SalesAmount Decimal False The amount of sales generated from the marketing content.
SalesCurrencyCode String False The currency code for the sales amount.
AdSpendAmount Decimal False The total ad spend for the marketing content.
AdSpendCurrencyCode String False The currency code for the ad spend.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
MarketingActivityId String The ID of the associated marketing activity.

CData Python Connector for Shopify

OrderCancel

Cancels an order and optionally restocks items and notifies the customer.

Input

Name Type Required Description
NotifyCustomer Bool False Indicates whether a notification is sent to the customer about the order cancellation.
OrderId String True The Id of the order to be canceled.
Reason String True The reason for canceling the order.

The allowed values are CUSTOMER, DECLINED, FRAUD, INVENTORY, OTHER, STAFF.

RefundMethodOriginalPaymentMethodsRefund Bool False Whether to refund to the original payment method.
RefundMethodStoreCreditRefundExpiresAt Datetime False Whether to refund to store credit.
Restock Bool True Indicates whether the inventory committed to the order is restocked.
StaffNote String False A staff-facing note about the order cancellation. Not visible to the customer.
WaitJob Bool False Indicates whether the stored procedure waits until the job is complete.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation completed successfully.
Details String Additional details about how the operation was executed.
JobID String The Id of the job associated with the cancellation.
Status String The status of the job.

CData Python Connector for Shopify

OrderCreateManualPayment

Creates a manual payment for an order.

Input

Name Type Required Description
Amount Decimal False Decimal money amount.
CurrencyCode String False Currency of the money.
OrderId String True The ID of the order to create a manual payment for.
PaymentMethodName String False The name of the payment method used for creating the payment. If none is provided, then the default manual payment method ('Other') will be used.
ProcessedAt Datetime False The date and time (ISO 8601 format) when a manual payment was processed.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.

CData Python Connector for Shopify

OrderSuggestRefund

Retrieves a suggested refund for an order based on line items, duties, shipping, and the refund method allocation.

Procedure-Specific Information

The following inputs can accept either temporary table names or JSON aggregates that match the structure of the referenced table as values.

  • RefundLineItems references the RefundLineItemInputs temporary table.
  • RefundDuties references the RefundDutyInputs temporary table.

RefundLineItemInputs Temporary Table Columns

Column NameTypeDescription
LineItemIdStringThe ID of the line item to refund.
QuantityIntThe quantity of the line item to refund.
LocationIdStringThe ID of the location where the items will be restocked.
RestockTypeStringThe type of restock for the refunded line item.

RefundDutyInputs Temporary Table Columns

Column NameTypeDescription
DutyIdStringThe ID of the duty to refund.
RefundTypeStringThe type of refund for the duty.

Input

Name Type Required Description
Id String True The ID of the order to suggest a refund for.
ShippingAmount Decimal False The amount of shipping to refund. Ignored when RefundShipping is set.
RefundShipping Boolean False Whether to refund the full shipping amount. Takes precedence over ShippingAmount.
RefundLineItems String False Line items to refund.
RefundDuties String False Duties to refund.
SuggestFullRefund Boolean False Whether to suggest a full refund regardless of the other inputs. Defaults to false.
RefundMethodAllocation String False How the refund amount should be allocated across refund methods. Defaults to ORIGINAL_PAYMENT_METHODS.

The allowed values are ORIGINAL_PAYMENT_METHODS, STORE_CREDIT.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
AmountSetShopMoneyAmount Decimal Amount of the suggested refund in shop currency.
AmountSetShopMoneyCurrencyCode String Currency code of the suggested refund in shop currency.
AmountSetPresentmentMoneyAmount Decimal Amount of the suggested refund in presentment currency.
AmountSetPresentmentMoneyCurrencyCode String Currency code of the suggested refund in presentment currency.
DiscountedSubtotalSetShopMoneyAmount Decimal Discounted subtotal amount in shop currency.
DiscountedSubtotalSetShopMoneyCurrencyCode String Discounted subtotal currency code in shop currency.
DiscountedSubtotalSetPresentmentMoneyAmount Decimal Discounted subtotal amount in presentment currency.
DiscountedSubtotalSetPresentmentMoneyCurrencyCode String Discounted subtotal currency code in presentment currency.
MaximumRefundableSetShopMoneyAmount Decimal Maximum refundable amount in shop currency.
MaximumRefundableSetShopMoneyCurrencyCode String Maximum refundable currency code in shop currency.
MaximumRefundableSetPresentmentMoneyAmount Decimal Maximum refundable amount in presentment currency.
MaximumRefundableSetPresentmentMoneyCurrencyCode String Maximum refundable currency code in presentment currency.
SubtotalSetShopMoneyAmount Decimal Subtotal amount in shop currency.
SubtotalSetShopMoneyCurrencyCode String Subtotal currency code in shop currency.
SubtotalSetPresentmentMoneyAmount Decimal Subtotal amount in presentment currency.
SubtotalSetPresentmentMoneyCurrencyCode String Subtotal currency code in presentment currency.
TotalCartDiscountAmountSetShopMoneyAmount Decimal Total cart discount amount in shop currency.
TotalCartDiscountAmountSetShopMoneyCurrencyCode String Total cart discount currency code in shop currency.
TotalCartDiscountAmountSetPresentmentMoneyAmount Decimal Total cart discount amount in presentment currency.
TotalCartDiscountAmountSetPresentmentMoneyCurrencyCode String Total cart discount currency code in presentment currency.
TotalDutiesSetShopMoneyAmount Decimal Total duties amount in shop currency.
TotalDutiesSetShopMoneyCurrencyCode String Total duties currency code in shop currency.
TotalDutiesSetPresentmentMoneyAmount Decimal Total duties amount in presentment currency.
TotalDutiesSetPresentmentMoneyCurrencyCode String Total duties currency code in presentment currency.
TotalTaxSetShopMoneyAmount Decimal Total tax amount in shop currency.
TotalTaxSetShopMoneyCurrencyCode String Total tax currency code in shop currency.
TotalTaxSetPresentmentMoneyAmount Decimal Total tax amount in presentment currency.
TotalTaxSetPresentmentMoneyCurrencyCode String Total tax currency code in presentment currency.
ShippingAmountSetShopMoneyAmount Decimal Shipping refund amount in shop currency.
ShippingAmountSetShopMoneyCurrencyCode String Shipping refund currency code in shop currency.
ShippingAmountSetPresentmentMoneyAmount Decimal Shipping refund amount in presentment currency.
ShippingAmountSetPresentmentMoneyCurrencyCode String Shipping refund currency code in presentment currency.
ShippingMaximumRefundableSetShopMoneyAmount Decimal Maximum refundable shipping amount in shop currency.
ShippingMaximumRefundableSetShopMoneyCurrencyCode String Maximum refundable shipping currency code in shop currency.
ShippingMaximumRefundableSetPresentmentMoneyAmount Decimal Maximum refundable shipping amount in presentment currency.
ShippingMaximumRefundableSetPresentmentMoneyCurrencyCode String Maximum refundable shipping currency code in presentment currency.
ShippingTaxSetShopMoneyAmount Decimal Shipping tax amount in shop currency.
ShippingTaxSetShopMoneyCurrencyCode String Shipping tax currency code in shop currency.
ShippingTaxSetPresentmentMoneyAmount Decimal Shipping tax amount in presentment currency.
ShippingTaxSetPresentmentMoneyCurrencyCode String Shipping tax currency code in presentment currency.
SuggestedRefundMethods String JSON aggregate of the suggested refund method allocations.
RefundLineItems String JSON aggregate of the refund line items suggested for this refund.
RefundDuties String JSON aggregate of the duties suggested for refund.
SuggestedTransactions String JSON aggregate of the suggested order transactions for this refund.

CData Python Connector for Shopify

PublishTheme

Publishes a theme to make it the live storefront theme.

Input

Name Type Required Description
Id String True The Id of the theme to be published.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation executed successfully.
Details String Additional details about the execution of the operation.
Id String A globally unique Id of the published theme.

CData Python Connector for Shopify

RejectCancellationRequest

Rejects a cancellation request sent to a fulfillment service for a fulfillment order.

Input

Name Type Required Description
Id String True The unique identifier of the fulfillment order linked to the cancellation request.
Message String False An optional message to include with the rejection of the cancellation request.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the cancellation request rejection executed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderID String A globally unique identifier for the fulfillment order.
RequestStatus String The status of the stored procedure execution.

CData Python Connector for Shopify

RejectFulfillmentRequest

Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.

Input

Name Type Required Description
Id String True The unique identifier of the fulfillment order associated with the fulfillment request.
Message String False An optional message to include with the rejection of the fulfillment request.
Reason String False The reason for rejecting the fulfillment request.

The allowed values are INCORRECT_ADDRESS, INELIGIBLE_PRODUCT, INVENTORY_OUT_OF_STOCK, OTHER, UNDELIVERABLE_DESTINATION.

LineItems String False An optional array of line item rejection details. If omitted, all line items are assumed to be unfulfillable. Example: [{fulfillmentOrderLineItemId: 'xxx', message: 'xx'}]

Result Set Columns

Name Type Description
Success Boolean Indicates whether the rejection of the fulfillment request executed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderID String A globally unique identifier for the fulfillment order.
RequestStatus String The resulting status of the stored procedure execution.

CData Python Connector for Shopify

SendCancellationRequest

Sends a cancellation request to the fulfillment service of a fulfillment order.

Input

Name Type Required Description
Id String True The Id of the fulfillment order associated with the cancellation request.
Message String False An optional message to include with the cancellation request.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the cancellation request executed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderID String A globally unique Id for the fulfillment order.
RequestStatus String The resulting status of the stored procedure execution.

CData Python Connector for Shopify

SendFulfillmentRequest

Sends a fulfillment request to the fulfillment service of a fulfillment order.

Input

Name Type Required Description
Id String True The Id of the fulfillment order associated with the fulfillment request.
Message String False An optional message to include with the fulfillment request.
NotifyCustomer String False Indicates whether the customer should be notified when fulfillments are created for this fulfillment order.
FulfillmentOrderLineItems String False The fulfillment order line items to include in the request. If none are specified, all line items are included by default (for example, [{id: 'xxx', quantity: 1}]).

Result Set Columns

Name Type Description
Success Boolean Indicates whether the fulfillment request executed successfully.
Details String Additional details about the execution of the operation.
FulfillmentOrderID String A globally unique Id for the fulfillment order.
RequestStatus String The resulting status of the stored procedure execution.

CData Python Connector for Shopify

ThemeFilesCopy

Copies files within a theme, overwriting existing destination files.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • Files references the ThemeFilesCopyFileInputs temporary table.

ThemeFilesCopyFileInputs Temporary Table Columns

Column NameTypeDescription
SrcFilenameStringThe source file to copy from.
DstFilenameStringThe destination file where the content is copied.

Input

Name Type Required Description
ThemeId String True The ID of the theme to copy files within.
Files String True The files to copy.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
CopiedThemeFiles String The resulting theme files.

CData Python Connector for Shopify

TransactionVoid

Voids an uncaptured authorization transaction so it can no longer be captured.

Input

Name Type Required Description
ParentTransactionId String True The Id of the uncaptured authorization transaction to be voided.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the void operation executed successfully.
Details String Additional details about the execution of the void operation.
TransactionId String The Id of the void transaction created by the operation.

CData Python Connector for Shopify

UpdateFile

Updates metadata or properties of an existing uploaded file asset.

Input

Name Type Required Description
Id String True The Id of the file to update.
FileName String False The name of the file, including its extension.
Description String False The alternative text description (alt text) of the file.
OriginalSource String False The source used to update a media image or generic file. Accepts an external URL (images only) or a staged upload URL.
PreviewImageSource String False The source used to update the media preview image. Accepts an external URL or a staged upload URL.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the file update operation executed successfully.
Details String Additional details about the execution of the update operation.
Id String A globally unique Id for the updated file.
Status String The current status of the file after the update operation.

CData Python Connector for Shopify

System Tables

You can query the system tables described in this section to access schema information, information on data source functionality, and batch operation statistics.

Schema Tables

The following tables return database metadata for Shopify:

Data Source Tables

The following tables return information about how to connect to and query the data source:

  • sys_connection_props: Returns information on the available connection properties.
  • sys_sqlinfo: Describes the SELECT queries that the connector can offload to the data source.

Query Information Tables

The following table returns query statistics for data modification queries

  • sys_identity: Returns information about batch operations or single updates.

CData Python Connector for Shopify

sys_catalogs

Lists the available databases.

The following query retrieves all databases determined by the connection string:

SELECT * FROM sys_catalogs

Columns

Name Type Description
CatalogName String The database name.

CData Python Connector for Shopify

sys_schemas

Lists the available schemas.

The following query retrieves all available schemas:

          SELECT * FROM sys_schemas
          

Columns

Name Type Description
CatalogName String The database name.
SchemaName String The schema name.

CData Python Connector for Shopify

sys_tables

Lists the available tables.

The following query retrieves the available tables and views:

          SELECT * FROM sys_tables
          

Columns

Name Type Description
CatalogName String The database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view.
TableType String The table type (table or view).
Description String A description of the table or view.
IsUpdateable Boolean Whether the table can be updated.
IsInsertable Boolean Whether the table can be inserted into.
IsDeleteable Boolean Whether rows can be deleted from the table.

CData Python Connector for Shopify

sys_tablecolumns

Describes the columns of the available tables and views.

The following query returns the columns and data types for the Customers table:

SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName = 'Customers' 

Columns

Name Type Description
CatalogName String The name of the database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view containing the column.
ColumnName String The column name.
DataTypeName String The data type name.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
Length Int32 The storage size of the column.
DisplaySize Int32 The designated column's normal maximum width in characters.
NumericPrecision Int32 The maximum number of digits in numeric data. The column length in characters for character and date-time data.
NumericScale Int32 The column scale or number of digits to the right of the decimal point.
IsNullable Boolean Whether the column can contain null.
Description String A brief description of the column.
Ordinal Int32 The sequence number of the column.
IsAutoIncrement String Whether the column value is assigned in fixed increments.
IsGeneratedColumn String Whether the column is generated.
IsHidden Boolean Whether the column is hidden.
IsArray Boolean Whether the column is an array.
IsReadOnly Boolean Whether the column is read-only.
IsKey Boolean Indicates whether a field returned from sys_tablecolumns is the primary key of the table.
ColumnType String The role or classification of the column in the schema. Possible values include SYSTEM, LINKEDCOLUMN, NAVIGATIONKEY, REFERENCECOLUMN, and NAVIGATIONPARENTCOLUMN.
ColumnCapabilities Int32 A bit mask denoting the column's write capabilities. The value is the sum of the following: 1 if the column is required for INSERTs, 2 if the column is allowed for INSERTs, and 4 if the column is allowed for UPDATEs. A value of 0 indicates that the write capabilities of the column are unknown or that the column is read-only.

CData Python Connector for Shopify

sys_procedures

Lists the available stored procedures.

The following query retrieves the available stored procedures:

          SELECT * FROM sys_procedures
          

Columns

Name Type Description
CatalogName String The database containing the stored procedure.
SchemaName String The schema containing the stored procedure.
ProcedureName String The name of the stored procedure.
Description String A description of the stored procedure.
ProcedureType String The type of the procedure, such as PROCEDURE or FUNCTION.

CData Python Connector for Shopify

sys_procedureparameters

Describes stored procedure parameters.

The following query returns information about all of the input parameters for the SendInvite stored procedure:

SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'SendInvite' AND Direction = 1 OR Direction = 2

To include result set columns in addition to the parameters, set the IncludeResultColumns pseudo column to True:

SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'SendInvite' AND IncludeResultColumns='True'

Columns

Name Type Description
CatalogName String The name of the database containing the stored procedure.
SchemaName String The name of the schema containing the stored procedure.
ProcedureName String The name of the stored procedure containing the parameter.
ColumnName String The name of the stored procedure parameter.
Direction Int32 An integer corresponding to the type of the parameter: input (1), input/output (2), or output(4). input/output type parameters can be both input and output parameters.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
DataTypeName String The name of the data type.
NumericPrecision Int32 The maximum precision for numeric data. The column length in characters for character and date-time data.
Length Int32 The number of characters allowed for character data. The number of digits allowed for numeric data.
NumericScale Int32 The number of digits to the right of the decimal point in numeric data.
IsNullable Boolean Whether the parameter can contain null.
IsRequired Boolean Whether the parameter is required for execution of the procedure.
IsArray Boolean Whether the parameter is an array.
Description String The description of the parameter.
Ordinal Int32 The index of the parameter.
Values String The values you can set in this parameter are limited to those shown in this column. Possible values are comma-separated.
SupportsStreams Boolean Whether the parameter represents a file that you can pass as either a file path or a stream.
IsPath Boolean Whether the parameter is a target path for a schema creation operation.
Default String The value used for this parameter when no value is specified.
SpecificName String A label that, when multiple stored procedures have the same name, uniquely identifies each identically-named stored procedure. If there's only one procedure with a given name, its name is simply reflected here.
IsCDataProvided Boolean Whether the procedure is added/implemented by CData, as opposed to being a native Shopify procedure.

Pseudo-Columns

Name Type Description
IncludeResultColumns Boolean Whether the output should include columns from the result set in addition to parameters. Defaults to False.

CData Python Connector for Shopify

sys_keycolumns

Describes the primary and foreign keys.

The following query retrieves the primary key for the Customers table:

         SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Customers' 
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
IsKey Boolean Whether the column is a primary key in the table referenced in the TableName field.
IsForeignKey Boolean Whether the column is a foreign key referenced in the TableName field.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.

CData Python Connector for Shopify

sys_foreignkeys

Describes the foreign keys.

The following query retrieves all foreign keys which refer to other tables:

         SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.
ForeignKeyType String Designates whether the foreign key is an import (points to other tables) or export (referenced from other tables) key.

CData Python Connector for Shopify

sys_primarykeys

Describes the primary keys.

The following query retrieves the primary keys from all tables and views:

         SELECT * FROM sys_primarykeys
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
KeySeq String The sequence number of the primary key.
KeyName String The name of the primary key.

CData Python Connector for Shopify

sys_indexes

Describes the available indexes. By filtering on indexes, you can write more selective queries with faster query response times.

The following query retrieves all indexes that are not primary keys:

          SELECT * FROM sys_indexes WHERE IsPrimary='false'
          

Columns

Name Type Description
CatalogName String The name of the database containing the index.
SchemaName String The name of the schema containing the index.
TableName String The name of the table containing the index.
IndexName String The index name.
ColumnName String The name of the column associated with the index.
IsUnique Boolean True if the index is unique. False otherwise.
IsPrimary Boolean True if the index is a primary key. False otherwise.
Type Int16 An integer value corresponding to the index type: statistic (0), clustered (1), hashed (2), or other (3).
SortOrder String The sort order: A for ascending or D for descending.
OrdinalPosition Int16 The sequence number of the column in the index.

CData Python Connector for Shopify

sys_connection_props

Returns information on the available connection properties and those set in the connection string.

The following query retrieves all connection properties that have been set in the connection string or set through a default value:

SELECT * FROM sys_connection_props WHERE Value <> ''

Columns

Name Type Description
Name String The name of the connection property.
ShortDescription String A brief description.
Type String The data type of the connection property.
Default String The default value if one is not explicitly set.
Values String A comma-separated list of possible values. A validation error is thrown if another value is specified.
Value String The value you set or a preconfigured default.
Required Boolean Whether the property is required to connect.
Category String The category of the connection property.
IsSessionProperty String Whether the property is a session property, used to save information about the current connection.
Sensitivity String The sensitivity level of the property. This informs whether the property is obfuscated in logging and authentication forms.
PropertyName String A camel-cased truncated form of the connection property name.
Ordinal Int32 The index of the parameter.
CatOrdinal Int32 The index of the parameter category.
Hierarchy String Shows dependent properties associated that need to be set alongside this one.
Visible Boolean Informs whether the property is visible in the connection UI.
ETC String Various miscellaneous information about the property.

CData Python Connector for Shopify

sys_sqlinfo

Describes the SELECT query processing that the connector can offload to the data source.

See SQL Compliance for SQL syntax details.

Discovering the Data Source's SELECT Capabilities

Below is an example data set of SQL capabilities. Some aspects of SELECT functionality are returned in a comma-separated list if supported; otherwise, the column contains NO.

NameDescriptionPossible Values
AGGREGATE_FUNCTIONSSupported aggregation functions.AVG, COUNT, MAX, MIN, SUM, DISTINCT
COUNTWhether COUNT function is supported.YES, NO
IDENTIFIER_QUOTE_OPEN_CHARThe opening character used to escape an identifier.[
IDENTIFIER_QUOTE_CLOSE_CHARThe closing character used to escape an identifier.]
SUPPORTED_OPERATORSA list of supported SQL operators.=, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR
GROUP_BYWhether GROUP BY is supported, and, if so, the degree of support.NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE
OJ_CAPABILITIESThe supported varieties of outer joins supported.NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS
OUTER_JOINSWhether outer joins are supported.YES, NO
SUBQUERIESWhether subqueries are supported, and, if so, the degree of support.NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED
STRING_FUNCTIONSSupported string functions.LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE
NUMERIC_FUNCTIONSSupported numeric functions.ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE
TIMEDATE_FUNCTIONSSupported date/time functions.NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT
REPLICATION_SKIP_TABLESIndicates tables skipped during replication.
REPLICATION_TIMECHECK_COLUMNSA string array containing a list of columns which will be used to check for (in the given order) to use as a modified column during replication.
IDENTIFIER_PATTERNString value indicating what string is valid for an identifier.
SUPPORT_TRANSACTIONIndicates if the provider supports transactions such as commit and rollback.YES, NO
DIALECTIndicates the SQL dialect to use.
KEY_PROPERTIESIndicates the properties which identify the uniform database.
SUPPORTS_MULTIPLE_SCHEMASIndicates if multiple schemas may exist for the provider.YES, NO
SUPPORTS_MULTIPLE_CATALOGSIndicates if multiple catalogs may exist for the provider.YES, NO
DATASYNCVERSIONThe CData Data Sync version needed to access this driver.Standard, Starter, Professional, Enterprise
DATASYNCCATEGORYThe CData Data Sync category of this driver.Source, Destination, Cloud Destination
SUPPORTSENHANCEDSQLWhether enhanced SQL functionality beyond what is offered by the API is supported.TRUE, FALSE
SUPPORTS_BATCH_OPERATIONSWhether batch operations are supported.YES, NO
SQL_CAPAll supported SQL capabilities for this driver.SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX
PREFERRED_CACHE_OPTIONSA string value specifies the preferred cacheOptions.
ENABLE_EF_ADVANCED_QUERYIndicates if the driver directly supports advanced queries coming from Entity Framework. If not, queries will be handled client side.YES, NO
PSEUDO_COLUMNSA string array indicating the available pseudo columns.
MERGE_ALWAYSIf the value is true, The Merge Mode is forcibly executed in Data Sync.TRUE, FALSE
REPLICATION_MIN_DATE_QUERYA select query to return the replicate start datetime.
REPLICATION_MIN_FUNCTIONAllows a provider to specify the formula name to use for executing a server side min.
REPLICATION_START_DATEAllows a provider to specify a replicate startdate.
REPLICATION_MAX_DATE_QUERYA select query to return the replicate end datetime.
REPLICATION_MAX_FUNCTIONAllows a provider to specify the formula name to use for executing a server side max.
IGNORE_INTERVALS_ON_INITIAL_REPLICATEA list of tables which will skip dividing the replicate into chunks on the initial replicate.
CHECKCACHE_USE_PARENTIDIndicates whether the CheckCache statement should be done against the parent key column.TRUE, FALSE
CREATE_SCHEMA_PROCEDURESIndicates stored procedures that can be used for generating schema files.

The following query retrieves the operators that can be used in the WHERE clause:

SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
Note that individual tables may have different limitations or requirements on the WHERE clause; refer to the Data Model section for more information.

Columns

Name Type Description
NAME String A component of SQL syntax, or a capability that can be processed on the server.
VALUE String Detail on the supported SQL or SQL syntax.

CData Python Connector for Shopify

sys_identity

Returns information about attempted modifications.

The following query retrieves the Ids of the modified rows in a batch operation:

         SELECT * FROM sys_identity
          

Columns

Name Type Description
Id String The database-generated Id returned from a data modification operation.
Batch String An identifier for the batch. 1 for a single operation.
Operation String The result of the operation in the batch: INSERTED, UPDATED, or DELETED.
Message String SUCCESS or an error message if the update in the batch failed.

CData Python Connector for Shopify

sys_information

Describes the available system information.

The following query retrieves all columns:

SELECT * FROM sys_information

Columns

NameTypeDescription
ProductStringThe name of the product.
VersionStringThe version number of the product.
DatasourceStringThe name of the datasource the product connects to.
NodeIdStringThe unique identifier of the machine where the product is installed.
HelpURLStringThe URL to the product's help documentation.
LicenseStringThe license information for the product. (If this information is not available, the field may be left blank or marked as 'N/A'.)
LocationStringThe file path location where the product's library is stored.
EnvironmentStringThe version of the environment or rumtine the product is currently running under.
DataSyncVersionStringThe tier of CData Sync required to use this connector.
DataSyncCategoryStringThe category of CData Sync functionality (e.g., Source, Destination).

CData Python Connector for Shopify

Connection String Options

The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.

For more information on establishing a connection, see Establishing a Connection.

Authentication


PropertyDescription
ShopURLSpecifies the full URL of your Shopify store.
AuthSchemeSpecifies the authentication method used to connect to your Shopify store.
AccessTokenSpecifies the Admin API access token used to authenticate requests from a custom app to your Shopify store.

OAuth


PropertyDescription
InitiateOAuthSpecifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.
OAuthClientIdSpecifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
OAuthClientSecretSpecifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).
OAuthAccessTokenSpecifies the OAuth access token used to authenticate requests to the data source. This token is issued by the authorization server after a successful OAuth exchange.
OAuthSettingsLocationSpecifies the location of the settings file where OAuth values are saved.
CallbackURLIdentifies the URL users return to after authenticating to Shopify via OAuth (Custom OAuth applications only).
ScopeSpecifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created.
OAuthVerifierSpecifies a verifier code returned from the OAuthAuthorizationURL . Used when authenticating to OAuth on a headless server, where a browser can't be launched. Requires both OAuthSettingsLocation and OAuthVerifier to be set.
OAuthExpiresInSpecifies the duration in seconds, of an OAuth Access Token's lifetime. The token can be reissued to keep access alive as long as the user keeps working.
OAuthTokenTimestampDisplays a Unix epoch timestamp in milliseconds that shows how long ago the current access token was created.

SSL


PropertyDescription
SSLServerCertSpecifies the certificate to be accepted from the server when connecting using TLS/SSL.

Firewall


PropertyDescription
FirewallTypeSpecifies the protocol the provider uses to tunnel traffic through a proxy-based firewall.
FirewallServerIdentifies the IP address, DNS name, or host name of a proxy used to traverse a firewall and relay user queries to network resources.
FirewallPortSpecifies the TCP port to be used for a proxy-based firewall.
FirewallUserIdentifies the user ID of the account authenticating to a proxy-based firewall.
FirewallPasswordSpecifies the password of the user account authenticating to a proxy-based firewall.

Proxy


PropertyDescription
ProxyAutoDetectSpecifies whether the provider checks your system proxy settings for existing proxy server configurations, rather than using a manually specified proxy server.
ProxyServerIdentifies the hostname or IP address of the proxy server through which you want to route HTTP traffic.
ProxyPortIdentifies the TCP port on your specified proxy server that has been reserved for routing HTTP traffic to and from the client.
ProxyAuthSchemeSpecifies the authentication method the provider uses when authenticating to the proxy server specified in the ProxyServer connection property.
ProxyUserProvides the username of a user account registered with the proxy server specified in the ProxyServer connection property.
ProxyPasswordSpecifies the password of the user specified in the ProxyUser connection property.
ProxySSLTypeSpecifies the SSL type to use when connecting to the proxy server specified in the ProxyServer connection property.
ProxyExceptionsSpecifies a semicolon-separated list of destination hostnames or IPs that are exempt from connecting through the proxy server set in the ProxyServer connection property.

Logging


PropertyDescription
LogfileSpecifies the file path to the log file where the provider records its activities, such as authentication, query execution, and connection details.
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.
LogModulesSpecifies the core modules to include in the log file. Use a semicolon-separated list of module names. By default, all modules are logged.
MaxLogFileSizeSpecifies the maximum size of a single log file in bytes. For example, '10 MB'. When the file reaches the limit, the provider creates a new log file with the date and time appended to the name.
MaxLogFileCountSpecifies the maximum number of log files the provider retains. When the limit is reached, the oldest log file is deleted to make space for a new one.

Schema


PropertyDescription
LocationSpecifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
TablesOptional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA,TableB,TableC .
ViewsOptional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC .
SchemaSpecifies the Shopify API version and schema the provider uses when connecting to your store.

Caching


PropertyDescription
AutoCacheSpecifies whether the content of tables targeted by SELECT queries is automatically cached to the specified cache database.
CacheProviderThe namespace of an ADO.NET provider. The specified provider is used as the target database for all caching operations.
CacheDriverThe driver class of a JDBC driver. The specified driver is used to connect to the target database for all caching operations.
CacheConnectionSpecifies the connection string for the specified cache database.
CacheLocationSpecifies the path to the cache when caching to a file.
CacheToleranceNotes the tolerance, in seconds, for stale data in the specified cache database. Requires AutoCache to be set to True.
OfflineGets the data from the specified cache database instead of live Shopify data.
CacheMetadataDetermines whether the provider caches table metadata to a file-based cache database.

Miscellaneous


PropertyDescription
UseBulkAPISpecifies whether the provider uses Shopify Bulk Operations when querying data. This property is useful when you are querying high-volume datasets, such as thousands of orders, products, or customers and want to optimize performance or reduce the likelihood of API throttling from real-time queries.
BulkTimeoutSpecifies how long, in minutes, the provider waits for a Shopify bulk operation to complete before returning an error.
BulkPollingIntervalSpecifies the maximum time interval (in milliseconds) between each status check when polling for the results of a Shopify Bulk API operation.
BulkPageSizeSpecifies the number of records retrieved per batch when UseBulkAPI is set to true.
EnableShopifyPlusSpecifies whether the app is installed on a Shopify Plus account. Set this to true to enable access to additional Shopify Plus-specific features.
IncludeCustomFieldsSpecifies whether the provider includes custom fields in queries to the Products and ProductVariants tables.
MaxPointsPerCallSpecifies the maximum number of GraphQL cost points that each call is allowed to consume.
MaxRowsSpecifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
OtherSpecifies advanced connection properties for specialized scenarios. Use this property only under the guidance of our Support team to address specific issues.
PagesizeSpecifies the maximum number of results the provider requests per page when querying data from Shopify.
PointsBufferSizeSpecifies a point buffer used to increase the calculated wait time for throttling prevention.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
ReadonlyToggles read-only access to Shopify from the provider.
RTKSpecifies the runtime key for licensing the provider. If unset or invalid, the provider defaults to the standard licensing method. This property is only required in environments where the standard licensing method is unsupported or requires a runtime key.
ShowAggregateSpecifies whether the provider includes aggregate values in the result set and how they are structured.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
UserDefinedViewsSpecifies a filepath to a JSON configuration file that defines custom views. The provider automatically detects and uses the views specified in this file.
CData Python Connector for Shopify

Authentication

This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.


PropertyDescription
ShopURLSpecifies the full URL of your Shopify store.
AuthSchemeSpecifies the authentication method used to connect to your Shopify store.
AccessTokenSpecifies the Admin API access token used to authenticate requests from a custom app to your Shopify store.
CData Python Connector for Shopify

ShopURL

Specifies the full URL of your Shopify store.

Data Type

string

Default Value

""

Remarks

Set this property to the full store URL assigned by Shopify when you created your shop. This URL is used to direct all API requests and should include the full domain in the format: https://yourstorename.myshopify.com

This property is required for all schemas and must match the store where your app is installed or where your access token or credentials are valid.

CData Python Connector for Shopify

AuthScheme

Specifies the authentication method used to connect to your Shopify store.

Possible Values

OAuth, OAuthClient, AccessToken

Data Type

string

Default Value

"OAuth"

Remarks

Use this property to control how the connector authenticates with the Shopify API:

  • OAuth: Select this to authenticate using the standard OAuth 2.0 Authorization Code grant. This option is recommended for most integrations (especially public apps) as it supports user consent.
  • OAuthClient: Select this to authenticate using the OAuth 2.0 Client Credentials grant. This is used for server-to-server integrations where the application authenticates directly without user interaction.
  • AccessToken: Deprecated. Select this to authenticate using a static Admin API Access Token generated from a Custom App. Existing tokens continue to work, but new Admin API Access Tokens cannot be created using this method. Use OAuth or OAuthClient instead.

CData Python Connector for Shopify

AccessToken

Specifies the Admin API access token used to authenticate requests from a custom app to your Shopify store.

Data Type

string

Default Value

""

Remarks

This token is required to connect to the Shopify Admin API when using a custom app. It authorizes the connector to perform operations based on the access scopes configured in your Shopify store.

To learn how to create a custom app and obtain an Admin API access token, see Establishing a Connection.

CData Python Connector for Shopify

OAuth

This section provides a complete list of the OAuth properties you can configure in the connection string for this provider.


PropertyDescription
InitiateOAuthSpecifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.
OAuthClientIdSpecifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
OAuthClientSecretSpecifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).
OAuthAccessTokenSpecifies the OAuth access token used to authenticate requests to the data source. This token is issued by the authorization server after a successful OAuth exchange.
OAuthSettingsLocationSpecifies the location of the settings file where OAuth values are saved.
CallbackURLIdentifies the URL users return to after authenticating to Shopify via OAuth (Custom OAuth applications only).
ScopeSpecifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created.
OAuthVerifierSpecifies a verifier code returned from the OAuthAuthorizationURL . Used when authenticating to OAuth on a headless server, where a browser can't be launched. Requires both OAuthSettingsLocation and OAuthVerifier to be set.
OAuthExpiresInSpecifies the duration in seconds, of an OAuth Access Token's lifetime. The token can be reissued to keep access alive as long as the user keeps working.
OAuthTokenTimestampDisplays a Unix epoch timestamp in milliseconds that shows how long ago the current access token was created.
CData Python Connector for Shopify

InitiateOAuth

Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.

Possible Values

OFF, REFRESH, GETANDREFRESH

Data Type

string

Default Value

"OFF"

Remarks

OAuth is an authorization framework that enables applications to obtain limited access to user accounts on an HTTP service. The OAuth flow defines the method to be used for:

  • Logging in users.
  • Exchanging user credentials for an OAuth access token to be used for authentication.
  • Providing limited access to applications.

The options for initiating and maintaining OAuth access are named for the parts of that flow that the connector handles:

OFF The connector provides no automatic OAuth flow initiation. The OAuth flow is handled entirely by the user.
This means that the user must refresh the token manually, and reconnect with an updated OAuthAccessToken property when the current token expires.
GETANDREFRESH The connector handles the entire OAuth flow (both GET and REFRESH). This means that if a token already exists, the connector refreshes it when necessary; if no token currently exists, the connector obtains it by prompting the user to login.
REFRESH The user obtains the OAuth Access Token and sets up the sequence for refreshing the OAuth Access Token. (The user is never prompted to log in to authenticate.) After the user logs in, the connector handles the refresh of the OAuth Access Token.

For more information on how to set up OAuth and use this property when configuring a connection, see Establishing a Connection.

CData Python Connector for Shopify

OAuthClientId

Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.

Data Type

string

Default Value

""

Remarks

This property is required in two cases:

  • When using a custom OAuth application, such as in web-based authentication flows, service-based authentication, or certificate-based flows that require application registration.
  • If the driver does not provide embedded OAuth credentials.

(When the driver provides embedded OAuth credentials, this value may already be provided by the connector and thus not require manual entry.)

OAuthClientId is generally used alongside other OAuth-related properties such as OAuthClientSecret and OAuthSettingsLocation when configuring an authenticated connection.

OAuthClientId is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can usually find this value in your identity provider’s application registration settings. Look for a field labeled Client ID, Application ID, or Consumer Key.

While the client ID is not considered a confidential value like a client secret, it is still part of your application's identity and should be handled carefully. Avoid exposing it in public repositories or shared configuration files.

For more information on how this property is used when configuring a connection, see Establishing a Connection.

CData Python Connector for Shopify

OAuthClientSecret

Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).

Data Type

string

Default Value

""

Remarks

This property (sometimes called the application secret or consumer secret) is required when using a custom OAuth application in any flow that requires secure client authentication, such as web-based OAuth, service-based connections, or certificate-based authorization flows. It is not required when using an embedded OAuth application.

The client secret is used during the token exchange step of the OAuth flow, when the driver requests an access token from the authorization server. If this value is missing or incorrect, authentication fails with either an invalid_client or an unauthorized_client error.

OAuthClientSecret is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can obtain this value from your identity provider when registering the OAuth application.

Notes:

  • This value should be stored securely and never exposed in public repositories, scripts, or unsecured environments.
  • Client secrets may also expire after a set period. Be sure to monitor expiration dates and rotate secrets as needed to maintain uninterrupted access.

For more information on how this property is used when configuring a connection, see Establishing a Connection

CData Python Connector for Shopify

OAuthAccessToken

Specifies the OAuth access token used to authenticate requests to the data source. This token is issued by the authorization server after a successful OAuth exchange.

Data Type

string

Default Value

""

Remarks

OAuthAccessToken is a temporary credential that authorizes access to protected resources. It is typically returned by the identity provider after the user or client application completes an OAuth authentication flow. This property is most commonly used in automated workflows or custom OAuth implementations where you want to manage token handling outside of the driver.

The OAuth access token has a server-dependent timeout, limiting user access. The timeout is set using the OAuthExpiresIn property. However, it can be reissued between requests to keep access alive as long as the user keeps working.

If InitiateOAuth is set to REFRESH, we recommend that you also set both OAuthExpiresIn and OAuthTokenTimestamp. The connector uses these properties to determine when the token expires so it can refresh most efficiently. If OAuthExpiresIn and OAuthTokenTimestamp are not specified, the connector refreshes the token immediately.

Note: Access tokens should be treated as sensitive credentials and stored securely. Avoid exposing them in logs, scripts, or configuration files that are not access-controlled.

For more information on how this property is used when configuring a connection, see Establishing a Connection.

CData Python Connector for Shopify

OAuthSettingsLocation

Specifies the location of the settings file where OAuth values are saved.

Data Type

string

Default Value

"%APPDATA%\\CData\\Shopify Data Provider\\OAuthSettings.txt"

Remarks

Storing OAuth settings in a central location avoids the need for users to enter OAuth connection properties manually each time they log in. It also enables credentials to be shared across connections or processes.

You can store OAuth values in a central file for shared access to those values, in either of the following ways:

  • Set InitiateOAuth to either GETANDREFRESH or REFRESH and specify a filepath to the OAuth settings file.
  • Use memory storage to load the credentials into static memory.

The following sections provide more detail on each of these methods.

Specifying the OAuthSettingsLocation Filepath

The default OAuth setting location is %APPDATA%\\CData\\Shopify Data Provider\\OAuthSettings.txt, with %APPDATA% set to the user's configuration directory. Default values vary, depending on the user's operating system.

  • Windows (ODBC and Power BI): registry://%DSN%
  • Windows: %APPDATA%CDataShopify Data Provider\OAuthSettings.txt
  • Mac: %APPDATA%/CData/Shopify Data Provider/OAuthSettings.txt
  • Linux: %APPDATA%/CData/Shopify Data Provider/OAuthSettings.txt

Loading Credentials Via Memory Storage

Memory locations are specified by using a value starting with memory://, followed by a unique identifier for that set of credentials (for example, memory://user1). The identifier can be anything you choose, but it should be unique to the user.

Unlike file-based storage, where credentials persist across connections, memory storage loads the credentials into static memory and the credentials are shared between connections using the same identifier for the life of the process. To persist credentials outside the current process, you must manually store the credentials prior to closing the connection. This enables you to set them in the connection when the process is started again.

To retrieve OAuth property values, query the sys_connection_props system table. If there are multiple connections using the same credentials, the properties are read from the previously closed connection.

Supported Storage Types

  • memory://: Stores OAuth tokens in-memory (unique identifier, shared within same process, etc.)
  • registry://: Only supported in the Windows ODBC and Power BI editions. Stores OAuth tokens in the registry under the DSN settings. Must end in a DSN name like registry://CData Python Connector for Shopify Data Source, or registry://%DSN%.
  • %DSN%: The name of the DSN you are connecting with.
  • Default (no prefix): Stores OAuth tokens within files. The value can be either an absolute path, or a path starting with %APPDATA% or %PROGRAMFILES%.

For more information on how this property is used when configuring a connection, see Establishing a Connection.

CData Python Connector for Shopify

CallbackURL

Identifies the URL users return to after authenticating to Shopify via OAuth (Custom OAuth applications only).

Data Type

string

Default Value

""

Remarks

If you created a custom OAuth application, the OAuth authorization server redirects the user to this URL during the authentication process. This value must match the callback URL you specified when you configured the custom OAuth application.

CData Python Connector for Shopify

Scope

Specifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created.

Data Type

string

Default Value

""

Remarks

Scopes are set to define what kind of access the authenticating user will have; for example, read, read and write, restricted access to sensitive information. System administrators can use scopes to selectively enable access by functionality or security clearance.

When InitiateOAuth is set to GETANDREFRESH, you must use this property if you want to change which scopes are requested.

When InitiateOAuth is set to either REFRESH or OFF, you can change which scopes are requested using either this property or the Scope input.

CData Python Connector for Shopify

OAuthVerifier

Specifies a verifier code returned from the OAuthAuthorizationURL . Used when authenticating to OAuth on a headless server, where a browser can't be launched. Requires both OAuthSettingsLocation and OAuthVerifier to be set.

Data Type

string

Default Value

""

Remarks

For detailed instructions about how to obtain the OAuthVerifier value, see Establishing a Connection.

CData Python Connector for Shopify

OAuthExpiresIn

Specifies the duration in seconds, of an OAuth Access Token's lifetime. The token can be reissued to keep access alive as long as the user keeps working.

Data Type

string

Default Value

""

Remarks

The OAuth Access Token is assigned to an authenticated user, granting that user access to the network for a specified period of time. The access token is used in place of the user's login ID and password, which stay on the server.

An access token created by the server is only valid for a limited time. OAuthExpiresIn is the number of seconds the token is valid from when it was created. For example, a token generated at 2024-01-29 20:00:00 UTC that expires at 2024-01-29 21:00:00 UTC (an hour later) would have an OAuthExpiresIn value of 3600, no matter what the current time is.

To determine how long the user has before the Access Token will expire, check OAuthTokenTimestamp.

CData Python Connector for Shopify

OAuthTokenTimestamp

Displays a Unix epoch timestamp in milliseconds that shows how long ago the current access token was created.

Data Type

string

Default Value

""

Remarks

The OAuth access token is assigned to an authenticated user, granting that user access to the network for a specified period of time. The access token is used in place of the user's login ID and password, which stay on the server.

An access token created by the server is only valid for a limited time. OAuthTokenTimestamp is the Unix timestamp when the server created the token. For example, OAuthTokenTimestamp=1706558400 indicates the OAuthAccessToken was generated by the server at 2024-01-29 20:00:00 UTC.

CData Python Connector for Shopify

SSL

This section provides a complete list of the SSL properties you can configure in the connection string for this provider.


PropertyDescription
SSLServerCertSpecifies the certificate to be accepted from the server when connecting using TLS/SSL.
CData Python Connector for Shopify

SSLServerCert

Specifies the certificate to be accepted from the server when connecting using TLS/SSL.

Data Type

string

Default Value

""

Remarks

If you are using a TLS/SSL connection, use this property to specify the TLS/SSL certificate to be accepted from the server. If you specify a value for this property, all other certificates that are not trusted by the machine are rejected.

This property can take the following forms:

Description Example
A full PEM Certificate (example shortened for brevity) -----BEGIN CERTIFICATE-----
MIIChTCCAe4CAQAwDQYJKoZIhv......Qw==
-----END CERTIFICATE-----
A path to a local file containing the certificate C:\cert.cer
The public key (example shortened for brevity) -----BEGIN RSA PUBLIC KEY-----
MIGfMA0GCSq......AQAB
-----END RSA PUBLIC KEY-----
The MD5 Thumbprint (hex values can also be either space- or colon-separated) ecadbdda5a1529c58a1e9e09828d70e4
The SHA1 Thumbprint (hex values can also be either space- or colon-separated) 34a929226ae0819f2ec14b4a3d904f801cbb150d

Note: It is possible to use '*' to signify that all certificates should be accepted, but due to security concerns this is not recommended.

CData Python Connector for Shopify

Firewall

This section provides a complete list of the Firewall properties you can configure in the connection string for this provider.


PropertyDescription
FirewallTypeSpecifies the protocol the provider uses to tunnel traffic through a proxy-based firewall.
FirewallServerIdentifies the IP address, DNS name, or host name of a proxy used to traverse a firewall and relay user queries to network resources.
FirewallPortSpecifies the TCP port to be used for a proxy-based firewall.
FirewallUserIdentifies the user ID of the account authenticating to a proxy-based firewall.
FirewallPasswordSpecifies the password of the user account authenticating to a proxy-based firewall.
CData Python Connector for Shopify

FirewallType

Specifies the protocol the provider uses to tunnel traffic through a proxy-based firewall.

Possible Values

NONE, TUNNEL, SOCKS4, SOCKS5

Data Type

string

Default Value

"NONE"

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

Note: By default, the connector connects to the system proxy. To disable this behavior and connect to one of the following proxy types, set ProxyAutoDetect to false.

The following table provides port number information for each of the supported protocols.

Protocol Default Port Description
TUNNEL 80 The port where the connector opens a connection to Shopify. Traffic flows back and forth via the proxy at this location.
SOCKS4 1080 The port where the connector opens a connection to Shopify. SOCKS 4 then passes theFirewallUser value to the proxy, which determines whether the connection request should be granted.
SOCKS5 1080 The port where the connector sends data to Shopify. If the SOCKS 5 proxy requires authentication, set FirewallUser and FirewallPassword to credentials the proxy recognizes.

To connect to HTTP proxies, use ProxyServer and ProxyPort. To authenticate to HTTP proxies, use ProxyAuthScheme, ProxyUser, and ProxyPassword.

CData Python Connector for Shopify

FirewallServer

Identifies the IP address, DNS name, or host name of a proxy used to traverse a firewall and relay user queries to network resources.

Data Type

string

Default Value

""

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

CData Python Connector for Shopify

FirewallPort

Specifies the TCP port to be used for a proxy-based firewall.

Data Type

int

Default Value

0

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

CData Python Connector for Shopify

FirewallUser

Identifies the user ID of the account authenticating to a proxy-based firewall.

Data Type

string

Default Value

""

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

CData Python Connector for Shopify

FirewallPassword

Specifies the password of the user account authenticating to a proxy-based firewall.

Data Type

string

Default Value

""

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

CData Python Connector for Shopify

Proxy

This section provides a complete list of the Proxy properties you can configure in the connection string for this provider.


PropertyDescription
ProxyAutoDetectSpecifies whether the provider checks your system proxy settings for existing proxy server configurations, rather than using a manually specified proxy server.
ProxyServerIdentifies the hostname or IP address of the proxy server through which you want to route HTTP traffic.
ProxyPortIdentifies the TCP port on your specified proxy server that has been reserved for routing HTTP traffic to and from the client.
ProxyAuthSchemeSpecifies the authentication method the provider uses when authenticating to the proxy server specified in the ProxyServer connection property.
ProxyUserProvides the username of a user account registered with the proxy server specified in the ProxyServer connection property.
ProxyPasswordSpecifies the password of the user specified in the ProxyUser connection property.
ProxySSLTypeSpecifies the SSL type to use when connecting to the proxy server specified in the ProxyServer connection property.
ProxyExceptionsSpecifies a semicolon-separated list of destination hostnames or IPs that are exempt from connecting through the proxy server set in the ProxyServer connection property.
CData Python Connector for Shopify

ProxyAutoDetect

Specifies whether the provider checks your system proxy settings for existing proxy server configurations, rather than using a manually specified proxy server.

Data Type

bool

Default Value

true

Remarks

When this connection property is set to True, the connector checks your system proxy settings for existing proxy server configurations (no need to manually supply proxy server details).

This connection property takes precedence over other proxy settings. If you want to configure the connector to connect to a specific proxy server, set ProxyAutoDetect to False.

On Windows, the connector reads the proxy settings from the Internet Options in the registry, specifically the registry key HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\. On Windows 10 and later, this corresponds to the Proxy Settings found in the Windows Settings.

Note that these settings apply only to the current user of the machine. If you're running an application as a service, the connector does not read your own user's settings. You must instead manually supply the proxy settings in the connector's connection properties.

On Mac, the connector reads proxy settings from the system-configured CFNetwork settings.

On Linux, this property is unsupported, and is set to False by default.

To connect to an HTTP proxy, see ProxyServer. For other proxies, such as SOCKS or tunneling, see FirewallType.

CData Python Connector for Shopify

ProxyServer

Identifies the hostname or IP address of the proxy server through which you want to route HTTP traffic.

Data Type

string

Default Value

""

Remarks

The connector only routes HTTP traffic through the proxy server specified in this connection property when ProxyAutoDetect is set to False.

If ProxyAutoDetect is set to True (the default), the connector instead routes HTTP traffic through the proxy server specified in your system proxy settings.

CData Python Connector for Shopify

ProxyPort

Identifies the TCP port on your specified proxy server that has been reserved for routing HTTP traffic to and from the client.

Data Type

int

Default Value

80

Remarks

The connector only routes HTTP traffic through the ProxyServer port specified in this connection property when ProxyAutoDetect is set to False.

If ProxyAutoDetect is set to True (the default), the connector instead routes HTTP traffic through the proxy server port specified in your system proxy settings.

For other proxy types, see FirewallType.

CData Python Connector for Shopify

ProxyAuthScheme

Specifies the authentication method the provider uses when authenticating to the proxy server specified in the ProxyServer connection property.

Possible Values

BASIC, DIGEST, NONE, NEGOTIATE, NTLM

Data Type

string

Default Value

"BASIC"

Remarks

Note: The connector only uses this ProxyAuthScheme when ProxyAutoDetect is set to False. If ProxyAutoDetect is set to True (the default), the connector instead uses the authentication method specified in your system proxy settings.

Supported authentication types :

  • BASIC: The connector performs HTTP basic authentication.
  • DIGEST: The connector performs HTTP digest authentication.
  • NTLM: The connector retrieves an NTLM token.
  • NEGOTIATE: The connector retrieves an NTLM or Kerberos token based on the applicable protocol for authentication.
  • NONE: Signifies that the ProxyServer does not require authentication.

For all values other than NONE, you must also set the ProxyUser and ProxyPassword connection properties.

If you need to use another authentication type, such as SOCKS 5 authentication, see FirewallType.

CData Python Connector for Shopify

ProxyUser

Provides the username of a user account registered with the proxy server specified in the ProxyServer connection property.

Data Type

string

Default Value

""

Remarks

The ProxyUser and ProxyPassword connection properties are used to connect and authenticate against the HTTP proxy specified in ProxyServer.

After selecting one of the available authentication types in ProxyAuthScheme, set this property as follows:

ProxyAuthScheme Value Value to set for ProxyUser
BASIC The username of a user registered with the proxy server.
DIGEST The username of a user registered with the proxy server.
NEGOTIATE The username of a Windows user who is a valid user in the domain or trusted domain that the proxy server is part of, in the format user@domain or domain\user.
NTLM The username of a Windows user who is a valid user in the domain or trusted domain that the proxy server is part of, in the format user@domain or domain\user.
NONE Do not set the ProxyPassword connection property.

Note: The connector only uses this username if ProxyAutoDetect is set to False. If ProxyAutoDetect is set to True (the default), the connector instead uses the username specified in your system proxy settings.

CData Python Connector for Shopify

ProxyPassword

Specifies the password of the user specified in the ProxyUser connection property.

Data Type

string

Default Value

""

Remarks

The ProxyUser and ProxyPassword connection properties are used to connect and authenticate against the HTTP proxy specified in ProxyServer.

After selecting one of the available authentication types in ProxyAuthScheme, set this property as follows:

ProxyAuthScheme Value Value to set for ProxyPassword
BASIC The password associated with the proxy server user specified in ProxyUser.
DIGEST The password associated with the proxy server user specified in ProxyUser.
NEGOTIATE The password associated with the Windows user account specified in ProxyUser.
NTLM The password associated with the Windows user account specified in ProxyUser.
NONE Do not set the ProxyPassword connection property.

For SOCKS 5 authentication or tunneling, see FirewallType.

Note: The connector only uses this password if ProxyAutoDetect is set to False. If ProxyAutoDetect is set to True (the default), the connector instead uses the password specified in your system proxy settings.

CData Python Connector for Shopify

ProxySSLType

Specifies the SSL type to use when connecting to the proxy server specified in the ProxyServer connection property.

Possible Values

AUTO, ALWAYS, NEVER, TUNNEL

Data Type

string

Default Value

"AUTO"

Remarks

This property determines when to use SSL for the connection to the HTTP proxy specified by ProxyServer. You can set this connection property to the following values :

AUTODefault setting. If ProxyServer is set to an HTTPS URL, the connector uses the TUNNEL option. If ProxyServer is set to an HTTP URL, the component uses the NEVER option.
ALWAYSThe connection is always SSL enabled.
NEVERThe connection is not SSL enabled.
TUNNELThe connection is made through a tunneling proxy. The proxy server opens a connection to the remote host and traffic flows back and forth through the proxy.

CData Python Connector for Shopify

ProxyExceptions

Specifies a semicolon-separated list of destination hostnames or IPs that are exempt from connecting through the proxy server set in the ProxyServer connection property.

Data Type

string

Default Value

""

Remarks

The ProxyServer is used for all addresses, except for addresses defined in this property. Use semicolons to separate entries.

Note: The connector uses the system proxy settings by default, without further configuration needed. If you want to explicitly configure proxy exceptions for this connection, set ProxyAutoDetect to False.

CData Python Connector for Shopify

Logging

This section provides a complete list of the Logging properties you can configure in the connection string for this provider.


PropertyDescription
LogfileSpecifies the file path to the log file where the provider records its activities, such as authentication, query execution, and connection details.
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.
LogModulesSpecifies the core modules to include in the log file. Use a semicolon-separated list of module names. By default, all modules are logged.
MaxLogFileSizeSpecifies the maximum size of a single log file in bytes. For example, '10 MB'. When the file reaches the limit, the provider creates a new log file with the date and time appended to the name.
MaxLogFileCountSpecifies the maximum number of log files the provider retains. When the limit is reached, the oldest log file is deleted to make space for a new one.
CData Python Connector for Shopify

Logfile

Specifies the file path to the log file where the provider records its activities, such as authentication, query execution, and connection details.

Data Type

string

Default Value

""

Remarks

This property specifies the location and name of the log file where the connector records its operations, including authentication events, query execution, and connection details. If the specified file does not exist, the connector creates it. Ensure that the user or the service running the connector has write access to the specified path or file. Without sufficient permissions, the log file is not created.

Sensitive information from the connection string, such as passwords and tokens, is automatically masked in the logs. However, sensitive information present in the data itself may not be masked.

If you specify a relative path for Logfile, and if the Location property is set, that directory is used as the base path for the log file.

Additional properties allow you to customize logging behavior:

CData Python Connector for Shopify

Verbosity

Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.

Data Type

string

Default Value

"1"

Remarks

This property defines the level of detail the connector includes in the log file. Higher verbosity levels increase the detail of the logged information, but may also result in larger log files and slower performance due to the additional data being captured.

The default verbosity level is 1, which is recommended for regular operation. Higher verbosity levels are primarily intended for debugging purposes. For more information on each level, refer to Logging.

When combined with the LogModules property, Verbosity can refine logging to specific categories of information.

CData Python Connector for Shopify

LogModules

Specifies the core modules to include in the log file. Use a semicolon-separated list of module names. By default, all modules are logged.

Data Type

string

Default Value

""

Remarks

The connector writes details about each operation it performs into the logfile specified by the Logfile connection property.

Each of these logged operations are assigned to a themed category called a module, and each module has a corresponding short code used to labels individual connector operations as belonging to that module.

When this connection property is set to a semicolon-separated list of module codes, only operations belonging to the specified modules are written to the logfile. Note that this only affects which operations are logged moving forward and doesn't retroactively alter the existing contents of the logfile. For example: INFO;EXEC;SSL;META;

By default, logged operations from all modules are included.

You can explicitly exclude a module by prefixing it with a "-". For example: -HTTP

To apply filters to submodules, identify them with the syntax <module name>.<submodule name>. For example, the following value causes the connector to only log actions belonging to the HTTP module, and further refines it to exclude actions belonging to the Res submodule of the HTTP module: HTTP;-HTTP.Res

Note that the logfile filtering triggered by the Verbosity connection property takes precedence over the filtering imposed by this connection property. This means that operations of a higher verbosity level than the level specified in the Verbosity connection property are not printed in the logfile, even if they belong to one of the modules specified in this connection property.

The available modules and submodules are:

Module Name Module Description Submodules
INFO General Information. Includes the connection string, product version (build number), and initial connection messages.
  • Connec – Information related to creating or destroying connections.
  • Messag – Generic label for messages pertaining to connections, the connection string, and product version. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
EXEC Query Execution. Includes execution messages for user-written SQL queries, parsed SQL queries, and normalized SQL queries. Success/failure messages for queries and query pages appear here as well.
  • Messag – Messages pertaining to query execution. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • Normlz – Query normalization steps. Query normalization is when the product takes the user-submitted query and rewrites the query to get the same results with optimal performance.
  • Origin – This label applies to any messages recording a user's original query (the exact, unaltered, non-normalized query executed by the user).
  • Page – Messages related to query paging.
  • Parsed – Query parsing steps. Parsing is the process of converting the user-submitted query into a standardized format for easier processing.
HTTP HTTP protocol messages. Includes HTTP requests/responses (including POST messages), as well as Kerberos related messages.
  • KERB – HTTP requests related to Kerberos.
  • Messag – Messages pertaining to HTTP protocols. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • Unpack – This label applies to messages about zipped data being returned from the service API and unpacked by the product.
  • Res – Messages containing HTTP responses.
  • Req – Messages containing HTTP requests.
WSDL Messages pertaining to the generation of WSDL/XSD files.
SSL SSL certificate messages.
  • Certif – Messages pertaining to SSL certificates.
AUTH Authentication related failure/success messages.
  • Messag – Messages pertaining to authentication. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • OAuth – Messages related to OAuth authentication.
  • Krbros – Kerberos-related authentication messages.
SQL Includes SQL transactions, SQL bulk transfer messages, and SQL result set messages.
  • Bulk – Messages pertaining to bulk query execution.
  • Cache – Messages related to reading row data from and writing row data to the product's cache for better performance.
  • Messag – Messages pertaining to SQL transactions. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • ResSet – Query resultsets.
  • Transc – Messages related to handling transactions, including information about the number of jobs executed and backup table handling.
META Metadata cache and schema messages.
  • Cache – Messages related to reading from and modifying column and table definitions in the product's cache for better performance.
  • Schema – Messages related to retrieving metadata from or modifying the service schema.
  • MemSto – Messages related to writing to or reading from in-memory metadata cache.
  • Storag – Messages relating to storing metadata on disk or in an external data store, rather than in memory.
FUNC Information related to executing SQL functions.
  • Errmsg – Error messages related to executing SQL functions.
TCP Incoming and outgoing raw bytes on TCP transport layer messages.
  • Send – Raw data sent via the TCP protocol.
  • Receiv – Raw data received via the TCP protocol.
FTP Messages pertaining to the File Transfer Protocol.
  • Info – Status messages related to communication in the FTP protocol.
  • Client – Messages related to actions taken by the FTP client (the product) during FTP communication.
  • Server – Messages related to actions taken by the FTP server during FTP communication.
SFTP Messages pertaining to the Secure File Transfer Protocol.
  • Info – Status messages related to communication in the SFTP protocol.
  • To_Server – Messages related to actions taken by the SFTP client (the product) during SFTP communication.
  • From_Server – Messages related to actions taken by the SFTP server during SFTP communication.
POP Messages pertaining to data transferred via the Post Office Protocol.
  • Client – Messages related to actions taken by the POP client (the product) during POP communication.
  • Server – Messages related to actions taken by the POP server during POP communication.
  • Status – Status messages related to communication in the POP protocol.
SMTP Messages pertaining to data transferred via the Simple Mail Transfer Protocol.
  • Client – Messages related to actions taken by the SMTP client (the product) during SMTP communication.
  • Server – Messages related to actions taken by the SMTP server during SMTP communication.
  • Status – Status messages related to communication in the SMTP protocol.
CORE Messages relating to various internal product operations not covered by other modules.
DEMN Messages related to SQL remoting.
CLJB Messages about bulk data uploads (cloud job).
  • Commit – Submissions for bulk data uploads.
SRCE Miscellaneous messages produced by the product that don't belong in any other module.
TRANCE Advanced messages concerning low-level product operations.

CData Python Connector for Shopify

MaxLogFileSize

Specifies the maximum size of a single log file in bytes. For example, '10 MB'. When the file reaches the limit, the provider creates a new log file with the date and time appended to the name.

Data Type

string

Default Value

"100MB"

Remarks

For values lower than 100 KB, the connector uses 100 KB as the minimum allowable size.

To control the total number of log files retained, use the MaxLogFileCount property in conjunction with this property. Together, these properties allow you to manage the size and retention of log files effectively.

CData Python Connector for Shopify

MaxLogFileCount

Specifies the maximum number of log files the provider retains. When the limit is reached, the oldest log file is deleted to make space for a new one.

Data Type

int

Default Value

-1

Remarks

Each log file name includes the date and time for easier identification.

This property accepts the following values:

  • A value of 2 or higher sets the maximum number of log files retained.
  • A value of 1 retains only one log file. When it reaches the maximum size, the file is deleted and replaced by a new one, leaving no history beyond the current log.
  • A value of 0 or negative indicates no limit on the number of log files, and logging continues indefinitely.

To manage log file size, use the MaxLogFileSize property. The two properties work together to control the size and retention of log files in the logging folder.

CData Python Connector for Shopify

Schema

This section provides a complete list of the Schema properties you can configure in the connection string for this provider.


PropertyDescription
LocationSpecifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
TablesOptional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA,TableB,TableC .
ViewsOptional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC .
SchemaSpecifies the Shopify API version and schema the provider uses when connecting to your store.
CData Python Connector for Shopify

Location

Specifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.

Data Type

string

Default Value

"%APPDATA%\\CData\\Shopify Data Provider\\Schema"

Remarks

The Location property is only needed if you want to either customize definitions (for example, change a column name, ignore a column, etc.) or extend the data model with new tables, views, or stored procedures.

Note: Since this connector supports multiple schemas, custom schema files for Shopify should be structured such that:

  • Each schema should have its own folder, named for that schema.
  • All schema folders should be contained in a parent folder.

Location should always be set to the parent folder, and not to an individual schema's folder.

If left unspecified, the default location is %APPDATA%\\CData\\Shopify Data Provider\\Schema, where %APPDATA% is set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Linux ~/.config

CData Python Connector for Shopify

BrowsableSchemas

Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .

Data Type

string

Default Value

""

Remarks

Listing all available database schemas can take extra time, thus degrading performance. Providing a list of schemas in the connection string saves time and improves performance.

CData Python Connector for Shopify

Tables

Optional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA,TableB,TableC .

Data Type

string

Default Value

""

Remarks

Listing all available tables from some databases can take extra time, thus degrading performance. Providing a list of tables in the connection string saves time and improves performance.

If there are lots of tables available and you already know which ones you want to work with, you can use this property to restrict your viewing to only those tables. To do this, specify the tables you want in a comma-separated list. Each table should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space`.

Note: If you are connecting to a data source with multiple schemas or catalogs, you must specify each table you want to view by its fully qualified name. This avoids ambiguity between tables that may exist in multiple catalogs or schemas.

CData Python Connector for Shopify

Views

Optional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC .

Data Type

string

Default Value

""

Remarks

Listing all available views from some databases can take extra time, thus degrading performance. Providing a list of views in the connection string saves time and improves performance.

If there are lots of views available and you already know which ones you want to work with, you can use this property to restrict your viewing to only those views. To do this, specify the views you want in a comma-separated list. Each view should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space`.

Note: If you are connecting to a data source with multiple schemas or catalogs, you must specify each view you want to examine by its fully qualified name. This avoids ambiguity between views that may exist in multiple catalogs or schemas.

CData Python Connector for Shopify

Schema

Specifies the Shopify API version and schema the provider uses when connecting to your store.

Possible Values

GRAPHQL-2026-01, GRAPHQL-2025-10, GRAPHQL-2025-07

Data Type

string

Default Value

"GRAPHQL-2026-01"

Remarks

This property determines which version the connector targets when retrieving data from Shopify.

Use this property to:

  • Ensure compatibility with features or fields introduced in a specific API version.
  • Work around deprecations by explicitly setting an older version, if still supported.

Shopify typically releases new API versions quarterly. Deprecated versions may continue to function temporarily, but will redirect to the oldest supported public version.

CData Python Connector for Shopify

Caching

This section provides a complete list of the Caching properties you can configure in the connection string for this provider.


PropertyDescription
AutoCacheSpecifies whether the content of tables targeted by SELECT queries is automatically cached to the specified cache database.
CacheProviderThe namespace of an ADO.NET provider. The specified provider is used as the target database for all caching operations.
CacheDriverThe driver class of a JDBC driver. The specified driver is used to connect to the target database for all caching operations.
CacheConnectionSpecifies the connection string for the specified cache database.
CacheLocationSpecifies the path to the cache when caching to a file.
CacheToleranceNotes the tolerance, in seconds, for stale data in the specified cache database. Requires AutoCache to be set to True.
OfflineGets the data from the specified cache database instead of live Shopify data.
CacheMetadataDetermines whether the provider caches table metadata to a file-based cache database.
CData Python Connector for Shopify

AutoCache

Specifies whether the content of tables targeted by SELECT queries is automatically cached to the specified cache database.

Data Type

bool

Default Value

false

Remarks

When this connection property is set to True, the connector automatically caches the contents of tables targeted by SELECT queries. The content of these tables is cached to the cache database specified by the CacheConnection and CacheProvider connection properties.

See Also

For additional information, see:

  • CacheMetadata: With CacheMetadata enabled, all retrieved metadata is mirrored in the cache database. This means that any subsequent attempts by the connector to discover metadata are much faster, as this metadata is then read directly from the cache database, without needing to spend time requesting metadata from Shopify.
  • Explicitly Caching Data: This topic provides examples for using AutoCache in Offline mode.
  • CACHE Statements: You can use the CACHE statement to explicitly cache the content of any table targeted by a SELECT query.

CData Python Connector for Shopify

CacheProvider

The namespace of an ADO.NET provider. The specified provider is used as the target database for all caching operations.

Data Type

string

Default Value

""

Remarks

You can cache to ADO.NET providers saved in your ADO.NET global assembly cache (GAC).

CData ADO.NET providers automatically register themselves with the GAC during installation, so you don't need to do so manually.

Third-party ADO.NET providers may or may not automatically register themselves with the GAC during installation. If you want to cache to a third-party ADO.NET provider, consult the documentation for that provider to determine what steps (if any) you must take to register them with the GAC. Once they have been registered, you can supply their namespace in this connection property.

You must also set the CacheConnection connection property to provide a connection string for the specified ADO.NET provider.

The following sections show connection examples and address other requirements for several popular database providers. Refer to CacheConnection for more information on typical connection properties.

SQLite

You can use the Microsoft ADO.NET Provider for SQLite to cache to SQLite databases.

CacheProvider=Microsoft.Data.Sqlite;CacheConnection='DataSource=C:\\Users\\Public\\cache.db;'InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;

MySQL

To cache to MySQL, you can use the CData ADO.NET Provider for MySQL:
Cache Provider=System.Data.CData.MySQL;Cache Connection='Server=localhost;Port=3306;Database=cache;User=root;Password=123456';User=myUser;Password=myPassword;Security Token=myToken;

SQL Server

You can use the Microsoft .NET Framework Provider for SQL Server, included in the .NET Framework, to cache to SQL Server:

Cache Provider=System.Data.SqlClient;Cache Connection="Server=MyMACHINE\MyInstance;Database=SQLCACHE;User Id=root;Password=admin";InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;

Oracle

To cache to Oracle, you can use the Oracle Data Provider for .NET, as shown in the following example:

Cache Provider=Oracle.DataAccess.Client;Cache Connection='User Id=scott;Password=tiger;Data Source=ORCL';InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;

The Oracle Data Provider for .NET also requires the Oracle Database Client. When you download the Oracle Database Client, ensure that its bitness matches the bitness of your machine. When you install, select either the Runtime or Administrator installation type. The Instant Client is not sufficient.

PostgreSQL

To cache to PostgreSQL, you can use the CData ADO.NET Provider for PostgreSQL:
Cache Provider=System.Data.CData.PostgreSQL;Cache Connection='Server=localhost;Port=5432;Database=cache;User=postgres;Password=123456';User=myUser;Password=myPassword;Security Token=myToken;

CData Python Connector for Shopify

CacheDriver

The driver class of a JDBC driver. The specified driver is used to connect to the target database for all caching operations.

Data Type

string

Default Value

""

Remarks

You can cache to any database for which you have a JDBC driver, including CData JDBC drivers.

Note: You must add the JAR file of the specified JDBC driver to the classpath. For CData JDBC drivers, you can find this JAR file in the "lib" subfolder of that driver's installation directory.

You must also set the CacheConnection connection property to provide a connection string for the specified JDBC driver.

For Linux systems and macOS, you need to create a config.ini file on the installation path of the driver (site-packages/cdata). The config.ini file has the following format (the driver and the path of the JDBC driver):

[salesforce.cpython-38-x86_64-linux-gnu.so]
CLASSPATH = /home/usrname/Downloads/lib/cdata.jdbc.postgresql.jar

Examples

The following examples show how to cache to several major databases. For more information on the JDBC URL syntax and typical connection properties, see CacheConnection.

Derby and Java DB

Java DB is the Oracle distribution of Derby. You must add the Derby JDBC driver's JAR file, derbytools.jar, to your classpath to cache to Java DB.

The Derby JDBC driver's JAR file is bundled in db-derby-10.17.1.0-bin.zip, which you can download from this page. You can find derbytools.jar in the "lib" subfolder of this zip file.

After adding derbytools.jar to the classpath, you can cache to a Java DB database as follows:

jdbc:shopify:CacheDriver=org.apache.derby.jdbc.EmbeddedDriver;CacheConnection='jdbc:derby:sample';InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;
To cache to an in-memory database, use a JDBC URL like the following:
jdbc:shopify:CacheDriver=org.apache.derby.jdbc.EmbeddedDriver;CacheConnection='jdbc:derby:memory';InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;

SQLite

The following is a JDBC URL for the SQLite JDBC driver:

jdbc:shopify:CacheDriver=org.sqlite.JDBC;CacheConnection='jdbc:sqlite:C:/Temp/sqlite.db';InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;

MySQL

The following is a JDBC URL for the CData JDBC Driver for MySQL:

  jdbc:shopify:Cache Driver=cdata.jdbc.mysql.MySQLDriver;Cache Connection='jdbc:mysql:Server=localhost;Port=3306;Database=cache;User=root;Password=123456';InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;
  

SQL Server

The following JDBC URL uses the Microsoft JDBC Driver for SQL Server:

jdbc:shopify:Cache Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver;Cache Connection='jdbc:sqlserver://localhost\sqlexpress:7437;user=sa;password=123456;databaseName=Cache';InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;

Oracle

The following is a JDBC URL for the Oracle Thin Client:

jdbc:shopify:Cache Driver=oracle.jdbc.OracleDriver;CacheConnection='jdbc:oracle:thin:scott/tiger@localhost:1521:orcldb';InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;
NOTE: If using a version of Oracle older than 9i, the cache driver will instead be oracle.jdbc.driver.OracleDriver .

PostgreSQL

The following JDBC URL uses the official PostgreSQL JDBC driver:

jdbc:shopify:CacheDriver=cdata.jdbc.postgresql.PostgreSQLDriver;CacheConnection='jdbc:postgresql:User=postgres;Password=admin;Database=postgres;Server=localhost;Port=5432;';InitiateOAuth=GETANDREFRESH;ShopUrl=https://yourshopname.myshopify.com;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;

CData Python Connector for Shopify

CacheConnection

Specifies the connection string for the specified cache database.

Data Type

string

Default Value

""

Remarks

The target cache database is determined by a combination of this connection property and the CacheProvider connection property. Both properties are required to use the specified cache database.

The connection string specified in this connection property is passed directly to the specified in the CacheProvider connection property. Consult the documentation for the specified for more information on its available connection properties.

Examples of common cache database settings can be found below.

SQLite

MySQL

The following are typical connection properties:

  • Server: The IP address or domain name of the server hosting the MySQL database that you want to cache to.
  • Port: The port on the specified server where your MySQL instance is running.
  • Database: The name of the MySQL database that you want to cache to. Must match the name of a MySQL database hosted on the specified server.
  • User: The username of a user registered with the selected MySQL database.
  • Password: The password associated with the specified MySQL user.

SQL Server

The following are typical SQL Server connection properties:

  • Server: The name or network address of the computer running SQL Server. To connect to a named instance instead of the default instance, specify the host name and the instance name, separated by a backslash.
  • Port: The port on the specified server where your SQL Server instance is running.
  • Database: The name of the SQL Server database you want to cache to. Must match the name of a SQL Server database hosted on the specified server.
  • Integrated Security: To use the current Windows account for authentication, set this option to True. To authenticate with User and Password instead, set this option to False.
  • User Id: The username of a user registered with the selected SQL Server database. This property is only needed if you are not using integrated security.
  • Password: The password associated with the specified SQL Server user. This property is only needed if you are not using integrated security.

Oracle

The following are typical connection properties:

  • Data Source: The connect descriptor that identifies the Oracle database. This can be a TNS connect descriptor, an Oracle Net Services name that resolves to a connect descriptor, or, after version 11g, an Easy Connect naming (the host name of the Oracle server with an optional port and service name).

  • User Id: The username of a user registered with the selected Oracle database.
  • Password: The password associated with the specified Oracle user.

PostgreSQL

The following are typical connection properties:

  • Host: The address of the server hosting the PostgreSQL database.
  • Port: The port on the specified host server where your PostgreSQL database is hosted.
  • Database: The name of the PostgreSQL database you want to cache to. Must match the name of a PostgreSQL database hosted on the specified server.
  • User name: The username of a user registered with the selected PostgreSQL database.
  • Password: The password associated with the specified user.

CData Python Connector for Shopify

CacheLocation

Specifies the path to the cache when caching to a file.

Data Type

string

Default Value

"%APPDATA%\\CData\\Shopify Data Provider"

Remarks

The CacheLocation is a simple, file-based cache.

If left unspecified, the default location is %APPDATA%\\CData\\Shopify Data Provider, where %APPDATA% is set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Linux ~/.config

See Also

  • AutoCache: Set to implicitly create and maintain a cache for later offline use.
  • CacheMetadata: Set to persist the Shopify catalog in CacheLocation.

CData Python Connector for Shopify

CacheTolerance

Notes the tolerance, in seconds, for stale data in the specified cache database. Requires AutoCache to be set to True.

Data Type

int

Default Value

600

Remarks

When you execute a query for tables in the cache, the connector checks the time elapsed since the last update to the cache.

If the last update to the cache is older than the value of this connection property (measured in seconds), the connector refreshes the cache.

Otherwise, the connector returns data directly from the cache.

CData Python Connector for Shopify

Offline

Gets the data from the specified cache database instead of live Shopify data.

Data Type

bool

Default Value

false

Remarks

When this connection property is set to True, all queries execute against the cache database instead of the live Shopify data.

In this mode, some SQL operations like INSERT, UPDATE, DELETE, and CACHE are disabled.

CData Python Connector for Shopify

CacheMetadata

Determines whether the provider caches table metadata to a file-based cache database.

Data Type

bool

Default Value

false

Remarks

When this connection property is set to True, as you execute queries, table metadata in the Shopify catalog is cached to the cache database specified by CacheConnection and CacheProvider, or, if those connection properties are not set, to the user's home directory.

The location of your home directory varies by platform:

PlatformHome Directory
Windows %APPDATA%\\CData\\Shopify Data Provider
Mac ~/Library/Application Support/CData/Shopify Data Provider
Unix ~/.config/CData/Shopify Data Provider

A table's metadata is retrieved only once, when the table is queried for the first time.

When to Use CacheMetadata

When there are a large number of Shopify tables and columns for the connector to retrieve during metadata discovery, the connector may take a while to list all table metadata.

You may experience slow metadata retrieval when:

  • Your Shopify instance naturally has a large table count.
  • The connector has been configured, via its connection properties, to discover more tables than it would under its default configuration.
  • You make many short-lived connections to the connector.
With CacheMetadata enabled, all retrieved metadata is mirrored in the cache database. This means that any subsequent attempts by the connector to discover metadata are much faster, as this metadata is then read directly from the cache database, without needing to spend time requesting metadata from Shopify.

When Not to Use CacheMetadata

The connector automatically persists metadata in memory for up to an hour when you first discover the metadata for a table or view, so CacheMetadata is generally not necessary.

CacheMetadata is not ideal in scenarios where you are working with volatile metadata. The first time you query a table, the connector caches its metadata to the cache database file. This cache is not dynamically updated to reflect updates to the table schema, so you must delete and rebuild the cache database file to pick up new, changed, or deleted columns.

CData Python Connector for Shopify

Miscellaneous

This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.


PropertyDescription
UseBulkAPISpecifies whether the provider uses Shopify Bulk Operations when querying data. This property is useful when you are querying high-volume datasets, such as thousands of orders, products, or customers and want to optimize performance or reduce the likelihood of API throttling from real-time queries.
BulkTimeoutSpecifies how long, in minutes, the provider waits for a Shopify bulk operation to complete before returning an error.
BulkPollingIntervalSpecifies the maximum time interval (in milliseconds) between each status check when polling for the results of a Shopify Bulk API operation.
BulkPageSizeSpecifies the number of records retrieved per batch when UseBulkAPI is set to true.
EnableShopifyPlusSpecifies whether the app is installed on a Shopify Plus account. Set this to true to enable access to additional Shopify Plus-specific features.
IncludeCustomFieldsSpecifies whether the provider includes custom fields in queries to the Products and ProductVariants tables.
MaxPointsPerCallSpecifies the maximum number of GraphQL cost points that each call is allowed to consume.
MaxRowsSpecifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
OtherSpecifies advanced connection properties for specialized scenarios. Use this property only under the guidance of our Support team to address specific issues.
PagesizeSpecifies the maximum number of results the provider requests per page when querying data from Shopify.
PointsBufferSizeSpecifies a point buffer used to increase the calculated wait time for throttling prevention.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
ReadonlyToggles read-only access to Shopify from the provider.
RTKSpecifies the runtime key for licensing the provider. If unset or invalid, the provider defaults to the standard licensing method. This property is only required in environments where the standard licensing method is unsupported or requires a runtime key.
ShowAggregateSpecifies whether the provider includes aggregate values in the result set and how they are structured.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
UserDefinedViewsSpecifies a filepath to a JSON configuration file that defines custom views. The provider automatically detects and uses the views specified in this file.
CData Python Connector for Shopify

UseBulkAPI

Specifies whether the provider uses Shopify Bulk Operations when querying data. This property is useful when you are querying high-volume datasets, such as thousands of orders, products, or customers and want to optimize performance or reduce the likelihood of API throttling from real-time queries.

Data Type

bool

Default Value

false

Remarks

When set to true, the connector submits GraphQL queries using Shopify's Bulk Operations API. This allows the connector to handle large data sets more efficiently by running asynchronous export jobs behind the scenes. The connector monitors job status and retrieves the results once they are available.

Note: The Shopify Bulk API has several limitations and is primarily suited for data replication tasks. Shopify allows only one bulk operation to run at a time per shop. If a second operation is started before the first completes, it fails. Disabling parallel operations or concurrent execution in your client application or custom implementation code does not guarantee prevention of conflicts caused by the Bulk API's single-operation limit. Additionally, each bulk query operation must complete within 10 days. Otherwise, the operation is terminated and marked as failed. Furthermore, certain tables and columns that do not meet the requirements of the Bulk API are not exposed when this property is enabled. Evaluate whether your use case is better served by asynchronous bulk jobs or real-time GraphQL queries.

Use BulkPollingInterval, BulkTimeout, and BulkPageSize to tune responsiveness and resource usage.

CData Python Connector for Shopify

BulkTimeout

Specifies how long, in minutes, the provider waits for a Shopify bulk operation to complete before returning an error.

Data Type

int

Default Value

25

Remarks

When UseBulkAPI is set to true, the connector submits queries as asynchronous jobs using Shopify's Bulk API. Shopify allows only one active bulk operation per store. If another job is already running, Shopify rejects the new request.

The connector checks for an active job and waits up to the duration specified by BulkTimeout for it to complete. If the existing job doesn't finish in time, the connector cancels the request and returns an error.

This setting helps manage conflicts in shared environments where overlapping bulk queries might occur. Use it to control how long you're willing to wait before timing out a queued job.

CData Python Connector for Shopify

BulkPollingInterval

Specifies the maximum time interval (in milliseconds) between each status check when polling for the results of a Shopify Bulk API operation.

Data Type

int

Default Value

10000

Remarks

When UseBulkAPI is set to true, the connector submits queries as asynchronous jobs to the Shopify Bulk API. The API responds with a job ID, and the connector periodically checks the job status until the export is complete.

This property defines the maximum wait time between polling attempts. The connector initially waits 1 second (1000 ms) before the first poll and may increase the interval between subsequent polls up to the limit specified by BulkPollingInterval.

Lower values result in more frequent polling, which can lead to faster job completion detection but may increase the number of API requests.

Higher values reduce polling frequency, which can conserve resources and API usage but may introduce latency in receiving results once jobs are complete.

This setting can be adjusted to balance responsiveness and API rate efficiency based on your environment and expected data volume.

CData Python Connector for Shopify

BulkPageSize

Specifies the number of records retrieved per batch when UseBulkAPI is set to true.

Data Type

int

Default Value

1000

Remarks

When using Shopify's Bulk API, this property controls how many records are returned at a time to the user once the bulk operation has started. Although Shopify's Bulk API performs asynchronous exports behind the scenes, the connector paginates the downloaded results to return them incrementally based on the value of BulkPageSize.

Higher values may improve throughput by reducing the number of read cycles between the local client and downloaded result set.

Lower values may reduce memory usage, which can be beneficial when working with very large exports or constrained environments.

This setting does not influence the number of records returned by Shopify itself. It only affects how the connector processes and returns the completed export results.

CData Python Connector for Shopify

EnableShopifyPlus

Specifies whether the app is installed on a Shopify Plus account. Set this to true to enable access to additional Shopify Plus-specific features.

Data Type

bool

Default Value

false

Remarks

This setting only has an effect if the connected store is on a Shopify Plus plan.

Set this property to true if your app is authorized on a Shopify Plus store. When enabled, the connector exposes additional columns and tables that are only available to Shopify Plus merchants. These may include advanced analytics, checkout customization features, or B2B-related data.

Note: Enabling this property requires an updated OAuth access token that includes additional scopes, specifically read_users to retrieve data from Shopify Plus-specific resources. If your app was previously authorized without this property enabled, you must reauthenticate to obtain a token with the correct scopes. Failing to reauthenticate may result in empty datasets or API errors due to insufficient permissions.

CData Python Connector for Shopify

IncludeCustomFields

Specifies whether the provider includes custom fields in queries to the Products and ProductVariants tables.

Data Type

bool

Default Value

false

Remarks

Set this property to true to include custom fields, such as metafields, when querying or updating records in the Products and ProductVariants tables.

This functionality is supported when UseBulkAPI is set to false

When set to false, the connector skips custom field processing to improve performance, especially during large reads. However, with this setting disabled, you cannot read or update custom fields in these tables.

This property is useful when you need access to Shopify metafields or other extended product metadata.

CData Python Connector for Shopify

MaxPointsPerCall

Specifies the maximum number of GraphQL cost points that each call is allowed to consume.

Data Type

string

Default Value

"50"

Remarks

Shopify’s GraphQL API enforces a throttling system based on cost points. Each query consumes cost points, and apps operate under a shared budget that refills over time.

Use this property to cap the cost of individual GraphQL requests generated by the connector. By setting a maximum, you can prevent large queries from exhausting your available quota and help avoid throttling errors.

Note: Shopify applies different rate limits based on your account type. Standard accounts are limited to 1,000 cost points with a default refill rate of 100 points per second. Shopify Plus and enterprise plans have higher refill rates, up to 2,000 points per second.

This property is useful when you're working with large datasets or multiple concurrent queries and need to manage resource usage carefully to avoid hitting Shopify's rate limits.

Lowering the point cap may reduce the risk of hitting API limits but can lead to more, smaller API calls. Higher values may improve performance by allowing more data per call, but increase the likelihood of throttling.

CData Python Connector for Shopify

MaxRows

Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.

Data Type

int

Default Value

-1

Remarks

The default value for this property, -1, means that no row limit is enforced unless the query explicitly includes a LIMIT clause. (When a query includes a LIMIT clause, the value specified in the query takes precedence over the MaxRows setting.)

Setting MaxRows to a whole number greater than 0 ensures that queries do not return excessively large result sets by default.

This property is useful for optimizing performance and preventing excessive resource consumption when executing queries that could otherwise return very large datasets.

CData Python Connector for Shopify

Other

Specifies advanced connection properties for specialized scenarios. Use this property only under the guidance of our Support team to address specific issues.

Data Type

string

Default Value

""

Remarks

This property allows advanced users to configure hidden properties for specialized situations, with the advice of our Support team. These settings are not required for normal use cases but can address unique requirements or provide additional functionality. To define multiple properties, use a semicolon-separated list.

Note: It is strongly recommended to set these properties only when advised by the Support team to address specific scenarios or issues.

Caching Configuration

PropertyDescription
CachePartial=TrueCaches only a subset of columns, which you can specify in your query.
QueryPassthrough=TruePasses the specified query to the cache database instead of using the SQL parser of the connector.

Integration and Formatting

PropertyDescription
DefaultColumnSizeSets the default length of string fields when the data source does not provide column length in the metadata. The default value is 2000.
ConvertDateTimeToGMT=TrueConverts date-time values to GMT, instead of the local time of the machine. The default value is False (use local time).
RecordToFile=filenameRecords the underlying socket data transfer to the specified file.

CData Python Connector for Shopify

Pagesize

Specifies the maximum number of results the provider requests per page when querying data from Shopify.

Data Type

int

Default Value

-1

Remarks

This property controls how many records the connector retrieves in each paged request to Shopify.

The connector calculates the effective page size dynamically based on the available point budget (in combination with MaxPointsPerCall).

To use Shopify's default behavior, set PageSize to -1.

This property is useful when you need to tune the balance between query performance and memory usage. For example, reducing the page size may help in environments with limited resources or unstable network conditions.

Larger page sizes may reduce the number of API calls needed for a full result set, improving performance. However, large responses can increase memory usage and the risk of timeouts or throttling.

CData Python Connector for Shopify

PointsBufferSize

Specifies a point buffer used to increase the calculated wait time for throttling prevention.

Data Type

int

Default Value

0

Remarks

Shopify’s GraphQL API manages usage with a budget of "cost points" that refill over time. To avoid running out of points, the connector intelligently calculates when to pause before making its next request.

This property makes the connector more cautious by increasing the number of points required before making a request. The connector then waits for the amount of time that would be required to recover a number of points equal to the query's cost plus the buffer size. This provides a "safe spot" that helps prevent throttling errors from other concurrent connections sharing the same API quota.

For example, if a query costs 200 points and you set this property to 100, the connector will calculate the time required to restore a total of 300 points and will wait for that duration before sending the request.

Using any buffer may cause the connector to pause more often, but it increases safety. A smaller buffer provides a good safety margin without significantly affecting speed. A larger buffer offers more protection but may impact performance more noticeably. A value of 0 (the default) is suitable when you do not have multiple connections sharing the same API quota.

CData Python Connector for Shopify

PseudoColumns

Specifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.

Data Type

string

Default Value

""

Remarks

This property allows you to define which pseudocolumns the connector exposes as table columns.

To specify individual pseudocolumns, use the following format:

Table1=Column1;Table1=Column2;Table2=Column3

To include all pseudocolumns for all tables use:

*=*

CData Python Connector for Shopify

Readonly

Toggles read-only access to Shopify from the provider.

Data Type

bool

Default Value

false

Remarks

When set to True, the connector allows only SELECT queries. Attempting an INSERT, UPDATE, DELETE, or stored procedure query fails with an error message.

CData Python Connector for Shopify

RTK

Specifies the runtime key for licensing the provider. If unset or invalid, the provider defaults to the standard licensing method. This property is only required in environments where the standard licensing method is unsupported or requires a runtime key.

Data Type

string

Default Value

""

Remarks

This property is typically unnecessary, as most configurations support a standard licensing mechanism.

Warning: The value of this property takes precedence over all existing licensing information. To avoid licensing errors, ensure the provided runtime key is correct.

CData Python Connector for Shopify

ShowAggregate

Specifies whether the provider includes aggregate values in the result set and how they are structured.

Possible Values

None, PageSize

Data Type

string

Default Value

"None"

Remarks

This property controls whether the connector appends aggregate values, such as totals or group-level summaries to the result set, and how those values are aligned with the output.

  • None: The connector does not include any aggregate values in the result set.
  • PageSize: The connector includes aggregates and repeats or pads them to match the number of rows returned per page. This can be helpful when aligning totals with paged data for frontend display or data processing logic.

This property is useful when consuming paged data and needing consistent row alignment between raw data and aggregate metrics.

Enabling aggregation may increase processing time slightly, especially when working with large datasets and paging. Use this setting only when you need structured aggregation output.

CData Python Connector for Shopify

Timeout

Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.

Data Type

int

Default Value

60

Remarks

The timeout applies to each individual communication with the server rather than the entire query or operation. For example, a query could continue running beyond 60 seconds if each paging call completes within the timeout limit.

Timeout is set to 60 seconds by default. To disable timeouts, set this property to 0.

Disabling the timeout allows operations to run indefinitely until they succeed or fail due to other conditions such as server-side timeouts, network interruptions, or resource limits on the server.

Note: Use this property cautiously to avoid long-running operations that could degrade performance or result in unresponsive behavior.

CData Python Connector for Shopify

UserDefinedViews

Specifies a filepath to a JSON configuration file that defines custom views. The provider automatically detects and uses the views specified in this file.

Data Type

string

Default Value

""

Remarks

UserDefinedViews allows you to define and manage custom views through a JSON-formatted configuration file called UserDefinedViews.json. These views are automatically recognized by the connector and enable you to execute custom SQL queries as if they were standard database views. The JSON file defines each view as a root element with a child element called "query", which contains the SQL query for the view.

For example:

{
	"MyView": {
		"query": "SELECT * FROM Customers WHERE MyColumn = 'value'"
	},
	"MyView2": {
		"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
	}
}

You can use this property to define multiple views in a single file and specify the filepath. For example:

UserDefinedViews=C:\Path\To\UserDefinedViews.json
When you specify a view in UserDefinedViews, the connector only sees that view.

For further information, see User Defined Views.

CData Python Connector for Shopify

Third Party Copyrights

LZMA from 7Zip LZMA SDK

LZMA SDK is placed in the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

LZMA2 from XZ SDK

Version 1.9 and older are in the public domain.

Xamarin.Forms

Xamarin SDK

The MIT License (MIT)

Copyright (c) .NET Foundation Contributors

All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NSIS 3.10

Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

1. DEFINITIONS

"Contribution" means:

a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:

i) changes to the Program, and

ii) additions to the Program;

where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.

"Contributor" means any person or entity that distributes the Program.

"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.

"Program" means the Contributions distributed in accordance with this Agreement.

"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.

2. GRANT OF RIGHTS

a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.

b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.

c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.

d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.

3. REQUIREMENTS

A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:

a) it complies with the terms and conditions of this Agreement; and

b) its license agreement:

i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;

ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;

iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and

iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.

When the Program is made available in source code form:

a) it must be made available under this Agreement; and

b) a copy of this Agreement must be included with each copy of the Program.

Contributors may not remove or alter any copyright notices contained within the Program.

Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.

4. COMMERCIAL DISTRIBUTION

Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.

For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.

5. NO WARRANTY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.

6. DISCLAIMER OF LIABILITY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

7. GENERAL

If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.

If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.

All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.

Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.

This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.

AdoptOpenJDK / Adoptium Temurin JRE 17.0.18_8

Copyright (c) Eclipse Foundation AISBL. All Rights Reserved.

Apache License, Version 2.0

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.

"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:

  1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
  2. You must cause any modified files to carry prominent notices stating that You changed the files; and
  3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
  4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

Eclipse Distribution License - v 1.0

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of the Eclipse Foundation, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Eclipse Public License - v 2.0

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

1. DEFINITIONS "Contribution" means:

  • a) in the case of the initial Contributor, the initial content Distributed under this Agreement, and
  • b) in the case of each subsequent Contributor:
    • i) changes to the Program, and
    • ii) additions to the Program;
    where such changes and/or additions to the Program originate from and are Distributed by that particular Contributor. A Contribution "originates" from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include changes or additions to the Program that are not Modified Works.
"Contributor" means any person or entity that Distributes the Program. "Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.

"Program" means the Contributions Distributed in accordance with this Agreement.

"Recipient" means anyone who receives the Program under this Agreement or any Secondary License (as applicable), including Contributors.

"Derivative Works" shall mean any work, whether in Source Code or other form, that is based on (or derived from) the Program and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship.

"Modified Works" shall mean any work in Source Code or other form that results from an addition to, deletion from, or modification of the contents of the Program, including, for purposes of clarity any new file in Source Code form that contains any contents of the Program. Modified Works shall not include works that contain only declarations, interfaces, types, classes, structures, or files of the Program solely in each case in order to link to, bind by name, or subclass the Program or Modified Works thereof.

"Distribute" means the acts of a) distributing or b) making available in any manner that enables the transfer of a copy.

"Source Code" means the form of a Program preferred for making modifications, including but not limited to software source code, documentation source, and configuration files.

"Secondary License" means either the GNU General Public License, Version 2.0, or any later versions of that license, including any exceptions or additional permissions as identified by the initial Contributor.

2. GRANT OF RIGHTS

  • a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, Distribute and sublicense the Contribution of such Contributor, if any, and such Derivative Works.
  • b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in Source Code or other form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
  • c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to Distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
  • d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
  • e) Notwithstanding the terms of any Secondary License, no Contributor makes additional grants to any Recipient (other than those set forth in this Agreement) as a result of such Recipient's receipt of the Program under the terms of a Secondary License (if permitted under the terms of Section 3).

3. REQUIREMENTS 3.1 If a Contributor Distributes the Program in any form, then:

  • a) the Program must also be made available as Source Code, in accordance with section 3.2, and the Contributor must accompany the Program with a statement that the Source Code for the Program is available under this Agreement, and informs Recipients how to obtain it in a reasonable manner on or through a medium customarily used for software exchange; and
  • b) the Contributor may Distribute the Program under a license different than this Agreement, provided that such license:
    • i) effectively disclaims on behalf of all other Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
    • ii) effectively excludes on behalf of all other Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
    • iii) does not attempt to limit or alter the recipients' rights in the Source Code under section 3.2; and
    • iv) requires any subsequent distribution of the Program by any party to be under a license that satisfies the requirements of this section 3.
3.2 When the Program is Distributed as Source Code:
  • a) it must be made available under this Agreement, or if the Program (i) is combined with other material in a separate file or files made available under a Secondary License, and (ii) the initial Contributor attached to the Source Code the notice described in Exhibit A of this Agreement, then the Program may be made available under the terms of such Secondary Licenses, and
  • b) a copy of this Agreement must be included with each copy of the Program.
3.3 Contributors may not remove or alter any copyright, patent, trademark, attribution notices, disclaimers of warranty, or limitations of liability (‘notices') contained within the Program from any copy of the Program which they Distribute, provided that Contributors may add their own appropriate notices.

4. COMMERCIAL DISTRIBUTION Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.

For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.

5. NO WARRANTY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.

6. DISCLAIMER OF LIABILITY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

7. GENERAL If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.

If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.

All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.

Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be Distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to Distribute the Program (including its Contributions) under the new version.

Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. Nothing in this Agreement is intended to be enforceable by any entity that is not a Contributor or Recipient. No third-party beneficiary rights are created under this Agreement.

Exhibit A – Form of Secondary Licenses Notice "This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), version(s), and exceptions or additional permissions here}."

Simply including a copy of this Agreement, including this Exhibit A is not sufficient to license the Source Code under Secondary Licenses.

If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice.

You may add additional accurate notices of copyright ownership.

GNU Classpath

Classpath is distributed under the terms of the GNU General Public License with the following clarification and special exception.

Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination.

As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

As such, it can be used to run, create and distribute a large class of applications and applets. When GNU Classpath is used unmodified as the core class library for a virtual machine, compiler for the java languge, or for a program written in the java programming language it does not affect the licensing for distributing those programs directly.

OpenJDK Assembly Exception

The OpenJDK source code made available by Oracle America, Inc. (Oracle) at openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU General Public License <http://www.gnu.org/copyleft/gpl.html> version 2 only ("GPL2"), with the following clarification and special exception.

Linking this OpenJDK Code statically or dynamically with other code is making a combined work based on this library. Thus, the terms and conditions of GPL2 cover the whole combination.

As a special exception, Oracle gives you permission to link this OpenJDK Code with certain code licensed by Oracle as indicated at http://openjdk.java.net/legal/exception-modules-2007-05-08.html ("Designated Exception Modules") to produce an executable, regardless of the license terms of the Designated Exception Modules, and to copy and distribute the resulting executable under GPL2, provided that the Designated Exception Modules continue to be governed by the licenses under which they were offered by Oracle.

As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code to build an executable that includes those portions of necessary code that Oracle could not provide under GPL2 (or that Oracle has provided under GPL2 with the Classpath exception). If you modify or add to the OpenJDK code, that new GPL2 code may still be combined with Designated Exception Modules if the new code is made subject to this exception by its copyright holder.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655