3PL & Logistics

Webhooks vs Polling for 3PL Shipment Events

Your 3PL says it has webhooks. Here is why you should still poll, and how to run both without creating duplicate fulfilments.

Integr8 Cloudware Engineering Updated 3 min read

When an order ships from your 3PL (third-party logistics provider) warehouse, your ERP needs to know: to create the fulfilment, send the tracking number to the customer and bill the order. There are two ways to find out. The 3PL can push a webhook to you when it happens, or you can poll its API every few minutes and ask what changed. Most teams pick one. The reliable answer is usually both.

Webhooks: fast, but not guaranteed

A webhook is a message the 3PL sends to your endpoint the moment something happens. It is fast and efficient. It also fails in ways that are easy to miss:

  • Your endpoint was down or slow for a few minutes, and the 3PL only retried a limited number of times.
  • The 3PL had an outage or a bug, and some events were never sent.
  • Events arrived out of order, so "delivered" arrived before "shipped".
  • The same event arrived twice.

None of these produce an error on your side. You simply never hear about a shipment, and nobody notices until a customer asks where their order is.

3PLwebhook · pushscheduled poll · pullcatches missed eventsDe-duplicateby shipment IDNetSuiteone fulfilment each

Polling: reliable, but slower and heavier

Polling means asking the 3PL API on a schedule: "give me every shipment updated since my last check". It catches everything as long as the API supports a reliable "updated since" filter. The downsides are delay (up to your polling interval), more API calls, and rate limits if you poll too often.

The pattern that works: webhook first, poll to reconcile

  • Use webhooks for speed. When one arrives, process it straight away.
  • Run a reconciliation poll on a schedule, for example every 30 or 60 minutes, that asks for every shipment updated since the last successful poll, with some overlap.
  • Anything the poll finds that you have not processed is handled then. Anything already processed is skipped.

This gives you near real-time updates on a normal day and a safety net on a bad day. The poll can be much less frequent than it would need to be on its own, which keeps API usage low.

How to avoid duplicates when both run

Running two paths means the same shipment will often arrive twice. Handle it with idempotency: every event gets a unique key, and processing the same key again does nothing.

  • Use the 3PL shipment ID, or the order number plus package or tracking number, as the key.
  • Store processed keys, or store the key on the fulfilment record itself, and check it before creating anything.
  • For status changes, only move forward. If a "shipped" event arrives after "delivered", record it but do not move the status back.

Make the webhook endpoint fast and simple

Your webhook endpoint should do as little as possible: check the signature, save the raw event, return success. Process it afterwards. If processing takes time or fails, the 3PL still gets a quick success response and does not start retrying, and you have the raw event to replay.

Watch for silence

The most useful alert is often not "an error happened" but "nothing happened". If you normally receive shipment events every hour on weekdays and none have arrived for three hours, something is wrong, even if no error was logged. A simple alert on silence catches most webhook failures before customers do.

Checklist

  • Webhooks processed immediately, with signature checks.
  • Reconciliation poll on a schedule, with overlap.
  • Idempotency key on every fulfilment.
  • Status only moves forward.
  • Raw events stored for replay.
  • An alert when events stop arriving.

The same pattern works for inventory updates, receipts and returns from your 3PL, and for EDI (Electronic Data Interchange) acknowledgements from trading partners.

Integr8 Cloudware

Founder-led NetSuite integration agency. We connect NetSuite to your marketplaces, storefronts, 3PLs and EDI partners through Celigo, Oracle Integration Cloud or custom no-middleware integration products.

hello@integr8cloudware.com

Location

  • Based in Hyderabad, India
  • Working with businesses worldwide, remotely
  • We reply within one business day

© 2026 Integr8 Cloudware. All rights reserved.

NetSuite, SAP, Microsoft Dynamics 365, QuickBooks, Xero, Salesforce, HubSpot, Celigo, Oracle, Amazon, Walmart, Shopify, WooCommerce, Adobe Commerce, Magento, BigCommerce, eBay, Target+, Stripe, ShipStation, FedEx, UPS and DHL are trademarks of their respective owners. Integr8 Cloudware is an independent consultancy and is not affiliated with, endorsed by or a partner of these companies.