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.
string
required
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.string
required
The carrier tracking number for the package. Maximum 255 characters. Duplicate tracking numbers for the same courier are rejected with a
409 response.string
The name of the shipper or online store (e.g.
"Amazon", "Best Buy"). Displayed on the package record in the warehouse dashboard.string
A brief description of the package contents (e.g.
"Electronics - Laptop"). Helps warehouse staff handle packages appropriately.string
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
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.