# AfterShip

AfterShip provides shipment tracking, courier detection and connections, and estimated delivery date prediction for ecommerce operations.

Category: Sales & CRM. Connect from any SulusAssist agent at https://assist.sulus.ai/integrations/aftership/.

## Actions

- **Create Courier Connection**: Connect one courier account using the courier-specific credential fields advertised by courier metadata.
- **Create Tracking**: Create one shipment tracking record from a tracking number and optional courier, order, route, customer, and delivery metadata.
- **Create Trackings Batch**: Sequentially create 1-20 tracking records through AfterShip's single-record create endpoint.
- **Delete Courier Connection**: Permanently remove one courier account connection by an ID obtained from list or create.
- **Delete Tracking**: Permanently delete one tracking record by its AfterShip tracking ID.
- **Detect Courier** (read-only): Return couriers that may handle a tracking number, using optional courier and shipment hints to narrow detection.
- **Get Courier Connection** (read-only): Return one courier account connection by an ID obtained from list or create.
- **Get Tracking** (read-only): Return one tracking record by its AfterShip tracking ID, with optional field selection and checkpoint translation.
- **List Courier Connections** (read-only): Return one cursor-controlled page of courier account connections, optionally filtered by courier slug.
- **List Couriers** (read-only): Return courier metadata, optionally limited to account-activated couriers or selected courier slugs, including required tracking and…
- **List Trackings** (read-only): Return one cursor-controlled page of shipment trackings, optionally filtered by identifiers, courier, status, dates, route, or shipment…
- **Mark Tracking Completed**: Mark a tracking as delivered, lost, or returned to sender.
- **Predict Estimated Delivery Date** (read-only): Predict an estimated delivery date before a tracking number exists.
- **Predict Estimated Delivery Dates Batch** (read-only): Predict estimated delivery dates atomically for one to five planned shipments.
- **Retrack Tracking**: Restart automatic updates for an expired tracking.
- **Update Courier Connection**: Replace carrier-specific credentials on an existing courier account connection.
- **Update Tracking**: Update editable order, courier, route, customer, and delivery metadata on an existing tracking record.
