# ShipHero (v1)

Information note **ShipHero is supported by the Singer community**   
This integration is powered by [Singer's](https://www.singer.io/) ShipHero tap. For support, [visit the GitHub repo](https://github.com/singer-io/tap-shiphero) or [join the Singer Slack](https://singer-slackin.herokuapp.com/).

## ShipHero integration summary

Stitch’s ShipHero integration replicates data using the [ShipHero API (v1.2)](https://shipheropublic.docs.apiary.io/#reference). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/shiphero#schema) section for a list of objects available for replication.

## ShipHero feature snapshot

A high-level look at Stitch's ShipHero (v1) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Released on March 8, 2019 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Singer Community](https://www.singer.io/) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Success icon<br><br>This version of the integration is available via the API.<br><br><br>Available |
| **Singer GitHub repository** | [singer-io/tap-shiphero](https://github.com/singer-io/tap-shiphero) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Remove icon<br><br>Table-level resets are not supported for this integration. Resets are only supported at the integration level.<br><br><br>Unsupported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Remove icon<br><br>Configurable Replication Methods are not supported for this integration. Stitch will use pre-defined replication methods for tables you set to replicate.<br><br><br>Unsupported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Success icon<br><br>Supported<br><br><br>Supported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting ShipHero

### Step 1: Generate a ShipHero API token

1. Sign into your [ShipHero account](https://signin.shiphero.com/).
2. Using the top menu in ShipHero, click **My Account &gt; Settings &gt; API**.
3. On the **API Credentials** page, click into the **Shop Name** field and enter the name of the shop you want to use.
4. Click the **Add** button to generate the API credentials.

The **API Key** on this page is what you’ll need to complete the setup in Stitch.

### Step 2: Add ShipHero as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **ShipHero** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch ShipHero” would create a schema called `stitch_shiphero` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. In the **ShipHero Token** field, paste the value from the **API Key** field in ShipHero.

### Step 3: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your ShipHero integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond ShipHero’s default setting of **1 year**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 4: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

ShipHero integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

* [Advanced Scheduling using Cron](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling) (Advanced or Premium plans only)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Step 5: Set objects to replicate

Information note **Is an object missing or not replicating?** Verify that the object meets the requirements for [selection](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#selection-requirements) and [replication](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#replication-requirements).

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/shiphero#schema)

**Note**: If a replication job is currently in progress, new selections won’t be used until the next job starts.

* Selection options
* Individual tables and columns
* All tables and columns

For ShipHero integrations, you can select:

1. **Individual tables and columns**

2. **All tables and columns**

Click the tabs to view instructions for each selection method.

1. In the integration’s **Tables to Replicate tab**, locate a table you want to replicate.

2. To track a table, click the **checkbox** next to the table’s name. A blue checkmark means the table is set to replicate.

3. To track a column, click the **checkbox** next to the column’s name. A blue checkmark means the column is set to replicate.

4. Repeat this process for all the tables and columns you want to replicate.

5. When finished, click the **Finalize Your Selections** button at the bottom of the screen to save your selections.

Information note **Important**: Using the **Select All** feature will overwrite any previous selections. However, selections aren’t final until **Finalize Your Selections** is clicked. Clicking **Cancel** will restore your previous selections. Refer to the [Select All guide](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#set-all-data-to-replicate) for more info about this feature.

1. Click into the integration from the Stitch Dashboard page.

2. Click the **Tables to Replicate** tab.

3. In the list of tables, click the box next to the **Table Names** column.

4. In the menu that displays, click **Track all Tables and Fields**:

   ![The Track all Tables and Fields menu in the Tables to Replicate tab](https://help.qlik.com/en-US/stitch/images/replication/select-all-tables-menu.png)The Track all Tables and Fields menu in the Tables to Replicate tabThe Track all Tables and Fields menu in the Tables to Replicate tab

5. Click the **Finalize Your Selections** button at the bottom of the page to save your data selections.

### Initial and historical replication jobs

After you finish setting up ShipHero, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## ShipHero table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 1** of this integration.

This is the latest version of the ShipHero integration.

Information note

**Table and column names in your destination**

Depending on your destination, table and column names may not appear as they are outlined below.

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### orders

The `orders` table contains info about the orders in your ShipHero account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [orders schema on GitHub](https://github.com/singer-io/tap-shiphero/blob/master/tap_shiphero/schemas/orders.json "Opens in new tab: orders schema on GitHub")<br><br><br>[ShipHero API method](https://shipheropublic.docs.apiary.io/#reference/orders/get-orders/get-orders "Opens in new tab: ShipHero API method") |

orders table foreign keys

| Join orders with | on |
| --- | --- |
| [shipments](https://help.qlik.com/en-US/stitch/integrations/saas/shiphero#shipments) | ```<br>orders.id = shipments.order_id<br>```<br><br>```<br>orders.id = shipments.order.id<br>```<br><br>```<br>orders.line_items.product_id = shipments.order.line_items.product_id<br>```<br><br>```<br>orders.line_items.warehouse_id = shipments.order.line_items.warehouse_id<br>``` |
| [products](https://help.qlik.com/en-US/stitch/integrations/saas/shiphero#products) | ```<br>orders.line_items.product_id = products.id<br>```<br><br>```<br>orders.line_items.warehouse_id = products.warehouses.warehouse_id<br>``` |

orders table schema

| **account\_id**<br><br><br>INTEGER |
| --- |
| **adult\_signature\_required**<br><br><br>INTEGER |
| **alcohol**<br><br><br>INTEGER |
| **allocation\_priority**<br><br><br>INTEGER |
| **allow\_partial**<br><br><br>INTEGER |
| **allow\_split**<br><br><br>INTEGER |
| **billing\_address**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand billing\_address<br><br><table> <tr> <td> <p> <strong>								address1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								province							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								province_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **created\_at**<br><br><br>DATE-TIME |
| **currency**<br><br><br>STRING |
| **discount**<br><br><br>STRING |
| **expected\_weight\_in\_oz**<br><br><br>NUMBER |
| **flagged**<br><br><br>INTEGER |
| **fraudscore**<br><br><br>INTEGER |
| **fraudscore\_details**<br><br><br>STRING |
| **fulfillment\_status**<br><br><br>STRING |
| **gift\_invoice**<br><br><br>INTEGER |
| **gift\_note**<br><br><br>STRING |
| **has\_dry\_ice**<br><br><br>INTEGER |
| **hold\_shipment\_until**<br><br><br>DATE-TIME |
| **holds**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand holds<br><br><table> <tr> <td> <p> <strong>								address							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								fraud							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								operator							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								payment							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_method							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **id**<br><br><br>INTEGER |
| **ignore\_address\_validation\_errors**<br><br><br>INTEGER |
| **insurance**<br><br><br>INTEGER |
| **insurance\_amount**<br><br><br>INTEGER |
| **invoice**<br><br><br>STRING |
| **line\_items**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand line\_items<br><br><table> <tr> <td> <p> <strong>								backorder_quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								barcode							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								custom_barcode							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								custom_options							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customs_value							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								eligible_for_return							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								fulfillment_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								large_thumbnail							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								locked_to_warehouse_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								option_title							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								partner_line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								price							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								product_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_allocated							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_pending_fulfillment							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_shipped							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								sku							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subtotal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								thumbnail							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								warehouse							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								warehouse_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **lock\_data**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **order\_date**<br><br><br>DATE-TIME |
| **order\_history**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand order\_history<br><br><table> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								information							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								username							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **order\_number**<br><br><br>STRING |
| **packing\_note**<br><br><br>STRING |
| **partner\_order\_id**<br><br><br>STRING |
| **payment\_method**<br><br><br>STRING |
| **priority\_flag**<br><br><br>INTEGER |
| **profile**<br><br><br>STRING |
| **requested\_delivery\_at**<br><br><br>DATE-TIME |
| **require\_signature**<br><br><br>INTEGER |
| **required\_ship\_date**<br><br><br>DATE-TIME |
| **saturday\_delivery**<br><br><br>INTEGER |
| **shipping\_address**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand shipping\_address<br><br><table> <tr> <td> <p> <strong>								address1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								province							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **shipping\_lines**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand shipping\_lines<br><br><table> <tr> <td> <p> <strong>								carrier							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								method							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								title							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **shipping\_price**<br><br><br>NUMBER |
| **shop\_name**<br><br><br>STRING |
| **source**<br><br><br>STRING |
| **subtotal**<br><br><br>STRING |
| **tags**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **third\_party\_shipper**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand third\_party\_shipper<br><br><table> <tr> <td> <p> <strong>								account_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **total\_price**<br><br><br>STRING |
| **total\_tax**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### products

The `products` table contains info about the products in your ShipHero account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [products schema on GitHub](https://github.com/singer-io/tap-shiphero/blob/master/tap_shiphero/schemas/products.json "Opens in new tab: products schema on GitHub")<br><br><br>[ShipHero API method](https://shipheropublic.docs.apiary.io/#reference/products/get-product/get-product "Opens in new tab: ShipHero API method") |

products table foreign keys

| Join products with | on |
| --- | --- |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/shiphero#orders) | ```<br>products.id = orders.line_items.product_id<br>```<br><br>```<br>products.warehouses.warehouse_id = orders.line_items.warehouse_id<br>``` |
| [shipments](https://help.qlik.com/en-US/stitch/integrations/saas/shiphero#shipments) | ```<br>products.id = shipments.order.line_items.product_id<br>```<br><br>```<br>products.warehouses.warehouse_id = shipments.order.line_items.warehouse_id<br>``` |

products table schema

| **account\_id**<br><br><br>INTEGER |
| --- |
| **active**<br><br><br>BOOLEAN |
| **barcode**<br><br><br>STRING |
| **brand**<br><br><br>STRING |
| **country\_of\_manufacture**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **custom**<br><br><br>INTEGER |
| **customs\_description**<br><br><br>STRING |
| **customs\_value**<br><br><br>NUMBER |
| **do\_not\_count**<br><br><br>BOOLEAN |
| **dropship**<br><br><br>INTEGER |
| **final\_sale**<br><br><br>BOOLEAN |
| **height**<br><br><br>NUMBER |
| **id**<br><br><br>INTEGER |
| **ignore\_on\_customs**<br><br><br>BOOLEAN |
| **ignore\_on\_invoice**<br><br><br>BOOLEAN |
| **images**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand images<br><br><table> <tr> <td> <p> <strong>								sort							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								url							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **kit**<br><br><br>BOOLEAN |
| **kit\_build**<br><br><br>BOOLEAN |
| **kit\_components**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand kit\_components<br><br><table> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								sku							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **length**<br><br><br>NUMBER |
| **name**<br><br><br>STRING |
| **no\_air**<br><br><br>BOOLEAN |
| **option**<br><br><br>STRING |
| **price**<br><br><br>NUMBER |
| **product\_note**<br><br><br>STRING |
| **reorder\_amount**<br><br><br>INTEGER |
| **reorder\_level**<br><br><br>INTEGER |
| **reserve\_inventory**<br><br><br>INTEGER |
| **sku**<br><br><br>STRING |
| **tags**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **tariff\_code**<br><br><br>STRING |
| **thumbnail**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **value**<br><br><br>NUMBER |
| **value\_currency**<br><br><br>STRING |
| **virtual**<br><br><br>BOOLEAN |
| **warehouses**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand warehouses<br><br><table> <tr> <td> <p> <strong>								active							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								allocated							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								available							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								backorder							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								customs_value							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								inventory_bin							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								inventory_overstock_bin							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								on_hand							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								price							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								purchase_orders							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand purchase_orders</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								expected_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								po_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_received							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								sell_ahead							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								sell_ahead							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								value_currency							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								warehouse							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								warehouse_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **weight**<br><br><br>NUMBER |
| **weight\_in\_oz**<br><br><br>NUMBER |
| **width**<br><br><br>NUMBER |

### shipments

The `shipments` table contains info about the shipments in your ShipHero account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | shipment\_id |
| **Useful links** | [shipments schema on GitHub](https://github.com/singer-io/tap-shiphero/blob/master/tap_shiphero/schemas/shipments.json "Opens in new tab: shipments schema on GitHub")<br><br><br>[ShipHero API method](https://shipheropublic.docs.apiary.io/#reference/shipment/get-shipments/get-shipments "Opens in new tab: ShipHero API method") |

shipments table foreign keys

| Join shipments with | on |
| --- | --- |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/shiphero#orders) | ```<br>shipments.order_id = orders.id<br>```<br><br>```<br>shipments.order.id = orders.id<br>```<br><br>```<br>shipments.order.line_items.product_id = orders.line_items.product_id<br>```<br><br>```<br>shipments.order.line_items.warehouse_id = orders.line_items.warehouse_id<br>``` |
| [products](https://help.qlik.com/en-US/stitch/integrations/saas/shiphero#products) | ```<br>shipments.order.line_items.product_id = products.id<br>```<br><br>```<br>shipments.order.line_items.warehouse_id = products.warehouses.warehouse_id<br>``` |

shipments table schema

| **carrier**<br><br><br>STRING |
| --- |
| **date**<br><br><br>DATE-TIME |
| **height**<br><br><br>NUMBER |
| **label\_cost**<br><br><br>NUMBER |
| **length**<br><br><br>NUMBER |
| **line\_items**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand line\_items<br><br><table> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								partner_line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								shipment_line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sku							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **method**<br><br><br>STRING |
| **order**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand order<br><br><table> <tr> <td> <p> <strong>								authorizations							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand authorizations</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								authorized_amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								card_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								postauthed_amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								refunded_amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								fulfillment_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								line_items							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand line_items</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								backorder_quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								barcode							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								custom_barcode							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								custom_options							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customs_value							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								eligible_for_return							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								fulfillment_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								large_thumbnail							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								locked_to_warehouse_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								option_title							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								partner_line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								price							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								product_attributes							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								product_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_allocated							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_pending_fulfillment							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_shipped							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								sku							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subtotal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								thumbnail							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								warehouse							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								warehouse_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								note_attributes							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand note_attributes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								order_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								order_history							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand order_history</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								information							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								username							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								order_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								partner_order_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								payment_method							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								ready_to_ship							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_address							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand shipping_address</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								address1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								province							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								province_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								shipping_lines							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand shipping_lines</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								carrier							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								method							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								price							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								title							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								shop_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subtotal_price							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tags							</strong> </p> <p>							ARRAY, STRING																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								total_discounts							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								total_price							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								total_tax							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **order\_id**<br><br><br>STRING |
| **order\_number**<br><br><br>STRING |
| **shipment\_id**<br><br><br>STRING |
| **shipper\_email**<br><br><br>STRING |
| **shipper\_id**<br><br><br>STRING |
| **shipping\_name**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **tracking**<br><br><br>STRING |
| **warehouse**<br><br><br>STRING |
| **weight**<br><br><br>NUMBER |
| **width**<br><br><br>NUMBER |

### vendors

The `vendors` table contains info about the vendors in your ShipHero account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | vendor\_id |
| **Useful links** | [vendors schema on GitHub](https://github.com/singer-io/tap-shiphero/blob/master/tap_shiphero/schemas/vendors.json "Opens in new tab: vendors schema on GitHub")<br><br><br>[ShipHero API method](https://shipheropublic.docs.apiary.io/#reference/vendors/list-vendors/list-vendors "Opens in new tab: ShipHero API method") |

vendors table schema

| **email**<br><br><br>STRING |
| --- |
| **name**<br><br><br>STRING |
| **vendor\_id**<br><br><br>INTEGER |