Webhook Specifications
Learn how AfterShip Shipping verifies and secures all the webhook requests.
| Method | Description |
|---|---|
| POST application/json | When the send request to AfterShip Shipping and webhook is set, we make a POST request to the callback URL you defined on the webhook page. The post body contains a JSON string of the below data. |
Event
| Event_type | Description |
|---|---|
| calculate_rates | When POST /rates API is done |
| create_a_label | When POST /labels API is done |
| cancel_a_label | When POST /cancel-labels API is done |
| manifest_a_label | When POST /manifests API is done |
Header
preparing...
Body
preparing...