Endpoint
X-API-KEY header. See API Keys for instructions on finding and securing your key.
Request Body
Send a JSON object in the request body.UserCode and TrackingNumber are required; all other fields are optional but recommended to give the warehouse team the most complete picture of an incoming package.
The customer identifier from your customer list. Maximum 100 characters. Must match the normalised (uppercased, trimmed)
UserCode value on the customer record — see Customer List Format for details.The carrier tracking number for the package. Maximum 255 characters. Duplicate tracking numbers for the same courier are rejected with a
409 response.The name of the shipper or online store (e.g.
"Amazon", "Best Buy"). Displayed on the package record in the warehouse dashboard.A brief description of the package contents (e.g.
"Electronics - Laptop"). Helps warehouse staff handle packages appropriately.Your internal reference number or order ID (e.g.
"ORD-2024-001"). Stored against the prealert for your own reconciliation purposes.Example Request
Success Response
A successful submission returns HTTP201 Created with a JSON body containing the new prealert’s internal UUID.
prealert_id in your own system if you want to reference or reconcile the prealert later.
Error Responses
| HTTP Code | status | Cause |
|---|---|---|
400 | error | Missing required field (UserCode or TrackingNumber) or malformed JSON body |
401 | error | No API key was provided in the request |
403 | error | The API key is invalid, deactivated, or does not match any courier account |
405 | error | Request used a method other than POST |
409 | error | A prealert for this tracking number already exists for your courier |
500 | error | An unexpected server error occurred — retry after a short delay |
Duplicate tracking numbers for the same courier are rejected with a
409. Check whether a prealert already exists before submitting, or implement idempotent retry logic that treats 409 as a non-fatal condition.