ShipStation Connector for CData Sync

Build 23.0.8839
  • ShipStation
    • Establishing a Connection
    • Advanced Features
      • SSL Configuration
      • Firewall and Proxy
    • Data Model
      • Views
        • CarrierPackages
        • Carriers
        • CarrierServices
        • Customers
        • CustomerTags
        • Fulfillments
        • Marketplaces
        • MarketplaceUsernames
        • OrderCustomsItems
        • OrderItems
        • Orders
        • Products
        • ProductTags
        • ShipmentItems
        • Shipments
        • StoreRefreshStatus
        • Stores
        • Tags
        • Users
        • Warehouses
    • Connection String Options
      • Authentication
        • APIKey
        • APISecret
      • SSL
        • SSLServerCert
      • Firewall
        • FirewallType
        • FirewallServer
        • FirewallPort
        • FirewallUser
        • FirewallPassword
      • Proxy
        • ProxyAutoDetect
        • ProxyServer
        • ProxyPort
        • ProxyAuthScheme
        • ProxyUser
        • ProxyPassword
        • ProxySSLType
        • ProxyExceptions
      • Logging
        • LogModules
      • Schema
        • Location
        • BrowsableSchemas
        • Tables
        • Views
      • Miscellaneous
        • MaxRows
        • Other
        • PseudoColumns
        • Timeout
        • UserDefinedViews

ShipStation Connector for CData Sync

Overview

The CData Sync App provides a straightforward way to continuously pipeline your ShipStation data to any database, data lake, or data warehouse, making it easily available for Analytics, Reporting, AI, and Machine Learning.

The ShipStation connector can be used from the CData Sync application to pull data from ShipStation and move it to any of the supported destinations.

ShipStation Version Support

The Sync App leverages the ShipStation API to enable bidirectional access to ShipStation.

ShipStation Connector for CData Sync

Establishing a Connection

Adding a Connection to ShipStation

To add a connection to ShipStation:

  1. In the application console, navigate to the Connections page.
  2. At the Add Connections panel, select the icon for the connection you want to add.
  3. If the ShipStation icon is not available, click the Add More icon to download and install the ShipStation connector from the CData site.

For required properties, see the Settings tab.

For connection properties that are not typically required, see the Advanced tab.

Use the BASIC Authentication standard to connect to ShipStation.

Connecting to ShipStation

  1. Login to your ShipStation account: ShipStation Login.
  2. Click on the settings icon in the upper right corner. A column menu will show up on the left.
  3. Click Account -> API Settings.
  4. On the API Settings page, note the API Key and API Secret.

Authenticating to ShipStation

  • APIKey: Set this to the API key from the API settings page.
  • APISecret: Set this to the Secret key from the API settings page.

ShipStation Connector for CData Sync

Advanced Features

This section details a selection of advanced features of the ShipStation Sync App.

User Defined Views

The Sync App allows you to define virtual tables, called user defined views, whose contents are decided by a pre-configured query. These views are useful when you cannot directly control queries being issued to the drivers. See User Defined Views for an overview of creating and configuring custom views.

SSL Configuration

Use SSL Configuration to adjust how Sync App handles TLS/SSL certificate negotiations. You can choose from various certificate formats; see the SSLServerCert property under "Connection String Options" for more information.

Firewall and Proxy

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

Query Processing

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

See Query Processing for more information.

Logging

See Logging for an overview of configuration settings that can be used to refine CData logging. For basic logging, you only need to set two connection properties, but there are numerous features that support more refined logging, where you can select subsets of information to be logged using the LogModules connection property.

ShipStation Connector for CData Sync

SSL Configuration

Customizing the SSL Configuration

By default, the Sync App attempts to negotiate SSL/TLS by checking the server's certificate against the system's trusted certificate store.

To specify another certificate, see the SSLServerCert property for the available formats to do so.

ShipStation Connector for CData Sync

Firewall and Proxy

Connecting Through a Firewall or Proxy

HTTP Proxies

To connect through the Windows system proxy, you do not need to set any additional connection properties. To connect to other proxies, set ProxyAutoDetect to false.

In addition, to authenticate to an HTTP proxy, set ProxyAuthScheme, ProxyUser, and ProxyPassword, in addition to ProxyServer and ProxyPort.

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.

ShipStation Connector for CData Sync

Data Model

Overview

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

Key Features

  • The Sync App models ShipStation entities as relational views, allowing you to write SQL to query ShipStation data.
  • Stored procedures allow you to execute operations to ShipStation
  • Live connectivity to these objects means any changes to your ShipStation account are immediately reflected when using the Sync App.

Views

Views describes the available views. Views are statically defined to model Customers, Products, Orders, and more.

Stored Procedures

Stored Procedures are function-like interfaces to ShipStation. Stored procedures allow you to execute operations to ShipStation, including creating labels for orders and assigning users to orders.

ShipStation Connector for CData Sync

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.

ShipStation Connector for CData Sync Views

Name Description
CarrierPackages Retrieves the list of packages for the specified carrier.
Carriers Lists all shipping providers connected to this account.
CarrierServices Lists all the available shipping services.
Customers Lists customers.
CustomerTags Lists customer tags.
Fulfillments List all the fulfillments.
Marketplaces Lists marketplaces.
MarketplaceUsernames List all the marketplace usernames of the customers.
OrderCustomsItems Customs Items of the Orders.
OrderItems Items of the orders.
Orders Lists all orders.
Products Lists all the products.
ProductTags Lists product tags.
ShipmentItems Lists shipment items.
Shipments Retrieves the list of shipments.
StoreRefreshStatus Lists status of the store refresh.
Stores Lists all stores.
Tags Lists all the tags defined for this account.
Users Lists ShipStation users.
Warehouses Lists warehouses.

ShipStation Connector for CData Sync

CarrierPackages

Retrieves the list of packages for the specified carrier.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • CarrierCode supports the following operator: =.

Note: CarrierCode is required in order to query CarrierPackages. For example, the following query is processed server side:
SELECT * FROM CarrierPackages WHERE CarrierCode = 'hermes'

Columns

Name Type References Description
CarrierCode [KEY] String

Carriers.CarrierCode

The carrier's code.
Code String Unique code for the carrier Carrier Packages.
Name String Name of the package.
Domestic Boolean True or false for domestic.
International Boolean True or false for International.

