{
"name": "Get Shipment",
"route": "GET /customer/shipment/:id",
"description": "Find a shipment for a customer using its id.",
"parameters": [
{
"name": "id",
"type": "string",
"description": "Shipment ID",
"required": true
}
],
"body": null,
"response": {
"success": {
"code": 200,
"description": "Returns the shipment object including related information like days in storage, services, and total"
},
"error": [
{
"code": 401,
"description": "Unauthorized - User is not authenticated"
},
{
"code": 403,
"description": "Forbidden - User does not have permission to access this resource"
},
{
"code": 404,
"description": "Not Found - Shipment not found or doesn't belong to the customer"
}
]
},
"notes": [
"This endpoint requires authentication (InternalGuard and AuthorizationGuard)."
]
}