Cloud

Build 25.0.9434
  • BigCommerce
    • Getting Started
      • Establishing a Connection
      • SSL Configuration
      • Firewall and Proxy
    • Data Model
      • Tables
        • Brands
        • Categories
        • CategoryTrees
        • ChannelListings
        • Channels
        • Coupons
        • Currencies
        • CustomerAddresses
        • Customers
        • OrderItems
        • Orders
        • OrderShipments
        • PriceListRecords
        • PriceLists
        • ProductImages
        • ProductMetafields
        • ProductOptions
        • ProductOptionValues
        • ProductReviews
        • Products
        • ProductVariants
        • ShippingMethods
        • ShippingZones
      • Views
        • Blogposts
        • BlogTags
        • CustomerGroups
        • DownloadConsignments
        • EmailConsignments
        • GiftCertificates
        • OrderCoupons
        • OrderItemOptionValues
        • OrderMessages
        • OrderRefunds
        • OrderRefundsItems
        • OrderRefundsPayments
        • OrderShippingAddresses
        • OrderStatuses
        • OrderTaxes
        • Pages
        • PaymentMethods
        • PickupConsignments
        • PriceListAssignments
        • ProductBulkPricingRules
        • ProductCustomFields
        • ProductRules
        • ProductVariantValues
        • ProductVideos
        • Redirects
        • ShipmentItems
        • ShippingConsignmentQuotes
        • ShippingConsignments
        • ShippingZoneLocations
        • Stores
        • TaxClasses
        • Transactions
      • Stored Procedures
        • CreateBrandImage
        • DeleteBrandImage
      • System Tables
        • sys_catalogs
        • sys_schemas
        • sys_tables
        • sys_tablecolumns
        • sys_procedures
        • sys_procedureparameters
        • sys_keycolumns
        • sys_foreignkeys
        • sys_primarykeys
        • sys_indexes
        • sys_connection_props
        • sys_sqlinfo
        • sys_identity
        • sys_information
    • Connection String Options
      • Authentication
        • AuthScheme
      • OAuth
        • OAuthClientId
        • OAuthClientSecret
        • OAuthAccessToken
        • StoreId
        • Scope
      • SSL
        • SSLServerCert
      • Logging
        • Verbosity
      • Schema
        • BrowsableSchemas
      • Miscellaneous
        • CustomFieldDiscovery
        • IncludeCustomFields
        • MaxRows
        • PseudoColumns
        • RowScanDepth
        • Timeout
    • Third Party Copyrights

BigCommerce - CData Cloud

Overview

CData Cloud offers access to BigCommerce across several standard services and protocols, in a cloud-hosted solution. Any application that can connect to a SQL Server database can connect to BigCommerce through CData Cloud.

CData Cloud allows you to standardize and configure connections to BigCommerce as though it were any other OData endpoint or standard SQL Server.

Key Features

  • Full SQL Support: BigCommerce appears as standard relational databases, allowing you to perform operations - Filter, Group, Join, etc. - using standard SQL, regardless of whether these operations are supported by the underlying API.
  • CRUD Support: Both read and write operations are supported, restricted only by security settings that you can configure in Cloud or downstream in the source itself.
  • Secure Access: The administrator can create users and define their access to specific databases and read-only operations or grant full read & write privileges.
  • Comprehensive Data Model & Dynamic Discovery: CData Cloud provides comprehensive access to all of the data exposed in the underlying data source, including full access to dynamic data and easily searchable metadata.

CData Cloud

Getting Started

This page provides a guide to Establishing a Connection to BigCommerce in CData Cloud, as well as information on the available resources, and a reference to the available connection properties.

Connecting to BigCommerce

Establishing a Connection shows how to authenticate to BigCommerce and configure any necessary connection properties to create a database in CData Cloud

Accessing Data from CData Cloud Services

Accessing data from BigCommerce through the available standard services and CData Cloud administration is documented in further details in the CData Cloud Documentation.

CData Cloud

Establishing a Connection

Connect to BigCommerce by selecting the corresponding icon in the Database tab. Required properties are listed under Settings. The Advanced tab lists connection properties that are not typically required.

Connecting to BigCommerce

There are two ways to authenticate to BigCommerce:

  • Using tokens generated from the BigCommerce user interface.
  • Using OAuth credentials created by a custom BigCommerce application.

BigCommerce Token

You can obtain the credentials to connect to BigCommerce by generating a token. The token authorizes specific account information to be shared. In this flow, there is no web browser required during execution because you explicitly create and accept permissions for your application directly in the BigCommerce UI. This is the easiest way to connect and is recommended for users who are just accessing their personal or company data.

Generating a Token

In order to connect to your BigCommerce Store and obtain a token, you need to create a store-level API account as follows:

  1. Log in to your BigCommerce account.
  2. Go to Settings > Store-level API Tokens > +Create API Account.
  3. Select Token type > V2/V3 API Token.
  4. Enter the name of your account (minimum of four characters).
  5. Make a note of the API path. It has the following structure: https://api.bigcommerce.com/stores/{StoreId}/v3/. You need this path to use the API account. Note: The Store Id is also known as the store hash.
  6. Choose the OAuth Scopes for the API Account you are creating. The Cloud cannot access data marked as "None" and cannot modify data marked as "read-only".
  7. Click Save. A successful save displays a pop-up window containing API credentials. Save your credentials, since you cannot return to this pop-up window.
You can now use the API credentials to connect to BigCommerce by setting the following connection properties:

  • AuthScheme: Set this to PersonalAccessToken.
  • StoreId: Set this to the StoreId (store hash) obtained from the API path.
  • OAuthAccessToken: Set this to the Access Token obtained in the steps above.

BigCommerce Custom App

Creating a BigCommerce App describes how to create a custom app to connect to BigCommerce. This method details how to create an application for distribution and is required for each of the following sections:

  • Desktop applications
  • Web applications
  • Headless machines

Note that in all these cases, you must set the AuthScheme to OAuth. The following sections assume that you have done so.

Creating an app is more complicated than generating a single OAuthAccess Token, but may be more desireable for client integrations where your design is to connect or allow access to multiple clients, or an administrative scenario where the admin creates an app to be authorized individually by multiple individual users.

Desktop Apps

Follow the steps below to authenticate with the credentials for a custom OAuth app. See "Generating an Access Token" above for more information.

Get an OAuth Access Token

After setting the following properties, you are ready to connect:

  • OAuthClientId: Set this to the Client Id in your app settings.
  • OAuthClientSecret: Set this to the Client secret in your app settings.
  • CallbackURL: Set this to the Redirect URL in your app settings.
  • StoreId: Set this to your StoreId. .
When you connect the Cloud opens the OAuth endpoint in your default browser. Log in and grant permissions to the application.

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 these two options:

    • Option 1: Obtain the OAuthVerifier value as described in "Obtain and Exchange a Verifier Code" below.
    • Option 2: Install the Cloud on another machine 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 Cloud to automatically refresh the access token from 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 the steps below to authenticate from the machine with an internet browser and obtain the OAuthVerifier connection property.

  1. Choose one of these options:

    • If you are using the Embedded OAuth Application click BigCommerce OAuth endpoint to open the endpoint in your browser.
    • If you are using a custom OAuth application, create the Authorization URL by setting the following properties:
      • InitiateOAuth: Set to OFF.
      • OAuthClientId: Set to the client Id assigned when you registered your application.
      • OAuthClientSecret: Set to the client secret assigned when you registered your application.
      Then call the GetOAuthAuthorizationURL stored procedure with the appropriate CallbackURL. Open the URL returned by the stored procedure in a browser.

  2. Log in and grant permissions to the Cloud. You are then redirected to the callback URL, which contains the verifier code.
  3. Save the value of the verifier code. 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. Set the following properties:

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 verifier code.
  • OAuthClientId: (custom applications only) Set this to the client Id in your custom OAuth application settings.
  • OAuthClientSecret: (custom applications only) Set this to the client secret in the custom OAuth application settings.
  • OAuthSettingsLocation: Set this to the location of the file where the driver saves the OAuth token values that persist across connections.

After the OAuth settings file is generated, you need to re-set the following properties to connect:

  • InitiateOAuth: Set this to REFRESH.
  • OAuthClientId: (custom applications only) Set this to the client Id assigned when you registered your application.
  • OAuthClientSecret: (custom applications only) 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 grants read and write permissions to the Cloud to enable the automatic refreshing of the access token.

Option 2: Transfer OAuth Settings

Prior to connecting on a headless machine, you need to create and install 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.

Once you have successfully tested the connection, 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: (custom applications only) Set this to the client Id assigned when you registered your application.
  • OAuthClientSecret: (custom applications only) Set this to the client secret assigned when you registered your application.
  • OAuthSettingsLocation: Set this to the location of your OAuth settings file. Make sure this location gives read and write permissions to the Cloud to enable the automatic refreshing of the access token.

CData Cloud

SSL Configuration

Customizing the SSL Configuration

By default, the Cloud 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 Cloud

Firewall and Proxy

Connecting Through a Firewall or Proxy

HTTP Proxies

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 Cloud 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:

  • To use a proxy-based firewall, set FirewallType, FirewallServer, and FirewallPort.
  • To tunnel the connection, set FirewallType to TUNNEL.
  • To authenticate, specify FirewallUser and FirewallPassword.
  • To authenticate to a SOCKS proxy, additionally set FirewallType to SOCKS5.

CData Cloud

Data Model

Overview

This section shows the available API objects and provides more information on executing SQL to BigCommerce APIs.

Key Features

  • The Cloud models BigCommerce categories, customers, and orders as relational tables and views, allowing you to write SQL to query BigCommerce data.
  • Stored procedures allow you to execute operations to BigCommerce, including downloading and uploading objects.
  • Live connectivity to these objects means any changes to your BigCommerce account are immediately reflected when using the Cloud.

Views

Pre-defined Tables and Views are available for read or write access to data from BigCommerce.

Stored Procedures

The Cloud allows you to list your BigCommerce objects and download/upload data to them via Stored Procedures.

System Tables

System Tables contains information about the objects and resources belonging to your database.

CData Cloud

Tables

The Cloud models the data in BigCommerce as a list of tables in a relational database that can be queried using standard SQL statements.

CData Cloud - BigCommerce Tables

Name Description
Brands Gets the collection of brands.
Categories Returns Product Categories.
CategoryTrees Returns a list of category trees.
ChannelListings Returns a list of all channel listings for a specific channel.
Channels Manages and lists BigCommerce sales channels, supporting SELECT, INSERT, and UPDATE channel records.
Coupons test Create,list,update or delete coupons.
Currencies Returns data from Currencies table.
CustomerAddresses Returns a list of Customer Addresses. Returns the addresses belonging to a customer.
Customers Returns data from Customers table.
OrderItems Returns Items ordered for every order.
Orders Returns data from the Orders table.
OrderShipments Returns shipments and their corresponding orders.
PriceListRecords Returns a collection of price list records.
PriceLists Returns a collection of price records.
ProductImages Returns images registered for products.
ProductMetafields Returns a list of Product Metafields.
ProductOptions Returns data from Products table.
ProductOptionValues Returns data from Products table.
ProductReviews Returns reviews registered for products.
Products Returns data from products table.
ProductVariants Returns data from Products table.
ShippingMethods Lists all shipping methods.
ShippingZones Lists all shipping zones.

CData Cloud

Brands

Gets the collection of brands.

Table Specific Information

Select

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

  • Id supports the =, >, <, >=, <=, IN, and NOT IN comparisons.
  • Name supports the = comparison.
  • PageTitle supports the = comparison.

The rest of the filter is executed client-side within the Cloud. For example, the following queries are processed server-side:

SELECT * FROM Brands WHERE Id = 1;

SELECT * FROM Brands WHERE Id >= 1 AND Id <= 5;

SELECT * FROM Brands WHERE Id in (51,54);

SELECT * FROM Brands WHERE Id not in (51,54);

SELECT * FROM Brands WHERE PageTitle = 'modern';

SELECT * FROM Brands WHERE Name = 'Test';

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

The id of the brand.

Name String False

The name of the brand. Must be unique.

PageTitle String False

The title shown in the browser while viewing the brand.

MetaKeywords String False

An array of meta keywords to include in the HTML.

MetaDescription String False

A meta description to include.

ImageURL String False

Image URL used for this category on the storefront.

SearchKeywords String False

A comma-separated list of keywords that can be used to locate this brand.

ItemURL String False

The custom URL for the product on the storefront.

ItemURLIsCustomized Boolean False

Returns true if the URL has been changed from its default state (the auto-assigned URL that BigCommerce provides).

CData Cloud

Categories

Returns Product Categories.

Table Specific Information

Select

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

  • Id supports the =, IN, and NOT_IN comparisons.
  • ParentId supports the =, IN, and NOT_IN comparisons.
  • Name supports the = and LIKE comparisons.
  • PageTitle supports the = and LIKE comparisons.
  • IsVisible supports the = comparison.
  • TreeId supports the =, IN, and NOT_IN comparisons.
  • CategoryUUID supports the =, IN, and NOT_IN comparisons.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM Categories WHERE Id = 18;
SELECT * FROM Categories WHERE Id IN (19,20);
SELECT * FROM Categories WHERE Id NOT IN (19,20);
SELECT * FROM Categories WHERE Name = "test";
SELECT * FROM Categories WHERE Name LIKE "%test%";

Insert

To insert a category, specify at least the following columns: ParentId, Name, TreeId and Description.

INSERT INTO Categories (ParentId, Name, Description, TreeId) VALUES (27, 'Car Interior121', 'Accessories for testing car.', 1);

Update


UPDATE Categories SET Description= 'Testing123' WHERE Id = 18

Delete


DELETE FROM Categories WHERE Id = 18

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

Unique ID of the Category.

ParentId Integer False

Categories.Id

The unique numeric ID of the category parent.

Name String False

The name displayed for the category. Name is unique with respect to the categoryʼs siblings.

Description String False

The product description, which can include HTML formatting.

Views Integer False

Number of views the category has on the storefront.

SortOrder Integer False

Priority this category will be given when included in the menu and category pages.

PageTitle String False

Custom title for the category page.

MetaKeywords String False

Custom meta keywords for the category page.

MetaDescription String False

Custom meta description for the category page.

