# AfterShip integration

> Shipment tracking API — create and track shipments across 1,000+ couriers, detect couriers, and predict estimated delivery dates.

- Authentication: apiKey

## Tools (16)

- **Batch Predict Estimated Delivery Date**: Predict estimated delivery dates for multiple shipment lanes in one call.
- **Create Courier Connection**: Connect a carrier account by supplying its credentials.
- **Create Tracking**: Create a tracking for a shipment; omit slug to let AfterShip auto-detect the courier.
- **Delete Courier Connection by ID**: Remove a courier connection by id.
- **Delete Tracking by ID**: Delete a tracking by its AfterShip id.
- **Detect Courier**: Return the couriers that match a tracking number's format.
- **Get Courier Connection by ID**: Retrieve a single courier connection by id.
- **Get Couriers**: List couriers activated for the account (or all couriers when active=false).
- **Get Tracking by ID**: Retrieve a single tracking by its AfterShip id, including checkpoints and status.
- **List Courier Connections**: List the courier account connections configured for the account.
- **List Trackings**: Get a paginated list of trackings, filtered by keyword, courier, dates, tags, or origin/destination.
- **Mark Tracking as Completed by ID**: Stop updates on a tracking by marking it delivered, lost, or returned to sender.
- **Predict Estimated Delivery Date**: Predict the estimated delivery date for a single shipment lane.
- **Retrack Tracking by ID**: Restart tracking for an inactive/expired shipment (allowed once per shipment).
- **Update Courier Connection by ID**: Update the stored credentials for a courier connection.
- **Update Tracking by ID**: Update a tracking's courier, order info, addresses, or customer details.

## Related prompts

- [Auto-register new Shopify shipments in AfterShip](https://www.generalinput.com/prompts/auto-register-new-shopify-shipments-in-aftership.md)
- [Auto-reply to "where's my order?" emails with live tracking](https://www.generalinput.com/prompts/auto-reply-to-wheres-my-order-emails-with-live-tracking.md)
- [Escalate high-value shipping problems to the deal owner](https://www.generalinput.com/prompts/escalate-high-value-shipping-problems-to-the-deal-owner.md)
- [Auto-register Airtable shipments in AfterShip with ETAs](https://www.generalinput.com/prompts/auto-register-airtable-shipments-in-aftership-with-etas.md)
- [Weekday Slack digest of stuck AfterShip shipments](https://www.generalinput.com/prompts/weekday-slack-digest-of-stuck-aftership-shipments.md)
- [Weekly courier scorecard emailed to your ops team](https://www.generalinput.com/prompts/weekly-courier-scorecard-emailed-to-your-ops-team.md)
- [Daily post-delivery review requests for AfterShip customers](https://www.generalinput.com/prompts/daily-post-delivery-review-requests-for-aftership-customers.md)
- [Hourly AfterShip delivery log in Google Sheets](https://www.generalinput.com/prompts/hourly-aftership-delivery-log-in-google-sheets.md)

Connect AfterShip in General Input: https://www.generalinput.com/apps/aftership