API documentation | API docs for agents | OpenAPI 3.1
PATCH /api/v1/loads/{loadId}
ark.update_load_details
Updates a visible load revision, including customer, team, reps, reference fields, commodity, dimensions, currencies, customer-pay lines, and optional full stop replacement.
- Availability
- Expanded preview
- Scopes
loads:write- ARK permissions
canEditLoad- Team visibility
- Required and enforced
- Idempotency-Key
- Required for this write
- Approval
- No MCP approval on REST API-token calls
- Rate limit
- API credential and organization budgets
Parameters
loadIdpathstringrequired- format: uuid
Idempotency-Keyheaderstringrequired- Required for external write operations. Reuse the same key only for exact retries of the same request body.
- min length: 1; max length: 200
Request body
customerIdstring | nullformat: uuid
teamIdstringformat: uuid
brokerIdstring | nullformat: uuid
customerServiceRepIdstring | nullformat: uuid
temperaturenumber | nullinternalCommentsstring | nullmax length: 5000
externalCommentsstring | nullmax length: 5000
hotCommentsstring | nullmax length: 5000
pickupNumberstring | nullmax length: 100
purchaseOrderNumberstring | nullmax length: 100
billOfLadingstring | nullmax length: 100
productstring | nullmax length: 200
valuenumber | nulldescriptionstring | nullmax length: 5000
sizestring | nullmax length: 100
trailerstring | nullmax length: 100
weightnumber | nullweightUnitstringone of: lbs, kg
lengthnumber | nullwidthnumber | nullheightnumber | nullnumberOfPiecesinteger | nullmin: 0
hazmatbooleandocHighbooleanstackablebooleantsabooleanteamDriverRequiredbooleanmilesnumber | nullmin: 0
maximumBuyAmountnumber | nullMaximum carrier buy amount for load-board and market-intelligence workflows.
min: 0
customerCurrencystringone of: USD, CAD, MXN
carrierCurrencystringone of: USD, CAD, MXN
customerPayarray<object>Replacement customer-pay lines. Omit to leave customer pay unchanged.
max items: 100
stopsarray<object>Replacement stop list. Omit to leave stops unchanged.
min items: 2; max items: 50
Example request
curl -X PATCH 'https://arktms.com/api/v1/loads/<loadId>' \
-H "Authorization: Bearer $ARK_API_TOKEN" \
-H "Idempotency-Key: <unique-key>" \
-H "Content-Type: application/json" \
-d '{}'Success response
Updated load
objectstringrequiredokbooleanrequiredapi_versionstringrequiredrequest_idstringrequireddataobjectrequireddata.idstringrequiredformat: uuid
data.loadNumberstringrequireddata.statusstring | nullrequireddata.teamIdstring | nullrequiredformat: uuid
data.customerobject | nullrequireddata.activeDispatchobject | nullrequireddata.pickupNumberstring | nullrequireddata.purchaseOrderNumberstring | nullrequireddata.billOfLadingstring | nullrequireddata.productstring | nullrequireddata.descriptionstring | nullrequireddata.createdAtstringrequiredformat: date-time
data.modifiedAtstring | nullrequiredformat: date-time
Errors
HTTP 400- Invalid request
HTTP 401- Authentication required
HTTP 403- Permission, scope, team, or entitlement denied
HTTP 404- Resource not found
HTTP 409- Idempotency conflict or in-progress retry