Linking ShipStation as a source

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Contents

The ShipStation connector syncs your order, shipment, fulfillment, product, customer, store, warehouse, user, service, package, and marketplace data into PostHog.

Adding a data source

  1. Go to the sources tab of the data pipeline section in PostHog.

  2. Click + New source and then click Link next to ShipStation.

  3. You need an API key and API secret from ShipStation. In your ShipStation dashboard, go to Settings > Account > API Settings (or go directly to API Settings). Copy the API Key and API Secret values.

Note: API access requires a ShipStation plan tier that includes it. If you don't see the API Settings page, your plan may not support API access.

  1. Back in PostHog, paste your API key and API secret into the corresponding fields and click Next.

  2. Set up the schemas you want to sync and choose the sync method and frequency for each. Click Import when done.

Once the syncs complete, you can query your ShipStation data in PostHog.

Available tables

TableDescriptionSync method
customersCustomer records aggregated from ordersFull refresh
fulfillmentsFulfillment records for orders shipped outside ShipStationIncremental
marketplacesMarketplaces that can connect to ShipStation (v1 API only)Full refresh
ordersCustomer orders imported from connected selling channelsIncremental
packagesPackage types supported by carriers connected to the accountFull refresh
productsProducts in the ShipStation catalogFull refresh
servicesShipping services available from carriers connected to the accountFull refresh
shipmentsShipments created for orders, including tracking and cost detailsIncremental
storesConnected selling channels that orders are imported fromFull refresh
usersUsers of the ShipStation accountFull refresh
warehousesShip-from locations configured in ShipStationFull refresh

Incremental tables sync only new or updated records on each run. Full refresh tables reload all data on each sync.

For incremental tables, you can choose which cursor field to use:

  • orders - modifyDate (recommended, captures updates) or createDate
  • shipments - createDate
  • fulfillments - createDate

Configuration

OptionTypeRequired
API keypasswordYes
API secret (v1 only)passwordNo

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
shipments

A shipment created in ShipStation for an order, including tracking and cost details.

Incremental, Full refreshmodified_at, created_at—
labels—Incremental, Full refreshcreated_at—
batches—Incremental, Full refreshcreated_at—
manifests—Incremental, Full refreshcreated_at—
pickups—Incremental, Full refreshcreated_at—
carriers—Full refresh——
warehouses

A ship-from location (warehouse) configured in ShipStation.

Full refresh——
tags—Full refresh——
users

A user of the ShipStation account.

Full refresh——
services

A shipping service available from a carrier connected to the account.

Full refresh——
packages

A package type supported by a carrier connected to the account.

Full refresh——

Timestamps and timezone

ShipStation's v1 API returns all DateTime values in US Pacific time, not UTC. PostHog handles this conversion automatically during sync, but be aware of it when querying raw timestamp fields.

Troubleshooting

Authentication errors

If you see an "authentication failed" error, double-check your API key and API secret in ShipStation API Settings. Regenerating the credentials and re-entering them in PostHog can resolve stale key issues.

Access denied errors

A "denied access" error typically means your ShipStation plan doesn't include API access. Check your plan tier or contact ShipStation support.

Rate limits

ShipStation enforces a rate limit of 40 requests per minute. PostHog automatically retries rate-limited requests with backoff, so syncs may slow down but should complete without intervention.

Still have questions?

Was this page useful?