Tables
The driver models the data in Square into a list of tables that can be queried using standard SQL statements.
Generally, querying Square tables is the same as querying a table in a relational database. Sometimes there are special cases, for example, including a certain column in the WHERE clause might be required to get data for certain columns in the table. This is typically needed for situations where a separate request must be made for each row to get certain columns. These types of situations are clearly documented at the top of the table page linked below.
CData ODBC Driver for Square Tables
Name | Description |
Cards | Create, update, delete, and query the available Cards in Square. |
CatalogCategories | Query the available catalog categories. |
CatalogDiscounts | Query the available catalog discounts. |
CatalogImages | Query the available catalog images. |
CatalogItems | Query the available items. |
CatalogItemVariations | Query the available item variations. |
CatalogModifierLists | Query the available catalog modifier lists. |
CatalogModifiers | Query the available catalog modifiers. |
CatalogTaxes | Query the available catalog taxes. |
CustomerCards | Create, update, delete, and query the available CustomerCards in Square. |
Customers | Create, update, delete, and query the available customers in Square. |
InventoryChanges | Query historical physical counts and adjustments on inventory items. |
Refunds | Create and query the details for all Refunds initiated by a merchant or any of the mobile staff of the merchant during a date range. |