Receiving a Webhook Notification
Overview When you make an API request to AfterShip Shipping, you can include the async=true parameter to receive a webhook notification once the response is ready. To receive the webhook, you must first enable the webhook setting. This is how you can set it up in your API request: API Request ExampleFew readersWhat Happens if My Webhook is Down?
AfterShip Shipping sends events to each webhook URL via a POST request. If the webhook URL fails to return a 200 HTTP response code, AfterShip Shipping will automatically retry the POST request up to 14 times, with increasing intervals between each attempt. The retry intervals follow this pattern: 2^numberoffailures × 30 seconds. For example: If the first attempt fails, AfterShip Shipping will retry the second attempt after 30 seconds. If the fifth attempt fails, the sixth attempt willFew readersHow to Use AfterShip Shipping Webhook?
Overview A webhook lets an application share real-time information with other apps. Since data transfer happens instantly, the popularity of webhooks is increasing rapidly these days. With AfterShip Shipping webhook, you can receive the push update when the API is made asynchronously. How to setup the Webhooks Go to the Webhooks settings in your AfterShip Shipping admin. Click Add Webhooks URL. Add the webhooFew readers