Files
dashback/docs/api/routes/shipment/_id/shipping.get.md
2026-10-12 19:48:04 +02:00

911 B

GET /shipment/{id}/shipping

Protected. Requires a valid session cookie (credentials: 'include').

List packages of a shipment

Lists all packages (shippings) belonging to the specified shipment manifest.

Path parameters

Param Required Type Description
id yes integer Shipment ID

Response 200

List of packages

{
  "shippings": [
    {
      "id": 1,
      "manifestId": 1,
      "number": "…",
      "trackingCode": "…",
      "carrier": "…",
      "type": "…",
      "state": "…"
    }
  ]
}

Errors

Status Description
400 Invalid ID or no company selected — {"error":"…"}
401 Unauthorized — {"error":"…"}
404 Shipment not found — {"error":"…"}

Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.