ShipStation Connector for CData Sync

Carriers

Lists all shipping providers connected to this account.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • CarrierCode supports the following operator: =.
For example, the following query is processed server side:
SELECT * FROM Carriers WHERE CarrierCode = 'hermes'

Columns

Name Type References Description
Id [KEY] Integer Shipment provider Id unique for the carriers.
CarrierCode String Unique code of the carrier.
AccountNumber String Carrier Account Number.
Balance Double Account balance of the carrier.
Name String Carrier name.
Nickname String Nick Name of the carrier.
Primary Boolean True or false for making carrier as primary.
RequiresFundedAccount Boolean True or false for requires Funded Account.

ShipStation Connector for CData Sync

CarrierServices

Lists all the available shipping services.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • CarrierCode supports the following operator: =.

Note: CarrierCode is required in order to query CarrierServices. For example, the following query is processed server side:
SELECT * FROM CarrierServices WHERE CarrierCode = 'hermes'

Columns

Name Type References Description
CarrierCode [KEY] String

Carriers.CarrierCode

Code of the carrier.
Code String Unique carrier service code.
Name String Name of the carrier service.
Domestic Boolean True or False for domestic.
International Boolean True or False for International.

ShipStation Connector for CData Sync

Customers

Lists customers.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • Id, CountryCode, StateCode, MarketplaceId and TagId support the following operator: =
  • The following columns will support server side sort: Name, ModifyDate and CreateDate can be sorted as ASC or DESC
For example, the following query is processed server side:
SELECT * FROM Customers WHERE CountryCode = 'US'

Columns

Name Type References Description
Id [KEY] Long Unique customer Id.
AddressVerified String Address verified or not for the customer.
City String City of the customer.
Company String Company of the customer.
CountryCode String Country code of the customer.
CreateDate Datetime Customer create date.
Email String Email id of the customer.
ModifyDate Datetime Date of the Modified details of customer.
Name String Name of the customer.
Phone String Contact number of the customer.
PostalCode String Postal code of the customer.
State String Customer residence date.
Street1 String Customer street1.
Street2 String Customer street2.
StateCode String Customers that reside in the specified stateCode.
MarketplaceId Long Customers that purchased items from the specified marketplaceId.
TagId String

CustomerTags.Id

Customers that have been tagged with the specified tagId.

ShipStation Connector for CData Sync

CustomerTags

Lists customer tags.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • CustomerId supports the following operator: =.

Note: CustomerId is required in order to query CustomerTags. For example, the following query is processed server side:
SELECT * FROM CustomerTags WHERE CustomerId = 1368175

Columns

Name Type References Description
CustomerId Long

Customers.Id

Id of the customer.
Id Integer

Tags.Id

TagId of the customer.
Name String Name of the tag.

ShipStation Connector for CData Sync

Fulfillments

List all the fulfillments.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • Id, CreateDate, OrderId, OrderNumber, ShipDate, TrackingNumber and RecipientName support the following operator: =.
  • CreateDate and ShipDate support the following operators: =, <=, >=.
For example, the following query is processed server side:
SELECT * FROM Fulfillments WHERE Id = 122224

Columns

Name Type References Description
Id [KEY] Integer Fulfillment Id of the order.
CarrierCode String Carrier Code for the order.
CreateDate Datetime Fulfillment create Date date.
CustomerEmail String Email Id of the customer.
DeliveryDate Date Delivery date of the product.
FulfillmentFee Integer Fulfillment date of the product.
FulfillmentProviderCod String Provider code of the fulfillment.
FulfillmentServiceCode String Service code of the fulfillment.
MarketplaceNotified Boolean Marketplace is notified or not.
NotifyErrorMessage String Error message of the notification.
OrderId Integer

Orders.Id

Order Id of the product.
OrderNumber String Order number of the product.
ShipDate Datetime Shipping date of the product.
ShipToAddressVerified String Shipping address verification status.
ShipToCity String Shipping to city.
ShipToCompany String Shipping to company.
ShipToCountry String Shipping to country.
ShipToName String Shipping to name.
ShipToPhone String Shipping to phone number.
ShipToPostalCode String Shipping to postal code.
ShipToResidential Boolean Shipping to residential.
ShipToState String Shipping to State.
ShipToStreet1 String Shipping to street1.
ShipToStreet2 String Shipping to street2.
ShipToStreet3 String Shipping to street3.
TrackingNumber String Tracking number of the product.
UserId String

Users.Id

UserId of order.
VoidDate Datetime Void date of order.
Voided Boolean Whether or not the order is voided.
VoidRequested Boolean Void.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
RecipientName String Name of the recipient.

ShipStation Connector for CData Sync

Marketplaces

Lists marketplaces.

Select

The Sync App will use the ShipStation All the filter are executed in the client side within the Sync App.

Columns

Name Type References Description
Id [KEY] Integer Id of the marketplace.
CanConfirmShipments Boolean Can confirm shipments or not.
CanRefresh Boolean Whether or not the marketplace can refresh.
Name String Name of the Marketplace.
SupportsCustomMappings Boolean Marketplace will able to support custom mapping or not.
SupportsCustomStatuses Boolean Marketplace will able to support custom statuses or not.

ShipStation Connector for CData Sync

MarketplaceUsernames

List all the marketplace usernames of the customers.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • CustomerId supports the following operator: =.

Note: CustomerId is required in order to query MarketplaceUserNames. For example, the following query is processed server side:
SELECT * FROM MarketplaceUserNames WHERE CustomerId = 1368175

Columns

Name Type References Description
Id [KEY] Long Marketplace customer user Id.
CustomerId [KEY] Long

Customers.Id

Id of the customer.
CreateDate Datetime Create date of this record.
Marketplace String Name of the marketplace.
MarketplaceId Integer Id of the marketplace.
ModifyDate Datetime Modify date of this record.
Username String Username of the customers.

ShipStation Connector for CData Sync

OrderCustomsItems

Customs Items of the Orders.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • OrderId supports the following operator: =.

Note: OrderId is required in order to query OrderCustomsItems. For example, the following query is processed server side:
SELECT * FROM OrderCustomsItems WHERE OrderId = 2810333

Columns

