All consignments that have been created in MachShip will have a linked MachShip tracking page that can be accessed publicly.
This link sends the user to a branded webpage that shows all of the details of the consignment as well as live tracking updates.
The consignment tracking link is made up of two parts:
- Base URL - the URL of the webpage, which is the same for all consignments
- trackingPageAccessToken - unique to every consignment
The outcome is a tracking page URL that takes the following form:
Note: To get the consignment tracking link in the MachShip UI, kindly refer on this link. Step 1: Select a Base URL to Use
The URL you select is up to you - I recommend you check both and choose the one you like best.
- V1 URL produces a tracking page with a traditional design
- V2 URL produces a more modern design
Note, the shortened URL redirects to the related long URL and is useful for systems where the you have a shorter character limit.
Step 2: Obtain the TrackingPageAccessToken via the MachShip API:
Below is the sample response from the MachShip API which contains the trackingPageAccessToken
Via Create Consignment Endpoints
This access token is returned in the response to a create consignment API request via the following endpoints:
Note: For further information/reference of the API endpoints/definitions, you may check out our swagger link under "CONSIGNMENTS" Section: https://live.machship.com/swagger/index.html#/