Skip to main content
The Get Manifest endpoint returns a complete snapshot of a flight manifest: its metadata (AWB number, flight date, current status), every package linked to it, and pre-computed aggregate statistics broken down by weight and courier. This single call is designed to power both the manifest detail view and the pre-flight package checklist.

Endpoint

GET /api/GetManifest.php

Authentication

All requests must include a valid JWT Bearer token in the Authorization header.
Authorization: Bearer <your_jwt_token>

Query Parameters

id
string
required
The UUID of the manifest to retrieve. This is the manifest_id returned by Create Manifest or Manage Manifests.

Example Request

curl -G https://app.shiipp.com/api/GetManifest.php \
  -H "Authorization: Bearer <your_jwt_token>" \
  --data-urlencode "id=abc123def456"

Response

200 — Success

The response is structured into three top-level sections under data: info (manifest metadata), packages (the full package list), and stats (aggregate totals and per-courier breakdowns).
{
  "status": "success",
  "data": {
    "info": {
      "manifest_id": "abc123def456",
      "manifest_number": "MAN-20240115-A3B2",
      "awb_number": "810-12345678",
      "airline_prefix": "810",
      "flight_date": "2024-01-20",
      "status": "draft",
      "notes": "January batch",
      "created_at": "2024-01-15 09:00:00"
    },
    "packages": [
      {
        "package_id": "pkg-uuid",
        "tracking_number": "1Z9999999999999999",
        "house_number": "HN-00142",
        "weight": 3.5,
        "first_name": "Jane",
        "last_name": "Smith",
        "user_code": "CUST001",
        "courier_name": "Express Couriers",
        "courier_code": "EXP",
        "carrier_name": "UPS"
      }
    ],
    "stats": {
      "total_count": 28,
      "total_weight_lb": 97.4,
      "total_weight_kg": 44.18,
      "by_courier": {
        "EXP": { "count": 18, "weight": 62.1, "house_color": "#065ea1" },
        "ACE": { "count": 10, "weight": 35.3, "house_color": "#e85d04" }
      }
    }
  }
}

Response Fields

data.info
object
Manifest-level metadata.
data.packages
array
Array of package objects linked to this manifest.
data.stats
object
Aggregate statistics computed across all linked packages.

Error Responses

HTTP CodeCause
400id query parameter is missing
401Missing or invalid JWT token
404No manifest found for the given id