Name Type References Description
CustomsItemId [KEY] Long Id of the customs Item.
CountryOfOrigin String Origin country of the customs Item.
Description String Description of the customs Item.
HarmonizedTariffCode String Harmonized tariff code of the customers Item.
Quantity Integer Quantity of the customs Item.
Value Double Value of the customs Item.
OrderId [KEY] Long Id of the Order.

ShipStation Connector for CData Sync

OrderItems

Items of the orders.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • OrderId supports the following operator: =.

Note: OrderId is required in order to query OrderItems. For example, the following query is processed server side:
SELECT * FROM OrderItems WHERE OrderId = 2810333

Columns

Name Type References Description
OrderItemId [KEY] Integer Id of the Ordered Item.
ImageUrl String URL of the ordered Item Image.
LineItemKey String Key of the line Item.
Name String Name of the ordered Item.
Options String List of options associated with this order item.
Quantity Integer Quantity of the ordered Item.
ShippingAmount Double Shipping amount for the ordered Item.
SKU String SKU of the ordered Item.
TaxAmount Double Tax amount for the ordered Item.
UnitPrice Double Unite price of the Ordered Item.
WarehouseLocation String Ordered Item warehouse location.
ProductId Integer

Products.Id

Product Id of the ordered Id.
FulfillmentSKU String Fulfillment SKU for the ordered Item.
Adjustment Boolean Adjustment is there are not for ordered Item.
Upc String UPC of the ordered Item.
CreateDate Datetime Create date of this record.
ModifyDate Datetime Modify date of this record.
WeightUnits String Weight unit of the ordered Item.
WeightValue Double Weight value of the ordered Item.
WeightWtUnits Integer A numeric value that is equivalent to the units field.
OrderId [KEY] Long

Orders.Id

Id of the Order.

ShipStation Connector for CData Sync

Orders

Lists all orders.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • Id ,OrderNumber ,OrderStatus ,CustomerName ,ItemKeyword and TagId support the following operator: =.
  • CreateDate ,ModifyDate ,OrderDate and PaymentDate support the following operators: =,<=,>=.
  • The following columns will support server side sort: Name, OrderDate ,ModifyDate CreateDate and can be sorted as ASC or DESC
For example, the following query is processed server side:
SELECT * FROM Orders WHERE Id = 2810333

Columns

Name Type References Description
Id [KEY] Integer The system generated identifier for the order.
AdvancedOptionsBillToAccount String Account number of billToParty.
AdvancedOptionsBillToCountryCode String Country Code of billToParty.
AdvancedOptionsBillToParty String Identifies which party to bill.
AdvancedOptionsBillToPostalCode String Postal code of billToParty.
AdvancedOptionsContainsAlcohol Boolean Specifies whether the order contains alcohol.
AdvancedOptionsCustomField1 String Field that allows for custom data to be associated with an order.
AdvancedOptionsCustomField2 String Field that allows for custom data to be associated with an order.
AdvancedOptionsCustomField3 String Field that allows for custom data to be associated with an order.
AdvancedOptionsMergedIds String Array of orderIds. Each orderId identifies an order that was merged with the associated order.
AdvancedOptionsMergedOrSplit Boolean Returns whether or not an order has been merged or split with another order.
AdvancedOptionsNonMachinable Boolean Specifies whether the order is non-machinable.
AdvancedOptionsParentId Integer If an order has been split, it will return the Parent ID of the order with which it has been split.
AdvancedOptionsSaturdayDelivery Boolean Specifies whether the order is to be delivered on a Saturday.
AdvancedOptionsSource String Identifies the original source/marketplace of the order.
AdvancedOptionsStoreId Integer ID of store that is associated with the order.
AdvancedOptionsWarehouseId Integer Specifies the warehouse where to the order is to ship from.
AmountPaid Double The total amount paid for the Order.
BillToAddressVerified String Billing to address Verified Status.
BillToCity String Billing to city.
BillToCompany String Billing to company.
BillToCountry String Billing to country.
BillToName String Billing to Name.
BillToPhone String Billing to phone.
BillToPostalCode String Billing to postal code.
BillToResidential Boolean Billing to residential.
BillToState String Billing to state.
BillToStreet1 String Billing to street1.
BillToStreet2 String Billing to street2.
BillToStreet3 String Billing to shipToStreet3.
CarrierCode String The code for the carrier that is to be used(or was used) when this order is shipped(was shipped).
Confirmation String The type of delivery confirmation that is to be used(or was used) when this order is shipped(was shipped).
CreateDate Datetime The timestamp the order was created in ShipStation's database. Read-Only.
CustomerEmail String The customer's email address.
CustomerId Integer

Customers.Id