LayoutFile String False

A valid layout file.

ImageUrl String False

Image URL used for this category on the storefront.

IsVisible Boolean False

Flag to determine whether the product should be displayed to customers browsing the store.

SearchKeywords String False

A comma-separated list of keywords that can be used to locate the category when searching the store.

DefaultProductSort String False

Determines how the products are sorted on category page load.

UrlPath String False

URL Path.

IsCustomized Boolean False

Flag to determine whether the url is customized.

TreeId Integer False

CategoryTrees.Id

The ID of the category tree.

CategoryUUID String True

An additional unique identifier for the category.

CData Cloud

CategoryTrees

Returns a list of category trees.

Table Specific Information

Select

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

  • Id supports the = and IN comparisons.
  • Channels supports the = and IN comparisons.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM CategoryTrees WHERE Id = 1;
SELECT * FROM CategoryTrees WHERE Id IN (1,2); 
SELECT * FROM CategoryTrees WHERE Channels = '[1]';
SELECT * FROM CategoryTrees WHERE Channels IN ('[1]', '[100]');

Insert

To insert a category tree, specify the Channel ID in the Channels field. The Channel ID determines the channel where the category tree is created. You can only assign a category tree to one channel. See the example query below.

INSERT INTO CategoryTrees (Name,channels) VALUES ('name','[5]');

Update

The channels field must be absent when updating a category tree. This field is currently unsupported during a category tree update.

UPDATE CategoryTrees SET name = 'test' WHERE Id = 10;

Delete


DELETE FROM CategoryTrees WHERE Id = 18

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

Unique ID of the Category Tree.

Name String False

The name displayed for the category Tree.

Channels String False

Channel ID

CData Cloud

ChannelListings

Returns a list of all channel listings for a specific channel.

Table Specific Information

Select

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

  • Listingid supports the = comparison.
  • ChannelId supports the = comparison.
  • Datecreated supports the =, >, <, >=, and <= comparisons.
  • Datemodified supports the =, >, <, >=, and <= comparisons.

The rest of the filter is executed client-side within the Cloud. For example, the following queries are processed server-side:

SELECT * FROM ChannelListings WHERE ChannelId = 667159 AND ListingId = 882998595

Insert

To insert a channel listing, specify the following columns: ProductId, State, Variants, ChannelId, and Name.

INSERT INTO ChannelListings (Productid, State, Variants, ChannelId) VALUES (12345, 'active', 'test', 667159)

Update

The following example illustrates how to update ChannelListings:

UPDATE ChannelListings SET name = 'Test' WHERE ChannelId = 667159

Columns

Name Type ReadOnly References Description
ListingId [KEY] Integer True

The ID of the channel listing that has been created, returned, or updated

ChannelId [KEY] Integer True

Channels.Id

The ID of the channel associated with this channel listing

Datecreated Datetime True

Date on which the channel listing was first created

Datemodified Datetime True

Date on which the channel listing was most recently changed

Name String False

Name of the product for this channel listing specifically This is an optional field that can be used to override the product name in the catalog

Description String True

Description of the product for this channel listing specifically This is an optional field that can be used to override the product description in the catalog

Productid Integer False

The ID of the product associated with this channel listing

State String False

The state of the product assignment or channel listing

Variants String False

Product variant associated with the channel listing.

ExternalId String False

Associated ID within a system / platform outside of BC.

CData Cloud

Channels

Manages and lists BigCommerce sales channels, supporting SELECT, INSERT, and UPDATE channel records.

Table Specific Information

Select

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

  • Id supports the = comparison.
  • Datecreated supports the =, >, <, >=, and <= comparisons.
  • Datemodified supports the =, >, <, >=, and <= comparisons.

The rest of the filter is executed client-side within the Cloud. For example, the following queries are processed server-side:

SELECT * FROM Channels

Insert

To insert a channel, specify the following columns: Name, Type, Platform, and Status.

INSERT INTO Channels (Type, Platform, Status, Name) VALUES ('pos', 'square', 'active', 'tests');

Update

The following example illustrates how to update Channels:

UPDATE Channels SET Name = 'tests' WHERE ID = 123

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

The ID of the channel.

ConfigMetaAppId Integer False

The unique id given to an app registered in DevTools

sections String False

If set, when the app is loaded within the control panel, the navigation sections will be directly embedded in the control panel navigation

Datecreated Datetime True

Date on which the channel was first create

Datemodified Datetime True

Date on which the channel was most recently changed

Externalid String False

Associated ID within a system / platform outside of BC

Iconurl String False

Link to the platform icon

Isenabled Boolean False

Channel with status of prelaunch, active, or connected will have is_enabled set to true. Channel with status of inactive, disconnected, archived, deleted, or terminated will have is_enabled set to false

IslistableFromUi Boolean False

Indicates if a channel can create listings from the BigCommerce UI. Default value for this field is based on the channel type and platform combination if not specified on create

Isvisible Boolean False

Indicates if a channel is visible within the BigCommerce merchant admin UI (control panel). If false, the channel will not show in Channel Manager nor in any channels dropdown throughout the UI. Default value for this field is true if not specified on create

Name String False

Name of the channel as it will appear to merchants in the control panel

Platform String False

The name of the platform for the channel channel platform and type must be a valid combination

Status String False

The status of the channel channel type, platform, and status must be a valid combination. terminated is not valid for Update or Insert requests

Type String False

The type of channel channel platform and type must be a valid combinations

CData Cloud

Coupons

test Create,list,update or delete coupons.

Table Specific Information

Select

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

  • Id supports the =, >, <, >=, and <= comparisons.
  • Name supports the = comparison.
  • Type supports the = and != comparisons.
  • Code supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM Coupons WHERE Id = 1 

SELECT * FROM Coupons WHERE Id >= 1 AND Id <= 5

SELECT * FROM Coupons WHERE Name = "test"

Insert

To insert a coupon, specify at least the following columns: Name, Type, Code, Amount, AppliesToEntity and AppliesToIds.

INSERT INTO Coupons (Name, Type, Code, Amount, AppliesToEntity, AppliesToIds) VALUES ('CouponName', 'free_shipping', 'CN100', 500, 'products', '88, 80')

Update


UPDATE Coupons SET Code = 'ABC' WHERE Id = 12

Delete


DELETE FROM Coupons WHERE Id = 16

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

The coupons ID.

Name String False

The name of the coupon.

Type String False

Type of the coupon. Must be one of per_item_discount,per_total_discount,shipping_discount,free_shipping or percentage_discount.

The allowed values are per_item_discount, percentage_discount, per_total_discount, shipping_discount, free_shipping, promotion.

Amount Decimal False

The discount to apply to an order, as either an amount or a percentage.

MinPurchase Decimal False

Specifies a minimum value that an order must have before the coupon can be applied to it.

Expires Datetime False

Specifies when a coupon expires.

Enabled Boolean False

If the coupon is enabled, this fields value is true; otherwise, false.

Code String False

The coupon code that customers uses to receive their discounts.

AppliesToEntity String False

What the discount applies to. Can be products or categories.

AppliesToIds String False

IDs of either the products or categories

NumUses Integer True

Number of times this coupon has been used.

MaxUses Integer False

Maximum number of times this coupon can be used.

MaxUsesPerCustomer Integer False

Maximum number of times each customer can use this coupon.

DateCreated Datetime False

Date Created

ShippingMethods String False

List of shipping-method names.

RestrictedToCountries String False

Countries where the coupon is restricted.

CData Cloud

Currencies

Returns data from Currencies table.

Table Specific Information

Select

The Cloud uses the BigCommerce API to process WHERE clause conditions built with the Id column, which supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM Currencies WHERE Id = 1

Insert

To insert a currency, specify at least the following columns: Code, Name, ExchangeRate, Token, TokenLocation, DecimalToken, ThousandsToken, and DecimalPlaces.

INSERT INTO Currencies (Code, Name, ExchangeRate, Token, TokenLocation, DecimalToken, ThousandsToken, DecimalPlaces) VALUES ('EUR','Euro', '3.0','$','left','.',',','2')

Update


UPDATE Currencies SET Name = 'Testing123' WHERE Id = 2

Delete


DELETE FROM Currencies WHERE Id = 3

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

Id of the currency.

IsDefault Boolean True

Specifies whether this is the store's default currency.

Code String False

Three-letter ISO 4217 code for this currency.

Name String False

Name of this currency.

ExchangeRate Double False

Amount of this currency that is equivalent to one U.S. dollar.

CountryIso String False

Two-letter ISO Alpha-2 code.

AutoUpdate Boolean False

Whether to autoupdate currency data.

TokenLocation String False

Symbol for this currency.

Token String False

Name of the currency.

DecimalToken String False

Symbol used as the decimal separator in this currency.

ThousandsToken String False

Symbol used as the thousands separator in this currency.

DecimalPlaces Integer False

Number of decimal places to show for this currency.

Enabled Boolean False

Indicates If the currency is active on the store.

IsTransactional Boolean False

Indicates if the currency is set as transactional or not. False means display only currency.

LastUpdated Date True

Date the currency was last updated, created or modified.

CData Cloud

CustomerAddresses

Returns a list of Customer Addresses. Returns the addresses belonging to a customer.

Table Specific Information

Select

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

  • Id supports the = and IN comparisons.
  • CustomerId supports the = and IN comparisons.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM CustomerAddresses WHERE Id = 1 

SELECT * FROM CustomerAddresses WHERE CustomerId = 5

Insert

To insert a customer address, specify at least the following columns: CustomerId, FirstName, LastName, City, CountryCode, Address1, StateOrProvince, and PostalCode.
INSERT INTO CustomerAddresses (CustomerId, FirstName, LastName, City, CountryCode, Address1, StateOrProvince, PostalCode) VALUES ('1', 'FirstName', 'LastName', 'Chapel Hill', 'US', '101 Europa Dr', 'NC', '27517')

Update


UPDATE CustomerAddresses SET FirstName = 'Testing123' WHERE Id = 14

Delete


DELETE FROM CustomerAddresses WHERE Id = 3

Columns

Name Type ReadOnly References Description
Id [KEY] Integer False

ID of this customer address.

CustomerId Integer False

Customers.Id

ID of the associated customer.

FirstName String False

The customers first name.

LastName String False

The customers last name.

Company String False

The customers company name.

Address1 String False

The customers street address, line 1.

Address2 String False

The customers street address, line 2.

City String False

The customers city/town/suburb.

StateOrProvince String False

The customers state/province.

PostalCode String False

The customers ZIP or postal code.

Country String False

The customers country. Must be the full country name.

CountryCode String False

2-letter ISO Alpha-2 code for the customers country.

Phone String False

The customers phone number.

AddressType String False

The type of the address.

CData Cloud

Customers

Returns data from Customers table.

Table Specific Information

Select

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

  • Id supports the = and IN comparisons.
  • Company supports the = and IN comparisons.
  • Email supports the = and IN comparisons.
  • DateCreated supports the =, <, >, <=, and >= comparisons.
  • DateModified supports the =, <, >, <=, and >= comparisons.
  • CustomerGroup supports the = and IN comparisons.
  • StoreCreditAmounts supports the = comparison.
  • RegistrationIpAddress supports the = and IN comparisons.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM Customers WHERE Id = 1 

SELECT * FROM Customers WHERE Company = 'DemoFirst'

SELECT * FROM Customers WHERE Email = '[email protected]'

SELECT * FROM Customers WHERE DateCreated > '2021-09-01 11:25:37.0' 

SELECT * FROM Customers WHERE DateModified <= '2023-10-12 02:05:43.0'

Insert

To insert a customer, specify at least the following columns: FirstName, LastName, and Email.

INSERT INTO Customers (FirstName, LastName, Email) VALUES ('Testing4321', 'Test', '[email protected]')

Update


UPDATE Customers SET FirstName = 'testing345' WHERE Id = 5075

Delete


DELETE FROM Customers WHERE Id = 16

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

Unique numeric ID of this customer.

Company String False

The name of the company for which the customer works.

FirstName String False

First name of the customer.

LastName String False

Last name of the customer.

Email String False

Email address of the customer.

Phone String False

Phone number of the customer.

DateCreated Datetime True

Date on which the customer registered from the storefront or was created in the control panel.

DateModified Datetime True

The date on which the customer was modified.

CustomerGroup Integer False

The group to which the customer belongs.

Notes String False

Store Owner notes on the customer.

TaxExemptCategory String False

Used to identify customers who fall into special sales-tax categories.

StoreCreditAmounts Decimal False

Amount of Store Credit

RegistrationIpAddress String False

The IP address from which this customer was registered.

AcceptsProductReviewAbandonedCartEmails Boolean False

Determines if the customer is signed up to receive either product review or abandoned cart emails or receive both emails.

ForcePasswordReset Boolean True

If true,this customer will be forced to change password on next login.

ChannelIds String False

Array of channel ids the Customer has access to.

FullName String False

Full name of the customer, combination of the first and last names

CData Cloud

OrderItems

Returns Items ordered for every order.

Table Specific Information

Select

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

  • Id supports the = comparison.
  • OrderId supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM OrderItems WHERE Id = 1 

SELECT * FROM OrderItems WHERE OrderId = 100

Inserting an Existing Product

To insert an existing product to OrderItems for a specified order, you must specify the order options for that table. For this reason, before inserting an existing product to the OrderItems, you must populate a temporary OrderItemOptionValues table with the desired options for the selected product and use this table as a value for the LinkedOrderOptions pseudo-column during insertion:

