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
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
The UUID of the package to retrieveExample:
a1b2c3d4-e5f6-7890-abcd-ef1234567890Response
Unique identifier for the package (UUID)
Shipment identifier (groups packages from the same shipment)
Unique package identifier provided during creation
Client billing identifier (optional)
Package weight in kilograms
Total distance across all legs in kilometers
Total CO2 equivalent emissions across all legs in kilograms
Package status (active, inactive)
Timestamp when the package was created
Timestamp when the package was last updated
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