Unique identifier for the customer. Generated by ShipStation the first time the customer record is created.
CustomerNotes String Notes left by the customer when placing the order.
CustomerUsername String Identifier for the customer in the originating system. This is typically a username or email address.
DimensionsHeight Double Height of the order.
DimensionsLength Double Length of the order.
DimensionsUnits String Units of the order.
DimensionsWidth Double Width of the order.
ExternallyFulfilled Boolean States whether the order has is current marked as externally fulfilled by the marketplace.
ExternallyFulfilledBy String If externally Fulfilled is true then this string will return how the order is being fulfilled by the marketplace.
Gift Boolean Specifies whether or not this Order is a gift.
GiftMessage String Gift message left by the customer when placing the order.
HoldUntilDate String If placed on hold, this date is the expiration date for this order's hold status.
InsuranceOptionsInsuredValue Double The shipping insurance information associated with this order.(insured Value).
InsuranceOptionsInsureShipment Boolean The shipping insurance information associated with this order.(insured Shipment).
InsuranceOptionsProvider String The shipping insurance information associated with this order.(insurance provider).
InternalNotes String Private notes that are only visible to the seller.
InternationalOptionsContents String Customs information that can be used to generate customs documents for international orders(contents).
InternationalOptionsNonDelivery String Customs information that can be used to generate customs documents for international orders(non Delivery).
LabelMessages String Label messages of the order.
ModifyDate Datetime The timestamp the order was modified in ShipStation. modify Date will equal create Date until a modification is made.
OrderDate Datetime The date the order was placed.
OrderKey String A user-provided key that should be unique to each order. Can only be initalized during order creation. If the orderkey isn't specified during creation, a unique value will be generated and assigned.
OrderNumber String A user-defined order number used to identify an order.
OrderStatus String The order's status. Possible values: 'awaiting_payment', 'awaiting_shipment', 'shipped', 'on_hold', 'cancelled'
OrderTotal Double The order total.
PackageCode String The code for the package type that is to be used(or was used) when this order is shipped(was shipped).
PaymentDate Datetime The date the order was paid for.
PaymentMethod String Method of payment used by the customer.
RequestedShippingService String Identifies the shipping service selected by the customer when placing this order. This value is given to ShipStation by the marketplace/cart.
ServiceCode String The code for the shipping service that is to be used(or was used) when this order is shipped(was shipped).
ShipByDate Date The date the order is to be shipped before or on.
ShipDate Date The date the order was shipped.
ShippingAmount Double Shipping amount paid by the customer, if any.
ShipToAddressVerified String The recipients shipping address Verified or not.
ShipToCity String The recipients shipping city.
ShipToCompany String The recipients shipping company.
ShipToCountry String The recipients shipping country.
ShipToName String The recipients shipping name.
ShipToPhone String The recipients shipping phone.
ShipToPostalCode String The recipients shipping postal code.
ShipToResidential Boolean The recipients shipping residential.
ShipToState String The recipients shipping state.
ShipToStreet1 String The recipients shipping street1.
ShipToStreet2 String The recipients shipping street2.
ShipToStreet3 String The recipients shipping street3.
TagIds String Array of tagIds associated with this order.
TaxAmount Double The total tax amount for the Order.
UserId String User assigned to Order/Shipment in the GUID. Read-Only.
WeightUnits String Weight of the order units.
WeightValue Double Weight of the order value.
WeightWtUnits Integer A numeric value that is equivalent to the units field.
CustomerName String Name of the customer.
ItemKeyword String Returns orders that contain items that match the specified keyword. Fields searched are Sku, Description, and Options.

ShipStation Connector for CData Sync

Products

Lists all the products.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • Id, Name, ProductCategoryId ,SKU, ShowInactive, ProductTypeId and TagId support the following operator: =.
  • CreateDate supports the following operators: =,<=,>=.
  • The following columns will support server side sort: SKU, ModifyDate, CreateDate and can be sorted as ASC or DESC
For example, the following query is processed server side:
SELECT * FROM Products WHERE Id = 1381428

Columns

Name Type References Description
Id [KEY] Integer Id of product.
Active Boolean Product active or not status.
Aliases String Aliases for the product.
CreateDate Datetime Create date of this record.
CustomsCountryCode String Customs country code of the product.
CustomsDescription String Customs description of the product.
CustomsTariffNo String Customs traffic number of the product.
CustomsValue Double Customs value of the product.
DefaultCarrierCode String Default carrier code for the product.
DefaultConfirmation String Default confirmation of the product.
DefaultCost Double Default cost for the product.
DefaultIntlCarrierCode String Default international carrier code of the product.
DefaultIntlConfirmation String Default international confirmation code of the product.
DefaultIntlPackageCode String Default international package code.
DefaultIntlServiceCode String Default international service code.
DefaultPackageCode String The default domestic packageType for this product.
DefaultServiceCode String The default domestic shipping service for this product.
FulfillmentSKU String Stock keeping Unit for the fulfillment of that product by a 3rd party.
Height Double The height of the product. Unit of measurement is UI dependent. No conversions will be made from one UOM to another. See our knowledge base here for more details.
InternalNotes String Seller's private notes for the product.
Length Double The length of the product. Unit of measurement is UI dependent. No conversions will be made from one UOM to another. See our knowledge base here for more details.
ModifyDate Datetime The timestamp the product record was modified in ShipStation. Read-Only.
Name String Name or description of the product.
NoCustoms Boolean If true, this product will not be included on international customs forms.
Price Double The unit price of the product.
ProductCategoryId Long The system generated identifier for the product category.
ProductCategoryName String Name or description for the product category.
ProductTypeCustomsCountryCode String Customs Country Code of the Product Type.
ProductTypeCustomsDescription String Customs Description of the Product Type.
ProductTypeCustomsTariffNo String Customs Tariff No of the Product Type.
ProductTypeCustomsValue Double Customs Value of the Product Type.
ProductTypeHeight Double Height of the Product Type.
ProductTypeDefaultCarrierCode String Default Carrier Code of the Product Type.
ProductTypeDefaultIntlCarrierCode String Default International Carrier Code of the Product Type.
ProductTypeDefaultIntlPackageCode String Default International Package Code of the Product Type.
ProductTypeDefaultIntlServiceCode String Default International Service Code of the Product Type.
ProductTypeDefaultPackageCode String Default Package Code of the Product Type.
ProductTypeDefaultServiceCode String Default Service Code of the Product Type.
ProductTypeId Long Specifies the product type Id.
ProductTypeLength Double Length of the Product Type.
ProductTypeName String Name of the Product Type.
ProductTypeNoCustoms Boolean If true, this product type will not nbe included on international customs forum.
ProductTypeWeightOz Double Weight of the Product Type.
ProductTypeWidth Double Width of the Product Type.
SKU String Stock keeping Unit. A user-defined value for a product to help identify the product. It is suggested that each product should contain a unique SKU.
WarehouseLocation String The warehouse location associated with the product record.
WeightOz Double The weight of a single item in ounces.
Width Double The width of the product. Unit of measurement is UI dependent. No conversions will be made from one UOM to another. See our knowledge base here for more details.
ShowInactive Boolean Whether the list should include inactive products.
TagId Integer

Tags.Id

Tag Id of the product

ShipStation Connector for CData Sync

ProductTags

Lists product tags.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • ProductId supports the following operator: =.

Note: ProductId is required in order to query ProductTags. For example, the following query is processed server side:
SELECT * FROM ProductTags WHERE ProductId = 1381428

Columns

Name Type References Description
Id Integer

Tags.Id

The system generated identifier for the product tag.
Name String Name or description for the product tag.
ProductId Long

Products.Id

Id of the product.

ShipStation Connector for CData Sync

ShipmentItems

Lists shipment items.

Select

The Sync App will use the ShipStation All the filter is executed client side within the Sync App.

Columns

