Skip to main content

Get Shipment Receipt

Overview

{
"name": "Get Shipment Receipt",
"route": "GET /customer/shipment/:id/receipt",
"description": "Get the receipt for a specific shipment.",
"parameters": [
{
"name": "id",
"type": "string",
"description": "Shipment ID",
"required": true
}
],
"body": null,
"response": {
"success": {
"code": 200,
"description": "Returns the shipment receipt (likely a URL or file)"
},
"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)."
]
}