> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sourcemedium.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Pipe17 - Integration instructions

> Connect Pipe17 with a read-only API key to land orders, shipping requests, fulfillments, products, locations, and daily inventory as raw tables.

> [!NOTE]
>
> Raw data only. Pipe17 lands as raw warehouse tables, not modeled dashboards or AI analysis. Pick its tables under [**Warehouse → Raw data**](https://docs.sourcemedium.com/docs/data-activation/managed-data-warehouse/raw-data.md) in your SourceMedium workspace. Raw data is available on every paid plan. See [Foundation and Pro](https://docs.sourcemedium.com/docs/data-activation/managed-data-warehouse/overview.md#foundation-and-pro).

Pipe17 is an order management system that routes orders from your sales channels to your warehouses and 3PLs. SourceMedium reads your Pipe17 orders, shipping requests (the work orders Pipe17 sends to a warehouse), fulfillments, products, locations, and inventory every six hours and lands them in your warehouse.

> [!NOTE]
>
> Sign in to [SourceMedium](https://urchin.sourcemedium.com), open your store, then choose **Data sources → Connect data source** and select the platform. You need an **Admin** or **Editor** workspace role.
>
> [After you connect](https://docs.sourcemedium.com/docs/data-inputs/platform-integration-instructions/after-you-connect.md) explains the first sync and connection statuses.

## Vendor documentation

| Topic | Official guide |
| - | - |
| API reference | [Pipe17 API](https://apidoc.pipe17.com) |
| Creating an API key | [Connecting the Pipe17 API](https://support.pipe17.com/hc/en-us/articles/46865933686171-Connecting-Pipe17-API-to-Flexport) |

## What you need

* **A Pipe17 user who can create API keys.** The key belongs to the user who creates it, so use an account that will stay active.
* **A read-only API key.** Grant read and list (`rl`) on orders, shipments, fulfillments, inventory, locations, and products. SourceMedium only reads; every request it makes is a read.
* **An open IP allowlist.** Pipe17 requires an IP allowlist on every key. SourceMedium syncs from Google Cloud without a fixed address, so enter `0.0.0.0/0`, the value Pipe17's own example uses.

## How to connect

**1. Create an API key**

In Pipe17, open **Settings > API Keys** and create a key. Give it read and list (`rl`) access to orders, shipments, fulfillments, inventory, locations, and products, and set the allowed IPs to `0.0.0.0/0`. Copy the key: Pipe17 shows it once.

**2. Add the key in SourceMedium**

Find **Pipe17** in the connector picker and click **Connect**. Paste the key, then click **Save**.

**3. Confirm it is connected**

SourceMedium checks the key with Pipe17 before saving it, so a key Pipe17 rejects is not saved. A key that cannot read one of the six resources is saved, and the connection names the resource to grant. The connection reads **Awaiting first data** until the first sync lands, then **Connected**.

To rotate the key, create a new one, save it in SourceMedium, then delete the old one in Pipe17. Deleting a key before you replace it stops the sync.

> [!NOTE]
>
> SourceMedium only ever reads from your connected platforms. It does not create, change, or delete anything, so create the key with **read-only** access wherever the platform offers it. Treat it like a password: keep it confidential and avoid sharing it over email or in spreadsheets. If the credential is rotated or revoked, follow this guide's connection method to update SourceMedium.

## What data syncs

| Table | Grain |
| - | - |
| `pipe17__orders` | One row per order. Line items stay as JSON on the order. |
| `pipe17__shipping_requests` | One row per shipping request, with the warehouse hand-off, pick, pack and ship times |
| `pipe17__fulfillments` | One row per fulfillment, with carrier, service class, tracking numbers and ship date |
| `pipe17__products` | One row per product, with cost and bundle components |
| `pipe17__locations` | One row per location |
| `pipe17__inventory_levels_daily` | One row per SKU, location, and UTC day: on hand, available, committed, incoming, unavailable, damaged, and on hold |

SourceMedium asks Pipe17 only for the fields listed in these tables. Shipping and billing addresses, customer names, emails and phone numbers, order notes, gift messages, and line-item custom fields are never requested.

Select the tables you want under [**Warehouse → Raw data**](https://docs.sourcemedium.com/docs/data-activation/managed-data-warehouse/raw-data.md) in your SourceMedium workspace to receive them in `your_project.sm_sources`.

## Refresh and history

* **Refresh:** every six hours. Orders, shipping requests, fulfillments, and products changed since the last sync are read again. Locations refresh once a day.
* **History:** the first sync loads up to ten years of orders, shipping requests, fulfillments, and products.
* **Inventory:** Pipe17's API serves current inventory, so SourceMedium records it on every sync and keeps one row per SKU, location, and day, holding that day's last reading. Inventory history starts the day you connect.

## Known gaps

* **Delivery dates.** Pipe17 fulfillments carry a ship date and an expected arrival, not a delivery date.
* **Deleted records.** A record Pipe17 deletes stops updating; it is not removed.
* **Not included:** purchase orders, arrivals, receipts, returns, and the inventory ledger.

## Troubleshooting

* **Key rejected?** Check that you copied the whole key and that it has not been deleted in Pipe17.
* **The connection names a resource Pipe17 refuses?** Edit the key in **Settings > API Keys** to grant read and list (`rl`) on that resource. The rest of the data keeps syncing meanwhile.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.