Name Type References Description
Id [KEY] Integer Id of the ordered Item.
ShipmentId Long Id of the Shipment.
FulfillmentSKU String The fulfillment SKU associated with this OrderItem if the fulfillment provider requires an identifier other then the SKU.
ImageUrl String The public URL to the product image.
LineItemKey String An identifier for the OrderItem in the originating system.
Name String The name of the product associated with this line item. Cannot be null.
OptionsName String Options of the Item.
OptionsValue String Options of the Item.
ProductId Integer Id of the product.
Quantity Integer The quantity of product ordered.
SKU String The SKU (stock keeping unit) identifier for the product associated with this line item.
UnitPrice Double The sell price of a single item specified by the order source.
WarehouseLocation String The location of the product within the seller's warehouse (e.g. Aisle 3, Shelf A, Bin 5).
WeightValue Double The weight value of a single item.
WeightUnits String The units of weight.
WeightWtUnits Integer A numeric value that is equivalent to the units field.

ShipStation Connector for CData Sync

Shipments

Retrieves the list of shipments.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • CarrierCode, OrderId, OrderNumber, ServiceCode, TrackingNumber, RecipientName, RecipientCountryCode and StoreId support the following operator: =.
  • CreateDate, ShipDate and VoidDate support the following operators: =,<=,>=.
  • The following columns will support server side sort: CreateDate and ShipDate can be sorted as ASC or DESC
For example, the following query is processed server side:
SELECT * FROM Shipments WHERE CarrierCode = 'hermes'

Columns

Name Type References Description
Id [KEY] Integer Id of the Shipment.
AdvancedOptionsBillToAccount String Bill to Account of the shipment.
AdvancedOptionsBillToCountryCode String Bill to country code of the shipment.
AdvancedOptionsBillToMyOtherAccount String Bill to other account of the shipment.
AdvancedOptionsBillToParty String Bill to party of the shipment.
AdvancedOptionsBillToPostalCode String Bill to postal code of the shipment.
AdvancedOptionsContainsAlcohol Boolean Whether the shipment contains alcohol or not.
AdvancedOptionsCustomField1 String Custom field for shipment description.
AdvancedOptionsCustomField2 String Custom field for shipment description.
AdvancedOptionsCustomField3 String Custom field for shipment description.
AdvancedOptionsMergedIds String Merge id of the shipment.
AdvancedOptionsMergedOrSplit Boolean Merge or split the shipment.
AdvancedOptionsNonMachinable Boolean None machinable or not.
AdvancedOptionsParentId Integer Parent Id of the shipment.
AdvancedOptionsSaturdayDelivery Boolean Available for Saturday delivery or not.
AdvancedOptionsSource String Source of the shipment.
AdvancedOptionsStoreId Integer Store Id of the shipment.
AdvancedOptionsWarehouseId Integer Warehouse Id of the shipment.
BatchNumber String Batch Number of the shipment.
CarrierCode String Carrier code of the shipment.
Confirmation String Confirmation of the shipment.
CreateDate Datetime Create date of this record.
DimensionsHeight Double Height of the shipment.
DimensionsLength Double Length of the shipment.
DimensionsUnits String Units of the shipment.
DimensionsWidth Double Width of the shipment.
FormData String Form data for the shipment.
InsuranceCost Double Insurance cost of the shipment.
InsuranceOptionsInsuredValue Double Insured value of the shipment.
InsuranceOptionsInsureShipment Boolean Shipment is insured or not.
InsuranceOptionsProvider String Insurance provider of the shipment.
IsReturnLabel Boolean Shipment is return label is there or not.
LabelData String Label data of the shipment.
MarketplaceNotified Boolean Marketplace is notified or not.
NotifyErrorMessage String Error message of the notification.
OrderId Integer Order Id of the shipment.
OrderKey String Order Item key of the shipment.
OrderNumber String Order Number of the shipment.
PackageCode String Package code of the shipment.
ServiceCode String Service code of the shipment.
ShipDate Date Ship date of the shipment.
ShipmentCost Double Shipment cost.
ShipToCity String Ship to city.
ShipToCompany String Ship to company.
ShipToCountry String Ship to country.
ShipToName String Ship to Name.
ShipToPhone String Ship to phone.
ShipToPostalCode String Ship to postal code.
ShipToResidential Boolean Ship to residential.
ShipToState String Ship to state.
ShipToStreet1 String Ship to street.
ShipToStreet2 String Ship to street.
ShipToStreet3 String Ship to street.
TrackingNumber String Shipment tracking Number.
UserId String Shipment user Id.
VoidDate Datetime Void date of the shipment.
Voided Boolean Voided date of the shipment.
WarehouseId Integer Warehouse Id of the shipment.
WeightUnits String Weight units of the shipment.
WeightValue Double Weight value of the shipment.
WeightWtUnits Integer A numeric value that is equivalent to the units field.
RecipientCountryCode String Country code of the shipment recipient.
StoreId Integer Store Id of the shipment.

ShipStation Connector for CData Sync

StoreRefreshStatus

Lists status of the store refresh.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • StoreId supports the following operator: =.

Note: StoreId is required in order to execute StoreRefreshStatus. For example, the following query is processed server side:
SELECT * FROM StoreRefreshStatus WHERE StoreId = 5603

Columns

Name Type References Description
StoreId [KEY] Integer

Stores.Id

Id of the store.
Id Integer Store refresh status id.
LastRefreshAttempt Date Last date of the refresh attempt for store.
RefreshDate Date Refresh date of the store.
RefreshStatus String Refresh status of the store.

ShipStation Connector for CData Sync

Stores

Lists all stores.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • Id, MarketplaceId and ShowInactive support the following operator: =.
For example, the following query is processed server side:
SELECT * FROM Stores WHERE Id = 5603

Columns

Name Type References Description
Id [KEY] Integer Id of the store.
AccountName String Account name of the store.
Active Boolean Whether store is active or not.
AutoRefresh Boolean Whether refresh is available or not.
CompanyName String Company name of the store.
CreateDate Datetime Create date of this record.
Email String Email id of the store.
IntegrationUrl String Integration URL of the store.
LastRefreshAttempt Datetime Last refresh attempt of the store.
MarketplaceId Integer Marketplace Id of the store.
MarketplaceName String Marketplace Name of the store.
ModifyDate Datetime Modify date of the store.
Phone String Phone number of the store.
PublicEmail String Public email of the store.
RefreshDate Datetime Refresh date of the store.
StatusMappings String
StoreName String Name of the store.
Website String Website of the store.
ShowInactive Boolean Specifies whether inactive stores will be shown.

