> For the complete documentation index, see [llms.txt](https://docs.getpurpledot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getpurpledot.com/integrations/erp-3pl-and-inventory/how-erp-and-inventory-integrations-work.md). Agents can also search and read this documentation through its [MCP server](https://docs.getpurpledot.com/~gitbook/mcp).

# How ERP and inventory integrations work

How purchase orders, inventory, and fulfillment connect your external systems to Purple Dot.

An enterprise resource planning (ERP) connection can supply incoming purchase orders for creating [waitlists](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#waitlist). Stock arriving at your warehouse is a separate event: Purple Dot uses inventory to determine which pre-orders can be released. The way orders reach your warehouse depends on your e-commerce platform and fulfillment connection.

## Purchase orders and waitlists

Pre-order automation reads incoming purchase orders and matches the SKUs on those orders to products in your catalog. Purple Dot uses the expected [arrival dates](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#arrival-date) to create waitlists for stock that hasn't arrived. Connecting the ERP supplies the data; the pre-order automation onboarding process configures how Purple Dot uses it.

The connection does not mean every ERP supplies the same records. NetSuite supplies purchase orders, while Fulfil.io can supply purchase orders or transfer shipments. The [provider guides](https://docs.getpurpledot.com/integrations/erp-3pl-and-inventory.md#choose-an-integration) describe each connection's setup and data.

## Source of truth for stock

Incoming purchase orders describe expected stock. Available inventory describes stock that can ship. Purple Dot can release pre-orders automatically when inventory arrives in Shopify, according to your release settings. The timing therefore depends on when your inventory system updates Shopify. See [Inventory and virtual locations](https://docs.getpurpledot.com/understanding-purple-dot/inventory-and-virtual-locations.md#what-changes-at-release).

A custom setup can send inventory through the Private API. By default, release automation reads stock from your e-commerce platform. For a custom setup, Purple Dot can instead release based on the inventory your integration sends through the Private API. This depends on store configuration, which Purple Dot support sets up for you.

## Order submission

With [the Purple Dot checkout](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#purple-dot-checkout), Purple Dot creates the order in your e-commerce platform when you release it. This is called export. Your warehouse then receives the order through your platform's fulfillment integration.

With [native Shopify checkout](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#native-checkout), the order exists in Shopify from checkout. Purple Dot keeps it on hold until release. Release lifts the hold and requests fulfillment. See [How fulfillment works](https://docs.getpurpledot.com/understanding-purple-dot/releasing-and-fulfilling-pre-orders.md#how-fulfillment-works) for payment and shipment handling.

If an order management system or ERP already recorded the sale at placement, for example through a custom integration, the order created at release can arrive as a second record. Whether it does depends on how that system connects to your platform. See [De-duplicating orders at release](https://docs.getpurpledot.com/understanding-purple-dot/pre-order-timing-and-your-reporting.md#de-duplicating-orders-at-release).

A purchase-order connection alone doesn't establish that Purple Dot submits orders directly to that ERP or warehouse. The ERP connections read purchase orders and don't submit orders to the ERP. To confirm a direct warehouse connection for your store, contact Purple Dot support.

## Fulfillment confirmations

A custom Private API integration can request fulfillment orders and submit fulfillment details. Its inventory and fulfillment exchanges are separate from purchase-order automation.

<div data-full-width="true"><figure><picture><source srcset="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-42ceeda7c3bd39a06f1030c0540c564396b582a2%2Fprivate-api-fulfillment-dark.svg?alt=media" media="(prefers-color-scheme: dark)"><img src="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-0e9f6575fe4cfb5e3346b0aa68e52920743a7acc%2Fprivate-api-fulfillment.svg?alt=media" alt="A custom Private API integration can send configured inventory, request fulfillment orders and submit fulfillment details"></picture><figcaption></figcaption></figure></div>

## Timing and retries

Stock arrival and order release do not have to happen at the same time. Release automation can run as soon as stock arrives or at configured times. See [Set up automated exports](https://docs.getpurpledot.com/managing-pre-orders/fulfillment-and-inventory/set-up-automated-exports.md).

If your platform rejects a released shipment, Purple Dot retries automatically. Some failures need a correction before a retry succeeds. See [My exports are failing](https://docs.getpurpledot.com/troubleshooting/orders-and-inventory/exports-are-failing.md). Purple Dot checks your ERP for new and changed purchase orders about every 15 minutes, and rechecks the orders it's watching about once an hour. If a check fails, the next one retries.

## Related

* **Concept:** [Releasing and fulfilling pre-orders](https://docs.getpurpledot.com/understanding-purple-dot/releasing-and-fulfilling-pre-orders.md#how-fulfillment-works), [Inventory and virtual locations](https://docs.getpurpledot.com/understanding-purple-dot/inventory-and-virtual-locations.md)
* **Do this:** [Set up automated exports](https://docs.getpurpledot.com/managing-pre-orders/fulfillment-and-inventory/set-up-automated-exports.md), [Send inventory with the External SKU API](https://docs.getpurpledot.com/e-commerce-platforms/other-and-custom/send-inventory-with-the-external-sku-api.md)
* **Look up:** [Private API](https://docs.getpurpledot.com/purple-dot-apis/private-api.md)
* **Fix it:** [My exports are failing](https://docs.getpurpledot.com/troubleshooting/orders-and-inventory/exports-are-failing.md), [My integration is not syncing](https://docs.getpurpledot.com/troubleshooting/orders-and-inventory/integration-is-not-syncing.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.getpurpledot.com/integrations/erp-3pl-and-inventory/how-erp-and-inventory-integrations-work.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
