Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create Courier Connection
AFTERSHIP_CREATE_COURIER_CONNECTIONConnect one courier account using the courier-specific credential fields advertised by courier metadata.
Create Tracking
AFTERSHIP_CREATE_TRACKINGCreate one shipment tracking record from a tracking number and optional courier, order, route, customer, and delivery metadata.
Create Trackings Batch
AFTERSHIP_CREATE_TRACKINGS_BATCHSequentially create 1-20 tracking records through AfterShip's single-record create endpoint. This operation is non-atomic: each item consumes one request, successful earlier creates are not rolled back, and no create is retried automatically. Item-specific 400 and 409 rejections do not stop later items; authentication, permission, rate-limit, server, malformed-success, and transport failures stop processing and mark remaining items not_attempted.
Delete Courier Connection
AFTERSHIP_DELETE_COURIER_CONNECTIONPermanently remove one courier account connection by an ID obtained from list or create. Warning: this destructive action cannot be undone.
Delete Tracking
AFTERSHIP_DELETE_TRACKINGPermanently delete one tracking record by its AfterShip tracking ID. Warning: this destructive action cannot be undone.
Detect Courier
AFTERSHIP_DETECT_COURIERReturn couriers that may handle a tracking number, using optional courier and shipment hints to narrow detection.
Get Courier Connection
AFTERSHIP_GET_COURIER_CONNECTIONReturn one courier account connection by an ID obtained from list or create.
Get Tracking
AFTERSHIP_GET_TRACKINGReturn one tracking record by its AfterShip tracking ID, with optional field selection and checkpoint translation.
List Courier Connections
AFTERSHIP_LIST_COURIER_CONNECTIONSReturn one cursor-controlled page of courier account connections, optionally filtered by courier slug.
List Couriers
AFTERSHIP_LIST_COURIERSReturn courier metadata, optionally limited to account-activated couriers or selected courier slugs, including required tracking and credential field definitions.
List Trackings
AFTERSHIP_LIST_TRACKINGSReturn one cursor-controlled page of shipment trackings, optionally filtered by identifiers, courier, status, dates, route, or shipment metadata.
Mark Tracking Completed
AFTERSHIP_MARK_TRACKING_COMPLETEDMark a tracking as delivered, lost, or returned to sender. Warning: a successful call stops automatic tracking updates until the tracking is retracked.
Predict Estimated Delivery Date
AFTERSHIP_PREDICT_ESTIMATED_DELIVERY_DATEPredict an estimated delivery date before a tracking number exists. This paid endpoint requires Predict trial access or an AfterShip advanced plan.
Predict Estimated Delivery Dates Batch
AFTERSHIP_PREDICT_ESTIMATED_DELIVERY_DATES_BATCHPredict estimated delivery dates atomically for one to five planned shipments. One invalid item fails the whole batch. The connected AfterShip organization must have a Predict trial or advanced-plan entitlement.
Retrack Tracking
AFTERSHIP_RETRACK_TRACKINGRestart automatic updates for an expired tracking. Only expired trackings are eligible, and each successful call irreversibly consumes one of at most three retrack attempts for that tracking.
Update Courier Connection
AFTERSHIP_UPDATE_COURIER_CONNECTIONReplace carrier-specific credentials on an existing courier account connection. Warning: this consequential credential rotation replaces the complete credential set; incorrect values can stop future tracking updates.
Update Tracking
AFTERSHIP_UPDATE_TRACKINGUpdate editable order, courier, route, customer, and delivery metadata on an existing tracking record.