ShipStation Connector for CData Sync

Tags

Lists all the tags defined for this account.

Select

The Sync App will use the ShipStation All the filter are executed client side within the Sync App.

Columns

Name Type References Description
Id [KEY] Integer Globally unique ID for the tag.
Color String Color associated with this tag.
Name String Name of the tag.

ShipStation Connector for CData Sync

Users

Lists ShipStation users.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • ShowInactive supports the following operator: =.
For example, the following query is processed server side:
SELECT * FROM Users WHERE ShowInactive = 'true'

Columns

Name Type References Description
Id [KEY] String Id of the User.
Name String Name of the User.
UserName String User name of the User.
ShowInactive Boolean Specifies whether inactive stores will be shown.

ShipStation Connector for CData Sync

Warehouses

Lists warehouses.

Select

The Sync App will use the ShipStation API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.

  • Id supports the following operator: =.
For example, the following query is processed server side:
SELECT * FROM Warehouses WHERE Id = 8688

Columns

Name Type References Description
Id [KEY] Integer Id of the warehouses.
WarehouseName String Name of the warehouse.
CreateDate Datetime Create date of the record.
ExtInventoryIdentity String Inventory Identity.
IsDefault Boolean Whether it is default warehouse or not.
OriginAddressAddressVerified String Origin address is verified or not.
OriginAddressCity String Origin city of the warehouse.
OriginAddressCompany String Origin country of the warehouse.
OriginAddressCountry String Origin name of the warehouse.
OriginAddressName String Origin phone of the warehouse.
OriginAddressPhone String Origin phone of the warehouse.
OriginAddressPostalCode String Origin postal code of the warehouse.
OriginAddressResidential Boolean Origin residential of the warehouse.
OriginAddressState String Origin state of the warehouse.
OriginAddressStreet1 String Origin street of the warehouse.
OriginAddressStreet2 String Origin street of the warehouse.
OriginAddressStreet3 String Origin street of the warehouse.
RegisterFedexMeter String Register Fedex Meter.
ReturnAddressAddressVerified String Return address is verified or not.
ReturnAddressCity String Return city of the warehouse.
ReturnAddressCompany String Return company of the warehouse.
ReturnAddressCountry String Return country of the warehouse.
ReturnAddressName String Return Name of the warehouse.
ReturnAddressPhone String Return phone of the warehouse.
ReturnAddressPostalCode String Return postal code of the warehouse.
ReturnAddressResidential String Return residential of the warehouse.
ReturnAddressState String Return state of the warehouse.
ReturnAddressStreet1 String Return street of the warehouse.
ReturnAddressStreet2 String Return street of the warehouse.
ReturnAddressStreet3 String Return street of the warehouse.
SellerIntegrationId String Seller Integration Id.

ShipStation Connector for CData Sync

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
APIKeyThe API key used for accessing your ShipStation account.
APISecretThe API secret used for accessing your ShipStation account.

SSL


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

Firewall


PropertyDescription
FirewallTypeThe protocol used by a proxy-based firewall.
FirewallServerThe name or IP address of a proxy-based firewall.
FirewallPortThe TCP port for a proxy-based firewall.
FirewallUserThe user name to use to authenticate with a proxy-based firewall.
FirewallPasswordA password used to authenticate to a proxy-based firewall.

Proxy


PropertyDescription
ProxyAutoDetectThis indicates whether to use the system proxy settings or not.
ProxyServerThe hostname or IP address of a proxy to route HTTP traffic through.
ProxyPortThe TCP port the ProxyServer proxy is running on.
ProxyAuthSchemeThe authentication type to use to authenticate to the ProxyServer proxy.
ProxyUserA user name to be used to authenticate to the ProxyServer proxy.
ProxyPasswordA password to be used to authenticate to the ProxyServer proxy.
ProxySSLTypeThe SSL type to use when connecting to the ProxyServer proxy.
ProxyExceptionsA semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer .

Logging


PropertyDescription
LogModulesCore modules to be included in the log file.

Schema


PropertyDescription
LocationA path to the directory that contains the schema files defining tables, views, and stored procedures.
BrowsableSchemasThis property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.
TablesThis property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC.
ViewsRestricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.

Miscellaneous


PropertyDescription
MaxRowsLimits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.
OtherThese hidden properties are used only in specific use cases.
PseudoColumnsThis property indicates whether or not to include pseudo columns as columns to the table.
TimeoutThe value in seconds until the timeout error is thrown, canceling the operation.
UserDefinedViewsA filepath pointing to the JSON configuration file containing your custom views.
ShipStation Connector for CData Sync

Authentication

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


PropertyDescription
APIKeyThe API key used for accessing your ShipStation account.
APISecretThe API secret used for accessing your ShipStation account.
ShipStation Connector for CData Sync

APIKey

The API key used for accessing your ShipStation account.

Remarks

The API key can be found by navigating to Account -> API Settings -> API Keys.

ShipStation Connector for CData Sync

APISecret

The API secret used for accessing your ShipStation account.

Remarks

The API secret can be found by navigating to Account -> API Settings -> API Secret.

ShipStation Connector for CData Sync

SSL

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


PropertyDescription
SSLServerCertThe certificate to be accepted from the server when connecting using TLS/SSL.
ShipStation Connector for CData Sync

SSLServerCert

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

Remarks

If using a TLS/SSL connection, this property can be used to specify the TLS/SSL certificate to be accepted from the server. Any other certificate that is not trusted by the machine is 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

If not specified, any certificate trusted by the machine is accepted.

Use '*' to signify to accept all certificates. Note that this is not recommended due to security concerns.

ShipStation Connector for CData Sync

Firewall

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


PropertyDescription
FirewallTypeThe protocol used by a proxy-based firewall.
FirewallServerThe name or IP address of a proxy-based firewall.
FirewallPortThe TCP port for a proxy-based firewall.
FirewallUserThe user name to use to authenticate with a proxy-based firewall.
FirewallPasswordA password used to authenticate to a proxy-based firewall.
ShipStation Connector for CData Sync