INSERT INTO OrderItemOptionValues#TEMP (Id, Value) Values (117, 177);
INSERT INTO OrderItemOptionValues#TEMP (Id, Value) Values (116, 176);
INSERT INTO OrderItems (OrderId, ProductId, QuantityOrdered, LinkedOrderOptions) VALUES (1104, 960, 3, OrderItemOptionValues#TEMP)");

Note: The OrderItemOptionValue inserted to the temporary table must belong to the product that is being inserted into OrderItems. To verify this, check the ProductOptionValues table.

Inserting a New Product

New, custom products, can be added to the OrderItems table as follows:

INSERT INTO OrderItems (OrderId, Name, CustomSKU, PriceIncTax, PriceExTax, QuantityOrdered) VALUES (1107, 'TSS Phone Case', 'PHC-232453', 6.55, 5.75, 1);

Note: OrderItems does not support UPDATE or DELETE operations. Once items have been added to an order, they cannot be removed or modified.

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

Numeric ID of this product within this order.

ProductId Integer False

Products.Id

Numeric ID of the product.

CustomSKU String False

User defined product code/stock keeping unit (SKU).

OrderId Integer False

Orders.Id

Numeric ID of the associated order.

Name String False

The product name.

PriceExTax Decimal False

The price of the product, excluding tax.

PriceIncTax Decimal False

The price of the product, including tax.

QuantityOrdered Integer False

Quantity of the product ordered.

QuantityShipped Decimal True

Quantity of the product shipped.

TotalExtax Decimal True

Total base price, excluding tax.

TotalIncTax Decimal True

Total base price, including tax.

IsRefunded Boolean True

Whether the product has been refunded.

ExternalId String False

ID of the order in another system.

AppliedDiscounts String True

Array of objects containing discounts applied to the product.

BaseCostPrice Decimal False

The product's cost price.

BasePrice Decimal False

The product’s base price.

BaseTotal Decimal False

Total base price.

BaseWrappingCost Decimal False

The value of the base wrapping cost.

BinPickingNumber String False

Bin picking number for the physical product.

Brand String False

The product's brand.

ConfigurableFields String False

The price of the product, excluding tax.

CostPriceExTax Decimal False

The product's cost price excluding tax.

CostPriceIncTax Decimal False

The product's cost price including tax.

CostPriceTax Decimal False

Tax applied to the product’s cost price.

Depth Decimal False

Depth of the product.

DiscountedTotalIncTax Decimal False

Represent the correct total amount of the line item after deducting all the discounts and including the tax.

EbayItemId String False

Item ID for this product on eBay.

EbayTransactionId String False

Transaction ID for this product on eBay.

EventDate Datetime False

Date of the promotional event/scheduled delivery.

EventName String False

Name of promotional event/delivery date.

FixedShippingCost Decimal False

Fixed shipping cost for this product.

FulfillmentSource String False

The source of the fulfillment.

GiftCertificateId String False

ID of the associated gift certificate.

Height Decimal False

Height of the product

IsBundledProduct Boolean False

Whether this product is bundled with other products.

NameCustomer String False

The product name that is shown to customer in storefront.

NameMerchant String False

The product name that is shown to merchant in Control Panel.

OptionSetId Integer False

Numeric ID of the option set applied to the product.

OrderAddressId Integer False

Numeric ID of the associated order address. Value is 0 for items that are not fulfilled by a pickup method.

OrderPickupMethodId Integer False

ID of the pickup fulfillment method for this item. Default value is 0 when the item is not fulfilled by pickup method.

ParentOrderProductId Integer False

ID of a parent product.

PriceTax Decimal False

Amount of tax applied to a single product.

RefundAmount Decimal False

The amount to be refunded.

ReturnId Integer False

Numeric ID for the refund.

TotalTax Decimal False

Total tax applied to products.

Type String False

Type of product.

The allowed values are physical, digital.

Upc String False

Universal Product Code. Can be written to for custom products and catalog products.

VariantId Integer False

Products variant_id.

Weight Decimal False

Weight of the product.

Width Decimal False

Width of the product.

WrappingCostExTax Decimal False

The value of the wrapping cost, excluding tax.

WrappingCostIncTax Decimal False

The value of the wrapping cost, including tax.

WrappingCostTax Decimal False

Tax applied to gift-wrapping option.

WrappingId Integer False

The price of the product, excluding tax.

WrappingMessage String False

Message to accompany gift-wrapping option.

WrappingName String False

Name of gift-wrapping option.

Pseudo-Columns

Pseudo column fields are used to enable the user to INSERT Fields that are non-readable but required during creation of new records.

Name Type Description
LinkedOrderOptions String

Column for the aggregate table name holding option values.

CData Cloud

Orders

Returns data from the Orders table.

Table Specific Information

Select

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

  • Id supports the =, <, >, <=, and >= comparisons.
  • DateCreated supports the =, >, <, >=, and <= comparisons.
  • DateModified supports the =, >, <, >=, and <= comparisons.

The rest of the filter is executed client-side within the Cloud. For example, the following queries are processed server-side:

SELECT * FROM Orders WHERE Id = 1

SELECT * FROM Orders WHERE Id > 104

SELECT * FROM Orders WHERE Id < 104

SELECT * FROM Orders WHERE Id >= 104

SELECT * FROM Orders WHERE Id <= 104

Insert

To insert an order, you must include at least one order item in the INSERT query for that order. First, populate a temporary OrderItems table with the items you want to include in the order. Then, use this table as a source for the LinkedProducts pseudo-column during the insertion process:

INSERT INTO OrderItems#TEMP (ProductId, QuantityOrdered) VALUES (961, 4);

INSERT INTO OrderItems#TEMP (ProductId, QuantityOrdered) VALUES (962, 3);

INSERT INTO Orders (CustomerId, LinkedProducts, StatusId, ItemsTotal, ItemsShipped, PaymentMethod, OrderIsDigital, BillingFirstName, BillingLastName, BillingCompany, BillingCountry, BillingZip, BillingState, BillingEmail, BillingPhone) VALUES (1, OrderItems#TEMP, 4, 6, 2, 'cash', 'true', 'TSS', 'Dev', 'London Corp.', 'United Kingdom', 23433, 'London', '[email protected]', '+355534445');

Update

The following example illustrates how to update Orders:

UPDATE Orders SET StaffNotes ='Testing123' WHERE Id = 103

Delete

The following example illustrates how to delete a row in Orders whose Id equals 3:

DELETE FROM Orders WHERE Id = 3

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

The Id of the order.

CustomerId String False

Customers.Id

The Id of the customer assigned to this order.

DateCreated Datetime True

The date of creation for the order.

DateModified Datetime True

The last modification date of the order.

DateShipped Datetime True

The date of shipment for the order.

StatusId String False

OrderStatuses.Id

The Id of the status for this order.

CartId String True

The Id of the cart from which this order is assigned.

Status String True

Order Statuses.

TotalTax String True

The total value of the order.

SubtotalTax String True

The value for subtotal tax.

SubtotalExTax Decimal False

The value for subtotal, excluding tax.

SubtotalIncTax Decimal False

The value for subtotal, including tax.

ShippingCostExTax Decimal False

The value of shipping cost, excluding tax.

ShippingCostIncTax Decimal False

The value of shipping cost, including tax.

HandlingCostExTax Decimal False

The value of handling cost, excluding tax.

HandlingCostIncTax Decimal False

The value of handling cost, including tax.

IpAddress String False

IPv4 Address of the customer, if known.

WrappingCostExTax Decimal False

The value of wrapping cost, excluding tax.

WrappingCostIncTax Decimal False

The value of wrapping cost, including tax.

TotalExTax Decimal False

The total value of the order, excluding tax.

TotalIncTax Decimal False

The total value of the order, including tax.

HandlingCostTax String True

The value of handling cost.

HandlingCostTaxClassId Integer True

The Id of handling cost.

ShippingCostTax String True

The value of shipping cost.

ItemsTotal Decimal False

The total number of items in the order.

ItemsShipped Decimal False

The total number of items that have been shipped.

PaymentMethod String False

The payment method for this order.

PaymentProviderId String False

The external Transaction ID/Payment ID within this order's payment provider (if a payment provider was used).

PaymentStatus String True

The payment status for this order.

RefundedAmount Decimal False

The amount refunded from this transaction.

GiftCertificateAmount String True

Gift Certificate Amount.

CurrencyId String True

Currencies. Id

The ID of the currency being used in this transaction.

CurrencyCode String True

The currency code of the display currency.

CurrencyExchangeRate String True

The exchange rate between the default currency and display currency of store.

DefaultCurrencyId String True

Currencies.Id

The ID of the default currency for the store.

DefaultCurrencyCode String False

The currency code of the transactional currency the shopper pays in.

StaffNotes String False

Any additional notes for staff.

CustomerMessage String False

Message that the customer entered.

DiscountAmt Decimal False

Amount of discount for this transaction.

EbayOrderId String False

Ebay order number if order is placed through Ebay.

GeoIpCountryIso2 String False

The country where the customer made the purchase, in ISO2 format.

ShippingAddressCount Decimal True

The number of shipping addresses associated with this transaction.

CouponDiscount String True

Discount of the coupon.

OrderSource String True

Source of the order.

IsDeleted Boolean True

Indicates whether the order was deleted (archived).

OrderIsDigital Boolean False

Indicates whether this is an order for digital products.

ExternalSource String False

A value identifying the system used to generate the order (for orders submitted or modified via the API).

ExternalId String False

ID of the order in another system.

ExternalMerchantId String False

Id of the external merchant.

ChannelId String False

Shows where the order originated.

TaxProviderId String False

BasicTaxProvider - Tax is set to manual; AvaTaxProvider - This is for when the tax provider has been set to automatic and the order was NOT created by the API; (blank) - When the tax provider is unknown.

ProductsUrl String False

Url of the products.

ProductsResource String False

Resource of the products.

BillingFirstName String False

Addressee first name.

BillingLastName String False

Addressee last name.

BillingCompany String False

Addressee company.

BillingStreet1 String False

Street address (first line).

BillingStreet2 String False

Street address (second line).

BillingCity String False

Addressee city

BillingZip String False

ZIP or postal code

BillingCountry String False

Addressee's country

BillingCountryIso2 String False

Addressee's country code

BillingState String False

The name of the state or province. Should be spelled out in full, for example, California.

BillingEmail String False

Recipient's email address.

BillingPhone String False

Recipient's telephone number.

BaseHandlingCost String False

The value of the base handling cost.

BaseShippingCost String False

The value of the base shipping cost.

BaseWrappingCost String False

The value of the base wrapping cost.

Pseudo-Columns

Pseudo column fields are used to enable the user to INSERT Fields that are non-readable but required during creation of new records.

Name Type Description
LinkedProducts String

Column for the aggregate table name holding order products.

CData Cloud

OrderShipments

Returns shipments and their corresponding orders.

Table Specific Information

Select

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

  • Id supports the = comparison.
  • OrderId supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM OrderShipments WHERE Id = 1 

SELECT * FROM OrderShipments WHERE OrderId = 1428

Insert

To insert a order shipment, at least one shipment item must be attached to the INSERT query. First, populate a temporary ShipmentItems table with the items you want to include in the shipment. Then, use this table as the value for the LinkedProducts pseudo-column during insertion:

INSERT INTO ShipmentItems#TEMP (Id, Quantity) VALUES (2519, 1);
INSERT INTO OrderShipments (OrderId, OrderAddressId, LinkedProducts) VALUES (1106, 1007, ShipmentItems#TEMP);

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

Numeric ID of this shipment within this order.

OrderId [KEY] Integer False

Orders.Id

Numeric ID of the associated order.

DateCreated Datetime True

Creation date for the shipment.

TrackingNumber String False

Tracking number of the shipment.

TrackingCarrier String False

Tracking carrier for the shipment.

TrackingLink String True

Returns a tracking link from the shipping service.

ShippingProvider String False

Enum of the BigCommerce shipping-carrier integration/module.

ShippingMethod String False

Enum of the BigCommerce shipping-carrier integration/module.

Comments String False

Comments the shipper wishes to add.

OrderAddressId Integer False

OrderShippingAddresses.Id

ID of this shipping address.

CustomerId String False

ID of this order’s customer.

ShippingProviderDisplayName String True

The human-readable name for the shipping_provider.

MerchantShippingCost Decimal True

The shipping merchant cost.

BillingAddressCity String True

The billing address city.

BillingAddressCompany String True

The billing address company.

BillingAddressCountry String True

The billing address country

BillingAddressCountryIso2 String True

The billing address country iso2.

BillingAddressEmail String True

The email of the Addressee.

BillingAddressFirstName String True

Addressee's First Name.

BillingAddressLastName String True

Addressee's Last Name.

BillingAddressPhone String True

Addressee's Phone.

BillingAddressState String True

Addressee's State.

BillingAddressStreet1 String True

Street address (first line).

BillingAddressStreet2 String True

Street address (second line).

BillingAddressZip String True

ZIP or postal code.

Pseudo-Columns

Pseudo column fields are used to enable the user to INSERT Fields that are non-readable but required during creation of new records.

Name Type Description
LinkedProducts String

Column for the aggregate table name holding order products.

CData Cloud

PriceListRecords

Returns a collection of price list records.

Table Specific Information

Select

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

  • CalculatedPrice supports the = comparison.
  • DateCreated supports the =, >, <, >=, and <= comparisons.
  • DateModified supports the =, >, <, >=, and <= comparisons.
  • ProductId supports the = comparison.
  • PriceListId supports the = comparison.
  • VariantId supports the = comparison.
  • Sku supports the = comparison.
  • Currency supports the = comparison.
  • Price supports the = comparison.
  • SalePrice supports the = comparison.
  • RetailPrice supports the = comparison.
  • MapPrice supports the = comparison.

The rest of the filter is executed client-side within the Cloud. For example, the following queries are processed server-side:

SELECT * FROM PriceListRecords WHERE PriceListId = 1 

SELECT * FROM PriceListRecords WHERE PriceListId = 1 AND SalePrice = 23

SELECT * FROM PriceListRecords WHERE PriceListId = 1 AND MapPrice = 17.99

SELECT * FROM PriceListRecords WHERE PriceListId = 1 AND VariantId = 361 AND Currency = 'USD'

Bulk Update

To update a price list record, specify the following columns: VariantId, Currency, Price, and PriceListId.

INSERT INTO PriceListRecords#TEMP (VariantId, Currency, Price, SalePrice, PriceListId) VALUES (361, 'USD', 27, 23, 1)
INSERT INTO PriceListRecords#TEMP (VariantId, Currency, Price, SalePrice, PriceListId) VALUES (362, 'USD', 28, 24, 1)
UPDATE PriceListRecords (VariantId, Currency, Price, SalePrice) SELECT VariantId, Currency, Price, SalePrice FROM PriceListRecords#TEMP

Bulk Update Using Aggregates:

INSERT INTO PriceListRecords#TEMP (VariantId, Currency, Price, SalePrice, PriceListId, BulkPricingTiers) VALUES (361, 'USD', 27, 23, 1,
                   '{ 
                    \"quantity_min\": 10," 
                    \"quantity_max\" : 12," 
                     \"type\" : \"percent\","
                      \"amount\": 1
                    }'
UPDATE PriceListRecords ( VariantId, Currency, Price, SalePrice, BulkPricingTiers) SELECT VariantId, Currency, Price, SalePrice, BulkPricingTiers FROM PriceListRecords#TEMP

Columns

Name Type ReadOnly References Description
CalculatedPrice Double True

The price of the variant as seen on the storefront if a price record is in effect

DateCreated Datetime True

The date of creation for the Price Entry.

DateModified Datetime True

The last modification date of the Price Entry.

ProductId Integer True

The id of the Product this Price Record's variant_id is associated with.

PriceListId [KEY] Integer True

The Price List ID with which this price set is associated

VariantId [KEY] Integer False

The variant with which this price set is associated.

Sku String False

The variant with which this price set is associated

Currency [KEY] String False

The 3-letter currency code with which this price set is associated

Price Double False

The list price for the variant mapped in a Price List

SalePrice Double False

The sale price for the variant mapped in a Price List

RetailPrice Double False

The retail price for the variant mapped in a Price List

MapPrice Double False

The MAP (Manufacturers Advertised Price) for the variant mapped in a Price List

BulkPricingTiers String False

The minimum quantity of associated variant in the cart needed to qualify for this tiers pricing

QuantityMin Integer False

The minimum quantity of associated variant in the cart needed to qualify for this tiers pricing

QuantityMax Integer False

The maximum allowed quantity of associated variant in the cart to qualify for this tiers pricing.

QuantityType String False

The type of adjustment that is made.

QuantityAmount Double False

The maximum allowed quantity of associated variant in the cart to qualify for this tiers pricing.

CData Cloud

PriceLists

Returns a collection of price records.

Table Specific Information

Select

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

  • Id supports the = comparison.
  • DateCreated supports the =, >, <, >=, and <= comparisons.
  • DateModified supports the =, >, <, >=, and <= comparisons.
  • Name supports the = and LIKE comparisons.

The rest of the filter is executed client-side within the Cloud. For example, the following queries are processed server-side:

SELECT * FROM PriceLists WHERE Id = 1 

SELECT * FROM PriceLists WHERE DateCreated = '2021-05-26'

SELECT * FROM PriceLists WHERE DateModified = '2021-05-26'

SELECT * FROM PriceLists WHERE Name LIKE 'Wholesale group1'

Insert

To insert a price list, specify the following columns: Name and Active.

INSERT INTO PriceLists (Name, Active) VALUES ('Wholesalegroup', false)

Update

To update a price list, specify the following columns: Name and Id.

UPDATE PriceLists SET Name = 'Wholesalegroup' WHERE Id = '4'

Delete

To delete a price list, specify the Id column.

DELETE From PriceLists WHERE Id = '4'

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

ID of the PriceList.

Active Boolean False

The status of the PriceList.

DateCreated Datetime True

The date of creation for the PriceList.

DateModified Datetime True

The last modification date of the PriceList.

Name String False

The name of the PriceList.

CData Cloud

ProductImages

Returns images registered for products.

Table Specific Information

Select


SELECT * FROM ProductImages 

There are two alternatives to inserting new product images for BigCommerce, ImageFile and ImageUrl.

Insert using ImageFile

To insert a product image using ImageFile, you only need the ProductId and the local path of your ImageFile, which is written as a string using forward slashes as directory separators. BigCommerce does not allow for additional parameters when inserting an image using ImageFile. Therefore, including extra parameters returns an error.

INSERT INTO ProductImages (ProductId, ImageFile) VALUES (963, 'C:/dev/tests/v19/ProviderBigCommerce/DDHU.jpg');

Insert using ImageUrl

In addition to using ImageFiles, you can add product images by specifying image URLs of images on the web. When inserting image URLs, you can add additional fields to your query, such as Description, SortOrder, and IsThumbnail.

INSERT INTO ProductImages (ProductId, ImageUrl) VALUES (955, 'http://oi50.tinypic.com/kexbfq.jpg');

Update


UPDATE ProductImages SET Description = 'Testing123' WHERE Id = 265

Delete


DELETE FROM ProductImages WHERE Id = 3

Columns

Name Type ReadOnly References Description
Id [KEY] Integer False

The Id of the image.

ProductId [KEY] Integer False

Products.Id

The Id of the corresponding product.

ImageFile String False

The local path to the original image file uploaded to BigCommerce.

StandardUrl String False

Standard Image URL for the product.

ThumbnailUrl String False

The thumbnail URL for this image. By default, this is the image size used on the category page and in side panels.

IsThumbnail Boolean False

Flag for identifying whether the image is used as the product's thumbnail.

SortOrder Integer False

The order in which the image will be displayed on the product page.

Description String False

The description for the image.

DateModified Datetime True

The last modification date of the image.

TinyUrl String False

Tiny URL for the product.

ZoomUrl String False

Zoom URL for the product.

Pseudo-Columns

Pseudo column fields are used to enable the user to INSERT Fields that are non-readable but required during creation of new records.

Name Type Description
ImageUrl String

The local path to the original image file to be uploaded to BigCommerce.

CData Cloud

ProductMetafields

Returns a list of Product Metafields.

Table Specific Information

Select

The Cloud uses the BigCommerce API to process WHERE clause conditions built with the Id and ProductId columns, which support the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM ProductMetafields WHERE ProductId = 77
SELECT * FROM ProductMetafields WHERE ProductId = 77 and Id = 2

Insert

To insert a product metafield, specify at least the following columns: ProductId, Description, Namespace, Key, Value, and PermissionSet.

INSERT Into ProductMetafields(ProductId, Description, Namespace, Key, Value, PermissionSet) Values(88, test, Warehouse, location, 88, app_only)

Update


UPDATE ProductMetafields SET Description ='updatedtest' WHERE ProductId = 77 and Id = 3

Delete


DELETE FROM ProductMetafields WHERE ProductId = 77 and Id = 3

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

Unique ID of the Metafield.

ProductId [KEY] Integer True

Products.Id

The Id of the corresponding product.

DateCreated Datetime True

Date and time of the metafield?s creation.

DateModified Datetime True

Date and time when the metafield was last updated.

Description String False

Description for the metafields.

Key String False

The name of the field.

Value String False

The value of the field,must enter a JSON formatted string for ShipperHQ metafields.

Namespace String False

Namespace for the metafield, for organizational purposes.

OwnerClientId String True

ID of metafield's creator.

PermissionSet String False

Determines the visibility and writeability of the field by other API consumers.Must be one of app_only, read, write, read_and_sf_access or write_and_sf_access.

The allowed values are app_only, read, write, read_and_sf_access, write_and_sf_access.

ResourceId Integer True

The ID of the resource with which the metafield is associated.

ResourceType String True

The type of resource with which the metafield is associated.

CData Cloud

ProductOptions

Returns data from Products table.

Table Specific Information

Select


SELECT * FROM ProductOptions

Insert

To insert a product option, a set of option values are required to be inserted along with it. This can be done by populating a temporary ProductOptionValues table with the desired values for the option you are creating, and later using this table as a value for the LinkedOptionValues pseudo-column during insertion:

INSERT INTO ProductOptionValues#TEMP (Label, SortOrder, IsDefault) VALUES ('Classic', 0, true);
INSERT INTO ProductOptionValues#TEMP (Label, SortOrder, IsDefault) VALUES ('Elegance', 1, false);
INSERT INTO ProductOptionValues#TEMP (Label, SortOrder, IsDefault) VALUES ('Avantgarde', 2, false);
INSERT INTO ProductOptions (ProductId, DisplayName, Type, Name, SortOrder, LinkedOptionValues) VALUES (955, 'ModelSeries', 'dropdown', 'Series', 0, ProductOptionValues#TEMP);

Update


UPDATE ProductOptions SET DisplayName = 'Testing123' WHERE Id = 109

Delete


DELETE FROM ProductOptions WHERE Id = 3

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

The ID of the option.

ProductId [KEY] Integer True

Products.Id

The ID of the product.

DisplayName String False

The name of the option shown on the storefront.

Name String False

The unique option name, auto-generated from the display name, a timestamp, and the product ID.

Type String False

The type of option, which determines how it will display on the storefront. Acceptable values: radio_buttons, rectangles, dropdown, product_list, product_list_with_images, swatch.

SortOrder Integer False

The order in which the option will be displayed on the product page.

ConfigDefaultValue String False

The default value. Shown on a date option as an ISO-8601–formatted string, or on a text option as a string.

ConfigCheckedByDefault Boolean False

Flag for setting the checkbox to be checked by default.

ConfigCheckboxLabel String False

Label displayed for the checkbox option.

ConfigDateLimited Boolean False

Flag to limit the dates allowed to be entered on a date option.

ConfigDateLimitMode String False

The type of limit that is allowed to be entered on a date option.

The allowed values are earliest, range, latest.

ConfigDateEarliestValue String False

The earliest date allowed to be entered on the date option, as an ISO-8601 formatted string.

ConfigDateLatestValue String False

The latest date allowed to be entered on the date option, as an ISO-8601 formatted string.

ConfigFileTypesMode String False

The kind of restriction on the file types that can be uploaded with a file upload option. Values: specific - restricts uploads to particular file types; all - allows all file types.

The allowed values are specific, all.

ConfigFileTypesSupported String False

The type of files allowed to be uploaded if the file_type_option is set to specific.

ConfigFileTypesOther String False

A list of other file types allowed with the file upload option.

ConfigFileMaxSize Integer False

The maximum size for a file that can be used with the file upload option. This will still be limited by the server.

ConfigTextCharactersLimited Boolean False

Flag to validate the length of a text or multi-line text input.

ConfigTextMinLength Integer False

The minimum length allowed for a text or multi-line text option.

ConfigTextMaxLength Integer False

The maximum length allowed for a text or multi line text option.

ConfigTextLinesLimited Boolean False

Flag to validate the maximum number of lines allowed on a multi-line text input.

ConfigTextMaxLines Integer False

The maximum number of lines allowed on a multi-line text input.

ConfigNumberLimited Boolean False

Flag to limit the value of a number option.

ConfigNumberLimitMode String False

The type of limit on values entered for a number option.

The allowed values are lowest, highest, range.

ConfigNumberLowestValue Decimal False

The lowest allowed value for a number option if number_limited is true.

ConfigNumberHighestValue Decimal False

The highest allowed value for a number option if number_limited is true.

ConfigNumberIntegersOnly Boolean False

Flag to limit the input on a number option to whole numbers only.

ConfigProductListAdjustsInventory Boolean False

Flag for automatically adjusting inventory on a product included in the list.

ConfigProductListAdjustsPricing Boolean False

Flag to add the optional product's price to the main product's price.

ConfigProductListShippingCalc String False

How to factor the optional product's weight and package dimensions into the shipping quote.

The allowed values are none, weight, package.

LinkedOptionValues String False

Column for the aggregate table name holding option values.

CData Cloud

ProductOptionValues

Returns data from Products table.

Table Specific Information

Select


SELECT * FROM ProductOptionValues 

Insert

To insert a product option value, specify at least the following columns: ProductId, OptionId, Label, SortOrder, along with one of the following: ValueDataImgUrl or ValueDataColors.

Inserting ProductOptionValues with ValueDataImgUrl:

INSERT INTO ProductOptionValues (OptionId,ProductId,Label, SortOrder,ValueDataImgUrl,ValueDataColors) VALUES ('143','77','testingexceptionfornow','2','https://cdn11.bigcommerce.com/s-dr2j9p39ga/product_images/attribute_value_images/357.preview.jpg?t=1696324267','#e35e22')

Inserting ProductOptionValues with ValueDataColors:

INSERT INTO ProductOptionValues (OptionId,ProductId,Label, SortOrder,ValueDataColors) VALUES ('143','77','toasting123','2','#e35e20')

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

The ID of the option value.

OptionId [KEY] Integer True

ProductOptions.Id

The ID of the option.

ProductId [KEY] Integer True

Products.Id

The ID of the product.

Label String False

The label of the option value shown on the storefront.

IsDefault Boolean False

Whether this option value is the default for this option.

SortOrder Integer False

The order in which the option value will be displayed on the product page.

ValueDataColors String False

The colors contained in the value data.

ValueDataImgUrl String False

The image url contained in the value data.

CData Cloud

ProductReviews

Returns reviews registered for products.

Table Specific Information

Select


SELECT * FROM ProductReviews 

Insert

To insert a product review, specify at least the following columns: Title, Status, Id, ProductId, and DateReviewed.

INSERT INTO ProductReviews (Title, Status, Id, ProductId, DateReviewed) VALUES ('Car Interior121', 'approved', '6', '103', '2019-08-24T14:15:22Z')

Update

To update a product review, specify at least the following columns: ProductId, OptionId, Label, SortOrder, along with one of the following: ValueDataImgUrl or ValueDataColors.
UPDATE ProductReviews SET Title = 'Testing123' WHERE Id = 7

Delete


DELETE FROM ProductReviews WHERE Id = 16

Columns

Name Type ReadOnly References Description
Id [KEY] Integer False

The Id of the review.

ProductId [KEY] Integer True

Products.Id

The Id of the corresponding product.

Title String False

Title of the review.

Text String False

Text content of the review.

Status String False

The status of the product review. Must be one of approved, disapproved, or pending.

Rating Integer False

The rating of the product review. Must be one of 0, 1, 2, 3, 4, or 5.

Email String False

The email of the reviewer. Must be a valid email, or an empty string.

Name String False

The name of the reviewer.

DateCreated Datetime True

The date of creation for the review.

DateModified Datetime True

The last modification date of the review.

DateReviewed Datetime False

Date the product was reviewed.

CData Cloud

Products

Returns data from products table.

Table Specific Information

Select

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

  • Id supports the =, >=, >, <=, and < comparisons.
  • Name supports the = comparison.
  • Sku supports the = comparison.
  • Description supports the = comparison.
  • Price supports the = comparison.
  • IsVisible supports the = comparison.
  • IsFeatured supports the = comparison.
  • InventoryLevel supports the =, >=, >, <=, and < comparisons.
  • BrandId supports the = comparison.
  • DateModified supports the =, >=, >, <=, and < comparisons.
  • Condition supports the = comparison.
  • DateLastImported supports the =, >=, >, <=, and < comparisons.
  • Availability supports the = comparison.
  • Categories supports the = and IN comparisons.

The rest of the filter is executed client-side within the Cloud. For example, the following queries are processed server-side:

SELECT * FROM Products WHERE Id > 5 AND Id < 10

SELECT * FROM Products WHERE IsVisible = "true"

Insert

To insert a product, specify at least the following columns: Name, Type, Description, Price, Categories, Availability and Weight.

INSERT INTO Products (Name, Type, Description, Price, Categories, Availability, Weight) VALUES ("Plain T-Shirt", "physical", "This is a test description", 29.99, 18, "available", 0.5)

Inserting products with multiple variants using a temp table:

INSERT INTO ProductVariantValues#TEMP (Label, DisplayName, Id) VALUES ('Blue', 'Color', 1)
INSERT INTO ProductVariantValues#TEMP (Label, DisplayName, Id) VALUES ('Yellow', 'Color', 2)

INSERT INTO ProductVariants#TEMP (Sku, LinkedOptionValues, Id) VALUES ('SKU-AB', 'ProductVariantValues#TEMP', 1)
INSERT INTO ProductVariants#TEMP (Sku, LinkedOptionValues, Id) VALUES ('SKU-CD', 'ProductVariantValues#TEMP', 2)

INSERT INTO Products (Name, Type, Weight, Price, ProductVariants) VALUES ('BC-8', 'physical', 60, 5700, 'ProductVariants#TEMP')

Inserting products with multiple variants using aggregates:

INSERT INTO Products (Name, Type, Weight, Price, ProductVariants) VALUES ('BC-95', 'physical', 99, 5800, '[{"Sku": "SKU-MM","option_values": [{"option_display_name": "Song","Id": "1","label": "Mary"}]}, {"Sku": "SKU-DE","option_values": [{"option_display_name": "Song","Id": "2","label": "Jane"}]}]')

Inserting products with one variant:

INSERT INTO ProductVariantValues#TEMP (Label, DisplayName) VALUES ('Blue', 'Color')

INSERT INTO ProductVariants#TEMP (Sku, LinkedOptionValues) VALUES ('SKU-AB', 'ProductVariantValues#TEMP')

INSERT INTO Products (Name, Type, Weight, Price, ProductVariants) VALUES ('BC-8', 'physical', 60, 5700, 'ProductVariants#TEMP')

Bulk Update

To perform a bulk update on products, specify at least the following columns: Description, Id, Name, Sku, and RelatedProducts.

INSERT INTO Update#TEMP (Description, Id, Name, Sku, Categories, RelatedProducts, MetaKeywords, IsCustomized, Url) VALUES ('my_details', '80', 'hello123', 'OTL', '19, 23', '1, 2', '"pqr", "xyz"', false, '/orbit-terrarium-large/'
INSERT INTO Update#TEMP (Description, Id, Name, Sku, Categories, RelatedProducts, MetaKeywords, IsCustomized, Url) VALUES ('my_details1', '86', 'example', 'ABS', '23, 21', '3, 4', '"abc", "an"', false, '/able-brewing-system/'
UPDATE products (Description, Id, Name, Sku, Categories, RelatedProducts, MetaKeywords, IsCustomized, Url) SELECT Description, Id, Name, Sku, Categories, RelatedProducts, MetaKeywords, IsCustomized, Url FROM Update#TEMP

Bulk update using aggregates:

INSERT INTO Update#TEMP (Description, Id, Name, Sku, categories, RelatedProducts, MetaKeywords, CustomUrl) VALUES ('details1', '77', 'name4456', 'SLCTBS', '23, 18', '10', '"abcd", "ab"',
            '{
			  "is_customized": False,
			  "url" : "/fog-linen-chambray-towel-beige-stripe/"
             }')
UPDATE products (Description, Id, Name, Sku, Categories, RelatedProducts, CustomUrl) SELECT Description, Id, Name, Sku, Categories, RelatedProducts, CustomUrl FROM Update#TEMP

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

The Id of the product.

Name String False

The product name.

Type String False

The product type.

Sku String True

User-defined product code/stock keeping unit (SKU)

Description String False

Product description, which can include HTML formatting.

SearchKeywords String False

A comma-separated list of keywords that can be used to locate the product when searching the store.

AvailabilityDescription String False

Availability text, displayed on the checkout page under the product title, telling the customer how long it will normally take to ship this product.

Price Decimal False

The products price.

CostPrice Decimal False

The products cost price.

RetailPrice Decimal False

The products retail cost.

SalePrice Decimal False

Sale price.

MapPrice Decimal False

Map price.

ProductTaxCode String False

Tax Codes.

CalculatedPrice Decimal True

Price as displayed to guests, adjusted for applicable sales and rules.

SortOrder Integer False

Priority to give this product when included in product lists on category pages and in search results.

IsVisible Boolean False

Flag to determine whether or not the product should be displayed to customers browsing.

IsFeatured Boolean False

Flag to determine whether the product should be included in the featured products panel for shoppers viewing the store.

RelatedProducts String False

Defaults to -1, which causes the store to automatically generate a list of related products.

InventoryLevel Integer False

Current inventory level of the product.

InventoryWarningLevel Integer False

Inventory Warning level for the product.

Warranty String False

Warranty information displayed on the product page.

Weight Decimal False

Weight of the product, which can be used when calculating shipping costs.

Width Decimal False

Width of the product, which can be used when calculating shipping costs.

Height Decimal False

Height of the product, which can be used when calculating shipping costs.

Depth Decimal False

Depth of the product, which can be used when calculating shipping costs.

FixedCostShippingPrice Decimal False

A fixed shipping cost for the product.

IsFreeShipping Boolean False

Flag used to indicate whether or not the product has free shipping.

InventoryTracking String False

The type of inventory tracking for the product.

RatingTotal Integer False

The total rating for the product.

RatingCount Integer False

The total number of ratings the product has had.

ReviewsRatingSum Integer True

The total (cumulative) rating for the product.

ReviewsCount Integer True

The number of times the product has been rated.

TotalSold Integer False

Total quantity of this product sold through transactions.

DateCreated Datetime False

The date of which the product was created.

BrandId Integer True

The products brand

ViewCount Integer False

The number of times the product has been viewed.

PageTitle String False

Custom title for the products page.

MetaKeywords String False

Custom meta keywords for the product page.

MetaDescription String False

Custom meta description for the product page.

LayoutFile String False

The layout template file used to render this product category.

IsPriceHidden Boolean False

The default false value indicates that this products price should be shown on the product page.

PriceHiddenLabel String False

By default, an empty string. If is_price_hidden is true, the value of price_hidden_label will be displayed instead of the price.

Categories String False

An array of IDs for the categories this product belongs to. When updating a product, if an array of categories is supplied, then all product categories will be overwritten.

DateModified Datetime False

The date that the product was last modified.

Condition String False

The products condition.

The allowed values are new, used, refurbished.

IsConditionShown Boolean False

Flag used to determine whether the products condition will be shown to the customer on the product page.

PreorderReleaseDate Datetime False

Pre-order release date.

IsPreorderOnly Boolean False

If set to false, the product will not change its availability from preorder to available on the release date.

PreorderMessage String False

Custom expected-date message to display on the product page.

OrderQuantityMinimum Integer False

The minimum quantity an order must contain in order to purchase this product.

OrderQuantityMaximum Integer False

The maximum quantity an order can contain when purchasing the product.

OpenGraphType String False

Type of product.

The allowed values are product, album, book, drink, food, game, movie, song, tv_show.

OpenGraphTitle String False

Title of the product. If not specified, the products name will be used instead.

OpenGraphDescription String False

Description to use for the product.

OpenGraphUseMetaDescription Boolean False

Flag to determine if product description or open graph description is used.

OpenGraphUseProductName Boolean False

Flag to determine if product name or open graph name is used.

OpenGraphUseImage Boolean False

Flag to determine if product image or open graph image is used.

IsOpenGraphThumbnail Boolean False

If set to true, the product thumbnail image will be used as the open graph image.

UPC String False

The product UPC code, which is used in feeds for shopping comparison sites.

GTIN String False

Global Trade Item Number.

OptionSetId Integer True

The ID of the option set applied to the product.

TaxClassId Integer True

The ID of the tax class applied to the product.

OptionSetDisplay String True

The position on the product page where options from the option set will be displayed.

BinPickingNumber String False

The BIN picking number for the product.

CustomUrl String False

Custom URL (if set) overriding the structure dictated in the stores settings.

CustomFields String False

200 maximum custom fields per product. 255 maximum characters per custom field.

ManufacturerPartNumber String False

Manufacturer Part Number.

IsCustomized Boolean False

Returns true if the URL has been changed from its default state (the auto-assigned URL that BigCommerce provides.

Url String False

Product URL on the storefront.

Availability String False

Availability of the product.

PrimaryImageId Integer True

Id of the primary image.

PrimaryImageProductId Integer True

ProductId of the primary image.

PrimaryImageIsThumbnail Boolean True

Primary image Is Thumbnail or not.

PrimaryImageSortOrder String True

Sort Order of the primary image.

PrimaryImageDescription String True

Description of the primary image.

PrimaryImageImageFile String True

Image file of the primary image.

PrimaryImageUrlZoom String True

Zoom Url of the primary image.

PrimaryImageStandardUrl String True

Standard url of the primary image.

PrimaryImageUrlThumbnail String True

Thumbnail url of the primary image.

PrimaryImageUrlTiny String True

Tiny url of the primary image.

PrimaryImageDateModified Datetime True

Modified Date of the primary image.

GiftWrappingOptionsType String True

Type of gift-wrapping options.

GiftWrappingOptionsList String True

Type of gift-wrapping option IDs.

BaseVariantId String True

Base Variant Id.

VideoURL String True

Returns the URL of the first video hosted on the site. To retrieve all video URLs, refer to the ProductVideos view.

Pseudo-Columns

Pseudo column fields are used to enable the user to INSERT Fields that are non-readable but required during creation of new records.

Name Type Description
ProductVariants String

Variants of the Products

CData Cloud

ProductVariants

Returns data from Products table.

Table Specific Information

Select


SELECT * FROM ProductVariants

Insert

To insert a product variant, a set of option values must also be inserted. This can be done by populating a temporary ProductVariantValues table with the desired values for the option you are creating, and later using this table as a value for the LinkedOptionValues pseudo-column during insertion:

INSERT INTO ProductVariantValues#TEMP (Id, OptionId, Label, DisplayName) VALUES (181, 118, 'Elegance', 'Series');
INSERT INTO ProductVariants (ProductId, LinkedOptionValues, SKU) VALUES (955, ProductVariantValues#TEMP, 'DSFMGG');

Update


UPDATE ProductVariants SET Weight = '23' WHERE Id = 64

Delete


DELETE FROM ProductVariants WHERE Id = 3

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

The ID of the product variant.

ProductId [KEY] Integer True

Products.Id

The ID of the product.

SKU String False

User defined product code/stock keeping unit (SKU).

SkuID String False

The ID for User defined product code/stock keeping unit (SKU).

Price Decimal False

The price of the product variant. The price should include or exclude tax, based on the store settings.

CalculatedPrice Decimal False

The variant’s calculated price on the storefront.

SalePrice Decimal False

The variant’s sale price on the storefront.

RetailPrice Decimal False

The variant’s retail price on the storefront.

MapPrice Integer False

The Minimum Advertised Price.

Weight Decimal False

This variant’s base weight on the storefront. If this value is null, the product’s default weight (set in the Product resource’s weight field) will be used as the base weight.

CalculatedWeight Decimal False

The variant’s calculated weight on the storefront.

Width Decimal False

Width of the variant, which can be used when calculating shipping costs.

Height Decimal False

The Height of the variant, which can be used when calculating shipping costs.

Depth Decimal False

The Depth of the variant, which can be used when calculating shipping costs.

IsFreeShipping Boolean False

The Flag used to indicate whether the variant has free shipping. If true, the shipping cost for the variant will be zero.

FixedCostShippingPrice Decimal False

The fixed shipping cost for the variant. If defined, this value will be used during checkout instead of normal shipping-cost calculation.

PurchasingDisabled Boolean False

Accepts AvaTax System Tax Codes, which identify products and services that fall into special sales-tax categories.

PurchasingDisabledMessage String False

Accepts AvaTax System Tax Codes, which identify products and services that fall into special sales-tax categories.

ImageUrl String False

The Image url for the variant.

CostPrice Decimal False

The cost price of the variant.

Upc String False

The UPC code used in feeds for shopping comparison sites and external channel integrations.

Mpn String False

The Manufacturer Part Number (MPN) for the variant.

Gtin String False

The Global Trade Item Number.

InventoryLevel Integer False

The Inventory level for the variant, which is used when the product’s inventory_tracking is set to variant.

InventoryWarningLevel Integer False

The Inventory warning level for the product

BinPickingNumber String False

Identifies where in a warehouse the variant is located.

LinkedOptionValues String False

The Option Value Id.

CData Cloud

ShippingMethods

Lists all shipping methods.

Table Specific Information

Select

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

  • Id supports the = comparison.
  • ZoneId supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

For example, the following query is processed server-side:

SELECT * FROM ShippingMethods

SELECT * FROM ShippingMethods WHERE ZoneId = 1

SELECT * FROM ShippingMethods WHERE ZoneId = 1 and Id = 1

Insert

To insert a shipping method, Name, Type, Settings, and ZoneId must also be inserted. Settings must be passed as a JSON object.

INSERT INTO ShippingMethods (Name, Type, Enabled, ZoneId, HandlingFeesFixedSurcharge, Settings) VALUES ('Flat Rate 2', 'perorder', true, 1, 0, '{ "rate" : 7 }')

Update

To update a ShippingMethod, Name, Type, Settings, ZoneId and Id are required.
UPDATE ShippingMethods SET Name = 'Flat Rate 1', Type = 'perorder', Settings = '{ "rate" : 7 }', HandlingFeesPercentageSurcharge = 1 WHERE Id = 9 and ZoneId = 1

Delete

To delete a shipping method, Id and ZoneId are required.
DELETE FROM ShippingMethods WHERE Id = 9 and ZoneId = 1

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

Shipping Method Id.

Name String False

Shipping Method name.

Type String False

Shipping Method type.

Enabled Boolean False

Minimum subtotal of the free shipping.

HandlingFeesPercentageSurcharge Decimal False

Percentage surcharge of the handling fee.

HandlingFeesFixedSurcharge Decimal False

Fixed surcharge of the handling fee.

IsFallback Boolean True

Whether or not this shipping zone is the fallback if all others are not valid for the order.

Settings String False

Shipping method settings.

ZoneId Integer True

The Shipping Zone Id

CData Cloud

ShippingZones

Lists all shipping zones.

Table Specific Information

Select

The Cloud uses the BigCommerce API to process WHERE clause conditions built with the Id column, which supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

For example, the following query is processed server-side:

SELECT * FROM ShippingZones WHERE Id = 1 

Insert

To insert a shipping zone, a set of Locations must also be inserted. This can be done by populating a temporary ShippingZoneLocations table with the desired values for the option you are creating, and later using this table as a value for the Locations column during insertion:

INSERT INTO ShippingZoneLocations#Temp (CountryIso2, Zip) values ('US', '11103')
INSERT INTO ShippingZones (Name, Type, locations) VALUES ('United States', 'zip', 'ShippingZoneLocations#Temp')

Update


UPDATE ShippingZones SET Enabled=true WHERE Id = 7

Delete


DELETE FROM ShippingZones WHERE Id = 7

Columns

Name Type ReadOnly References Description
Id [KEY] Integer True

Zone Id.

Name String False

Zone name.

Type String False

Zone type.

The allowed values are zip, country, state, global.

FreeShippingEnabled Boolean False

Indicator if free shipping is enabled.

FreeShippingMinimumSubTotal Decimal False

Minimum subtotal of the free shipping.

FreeShippingExcludeFixedShippingProducts Boolean False

Indicator whether or not to exclude fixed shipping on products.

HandlingFeesDisplaySeparately Boolean False

Indicator whether or not to display the handling fees separately.

HandlingFeesPercentageSurcharge Decimal False

Percentage surcharge of the handling fee.

HandlingFeesFixedSurcharge Decimal False

Fixed surcharge of the handling fee.

Enabled Boolean False

Whether this shipping zone is enabled.

Locations String False

Array of zone locations.

CData Cloud

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 Cloud - BigCommerce Views

Name Description
Blogposts Returns all blog posts.
BlogTags Returns a list of Blog Tags.
CustomerGroups Returns a list of customer groups.
DownloadConsignments Returns consignments and their corresponding downloads.
EmailConsignments Returns consignments and their corresponding emails.
GiftCertificates Lists all gift certificates.
OrderCoupons Lists all order coupons.
OrderItemOptionValues Returns data from OrderItems table.
OrderMessages Gets the messages associated with an order.
OrderRefunds Returns a list of refunds.
OrderRefundsItems List of Items refunded.
OrderRefundsPayments Refund payments made to payment providers.
OrderShippingAddresses Returns shipping addresses and their corresponding orders.
OrderStatuses Returns order statuses.
OrderTaxes Gets all order taxes related to an order.
Pages Lists all pages.
PaymentMethods Lists all payment methods.
PickupConsignments Returns consignments and their corresponding pickups.
PriceListAssignments Returns an array of Price List Assignments matching a particular Customer Group and Price List and Channel.
ProductBulkPricingRules Returns bulk pricing rules applied to a product.
ProductCustomFields Lists all tax classes.
ProductRules Returns rules that modify the properties of a product, such as weight, price, and product image.
ProductVariantValues Returns data from Products table.
ProductVideos Returns Embedded videos displayed on product listings.
Redirects Lists all redirect URLs.
ShipmentItems Returns data from Items within a shipment.
ShippingConsignmentQuotes Gets all shipping quotes persisted on an order for a shipping consignment.
ShippingConsignments Returns consignments and their corresponding shipping orders.
ShippingZoneLocations Lists all shipping zone locations
Stores Lists all Stores.
TaxClasses Lists all tax classes.
Transactions Lists all transactions.

CData Cloud

Blogposts

Returns all blog posts.

Table Specific Information

Select

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

  • Id supports the = comparison.
  • Url supports the = comparison.
  • IsPublished supports the = comparison.

The rest of the filter is executed client-side within the Cloud. For example, the following queries are processed server-side:

SELECT * FROM Blogposts WHERE Id = "1234" 

SELECT * FROM Blogposts WHERE IsPublished = "true"

Columns

Name Type References Description
Id [KEY] Integer Id of the blogpost
Title String Title of this blog post.
URL String URL for the public blog post.
PreviewURL String URL to preview the blog post.
Body String Text body of the blog post.
Summary String Summary of the blog post.
IsPublished Boolean Whether the blog post is published.
PublishedDate Datetime Date when the blogpost was published.
PublishedTimezone String Timezone when the blogpost was published.
PublishedTimezoneType String Type of the timezone.
PublishedDateISO String Published date in ISO8601 format.
MetaDescription String Description text for this blog posts meta element.
MetaKeywords String Keywords for this blog posts meta element.
Author String Name of the blog posts author.
ThumbnailPath String Local path to a thumbnail image within the product_images folder to accompany the blog post.

CData Cloud

BlogTags

Returns a list of Blog Tags.

Columns

Name Type References Description
BlogIds [KEY] String Id of the blogpost
Tag [KEY] String Tag which belongs to the blog.

CData Cloud

CustomerGroups

Returns a list of customer groups.

Table Specific Information

Select

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

  • Id supports the = comparison.
  • Name supports the = and LIKE comparisons.
  • IsDefault supports the = comparison.
  • IsGroupForGuests supports the = comparison.
  • DateModified supports the =, <=, >=, <, and > comparisons.

The rest of the filter is executed client-side within the Cloud. For example, the following queries are processed server-side:

SELECT * FROM CustomerGroups WHERE Id = 1 

SELECT * FROM CustomerGroups WHERE IsDefault = "true"

SELECT * FROM CustomerGroups WHERE IsGroupForGuests = "true"

SELECT * FROM CustomerGroups WHERE DateModified = '2024-12-27 01:20:31.0'

SELECT * FROM CustomerGroups WHERE DateModified <= '2024-12-27 01:20:31.0'

Columns

Name Type References Description
Id [KEY] Integer Id of the customer group
Name String Name of the group
IsDefault Boolean Determines whether new customers are assigned to this group by default.
CategoryAccessType String Type of the category access.
CategoryAccessCategories String An array of category IDs.
IsGroupForGuests Boolean Describes whether the group is for guests. There can only be one customer group for guests at a time.
DateCreated Datetime Date on which the customer group was created.
DateModified Datetime Date on which the customer group was last modified.
DiscountRules String A collection of discount rules that are automatically applied to customers who are members of the group.

CData Cloud

DownloadConsignments

Returns consignments and their corresponding downloads.

Table Specific Information

Select

The Cloud uses the BigCommerce API to process WHERE clause conditions built with the OrderId column, which supports the = comparison.

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

SELECT * FROM DownloadConsignments WHERE OrderId = 123 

Columns

Name Type References Description
OrderId Integer

Orders.Id

Identifier for the BigCommerce Order with which this transaction is associated.
RecipientEmail String The recipient email of the digital consignment.
DownloadLineItemResources String URL where you can use a GET request to get the downloads line items for the order consignment.
DownloadLineItemUrl String Path where you can use a GET request to get the downloads line items for the order consignment.

CData Cloud

EmailConsignments

Returns consignments and their corresponding emails.

Table Specific Information

Select

The Cloud uses the BigCommerce API to process WHERE clause conditions built with the OrderId column, which supports the = comparison.

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

SELECT * FROM EmailConsignments WHERE OrderId = 123 

Columns

Name Type References Description
OrderId Integer

Orders.Id

Identifier for the BigCommerce Order with which this transaction is associated.
RecipientEmail String The recipient email of the gift certificate.
GiftCertificatesLineItemResources String URL where you can use a GET request to get the gift certificate line items for the order consignment.
GiftCertificatesLineItemUrl String Path where you can use a GET request to get the gift certificate line items for the order consignment.

CData Cloud

GiftCertificates

Lists all gift certificates.

Table Specific Information

Select

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

  • Id supports the =, >=, >, <=, and < comparisons.
  • Code supports the = comparison.
  • ToName supports the = comparison.
  • ToEmail supports the = comparison.
  • OrderId supports the = comparison.
  • FromEmail supports the = comparison.
  • FromName supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM GiftCertificates WHERE Id = 1 

SELECT * FROM GiftCertificates WHERE IsDefault = "true"

SELECT * FROM GiftCertificates WHERE IsGroupForGuests = "true"

Columns

Name Type References Description
Id [KEY] Integer The ID of the gift certificate.
Code String A unique string that the customer can input to redeem the gift certificate.
Amount Decimal Value of the gift certificate.
Status String Status of the gift certificate.
Balance Decimal Remaining value of the gift certificate.
ToName String Name of the recipient.
ToEmail String Email of the recipient.
OrderId Integer The ID of the order.
Template String The email theme to use in the message sent to the recipient.
Message String Text that will be sent to the recipient, such as Congratulations.
FromName String Name of the customer who purchased the gift certificate.
FromEmail String Email of the customer who purchased the gift certificate.
CustomerId Integer The id of the customer placing the order.
ExpiryDate Datetime Date on which the gift certificate is set to expire.
PurchaseDate Datetime Date the gift certificate was purchased.
CurrencyCode String The currency code.

CData Cloud

OrderCoupons

Lists all order coupons.

Table Specific Information

Select

The Cloud uses the BigCommerce API to process WHERE clause conditions built with the OrderId column, which supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM OrderCoupons WHERE OrderId = 2;

Columns

Name Type References Description
Id [KEY] Integer Numeric ID of this product within this order.
OrderId Integer

Orders.Id

Numeric ID of the associated order.
CouponId Integer The coupon id.
Code String The code of the coupon.
Amount Decimal The amount of the coupon.
Type Integer The type of the coupon.
Discount Decimal The discount of the coupon.

CData Cloud

OrderItemOptionValues

Returns data from OrderItems table.

Table Specific Information

Select

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

  • OrderId supports the = comparison.
  • OrderItemId supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM [OrderItemOptionValues] WHERE OrderItemId = 2522;
SELECT * FROM [OrderItemOptionValues] WHERE OrderId = 100 and OrderItemId = 27;

Columns

Name Type References Description
Id [KEY] Integer The numerical ID of the option value within the group of ordered items.
OptionId Integer

ProductOptions.Id

The ID of the option from Product Options table.
OrderItemId [KEY] Integer

OrderItems.Id

The ID of the product.
OrderItemOptionId Integer The numerical ID of the option within the group of ordered items.
DisplayName String The name of the option shown on the storefront.
DisplayValue String The value of the option shown on the storefront.
Value String The actual value of the option.
Name String The unique option name, auto-generated from the display name, a timestamp, and the product ID.
Type String The type of option, which determines how it will display on the storefront. Acceptable values: Checkbox | Date field | File Upload | Multi-line text field | Multiple choice | Product Pick List | Swatch | Text field
DisplayStyle String The specific style which the order will be displayed as.
OrderId Integer Numeric ID of the associated order.
OrderProductId Integer Order product Id
DisplayNameCustomer String The product option name that is shown to customer in storefront.
DisplayNameMerchant String The product option name that is shown to merchant in Control Panel.
DisplayValueCustomer String The product option value that is shown to customer in storefront.
DisplayValueMerchant String The product option value that is shown to merchant in Control Panel.

CData Cloud

OrderMessages

Gets the messages associated with an order.

Table Specific Information

Select

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

  • Id supports the <=, <, >=, and > comparisons.
  • OrderId supports the = comparison.
  • CustomerId supports the = comparison.
  • Status supports the = comparison.
  • IsFlagged supports the = comparison.
  • DateCreated supports the =, <=, <, >=, and > comparisons.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM OrderMessages WHERE OrderId = 2

SELECT * FROM OrderMessages WHERE IsFlagged = "true"

SELECT * FROM OrderMessages WHERE DateCreated >= "2019-01-01" AND DateCreated <= "2020-01-01"

Columns

Name Type References Description
Id [KEY] Integer Numeric ID of this product within this order.
OrderId Integer

Orders.Id

Numeric ID of the associated order.
StaffId Integer The staff id.
CustomerId Integer The customer id.
Type String Type of the message.
Subject String Subject of the message.
Message String Message content.
Status String Status of the message.
IsFlagged Boolean Indicator if the message is flagged.
DateCreated Datetime Datetime when the message was first created.

CData Cloud

OrderRefunds

Returns a list of refunds.

Table Specific Information

Select

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

  • Id supports the = and IN comparisons.
  • OrderId supports the = and IN comparisons.
  • Created supports the =, >, <, >=, and <= comparisons.

The rest of the filter is executed client-side within the Cloud. For example, the following queries are processed server-side:

SELECT * FROM OrderRefunds WHERE Id = 1 

SELECT * FROM OrderRefunds WHERE OrderId = 2

Columns

Name Type References Description
Id [KEY] Integer Refund resource ID.
Created [KEY] Datetime Timestamp of when this refund was created.
OrderId Integer Reference to order id.
Reason String Reason for refund.
TotalAmount Decimal A non-negative 2 decimal place rounded value that represents the amount that can be charged/refunded via payment providers.
TotalTax Decimal Total tax amount refunded back to the shopper. Note: order_level_amount does not affect tax liability.
UserId Integer Reference to the user's id who create this refund.
UsesMerchantOverrideValues Boolean Whether refund amount and tax are provided explicitly by merchant override

CData Cloud

OrderRefundsItems

List of Items refunded.

Table Specific Information

Select

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

  • OrderId supports the = and IN comparisons.
  • OrderRefundsId supports the = and IN comparisons.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM OrderRefundsItems WHERE OrderRefundId = 2

SELECT * FROM OrderRefundsItems WHERE OrderId = 2

Columns

Name Type References Description
ItemId [KEY] Integer order_product.id corresponding to the item_types of PRODUCT, GIFT_WRAPPING. order_address.id corresponding to the item_types of SHIPPING, HANDLING. order.id corresponding to the item_type of ORDER.
OrderRefundId [KEY] Integer

OrderRefunds.Id

The ID of the order refund.
OrderId Integer

OrderRefunds.OrderId

Reference to order id.
ItemType String Type of item that was refunded.
Quantity Integer Quantity of item refunded. Note: this will only be populated for item_type PRODUCT
Reason String Reason for refunding an item.
RequestedAmount Decimal A non-negative 2 decimal place rounded value that represents the amount that can be charged/refunded via payment providers..

CData Cloud

OrderRefundsPayments

Refund payments made to payment providers.

Table Specific Information

Select

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

  • OrderId supports the = and IN comparisons.
  • OrderRefundsId supports the = and IN comparisons.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM OrderRefundsItems WHERE OrderRefundId = 2

SELECT * FROM OrderRefundsPayments WHERE OrderId = 2

Columns

Name Type References Description
Id [KEY] Integer The ID of the refund payment.
OrderRefundId Integer

OrderRefunds.Id

The ID of the order refund.
OrderId Integer

OrderRefunds.OrderId

Reference to order id.
ProviderId String Reference to payment provider.
Amount Decimal A non-negative 2 decimal place rounded value that represents the amount that can be charged/refunded via payment providers.
Offline Boolean Indicate whether payment was offline.
IsDeclined Boolean Indicate if this payment has been declined by payment provider.
DeclinedMessage String Message indicate why payment was declined.

CData Cloud

OrderShippingAddresses

Returns shipping addresses and their corresponding orders.

Columns

Name Type References Description
Id [KEY] Integer ID of this shipping address.
OrderId Integer

Orders.Id

ID of the order.
FirstName String Addressee first name.
LastName String Addressee last name.
Company String Addressee company.
Street1 String Street address (first line).
Street2 String Street address (second line).
City String Addressee city.
Zip String ZIP or postal code.
Country String Addressee's country.
State String The name of the state or province. Should be spelled out in full, for example, California.
Email String Recipient's email address.
Phone String Recipient's telephone number.
BaseCost Decimal The base value of the order’s items.
BaseHandlingCost Decimal The base handling charge.
CostExTax Decimal The value of the order’s items, excluding tax.
CostIncTax Decimal The value of the order’s items, including tax.
CostTax Decimal The tax amount on the order.
CostTaxClassId String The ID of the tax class applied to the product.
CountryIso2 String 2-letter ISO Alpha-2 code for the country.
HandlingCostExTax Decimal The handling charge, excluding tax.
HandlingCostIncTax Decimal The handling charge, including tax.
HandlingCostTax Decimal The handling charge.
HandlingCostTaxClassId String A read-only value. Do not attempt to set or modify this value in a POST or PUT operation. (NOTE: Value ignored if automatic tax is enabled on the store.)
ItemsShipped Integer The number of items that have been shipped.
ItemsTotal Integer The total number of items in the order.
ShippingMethod String Text code identifying the BigCommerce shipping module selected by the customer.
ShippingZoneId Integer Numeric ID of the shipping zone.
ShippingZoneName String Name of the shipping zone.

CData Cloud

OrderStatuses

Returns order statuses.

Columns

Name Type References Description
Id [KEY] Integer The Id of the type of order status
Name String Name of the type of order status.
Systemlabel String System name of the type of order status.
CustomLabel String Custom order status label given in the Control Panel.
SystemDescription String System description of the order status.

CData Cloud

OrderTaxes

Gets all order taxes related to an order.

Table Specific Information

Select

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

  • OrderId supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM OrderTaxes WHERE OrderId = 2

Columns

Name Type References Description
Id [KEY] Integer Numeric ID of this product within this order.
OrderId Integer

Orders.Id

Numeric ID of the associated order.
OrderAddressId Integer The unique numeric identifier of the order address object associated with the order.
TaxRateId Integer The unique numeric identifier of the tax rate.
TaxClassId Integer The unique numeric identifier of the tax class object.
Name String The name of the tax class object.
Class String The name of the type of tax that was applied.
Rate Decimal The tax rate.
Priority Decimal The order in which the tax is applied.
PriorityAmount Decimal The amount of tax calculated on the order.
LineAmount Decimal The line amount.
OrderProductId String If the line_item_type is item or handling then this field will be the order product id. Otherwise the field will return as null.
LineItemType String Type of tax on item.

CData Cloud

Pages

Lists all pages.

Table Specific Information

Select

The Cloud uses the BigCommerce API to process WHERE clause conditions built with the Id column, which supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

For example, the following query is processed server-side:

SELECT * FROM Pages WHERE Id = 1 

Columns

Name Type References Description
Id [KEY] Integer Id of the page.
ChannelId Integer

Channels.Id

Channel Id of the page.
Name String Name of the page.
Email String Email of the page.
MetaTitle String Title of the page.
Body String Body of the page.
IsVisible Boolean Indicator if page is visible.
ParentId Integer Parent id of the page.
SortOrder Integer Sort order of the page.
MetaKeywords String Keywords of the page.
Type String Type of the page.
MetaDescription String Description of the page.
IsHomepage Boolean Indicator if the page is homepage.
IsCustomersOnly Boolean Indicator if the page is customer only.
SearchKeywords String Search keywords of the page.
Url String Url of the page.

CData Cloud

PaymentMethods

Lists all payment methods.

Table Specific Information

Select

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

  • OrderId supports the = comparison.
  • CheckoutId supports the = comparison.
The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM PaymentMethods WHERE OrderId = 2;
SELECT * FROM PaymentMethods WHERE CheckoutId = 2;

The following query retrieves results for the OrderIds that have a status = Incomplete.

SELECT * FROM PaymentMethods;

Columns

Name Type References Description
Id [KEY] String Identifier for this payment method
Name String Name of this payment method
TestMode Boolean Whether this payment method is on test mode
StoredInstruments String Stored Instruments of payment method
SupportedInstruments String Supported Instruments of payment method
Type String Type to classify this payment method
OrderId String The ID of the subject order.
CheckoutId String The ID of the subject checkout; identical to the cart ID.
RowId [KEY] String A unique identifier for payment methods, generated by combining the OrderId (or CheckoutId) with the Id. When OrderId is present, the format is o_{OrderId}_{id}; otherwise, it is c_{CheckoutId}_{id}.

CData Cloud

PickupConsignments

Returns consignments and their corresponding pickups.

Table Specific Information

Select

The Cloud uses the BigCommerce API to process WHERE clause conditions built with the OrderId column, which supports the = comparison.

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

SELECT * FROM PickupConsignments WHERE OrderId = 123 

Columns

Name Type References Description
Id Integer The ID of the pickup consignment to update.
OrderId Integer

Orders.Id

Identifier for the BigCommerce Order with which this transaction is associated.
PickupMethodId Integer The ID of the pickup consignment to update.
PickupMethodDisplayName String A name for the pickup method that can be displayed to shoppers.
CollectionInstructions String A message for shoppers explaining how to collect their pickup order.
CollectionTimeDescription String A message for shoppers indicating the estimated time their pickup order will be ready for collection.
LocationId Integer ID of the location.
LocationName String The name of the pickup location.
LocationCode String The code of the pickup location.
LocationAddressLine1 String Pickup location's Street address (first line)
LocationAddressLine2 String Pickup location's Street address (second line).
LocationCity String Pickup location's city.
LocationState String Pickup location's state.
LocationPostalCode String Pickup location's postal code.
LocationCountryAlpha2 String 2-letter ISO Alpha-2 code for the country.
LocationEmail String Pickup location's email address
LocationPhone String Pickup location's phone number.
PickupsLineItemResources String URL where you can use a GET request to get the pickups line items for the order consignment.
PickupsLineItemUrl String Path where you can use a GET request to get the pickups line items for the order consignment.

CData Cloud

PriceListAssignments

Returns an array of Price List Assignments matching a particular Customer Group and Price List and Channel.

Table Specific Information

Select

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

  • Id supports the = comparison.
  • CustomerGroupId supports the = and IN comparisons.
  • PriceListId supports the = and IN comparisons.
  • ChannelId supports the = and IN comparisons.

The rest of the filter is executed client-side within the Cloud.


SELECT * FROM PriceListAssignments WHERE CustomerGroupId IN (1, 2)

SELECT * FROM PriceListAssignments WHERE PriceListId IN (1, 2)

SELECT * FROM PriceListAssignments WHERE PriceListId = 1

SELECT * FROM PriceListAssignments WHERE CustomerGroupId = 1

Columns

Name Type References Description
Id Integer The ID of the PriceList Assignment.
CustomerGroupId Integer The ID of the customer group.
PriceListId Integer The ID of the PriceList.
ChannelId Integer ID of the Channel.

CData Cloud

ProductBulkPricingRules

Returns bulk pricing rules applied to a product.

Table Specific Information

Select

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

  • Id supports the = comparison.
  • ProductId supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM ProductBulkPricingRules WHERE ProductId = 77

SELECT * FROM ProductBulkPricingRules WHERE ProductId = 77 AND Id = 1

Columns

Name Type References Description
Id [KEY] Integer The ID of the bulk discount rule.
ProductId [KEY] Integer

Products.Id

The ID of the product associated with this bulk discount rule.
Min Integer The minimum inclusive quantity of a product to satisfy this rule. Must be greater than or equal to zero.
Max Integer The maximum inclusive quantity of a product to satisfy this rule.
Type String Type of the discount.
TypeValue Decimal The value of the discount

CData Cloud

ProductCustomFields

Lists all tax classes.

Table Specific Information

Select

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

  • Id supports the = comparison.
  • ProductId supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM ProductCustomFields WHERE Id = 1 

SELECT * FROM ProductCustomFields WHERE ProductId = 2

Columns

Name Type References Description
Id [KEY] Integer Numeric ID of the custom field.
ProductId Integer Id of the product that the custom field belongs to.
Name String Name of the custom field.
Text String Value of the custom field.

CData Cloud

ProductRules

Returns rules that modify the properties of a product, such as weight, price, and product image.

Table Specific Information

Select

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

  • Id supports the = comparison.
  • ProductId supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM ProductRules WHERE Id = 1 

SELECT * FROM ProductRules WHERE ProductId = 2 

Columns

Name Type References Description
Id [KEY] Integer The ID of the rule.
ProductId [KEY] Integer

Products.Id

The ID of the product to which the rule belongs.
SortOrder Integer The order in which the rule will be displayed on the product page.
IsEnabled Boolean If set to true, the rule will be evaluated when a customer configures a products options.
IsStop Boolean If set to true and the rule evaluates to true, no more rules with a higher sort_order will be processed.
PriceAdjusterName String Price adjuster name.
PriceAdjusterValue Decimal Price adjuster value.
WeightAdjusterName String Weight adjuster name.
WeightAdjusterValue Decimal Weight adjuster value.
IsPurchasingDisabled Boolean If true this rule prohibits purchasing the product with the configured option values.
PurchasingDisabledMessage String The message to display if the rule disabled purchasing the product.
IsPurchasingHidden Boolean If true the rule hides the options on the product.
ImageFile String A path to an rule already uploaded via FTP in the import directory and the path should be relative from the import directory.

CData Cloud

ProductVariantValues

Returns data from Products table.

Columns

Name Type References Description
Id [KEY] Integer The ID of the option value.
VariantId [KEY] Integer

ProductVariants.Id

The ID of the corresponding variant.
OptionId [KEY] Integer

ProductOptions.Id

The ID of the option.
Label String The label of the option value shown on the storefront.
DisplayName String The label of the option value shown on the storefront.
ProductId String

Products.Id

The Id of the product

CData Cloud

ProductVideos

Returns Embedded videos displayed on product listings.

Table Specific Information

Select

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

  • Id supports the = comparison.
  • ProductId supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM ProductVideos WHERE Id = 1 

SELECT * FROM ProductVideos WHERE ProductId = 1 

Columns

Name Type References Description
Id [KEY] String ID of this video.
ProductId [KEY] Integer

Products.Id

ID of the associated product.
SortOrder Integer Sort order for this video.
Name String The title for the video.
Length String The duration of the video.
Description String The description for the video.
VideoId String The ID of the video on a host site.
Type String The video type (a short name of a host site)
VideoURL String The URL for the video.

CData Cloud

Redirects

Lists all redirect URLs.

Table Specific Information

Select

The Cloud uses the BigCommerce API to process WHERE clause conditions built with the Id column, which supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

For example, the following query is processed server-side:

SELECT * FROM Redirects WHERE Id = 1 

Columns

Name Type References Description
Id [KEY] Integer Numeric ID of the redirect.
SiteId Integer Site ID of the redirect.
FromPath String The path from which to redirect.
ToType String The type of redirect.
ToEntityId Integer EntityId of the redirect.
ToURL String URL of the redirect.
URL String Full destination URL for the redirect. Must be explicitly included via URL parameter.

CData Cloud

ShipmentItems

Returns data from Items within a shipment.

Table Specific Information

Select

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

  • OrderShipmentId supports the = comparison.
  • OrderId supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM ShipmentItems WHERE OrderShipmentId = 1 

SELECT * FROM ShipmentItems WHERE OrderId = 2

Columns

Name Type References Description
Id [KEY] Integer

OrderItems.Id

Id of the Product within the order.
ProductId [KEY] Integer

Products.Id

Numerical Id of the product.
OrderShipmentId [KEY] String

OrderShipments.Id

Id of the shipment.
Quantity Integer Quantity of product shipped.
OrderId Integer ID of the order associated with this shipment.

CData Cloud

ShippingConsignmentQuotes

Gets all shipping quotes persisted on an order for a shipping consignment.

Table Specific Information

Select

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

  • OrderId supports the = comparison.
  • ShippingConsignmentId supports the = comparison.

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

SELECT * FROM ShippingConsignmentQuotes WHERE OrderId = 123 and ShippingConsignmentId = 234

Columns

Name Type References Description
Id Integer ID of the shipping quote.
OrderId Integer

Orders.Id

Identifier for the BigCommerce Order with which this transaction is associated.
ShippingConsignmentId Integer

ShippingConsignments.Id

ID of the shipping consignment.
UUID String UUID of the shipping quote.
Timestamp String Time the order was created in RFC 2822 format.
ProviderCode String Code of the shipping provider.
CarrierCode String Code of the shipping carrier.
RateCode String Type of delivery. This can vary based on shipping quote.
RateId String This can vary based on shipping quote.
MethodId Integer Shipping method ID.
ProviderQuoteRateValue Integer Provider quote's rate_value.
ProviderQuoteRateUnit String Provider quote's rate_unit.
ProviderQuoteName String Provider quote's name.
ProviderQuoteTransitTime Integer Provider quote's transitTime.
ProviderQuoteSignatureConfirmationFee String Provider quote's signatureConfirmationFee.
ProviderQuoteCarrierName String Provider quote's CarrierName.
ProviderQuoteDeliveryMessage String Provider quote's deliveryMessage.
ProviderQuoteLabelSizes String Provider quote's label sizes.
ProviderQuoteDates String Provider quote's dates.
ProviderQuoteInsuredMailFee String Provider quote's insuredMailFee.
ProviderQuoteRateId String Provider quote's rateId.
ProviderQuoteDescription String Provider quote's description.
ProviderQuoteAdditionalInfo String Provider quote's additionalInfo.

CData Cloud

ShippingConsignments

Returns consignments and their corresponding shipping orders.

Table Specific Information

Select

The Cloud uses the BigCommerce API to process WHERE clause conditions built with the Id column, which supports the = comparison.

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

SELECT * FROM ShippingConsignments WHERE OrderId = 123 

Columns

Name Type References Description
Id Integer ID of the shipping consignment.
OrderId Integer

Orders.Id

Identifier for the BigCommerce Order with which this transaction is associated.
FirstName String First name.
LastName String Last name.
Company String company.
Street1 String Street address (first line).
Street2 String Street address (second line).
Country String country
State String State
Email String Recipient?s email address.
Phone String Recipient?s telephone number.
ItemsTotal Decimal The total number of items in the order.
ItemsShipped Decimal The number of items that have been shipped.
ShippingMethod String Text identifying the BigCommerce shipping module selected by the customer.
BaseCost Decimal The base shipping cost value.
CostExTax Decimal The shipping cost value excluding tax.
CostIncTax Decimal The shipping cost value including tax.
CostTax Decimal The tax amount on the shipping cost.
CostTaxClassId Integer The ID of the tax class applied to the shipping cost. Ignored if automatic tax is enabled.
BaseHandlingCost Decimal The base handling charge.
HandlingCostExTax Decimal The handling charge, excluding tax.
HandlingCostIncTax Decimal The handling charge, including tax.
HandlingCostTax Decimal The handling charge, including tax number.
HandlingCostTaxClassId Integer The ID of the tax class applied to the handling charge. Ignored if automatic tax is enabled.
ShippingZoneId Decimal The numeric ID of the shipping zone.
ShippingZoneName String The name of the shipping zone.
ShippingQuotesResources String URL where you can use a GET request to get the shipping quotes for the order consignment.
ShippingQuotesUrl String Path where you can use a GET request to get the shipping quotes for the order consignment.
ZipCode String zip code of the shipping quotes.
ShippingLineItemResources String URL where you can use a GET request to get the shipping line items for the order consignment.
ShippingLineItemUrl String Path where you can use a GET request to get the shipping line items for the order consignment.
City String Path where you can use a GET request to get the shipping line items for the order consignment.
CountryIso String Path where you can use a GET request to get the shipping line items for the order consignment.

CData Cloud

ShippingZoneLocations

Lists all shipping zone locations

Columns

Name Type References Description
Id [KEY] Integer Location’s ID.
ShippingZoneId [KEY] Integer The Id of the Shipping Zone.
Zip String Location’s ZIP/postal code.
CountryIso2 String 2-letter ISO Alpha-2 code for the country.
StateIso2 String ISO Alpha-2 code for the state.

CData Cloud

Stores

Lists all Stores.

Columns

Name Type References Description
Id [KEY] String Unique store identifier.
Domain String Primary domain name.
SecureUrl String Stores current HTTPS URL.
Status String Status of the store.
Name String Stores name.
FirstName String Primary contacts first name
LastName String Primary contacts last name
Address String Display address.
Country String Country where the store is located
CountryCode String Country code.
Phone String Display phone number.
AdminEmail String Email address of the store administrator/owner.
OrderEmail String Email address for orders and fulfillment.
FaviconUrl String URL of the favicon.
TimezoneName String A string identifying the time zone, in the format: /.
TimezoneRawOffset Integer A negative or positive number, identifying the offset from UTC/GMT, in seconds, during winter/standard time.
Language String Default language code.
Currency String Default currency code
CurrencySymbol String Default symbol for values in the currency.
DecimalSeparator String Default decimal separator for values in the currency.
ThousandsSeparator String Default thousands separator for values in the currency.
DecimalPlaces Integer Default decimal places for values in the currency.
CurrencySymbolLocation String Default position of the currency symbol (left or right).
WeightUnits String Default weight units (metric or imperial).
DimensionUnits String Default dimension units (metric or imperial).
DimensionDecimalPlaces Integer The number of decimal places.
DimensionDecimalToken String The symbol that separates the whole numbers from the decimal points.
DimensionThousandsToken String The symbol used to denote thousands.
PlanName String Name of the BigCommerce plan to which this store is subscribed.
PlanLevel String Level of the BigCommerce plan to which this store is subscribed.
Industry String Industry, or vertical category, in which the business operates.
LogoUrl String URL of the logo.
IsPriceEnteredWithTax Boolean A Boolean value that indicates whether or not prices are entered with tax.
FeaturesStencilEnabled Boolean Indicates whether a store is using a Stencil theme.
FeaturesSitewideHttpsEnabled Boolean Indicates if there is sitewide https.
FeaturesFacebookCatalogId String Id of the facebook catalog. If there is none, it returns an empty string.
FeaturesCheckoutType String What type of checkout is enabled on the store.

CData Cloud

TaxClasses

Lists all tax classes.

Table Specific Information

Select

The Cloud uses the BigCommerce API to process WHERE clause conditions built with the Id column, which supports the = comparison.

The rest of the filter is executed client-side within the Cloud.

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

SELECT * FROM TaxClasses WHERE Id = 1 

Columns

Name Type References Description
Id [KEY] String Numeric ID of the tax class.
Name String Name of the tax class.
DateCreated Date The date when tax class was created.
DateModified Date The data when tax class was modified.

CData Cloud

Transactions

Lists all transactions.

Columns

Name Type References Description
Id [KEY] Integer Unique identifier for the transaction.
OrderId String Identifier for the BigCommerce Order with which this transaction is associated.
Event String Store event that created the transaction.
Method String The payment method.
Amount Decimal Amount of money in the transaction.
Currency String Currency used for the transaction.
Gateway String The payment gateway.
Status String Status of the transaction.
GatewayTransactionId String The transaction ID returned by the payment gateway for this transaction item.
DateCreated Datetime The datetime of the transaction.
Test Boolean True if the transaction performed was a test, or if the gateway is in test mode.
FraudReview Boolean Result of gateway fraud review, if any.
ReferenceTransactionId Integer Identifier for an existing transaction upon which this transaction acts.
OfflineDisplayName String Display name for the offline payment.
CustomPaymentMethod String Custom payment from manual order.
PaymentMethodId String The payment method ID used for this transaction.
PaymentInstrumentToken String Internal BigPay token for stored card.
AVSResultCode String AVS code from the payment gateway.
AVSResultMessage String AVS message from the payment gateway.
AVSResultStreetMatch String AVS Code for street matching result.
AVSResultPostalMatch String AVS Code for postal matching result.
CVVResultCode String CVV Code from the payment Gateway.
CVVResultMessage String CVV Message from the payment Gateway.
CreditCardType String Type of credit-card.
CreditCardIIN String The IIN of a credit-card number.
CreditCardLast4 String The last 4 digits of a credit-card number.
CreditCardExpiryMonth Integer The expiry month of a credit-card.
CreditCardExpiryYear Integer The expiry year of a credit-card.
GiftCertificateCode String The gift-certificate code.
GiftCertificateOriginalBalance Decimal The balance on a gift certificate when it was purchased.
GiftCertificateStartingBalance Decimal The balance on a gift certificate at the time of this purchase.
GiftCertificateRemainingBalance Decimal The remaining balance on a gift certificate.
GiftCertificateStatus String The status of a gift certificate.
StoreCreditRemainingBalance Decimal Remaining balance of shopper's store credit.

CData Cloud

Stored Procedures

Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with BigCommerce.

Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from BigCommerce, along with an indication of whether the procedure succeeded or failed.

CData Cloud - BigCommerce Stored Procedures

Name Description
CreateBrandImage Creates a brand image.
DeleteBrandImage Deletes a brand image.

CData Cloud

CreateBrandImage

Creates a brand image.

Stored Procedure Specific Information

You can create a brand image using an image file. For example:

EXECUTE CreateBrandImage BrandId ='19128157751697', ImageFileLocation = 'D:\Desktop\Test.png'

Input

Name Type Required Description
BrandId String True The Id of the Brand.
ImageFileLocation String False The local path of the image file to be uploaded.
FileName String False File name that is uploaded. If content is not empty

Result Set Columns

Name Type Description
Status String The Status of the create operation.
ImageUrl String The URL of the Image uploaded.

CData Cloud

DeleteBrandImage

Deletes a brand image.

Stored Procedure Specific Information

You can delete the brand image of a particular brand. For example:

EXECUTE DeleteBrandImage BrandId ='19128157751697'

Input

Name Type Required Description
BrandId String False The Id of the Brand.

Result Set Columns

Name Type Description
Status String The Status of the delete operation.

CData Cloud

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 BigCommerce:

  • sys_catalogs: Lists the available databases.
  • sys_schemas: Lists the available schemas.
  • sys_tables: Lists the available tables and views.
  • sys_tablecolumns: Describes the columns of the available tables and views.
  • sys_procedures: Describes the available stored procedures.
  • sys_procedureparameters: Describes stored procedure parameters.
  • sys_keycolumns: Describes the primary and foreign keys.
  • sys_indexes: Describes the available indexes.

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 Cloud 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 Cloud

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 Cloud

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 Cloud

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.

CData Cloud

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.

CData Cloud

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 Cloud

sys_procedureparameters

Describes stored procedure parameters.

The following query returns information about all of the input parameters for the SelectEntries stored procedure:

SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'SelectEntries' 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 = 'SelectEntries' 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 BigCommerce 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 Cloud

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 Cloud

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 Cloud

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 Cloud

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 Cloud

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 Cloud

sys_sqlinfo

Describes the SELECT query processing that the Cloud 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 Cloud

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 Cloud

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 Cloud

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
AuthSchemeThe type of authentication to use when connecting to BigCommerce.

OAuth


PropertyDescription
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.
StoreIdThe store hash for this BigCommerce account.
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.

SSL


PropertyDescription
SSLServerCertSpecifies the certificate to be accepted from the server when connecting using TLS/SSL.

Logging


PropertyDescription
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.

Schema


PropertyDescription
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .

Miscellaneous


PropertyDescription
CustomFieldDiscoveryUse this property to specify whether to merge customfields by name or create unique customfields by id to the Products table.
IncludeCustomFieldsA boolean indicating if you would like to include custom fields in the column listing.
MaxRowsSpecifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
RowScanDepthThe maximum number of rows to scan to look for the columns available in a table.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
CData Cloud

Authentication

This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.


PropertyDescription
AuthSchemeThe type of authentication to use when connecting to BigCommerce.
CData Cloud

AuthScheme

The type of authentication to use when connecting to BigCommerce.

Possible Values

OAuth, PersonalAccessToken

Data Type

string

Default Value

"OAuth"

Remarks

  • OAuth: Set this when you want to autheticate using OAuth Credentials Created from BigCommerce App.
  • PersonalAccessToken: Set this when you want to autheticate using OAuthAccess Token generated from BigCommerce UI.

CData Cloud

OAuth

This section provides a complete list of the OAuth properties you can configure in the connection string for this provider.


PropertyDescription
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.
StoreIdThe store hash for this BigCommerce account.
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.
CData Cloud

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 Cloud 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 Cloud

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 Cloud

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 Cloud uses these properties to determine when the token expires so it can refresh most efficiently. If OAuthExpiresIn and OAuthTokenTimestamp are not specified, the Cloud 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 Cloud

StoreId

The store hash for this BigCommerce account.

Data Type

string

Default Value

""

Remarks

The store hash for this BigCommerce account.

CData Cloud

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 Cloud

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 Cloud

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 Cloud

Logging

This section provides a complete list of the Logging properties you can configure in the connection string for this provider.


PropertyDescription
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.
CData Cloud

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 Cloud 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 Cloud

Schema

This section provides a complete list of the Schema properties you can configure in the connection string for this provider.


PropertyDescription
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
CData Cloud

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 Cloud

Miscellaneous

This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.


PropertyDescription
CustomFieldDiscoveryUse this property to specify whether to merge customfields by name or create unique customfields by id to the Products table.
IncludeCustomFieldsA boolean indicating if you would like to include custom fields in the column listing.
MaxRowsSpecifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
RowScanDepthThe maximum number of rows to scan to look for the columns available in a table.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
CData Cloud

CustomFieldDiscovery

Use this property to specify whether to merge customfields by name or create unique customfields by id to the Products table.

Possible Values

ByID, ByName

Data Type

string

Default Value

"ByID"

Remarks

  • ByID: Set this when you want to create a unique customfields name by comparing the Ids of the custom fields. There are different customfields added for the various products as the customfields Id is unique across products.
  • ByName: Set this when you want to create customfields by name.

CData Cloud

IncludeCustomFields

A boolean indicating if you would like to include custom fields in the column listing.

Data Type

bool

Default Value

true

Remarks

Setting this to true will cause custom fields to be included in the column listing, but may cause poor performance when listing metadata.

CData Cloud

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 Cloud

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 Cloud 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 Cloud

RowScanDepth

The maximum number of rows to scan to look for the columns available in a table.

Data Type

int

Default Value

100

Remarks

The columns in a table must be determined by scanning table rows. This value determines the maximum number of rows that will be scanned.

Setting a high value may decrease performance. Setting a low value may prevent the data type from being determined properly, especially when there is null data.

CData Cloud

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 Cloud

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.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434