Get Package by ID
Get Package by ID
Retrieve a specific logistics package with all its legs
GET
Get Package by ID
Get Package by ID
Retrieve a specific logistics package by its UUID, including all associated legs and aggregated emissions data.New API: This endpoint is part of the new API architecture with improved design and maintainability.
Request
Headers
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
string
required
The UUID of the package to retrieveExample:
a1b2c3d4-e5f6-7890-abcd-ef1234567890Response
string
Unique identifier for the package (UUID)
string
Shipment identifier (groups packages from the same shipment)
string
Unique package identifier provided during creation
string
Client billing identifier (optional)
number
Package weight in kilograms
number
Total distance across all legs in kilometers
number
Total CO2 equivalent emissions across all legs in kilograms
string
Package status (active, inactive)
datetime
Timestamp when the package was created
datetime | null
Timestamp when the package was last updated
array
Array of leg objects associated with this package
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key404 Not Found
Cause: Package not found or doesn’t belong to your organization- The
package_idis a valid UUID - The package belongs to the organization specified in
x-organization-id - The package exists and hasn’t been deleted
Use Cases
Detailed Package Journey Analysis
Analyze the complete journey of a package:Generate Package Certificate Data
Prepare data for an emissions certificate:Related Endpoints
Get Packages
List all packages with pagination
Create Logistics Request
Create a new leg (with optional package association)
Get Logistics Requests
Retrieve all legs with pagination
Authentication Guide
Learn how to get your API key