Skip to main content

List Booking Condition Reports

Get all condition reports for a specific booking, grouped by context (pickup and return).

Endpointโ€‹

GET /v1/bookings/{id}/condition-reports

Path Parametersโ€‹

ParameterTypeDescription
idintegerBooking ID

Example Requestโ€‹

curl "https://app.equipdash.com/api/v1/bookings/123/condition-reports" \
-H "Authorization: Bearer YOUR_API_KEY"

Responseโ€‹

{
"data": {
"pickup": [
{
"id": 1,
"booking_id": 123,
"inventory_log_id": 456,
"inventory_id": 78,
"product_id": 12,
"context": "pickup",
"condition": "good",
"condition_label": "Good",
"notes": "Minor surface wear on handlebars",
"reported_by": {
"id": 5,
"name": "Sarah Marshall"
},
"reported_at": "2026-03-25T09:15:00Z",
"photos": [
{
"id": 1,
"url": "https://app.equipdash.com/storage/conditionReports/abc123.jpg",
"order": 0
}
],
"created_at": "2026-03-25T09:15:00Z"
}
],
"return": [
{
"id": 2,
"booking_id": 123,
"inventory_log_id": 456,
"inventory_id": 78,
"product_id": 12,
"context": "return",
"condition": "damaged",
"condition_label": "Damaged",
"notes": "Deep scratch on frame, chain broken",
"reported_by": {
"id": 5,
"name": "Sarah Marshall"
},
"reported_at": "2026-03-26T16:30:00Z",
"photos": [
{
"id": 2,
"url": "https://app.equipdash.com/storage/conditionReports/def456.jpg",
"order": 0
},
{
"id": 3,
"url": "https://app.equipdash.com/storage/conditionReports/ghi789.jpg",
"order": 1
}
],
"created_at": "2026-03-26T16:30:00Z"
}
]
},
"meta": {
"request_id": "req_abc123",
"timestamp": "2026-03-26T16:35:00Z"
}
}

Notesโ€‹

  • Reports are grouped into pickup and return arrays
  • Each array is empty if no reports exist for that context
  • Photos include full URLs for direct access
  • The reported_by field shows the staff member who logged the condition