Get Order Tracking URL
This API returns a shareable tracking URL (eURL) for a single order, identified by its order ID.
Format Supported
JSON
Authenticated Resource
API Key
For more information on Authentication, click here.
Example Request:
curl --location --request GET 'https://api.fourkites.com/api/v1/orders/{orderId}/fourkites-tracking-url' \
--header 'accept: application/json' \
--header 'apikey: REPLACE_KEY_VALUE'Path Parameters
Name | Kind | Type | Description |
|---|---|---|---|
orderId | required | String | The unique identifier of the order to generate a tracking URL for. This must belong to the company associated with the calling API key — orders from other companies will return a 404. |
Header Parameters
Name | Kind | Type | Description |
|---|---|---|---|
apikey | required | String | Your FourKites API authentication key. Replace REPLACE_KEY_VALUE with your actual API key to authenticate the request. |
Example Response (200)
{
"data": "https://tracking.fourkites.com/eurl/abc123token",
"requestId": "crr5eo8ikb5oemug8iig"
}Example Response (404 - Order Not Found)
{
"error": "Order not found: Order_8Nov_test"
}Response Fields
Name | Format | Default | Description |
|---|---|---|---|
data | String | NA | The shareable eURL (tracking link) for the order. |
requestId | String | NA | A unique identifier for this API request, useful for troubleshooting with FourKites support. |
Errors
Status | Condition |
|---|---|
404 | The orderId does not exist, or belongs to a company other than the one associated with the calling API key. |
