Integrations

Distribu exposes three integration surfaces so you can connect it to the rest of your stack:

  1. REST API — pull data out, manage orders, customers, webhooks, and reports.
  2. Webhooks — receive push notifications when orders, customers, products, returns, or refunds change.
  3. CSV import / export — bulk-load or extract products and customers from a spreadsheet.

This page is a quick map of which surface to use for which job, with links to the full reference for each.

Pick the right tool

You want to…Use
Keep your ERP or accounting system in sync with new ordersWebhooks + the REST API
Pull a point-in-time export of orders, customers, or productsCSV export (dashboard) or REST API
Load an existing product catalog or customer list into DistribuCSV import
Create orders from an external storefront or cartREST API (POST /api/v1/orders)
Mark orders shipped from your warehouse / fulfillment toolREST API (PATCH /api/v1/orders/{id})
Populate a BI dashboard with real-time dataREST API (scheduled pull)
Trigger a Slack / pager alert when an order comes inWebhooks — fire into your own workflow tool

REST API

A simple JSON-over-HTTPS API covering products (read), orders (read, create, update), customers (read, create, update), reports (sales, customer-spend, inventory), and webhooks (full CRUD). API keys are created in Settings → API keys with per-scope permissions so a read-only BI integration can't accidentally create orders.

Start here:

Webhooks

Distribu can push you events the moment they happen, so you don't have to poll. Twelve events today, spanning orders (order.created, order.status_changed, order.shipped, order.cancelled), customers (customer.created, customer.updated), products (product.updated, product.low_stock), returns and refunds (return.created, return.approved, refund.processed), and billing (invoice.paid).

Each webhook is signed with your own secret so you can verify the request came from Distribu. Signing secrets can be rotated with a zero-downtime grace window.

Start here:

CSV import / export

The spreadsheet-friendly path. Good for one-off migrations, bulk edits, and handing data to someone who doesn't write code.

  • Products and customers support both import and export — the export file format matches the import format, so you can edit in Excel / Google Sheets and re-upload.
  • Orders can be exported to CSV via the Reports section; there's no CSV import for orders (use the REST API to create them).

Start here:

Building a two-way ERP sync

The most common end-to-end integration — keeping Distribu and an ERP like NetSuite / QuickBooks / Xero in step — usually combines all three surfaces:

  1. One-time CSV import to seed customers and the product catalog.
  2. Webhooks for real-time: subscribe to order.created, order.status_changed, order.shipped, order.cancelled, and refund.processed, writing each event into your ERP as it arrives.
  3. Daily reconciliation via the REST API — paginate GET /api/v1/orders?since=<yesterday> and upsert in your ERP to catch anything a webhook missed. See Retries & delivery for why reconciliation is worth it.
  4. Write-back with PATCH /api/v1/orders/{id} from your warehouse / fulfillment tool to mark orders SHIPPED or DELIVERED.

Need something that isn't here?

If you want an integration we haven't built yet — SMS / Slack push, a native Shopify app, a connector for a specific ERP, bulk API writes for products — email support@distribu.app. We prioritize the roadmap based partly on what customers are asking for.


Next: FAQ & troubleshooting.