FirewallType

The protocol used by a proxy-based firewall.

Remarks

This property specifies the protocol that the Sync App will use to tunnel traffic through the FirewallServer proxy. Note that by default, the Sync App connects to the system proxy; to disable this behavior and connect to one of the following proxy types, set ProxyAutoDetect to false.

Type Default Port Description
TUNNEL 80 When this is set, the Sync App opens a connection to ShipStation and traffic flows back and forth through the proxy.
SOCKS4 1080 When this is set, the Sync App sends data through the SOCKS 4 proxy specified by FirewallServer and FirewallPort and passes the FirewallUser value to the proxy, which determines if the connection request should be granted.
SOCKS5 1080 When this is set, the Sync App sends data through the SOCKS 5 proxy specified by FirewallServer and FirewallPort. If your proxy requires authentication, set FirewallUser and FirewallPassword to credentials the proxy recognizes.

To connect to HTTP proxies, use ProxyServer and ProxyPort. To authenticate to HTTP proxies, use ProxyAuthScheme, ProxyUser, and ProxyPassword.

ShipStation Connector for CData Sync

FirewallServer

The name or IP address of a proxy-based firewall.

Remarks

This property specifies the IP address, DNS name, or host name of a proxy allowing traversal of a firewall. The protocol is specified by FirewallType: Use FirewallServer with this property to connect through SOCKS or do tunneling. Use ProxyServer to connect to an HTTP proxy.

Note that the Sync App uses the system proxy by default. To use a different proxy, set ProxyAutoDetect to false.

ShipStation Connector for CData Sync

FirewallPort

The TCP port for a proxy-based firewall.

Remarks

This specifies the TCP port for a proxy allowing traversal of a firewall. Use FirewallServer to specify the name or IP address. Specify the protocol with FirewallType.

ShipStation Connector for CData Sync

FirewallUser

The user name to use to authenticate with a proxy-based firewall.

Remarks

The FirewallUser and FirewallPassword properties are used to authenticate against the proxy specified in FirewallServer and FirewallPort, following the authentication method specified in FirewallType.

ShipStation Connector for CData Sync

FirewallPassword

A password used to authenticate to a proxy-based firewall.

Remarks

This property is passed to the proxy specified by FirewallServer and FirewallPort, following the authentication method specified by FirewallType.

ShipStation Connector for CData Sync

Proxy

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


PropertyDescription
ProxyAutoDetectThis indicates whether to use the system proxy settings or not.
ProxyServerThe hostname or IP address of a proxy to route HTTP traffic through.
ProxyPortThe TCP port the ProxyServer proxy is running on.
ProxyAuthSchemeThe authentication type to use to authenticate to the ProxyServer proxy.
ProxyUserA user name to be used to authenticate to the ProxyServer proxy.
ProxyPasswordA password to be used to authenticate to the ProxyServer proxy.
ProxySSLTypeThe SSL type to use when connecting to the ProxyServer proxy.
ProxyExceptionsA semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer .
ShipStation Connector for CData Sync

ProxyAutoDetect

This indicates whether to use the system proxy settings or not.

Remarks

This takes precedence over other proxy settings, so you'll need to set ProxyAutoDetect to FALSE in order use custom proxy settings.

To connect to an HTTP proxy, see ProxyServer. For other proxies, such as SOCKS or tunneling, see FirewallType.

ShipStation Connector for CData Sync

ProxyServer

The hostname or IP address of a proxy to route HTTP traffic through.

Remarks

The hostname or IP address of a proxy to route HTTP traffic through. The Sync App can use the HTTP, Windows (NTLM), or Kerberos authentication types to authenticate to an HTTP proxy.

If you need to connect through a SOCKS proxy or tunnel the connection, see FirewallType.

By default, the Sync App uses the system proxy. If you need to use another proxy, set ProxyAutoDetect to false.

ShipStation Connector for CData Sync

ProxyPort

The TCP port the ProxyServer proxy is running on.

Remarks

The port the HTTP proxy is running on that you want to redirect HTTP traffic through. Specify the HTTP proxy in ProxyServer. For other proxy types, see FirewallType.

ShipStation Connector for CData Sync

ProxyAuthScheme

The authentication type to use to authenticate to the ProxyServer proxy.

Remarks

This value specifies the authentication type to use to authenticate to the HTTP proxy specified by ProxyServer and ProxyPort.

Note that the Sync App will use the system proxy settings by default, without further configuration needed; if you want to connect to another proxy, you will need to set ProxyAutoDetect to false, in addition to ProxyServer and ProxyPort. To authenticate, set ProxyAuthScheme and set ProxyUser and ProxyPassword, if needed.

The authentication type can be one of the following:

  • BASIC: The Sync App performs HTTP BASIC authentication.
  • DIGEST: The Sync App performs HTTP DIGEST authentication.
  • NEGOTIATE: The Sync App retrieves an NTLM or Kerberos token based on the applicable protocol for authentication.
  • PROPRIETARY: The Sync App does not generate an NTLM or Kerberos token. You must supply this token in the Authorization header of the HTTP request.

If you need to use another authentication type, such as SOCKS 5 authentication, see FirewallType.

ShipStation Connector for CData Sync

ProxyUser

A user name to be used to authenticate to the ProxyServer proxy.

Remarks

The ProxyUser and ProxyPassword options are used to connect and authenticate against the HTTP proxy specified in ProxyServer.

You can select one of the available authentication types in ProxyAuthScheme. If you are using HTTP authentication, set this to the user name of a user recognized by the HTTP proxy. If you are using Windows or Kerberos authentication, set this property to a user name in one of the following formats:

user@domain
domain\user

ShipStation Connector for CData Sync

ProxyPassword

A password to be used to authenticate to the ProxyServer proxy.

Remarks

This property is used to authenticate to an HTTP proxy server that supports NTLM (Windows), Kerberos, or HTTP authentication. To specify the HTTP proxy, you can set ProxyServer and ProxyPort. To specify the authentication type, set ProxyAuthScheme.

If you are using HTTP authentication, additionally set ProxyUser and ProxyPassword to HTTP proxy.

If you are using NTLM authentication, set ProxyUser and ProxyPassword to your Windows password. You may also need these to complete Kerberos authentication.

