Skip to main content
POST
Release load to billing
The Release Load endpoint moves a load’s trips into billing, the same as the Release button in Alvys. The load moves to Released once all of its trips are in billing. The company’s required-documents and required-equipment settings apply, exactly as they do in the app. For more information on how versioning works and how to include it in your requests, please refer to the Versioning page.
This endpoint requires the load:update scope. See Authentication.

Request parameters

Request body

The body is optional. Send no body, or {}, to release every Delivered or TONU trip on the load.

Retry safely

A load or trip that is already Released, or further along in billing, returns 200 OK with the load unchanged. A retry after a timeout is safe.

Response

200 OK with the load, in the same shape as Get load.

Errors

Missing equipment

A 400 Bad Request for missing equipment carries an errorCode:

Example cURL request

Release one trip and confirm the missing-equipment warning:
To release every Delivered or TONU trip on the load, send the request with no body.

Example response (200 OK)

Abbreviated. The full load has the same fields as Get load.

Rate limits

All endpoints are subject to rate limits to protect the API from traffic spikes. For detailed information, see the Rate Limits section.

Authorizations

Authorization
string
header
required

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>.

Path Parameters

loadNumber
string
required
version
string
default:2.0
required

API version (e.g., 2.0)

Example:

"2.0"

Body

TripId
string | null

Release only this trip of the load. Omit to release every Delivered or TONU trip on the load.

AcknowledgeMissingEquipment
boolean | null

Confirms the release when the company is set to warn about a trip missing its truck, trailer or driver. Has no effect when the company blocks the release instead.

Response

OK

Id
string
required
LoadNumber
string
required
OrderNumber
string
required
CustomerId
string
required
Status
string
required
LoadType
string
required
deprecated
CustomerType
string[]
required
Stops
object[]
required
InvoiceAs
string
required
Notes
object[]
required
CreatedAt
string<date-time>
required
CreatedBy
string
required
References
object[]
required
PONumber
string | null
CustomerName
string | null
CustomerNumber
string | null
ContractId
string | null
Fleet
object | null
OfficeId
string | null
Linehaul
object | null
FuelSurcharge
object | null
CustomerAccessorials
object | null
CustomerAccessorialsDetails
object[] | null
CustomerRate
object | null
CustomerMileage
object | null
InvoicedAmount
object | null
Weight
object | null
Volume
object | null
ScheduledPickupAt
string<date-time> | null
ScheduledDeliveryAt
string<date-time> | null
PickedUpAt
string<date-time> | null
DeliveredAt
string<date-time> | null
InvoicedAt
string<date-time> | null
LastInvoiceSentAt
string<date-time> | null
CancelledAt
string<date-time> | null
CancelledBy
string | null
CustomerServiceRepId
string | null
CustomerSalesAgentId
string | null
CustomerSalesManagerId
string | null
CustomerLoadPlannerId
string | null
UpdatedAt
string<date-time> | null
UpdatedBy
string | null
CustomerAccountManagerId
string | null
PaidAt
string<date-time> | null
TotalPaid
object | null
Payments
object[] | null
TenderId
string | null
IsDeleted
boolean | null
RequiredEquipment
string[] | null
Origin
object | null

Address of the stop a load's Origin or Destination was derived from (first pickup / last delivery), with the identity of the physical location at that stop.

Destination
object | null

Address of the stop a load's Origin or Destination was derived from (first pickup / last delivery), with the identity of the physical location at that stop.