Update load
Partially update a load by load number in Alvys, changing only the supplied fields such as rate, references, equipment, assigned driver, or stop details.
ETag in an If-Match header. The current ETag is returned on the ETag response header of this endpoint and of the load read endpoints. For more information on how versioning works and how to include it in your requests, please refer to the Versioning page.
Request Parameters
The following parameters are available in the URL path:Request Body
Example CURL Request
{loadNumber} with the actual load number, the If-Match value with the load’s current ETag, and YOUR_ACCESS_TOKEN with your actual Bearer token.
Response
On success the endpoint returns the updated load (the same object shape as Get Loads), and the new optimistic-concurrency token on theETag response header.
Status Codes
Authorizations
OAuth 2.0 client-credentials access token. Obtain one from https://auth.alvys.com/oauth/token (grant_type=client_credentials, audience=https://api.alvys.com/public/), then paste it here. The playground sends it as Authorization: Bearer <token>.
Headers
The load's current ETag (from a prior GET/response), for optimistic concurrency. Required; if omitted the request is rejected with 428.
Path Parameters
API version (e.g., 1.0)
"1.0"
Body
The partner-facing Order Number ("Shipment Id"). Maximum 30 characters. Omit the field to leave it unchanged; a present but blank/whitespace value is rejected.
30Response
OK
- Option 1
- Option 2
- Option 3