Create trackings (async)
POST/api/v2/trackings/create
Each request creates 1–1000 trackings. After the request is accepted, Tracksuite processes the batch asynchronously.
Parameters
Section titled “Parameters”data is an array of 1–1000 trackings. referId must be unique within the batch. Fields match Create a tracking.
dataarrayRequiredTrackings to create.
Fields
referIdstringRequiredA business ID from your system, such as an order ID. Max 128 characters.
rawTrackingNumberstringRequiredCarrier tracking number. Max 300 characters.
metadata.carrierCodestringoptionalCarrier code. If omitted, Tracksuite identifies the carrier from the number. Max 64 characters.
Return
Section titled “Return”success: true means the batch has entered asynchronous processing. Retrieve each tracking through Query a tracking or a webhook. While processing is unfinished, a query can return Processing.
successbooleantrue when the batch entered the processing queue.
