- Docs
- Techvia TMS overview
- API reference
- Loads API reference
- Change the status
Change the status
PATCH /api/public/v1/loads/{id}/status
Scope: loads.write. MCP tool: update_load_status. Rules and edge cases: Loads guide.
Parameters
Section titled “Parameters”| Name | In | Type | Required | Notes |
|---|---|---|---|---|
id |
path | string (uuid) | yes |
Request body
Section titled “Request body”Content type application/json. Limits and rules for each field are in the Loads guide.
| Field | Type | Required | Notes |
|---|---|---|---|
status |
string | yes | One of Open, Covered, AtPickup, EnRoute, AtDelivery, Delivered |
rowVersion |
integer | yes |
Responses
Section titled “Responses”| Status | Meaning | Body |
|---|---|---|
200 |
OK | PublicLoadStatusResult |
404 |
Not Found | ProblemDetails |
409 |
Conflict | ProblemDetails |
422 |
Unprocessable Entity | ProblemDetails |
200 body
Section titled “200 body”| Field | Type | Notes |
|---|---|---|
id |
string (uuid) | |
loadNumber |
string | |
status |
enum LoadStatus | One of PreBook, Open, Covered, AtPickup, EnRoute, AtDelivery, Delivered, Completed, Invoiced, Cancelled, TONU |
rowVersion |
integer |
Errors are RFC 7807 problem details; see Errors.