For SOCKS 5 authentication or tunneling, see FirewallType.

By default, the Sync App uses the system proxy. If you want to connect to another proxy, set ProxyAutoDetect to false.

ShipStation Connector for CData Sync

ProxySSLType

The SSL type to use when connecting to the ProxyServer proxy.

Remarks

This property determines when to use SSL for the connection to an HTTP proxy specified by ProxyServer. This value can be AUTO, ALWAYS, NEVER, or TUNNEL. The applicable values are the following:

AUTODefault setting. If the URL is an HTTPS URL, the Sync App will use the TUNNEL option. If the URL is an HTTP URL, the component will use the NEVER option.
ALWAYSThe connection is always SSL enabled.
NEVERThe connection is not SSL enabled.
TUNNELThe connection is through a tunneling proxy. The proxy server opens a connection to the remote host and traffic flows back and forth through the proxy.

ShipStation Connector for CData Sync

ProxyExceptions

A semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer .

Remarks

The ProxyServer is used for all addresses, except for addresses defined in this property. Use semicolons to separate entries.

Note that the Sync App uses the system proxy settings by default, without further configuration needed; if you want to explicitly configure proxy exceptions for this connection, you need to set ProxyAutoDetect = false, and configure ProxyServer and ProxyPort. To authenticate, set ProxyAuthScheme and set ProxyUser and ProxyPassword, if needed.

ShipStation Connector for CData Sync

Logging

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


PropertyDescription
LogModulesCore modules to be included in the log file.
ShipStation Connector for CData Sync

LogModules

Core modules to be included in the log file.

Remarks

Only the modules specified (separated by ';') will be included in the log file. By default all modules are included.

See the Logging page for an overview.

ShipStation Connector for CData Sync

Schema

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


PropertyDescription
LocationA path to the directory that contains the schema files defining tables, views, and stored procedures.
BrowsableSchemasThis property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.
TablesThis property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC.
ViewsRestricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.
ShipStation Connector for CData Sync

Location

A path to the directory that contains the schema files defining tables, views, and stored procedures.

Remarks

The path to a directory which contains the schema files for the Sync App (.rsd files for tables and views, .rsb files for stored procedures). The folder location can be a relative path from the location of the executable. The Location property is only needed if you want to customize definitions (for example, change a column name, ignore a column, and so on) or extend the data model with new tables, views, or stored procedures.

If left unspecified, the default location is "%APPDATA%\\CData\\ShipStation Data Provider\\Schema" with %APPDATA% being set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Linux ~/.config

ShipStation Connector for CData Sync

BrowsableSchemas

This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.

Remarks

Listing the schemas from databases can be expensive. Providing a list of schemas in the connection string improves the performance.

ShipStation Connector for CData Sync

Tables

This property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC.

Remarks

Listing the tables from some databases can be expensive. Providing a list of tables in the connection string improves the performance of the Sync App.

This property can also be used as an alternative to automatically listing views if you already know which ones you want to work with and there would otherwise be too many to work with.

Specify the tables you want in a comma-separated list. Each table should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space`.

Note that when connecting to a data source with multiple schemas or catalogs, you will need to provide the fully qualified name of the table in this property, as in the last example here, to avoid ambiguity between tables that exist in multiple catalogs or schemas.

ShipStation Connector for CData Sync

Views

Restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.

Remarks

Listing the views from some databases can be expensive. Providing a list of views in the connection string improves the performance of the Sync App.

This property can also be used as an alternative to automatically listing views if you already know which ones you want to work with and there would otherwise be too many to work with.

Specify the views you want in a comma-separated list. Each view should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space`.

Note that when connecting to a data source with multiple schemas or catalogs, you will need to provide the fully qualified name of the table in this property, as in the last example here, to avoid ambiguity between tables that exist in multiple catalogs or schemas.

ShipStation Connector for CData Sync

Miscellaneous

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


PropertyDescription
MaxRowsLimits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.
OtherThese hidden properties are used only in specific use cases.
PseudoColumnsThis property indicates whether or not to include pseudo columns as columns to the table.
TimeoutThe value in seconds until the timeout error is thrown, canceling the operation.
UserDefinedViewsA filepath pointing to the JSON configuration file containing your custom views.
ShipStation Connector for CData Sync

MaxRows

Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.

Remarks

Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.

ShipStation Connector for CData Sync

Other

These hidden properties are used only in specific use cases.

Remarks

The properties listed below are available for specific use cases. Normal driver use cases and functionality should not require these properties.

Specify multiple properties in a semicolon-separated list.

Integration and Formatting

DefaultColumnSizeSets the default length of string fields when the data source does not provide column length in the metadata. The default value is 2000.
ConvertDateTimeToGMTDetermines whether to convert date-time values to GMT, instead of the local time of the machine.
RecordToFile=filenameRecords the underlying socket data transfer to the specified file.

ShipStation Connector for CData Sync

PseudoColumns

This property indicates whether or not to include pseudo columns as columns to the table.

Remarks

This setting is particularly helpful in Entity Framework, which does not allow you to set a value for a pseudo column unless it is a table column. The value of this connection setting is of the format "Table1=Column1, Table1=Column2, Table2=Column3". You can use the "*" character to include all tables and all columns; for example, "*=*".

ShipStation Connector for CData Sync

Timeout

The value in seconds until the timeout error is thrown, canceling the operation.

Remarks

If Timeout = 0, operations do not time out. The operations run until they complete successfully or until they encounter an error condition.

If Timeout expires and the operation is not yet complete, the Sync App throws an exception.

ShipStation Connector for CData Sync

UserDefinedViews

A filepath pointing to the JSON configuration file containing your custom views.

Remarks

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

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

This User Defined View configuration file is formatted as follows:

  • Each root element defines the name of a view.
  • Each root element contains a child element, called query, which contains the custom SQL query for the view.

For example:

{
	"MyView": {
		"query": "SELECT * FROM Tags WHERE MyColumn = 'value'"
	},
	"MyView2": {
		"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
	}
}
Use the UserDefinedViews connection property to specify the location of your JSON configuration file. For example:
"UserDefinedViews", C:\Users\yourusername\Desktop\tmp\UserDefinedViews.json
Note that the specified path is not embedded in quotation marks.

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