- Docs
- Techvia TMS overview
- API reference
- Quotes API reference
- Set the status of a quote
Set the status of a quote
PATCH /api/public/v1/quotes/{id}/status
Scope: loads.rates. MCP tool: set_quote_status. Rules and edge cases: Quotes 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 Quotes guide.
| Field | Type | Required | Notes |
|---|---|---|---|
status |
string | yes | One of Draft, Sent, Won, Lost |
rowVersion |
integer | yes | |
lostReason |
string | no | |
lostNotes |
string | no |
Responses
Section titled “Responses”| Status | Meaning | Body |
|---|---|---|
200 |
OK | PublicQuote |
404 |
Not Found | ProblemDetails |
409 |
Conflict | ProblemDetails |
422 |
Unprocessable Entity | ProblemDetails |
200 body
Section titled “200 body”| Field | Type | Notes |
|---|---|---|
id |
string (uuid) | |
quoteNumber |
string | |
status |
string | |
customerId |
string (uuid) | |
customerName |
string | |
dispatcherName |
string | |
originCity |
string | |
originState |
string | |
destCity |
string | |
destState |
string | |
originFacilityId |
string (uuid) | |
originFacilityName |
string | |
destFacilityId |
string (uuid) | |
destFacilityName |
string | |
equipment |
string | |
commodity |
string | |
weightLbs |
number | |
pickupDate |
string (date) | |
deliveryDate |
string (date) | |
miles |
number | |
quotedRate |
number | |
suggestedRate |
number | |
validUntil |
string (date) | |
sentAt |
string (date-time) | |
wonAt |
string (date-time) | |
lostAt |
string (date-time) | |
lostReason |
string | |
lostNotes |
string | |
convertedLoadId |
string (uuid) | |
notes |
string | |
rowVersion |
integer | |
createdAt |
string (date-time) | |
updatedAt |
string (date-time) |
Errors are RFC 7807 problem details; see Errors.