Skip to main content
GET
/
tracking
/
order
cURL
curl --request GET \
  --url https://dev.api.r4technology.io/tracking/order \
  --header 'Authorization: Basic <encoded-value>'
{
  "order_id": "ZG12345678",
  "current_status": "hub dropoff",
  "tracking_updates": [
    {
      "status": "order created",
      "timestamp": "2025-03-15T12:00:00Z",
      "description": "Return order created"
    },
    {
      "status": "detail",
      "timestamp": "2025-03-15T14:23:17Z",
      "description": "Package scanned and received at a dropoff point"
    },
    {
      "status": "hub dropoff",
      "timestamp": "2025-03-16T09:12:48Z",
      "description": "Package arrived at consolidation hub"
    }
  ],
  "total_updates": 3,
  "packages": [
    {
      "package_id": "550e8400e29b41d4a716446655440000_02-010005",
      "items": [
        {
          "id": "abc123",
          "sku": "SHIRT-BLU-LG",
          "title": "Blue Shirt",
          "description": "Classic blue button-down shirt",
          "variant_description": "Large",
          "quantity": 1,
          "image": "https://example.com/shirt.jpg"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

order_id
string
default:ZG12345678
required

The return order ID to track

Response

Tracking information for the order

order_id
string

The order ID that was looked up

current_status
string

The most recent status across all packages in the order

tracking_updates
object[]

Array of tracking updates in chronological order

total_updates
integer

Total number of tracking updates

packages
object[]

Array of packages in the order, each containing their line items