Overview
Track123 provides a simple and reliable API to allow developers to retrieve order and shipment tracking information from their connected Shopify store. This API returns order metadata, fulfillment information, tracking details, and more.
Three query methods are supported:
By Order ID β Shopify internal order ID (e.g.,
5893717688379)By Order Number β the order number shown in your store (e.g.,
1012)By Tracking Number β the shipment tracking number (e.g.,
YT2516700702469873)
π Endpoints
Query by Order ID
GET
https://shp.track123.com/shopify/api/v1/{uuid}/orders/{orderId}.jsonParameter | Description |
| Your store's myshopify subdomain. For example, |
| The Shopify internal Order ID (not the order number). |
Query by Order Number
GET
https://shp.track123.com/shopify/api/v1/{uuid}/orders/by-number/{orderNumber}.jsonParameter | Description |
| Your store's myshopify subdomain. |
| The order number shown in your Shopify admin (numeric only, e.g., |
Query by Tracking Number
GET
https://shp.track123.com/shopify/api/v1/{uuid}/orders/by-tracking/{trackingNumber}.jsonParameter | Description |
| Your store's myshopify subdomain. |
| The shipment tracking number. Returns the full order containing this tracking number, including all fulfillments. If the same tracking number appears on multiple orders, the most recently created order is returned. |
π Authentication
You must include an API Key in the request header.
Required Headers
Header | Value |
| Your API key (get it from the app settings) |
|
|
You can find your API key in the Track123 App by navigating to:
βSettings β General β API & Webhook
π₯ Request Examples
Query by Order ID
GET /shopify/api/v1/yourstore/orders/5893717688379.json HTTP/1.1 Host: shp.track123.com X-Api-Key: your-api-key Content-Type: application/json
Query by Order Number
GET /shopify/api/v1/yourstore/orders/by-number/1012.json HTTP/1.1 Host: shp.track123.com X-Api-Key: your-api-key Content-Type: application/json
Query by Tracking Number
GET /shopify/api/v1/yourstore/orders/by-tracking/YT2516700702469873.json HTTP/1.1 Host: shp.track123.com X-Api-Key: your-api-key Content-Type: application/json
β Response Structure
All three endpoints return the same response format.
{
"order": {
"order_name": "#1012",
"order_number": "1012",
"order_id": "5918868635707",
"order_tag": "",
"tracking_link": "https://demo.myshopify.com/apps/track123",
"order_create_at": "2025-07-16T03:18:24Z",
"order_update_at": "2025-07-16T03:19:51Z",
"order_closed_at": "2025-07-16T03:19:48Z",
"status": "ready",
"customer": {
"name": "Russell Winfield",
"email": "Russel.winfield@example.com",
"phone": "+16135550135"
},
"shipping_address": {
"country": "Canada",
"province": "Ontario",
"city": "Toronto",
"address": "105 Victoria St",
"phone": "+16135550135"
},
"fulfillments": [{
"create_at": "2025-07-16T03:19:47Z",
"id": "5413844713531",
"tracking_company": "YunExpress",
"tracking_number": "YT2516700702469873",
"carrier_code": "yunexpress",
"courier": {
"query_link": "https://www.yuntrack.com/Track/Detail/YT2516700702469873",
"country_code": "CN",
"phone": "+86 400-8575-500",
"code": "yunexpress",
"name": "YunExpress",
"home_page": "http://www.yunexpress.com/",
"pic_url": "https://myqcloud.com/provider/yunexpress.gif"
},
"transit_status": "Delivered",
"transit_sub_status": "Delivered to the front door",
"last_event": "Delivered, In/At Mailbox",
"last_event_time": "2025-06-19T09:23:00Z",
"line_items": [{
"id": "16496732078139",
"product_id": "7405675249723",
"variant_id": "42240018219067",
"title": "The Multi-location Snowboard",
"sku": "",
"variant_title": null,
"quantity": 1
}],
"tracking_details": [{
"event_time": "2025-07-05 15:03:59",
"event_time_utc": "2025-07-05 19:03:59",
"event_detail": "Delivered, Left on porch. Signature Service not requested.",
"event_location": "Warsaw, KY, US"
},
{
"event_time": "2025-07-05 05:56:00",
"event_time_utc": "2025-07-05 09:56:00",
"event_detail": "On FedEx vehicle for delivery",
"event_location": "INDEPENDENCE, KY, US"
}
],
"last_mile_tracking_supported": true,
"last_mile_info": {
"lm_track_no": "2791659144",
"lm_track_no_provider_code": "fedex",
"lm_track_no_provider_name": "FedEx",
"courier_logo": "https://myqcloud.com/provider/fedex.gif",
"query_link": "",
"courier_home_page": "http://www.fedex.com/",
"details": [{
"event_time": "2025-07-05 05:56:00",
"event_time_utc": "2025-07-05 09:56:00",
"event_detail": "On FedEx vehicle for delivery",
"event_location": "INDEPENDENCE, KY, US"
}]
}
}]
},
"store": {
"name": "demo-1002",
"url": "demo-1002.myshopify.com"
}
}
π§Ύ Field Descriptions
Top-Level: order
Field | Type | Description |
| string | Display order number (e.g., |
| string | Numeric Shopify order number |
| string | Shopify internal order ID |
| string | Track123 branded tracking page URL |
| datetime | Order creation time (ISO 8601) |
| datetime | Last order update time |
| datetime/null | Order closure time (if available) |
| string | Overall order status ( |
customer
Field | Type | Description |
| string | Customer full name |
| string | Customer email |
| string | Customer phone (optional) |
shipping_address
Field | Type | Description |
| string | Country name |
| string | State or province |
| string | City |
| string | Street address |
| string | Phone (optional) |
fulfillments
Array of fulfillment shipments.
Field | Type | Description |
| string | Courier name in Shopify |
| string | Tracking number |
| string | Carrier code in Track123 (e.g., fedex, ups) |
| string | Current delivery status |
| string | Most recent tracking update |
| datetime | Timestamp of last event |
Courier
Field | Type | Description |
code | string | Carrier code in Track123 (e.g., fedex, ups) |
name | string | Carrier name in Track123 (e.g., fedex, ups) |
home_page | string | The official homepage of the carrier |
query_link | string | The carrier's official tracking URL with the tracking number pre-filled. |
pic_url | string | Carrier logo link |
line_items
List of products in this fulfillment.
Field | Type | Description |
| string | Product title |
| int | Quantity shipped |
tracking_details
List of tracking history events.
Field | Type | Description |
| datetime | Local time of the event |
| string | Description of the event |
| string | Location where the event occurred |
π Status Reference
Possible values for transit_status include:
Pending
Info received
In transit
Out for delivery
Delivered
Exception
Failed attempt
Expired
Possible values for transit_sub_status include:
π« Pending
No record
Unfulfilled
Fulfilled
π© Info Received
Info received
π In Transit
In transit
Processed through sort facility
Custom clearance completed
Picked up by the carrier
Forwarded to the airline
Arrived at destination country
Arrived at service point
Departed from the airport
π΅ Out for Delivery
Out for delivery
Waiting for pickup
Being redelivered
π¦ Delivered
Delivered
Package collected by customer
Sign by customer
Delivered to the front door
β Failed attempt
Invalid address
Customer was not available
Failed to contact
Failed attempt
β οΈ Exception
Unclaimed
Retained by customs
Shipment damaged/lost
Shipment cancelled
Refused by customer
Returned to sender
Returning to sender
Other
