Files
dashback/docs/api/routes/order/_id/shipping.get.md
2026-10-17 05:10:25 +02:00

913 B

GET /order/{id}/shipping

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

List shippings of an order

Lists shippings of the order (manifest) for the selected company.

Path parameters

Param Required Type Description
id yes integer Order ID

Response 200

List of shippings

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

Errors

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

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