Trailers
Create trailers from templates or scratch, edit geometry (dimensions, posts, axles, rows and slots), validate, preview the side view, duplicate and archive.
| Method | Endpoint | Purpose |
|---|---|---|
GET |
/v1/trailer/list?whitelabel_id=&include_archived=0 |
Club trailers (summary: rows, slots, length, weights) |
GET |
/v1/trailer/templates |
The global templates any club may copy |
GET |
/v1/trailer/get/{id} |
Full geometry: trailer, posts, axles, rows[].slots[], checks |
GET |
/v1/trailer/preview/{id}?theme= |
Side-view SVG of the empty trailer |
GET |
/v1/trailer/validate/{id} |
Geometry checks only (errors, warnings) |
POST |
/v1/trailer/create |
name + dimensions → empty trailer |
POST |
/v1/trailer/update/{id} |
Dimensions & weights |
POST |
/v1/trailer/copy-template/{template_id} |
name? → your editable copy |
POST |
/v1/trailer/duplicate/{id} |
Copy one of your trailers |
POST |
/v1/trailer/archive/{id} |
`archived=1 |
POST |
/v1/trailer/set-posts/{id} |
posts = JSON [{position_in, max_row_index?}] (replaces all; max_row_index = highest row the post reaches, blank = all rows) |
POST |
/v1/trailer/set-axles/{id} |
axles = JSON [{position_in, rating_lb?}] (replaces all) |
POST |
/v1/trailer/set-rows/{id} |
rows = JSON [{row_index, height_in, is_slung, slots:[…]}] (replaces all) |
POST |
/v1/trailer/update-slot/{slot_id} |
One slot: usable, width_in, blocked_from_in, blocked_to_in, note |
All writes need a planner of the club (RP-108); templates are read-only (RP-302); archived trailers refuse edits (RP-303).
Start from a template
Request
POST /v1/trailer/copy-template/2
Authorization: Bearer rp_live_••••••••
Content-Type: application/json
{
"name": "Blue 34-footer"
}
Response 201
{
"success": true,
"trailer": {
"trailer_id": 4,
"whitelabel_id": 10,
"name": "Blue 34-footer",
"build_year": null,
"manufacturer": null,
"overall_length_in": 408,
"width_in": 102,
"height_unloaded_in": 126,
"height_loaded_in": 156,
"gvwr_lb": 10000,
"empty_weight_lb": 3800,
"empty_cg_in": null,
"tongue_weight_target_pct": 10,
"hitch_to_first_post_in": 84,
"max_forward_overhang_in": 48,
"max_aft_overhang_in": 180,
"min_boat_gap_in": 6,
"bed_length_in": 144,
"bed_width_in": 96,
"bed_height_from_ground_in": 48,
"bed_start_in": 84,
"is_template": false,
"template_source_id": 2,
"notes": "ESTIMATE: typical 34 ft tandem-axle shell trailer, 3 rack rows x 3 slots, storage bed under the lowest row. Measure your trailer and adjust.",
"created_by": 1001,
"created_at": 1791422040,
"updated_at": 1791422040,
"archived_at": null,
"posts": [
{
"id": 10,
"index": 1,
"position_in": 84
},
{
"id": 11,
"index": 2,
"position_in": 240
},
{
"id": 12,
"index": 3,
"position_in": 396
}
],
"axles": [
{
"id": 6,
"index": 1,
"position_in": 276,
"rating_lb": 5200
},
{
"id": 7,
"index": 2,
"position_in": 312,
"rating_lb": 5200
}
],
"rows": [
{
"id": 10,
"index": 1,
"height_from_ground_in": 60,
"label": "Row 1",
"slots": [
{
"slot_id": 82,
"trailer_id": 4,
"row_index": 1,
"side": "driver",
"position": "forward",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
{
"slot_id": 83,
"trailer_id": 4,
"row_index": 1,
"side": "driver",
"position": "aft",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
"… 7 more"
]
},
{
"id": 11,
"index": 2,
"height_from_ground_in": 84,
"label": "Row 2",
"slots": [
{
"slot_id": 91,
"trailer_id": 4,
"row_index": 2,
"side": "driver",
"position": "forward",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
{
"slot_id": 92,
"trailer_id": 4,
"row_index": 2,
"side": "driver",
"position": "aft",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
"… 7 more"
]
},
{
"id": 12,
"index": 3,
"height_from_ground_in": 108,
"label": "Row 3",
"slots": [
{
"slot_id": 100,
"trailer_id": 4,
"row_index": 3,
"side": "driver",
"position": "forward",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
{
"slot_id": 101,
"trailer_id": 4,
"row_index": 3,
"side": "driver",
"position": "aft",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
"… 7 more"
]
}
],
"slots": [
{
"slot_id": 82,
"trailer_id": 4,
"row_index": 1,
"side": "driver",
"position": "forward",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
{
"slot_id": 83,
"trailer_id": 4,
"row_index": 1,
"side": "driver",
"position": "aft",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
"… 25 more"
]
},
"summary": {
"row_count": 3,
"slot_count": 27,
"usable_slot_count": 18,
"post_count": 3,
"axle_count": 2,
"length_display": "34' 0\"",
"gvwr_display": "10,000 lb"
},
"issues": []
}
Geometry
Positions are inches from the front of the tongue. Rows are numbered from the top (row_index 1 = top rack); each row has slots keyed by side ∈ driver | center | passenger and position ∈ forward | aft | full.
Request
POST /v1/trailer/set-posts/4
Authorization: Bearer rp_live_••••••••
Content-Type: application/json
{
"posts": "[{\"position_in\":60},{\"position_in\":180},{\"position_in\":300},{\"position_in\":396}]"
}
Response 200
{
"success": true,
"trailer": {
"trailer_id": 4,
"whitelabel_id": 10,
"name": "Blue 34-footer",
"build_year": null,
"manufacturer": null,
"overall_length_in": 414,
"width_in": 102,
"height_unloaded_in": 126,
"height_loaded_in": 156,
"gvwr_lb": 10000,
"empty_weight_lb": 2400,
"empty_cg_in": null,
"tongue_weight_target_pct": 10,
"hitch_to_first_post_in": 84,
"max_forward_overhang_in": 48,
"max_aft_overhang_in": 180,
"min_boat_gap_in": 6,
"bed_length_in": 144,
"bed_width_in": 96,
"bed_height_from_ground_in": 48,
"bed_start_in": 84,
"is_template": false,
"template_source_id": 2,
"notes": "ESTIMATE: typical 34 ft tandem-axle shell trailer, 3 rack rows x 3 slots, storage bed under the lowest row. Measure your trailer and adjust.",
"created_by": 1001,
"created_at": 1791422040,
"updated_at": 1791422040,
"archived_at": null,
"posts": [
{
"id": 13,
"index": 1,
"position_in": 60
},
{
"id": 14,
"index": 2,
"position_in": 180
},
"… 2 more"
],
"axles": [
{
"id": 6,
"index": 1,
"position_in": 276,
"rating_lb": 5200
},
{
"id": 7,
"index": 2,
"position_in": 312,
"rating_lb": 5200
}
],
"rows": [
{
"id": 10,
"index": 1,
"height_from_ground_in": 60,
"label": "Row 1",
"slots": [
{
"slot_id": 82,
"trailer_id": 4,
"row_index": 1,
"side": "driver",
"position": "forward",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
{
"slot_id": 83,
"trailer_id": 4,
"row_index": 1,
"side": "driver",
"position": "aft",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
"… 7 more"
]
},
{
"id": 11,
"index": 2,
"height_from_ground_in": 84,
"label": "Row 2",
"slots": [
{
"slot_id": 91,
"trailer_id": 4,
"row_index": 2,
"side": "driver",
"position": "forward",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
{
"slot_id": 92,
"trailer_id": 4,
"row_index": 2,
"side": "driver",
"position": "aft",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
"… 7 more"
]
},
{
"id": 12,
"index": 3,
"height_from_ground_in": 108,
"label": "Row 3",
"slots": [
{
"slot_id": 100,
"trailer_id": 4,
"row_index": 3,
"side": "driver",
"position": "forward",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
{
"slot_id": 101,
"trailer_id": 4,
"row_index": 3,
"side": "driver",
"position": "aft",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
"… 7 more"
]
}
],
"slots": [
{
"slot_id": 82,
"trailer_id": 4,
"row_index": 1,
"side": "driver",
"position": "forward",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
{
"slot_id": 83,
"trailer_id": 4,
"row_index": 1,
"side": "driver",
"position": "aft",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
"… 25 more"
]
},
"summary": {
"row_count": 3,
"slot_count": 27,
"usable_slot_count": 18,
"post_count": 4,
"axle_count": 2,
"length_display": "34' 6\"",
"gvwr_display": "10,000 lb"
},
"issues": [
{
"code": "first_post_mismatch",
"severity": "warning",
"message": "Hitch-to-first-post distance does not match the first post position.",
"field": "hitch_to_first_post_in"
}
]
}
get returns everything the editor and the load planner need, including the geometry checks RiggerPlus computes (post past bed end, axle outside frame, slot wider than row, missing GVWR …). The same list is available alone via validate:
Request
GET /v1/trailer/validate/4
Authorization: Bearer rp_live_••••••••
Response 200
{
"success": true,
"trailer_id": 4,
"is_sound": true,
"issues": [
{
"code": "first_post_mismatch",
"severity": "warning",
"message": "Hitch-to-first-post distance does not match the first post position.",
"field": "hitch_to_first_post_in"
}
]
}
Dimensions & weights
Request
POST /v1/trailer/update/4
Authorization: Bearer rp_live_••••••••
Content-Type: application/json
{
"overall_length_in": "34' 6\"",
"empty_weight_lb": 2400
}
Response 200
{
"success": true,
"trailer": {
"trailer_id": 4,
"whitelabel_id": 10,
"name": "Blue 34-footer",
"build_year": null,
"manufacturer": null,
"overall_length_in": 414,
"width_in": 102,
"height_unloaded_in": 126,
"height_loaded_in": 156,
"gvwr_lb": 10000,
"empty_weight_lb": 2400,
"empty_cg_in": null,
"tongue_weight_target_pct": 10,
"hitch_to_first_post_in": 84,
"max_forward_overhang_in": 48,
"max_aft_overhang_in": 180,
"min_boat_gap_in": 6,
"bed_length_in": 144,
"bed_width_in": 96,
"bed_height_from_ground_in": 48,
"bed_start_in": 84,
"is_template": false,
"template_source_id": 2,
"notes": "ESTIMATE: typical 34 ft tandem-axle shell trailer, 3 rack rows x 3 slots, storage bed under the lowest row. Measure your trailer and adjust.",
"created_by": 1001,
"created_at": 1791422040,
"updated_at": 1791422040,
"archived_at": null,
"posts": [
{
"id": 10,
"index": 1,
"position_in": 84
},
{
"id": 11,
"index": 2,
"position_in": 240
},
{
"id": 12,
"index": 3,
"position_in": 396
}
],
"axles": [
{
"id": 6,
"index": 1,
"position_in": 276,
"rating_lb": 5200
},
{
"id": 7,
"index": 2,
"position_in": 312,
"rating_lb": 5200
}
],
"rows": [
{
"id": 10,
"index": 1,
"height_from_ground_in": 60,
"label": "Row 1",
"slots": [
{
"slot_id": 82,
"trailer_id": 4,
"row_index": 1,
"side": "driver",
"position": "forward",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
{
"slot_id": 83,
"trailer_id": 4,
"row_index": 1,
"side": "driver",
"position": "aft",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
"… 7 more"
]
},
{
"id": 11,
"index": 2,
"height_from_ground_in": 84,
"label": "Row 2",
"slots": [
{
"slot_id": 91,
"trailer_id": 4,
"row_index": 2,
"side": "driver",
"position": "forward",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
{
"slot_id": 92,
"trailer_id": 4,
"row_index": 2,
"side": "driver",
"position": "aft",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
"… 7 more"
]
},
{
"id": 12,
"index": 3,
"height_from_ground_in": 108,
"label": "Row 3",
"slots": [
{
"slot_id": 100,
"trailer_id": 4,
"row_index": 3,
"side": "driver",
"position": "forward",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
{
"slot_id": 101,
"trailer_id": 4,
"row_index": 3,
"side": "driver",
"position": "aft",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
"… 7 more"
]
}
],
"slots": [
{
"slot_id": 82,
"trailer_id": 4,
"row_index": 1,
"side": "driver",
"position": "forward",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
{
"slot_id": 83,
"trailer_id": 4,
"row_index": 1,
"side": "driver",
"position": "aft",
"width_in": 34,
"usable": true,
"blocked_from_in": null,
"blocked_to_in": null,
"note": null
},
"… 25 more"
]
},
"summary": {
"row_count": 3,
"slot_count": 27,
"usable_slot_count": 18,
"post_count": 3,
"axle_count": 2,
"length_display": "34' 6\"",
"gvwr_display": "10,000 lb"
},
"issues": []
}
Fields: overall_length_in, bed_length_in, width_in, top_rack_height_in, tongue_length_in, empty_weight_lb, gvwr_lb, max_tongue_weight_lb, max_forward_overhang_in, max_aft_overhang_in, notes. Any length/weight accepts the usual unit strings.