added

Add Shipments to Your Webhooks instantaneously

Add Shipments to Your Webhooks with Instant Response

We’ve introduced a new endpoint in our webhook API: POST /easy-shipment-asynchronous.

Similar to POST /easy-shipment, this endpoint allows you to add shipments for data updates using the same payload. However, the key difference lies in the response behavior:

  • POST /easy-shipment:

    • Responds with HTTP 200 and includes a body containing the full list of all shipments tracked by all your endpoints.
    • This can take time, leading to delays and potential timeouts.
  • POST /easy-shipment-asynchronous:

    • Responds immediately with HTTP 202 and an empty body.
    • You can then monitor shipment additions asynchronously by listening to:
      • "shipment.added.to.endpoint"
      • "shipment.in.error"

Key Benefits:

  • Faster Response Time: Your request is acknowledged instantly.
  • Improved Stability: Eliminates timeouts caused by waiting for initial shipment data.
  • Asynchronous Monitoring: Stay updated on shipment processing via webhook events.

📖 Learn more: