Network
Create a load
Groups containers that leave on the same BOL into a load. The containers must all be at the same location, active, not empty and not already in a load.
Authorization
authorization AuthorizationBearer <token>
In: header
Request Body
application/json
Load params
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.parsel.app/api/loads" \ -H "Content-Type: application/json" \ -d '{ "container_ids": [ "550e8400-e29b-41d4-a716-446655440001" ] }'{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440002"
}
}{
"errors": {
"message": "The request is unauthorized",
"status": "Unauthorized"
}
}{
"errors": {
"message": "The requested resource could not be found",
"status": "Not Found"
}
}{
"errors": {
"message": "The request is in conflict with the current state of the resource",
"status": "Conflict"
}
}{
"errors": {
"message": "The request could not be processed",
"reasons": [
{
"carrier": "UniUni",
"message": "Zip code not serviced.",
"code": "zip_not_serviced"
}
],
"status": "Unprocessable Entity"
}
}Create a container POST
Creates an active container at the given location for the given carrier. The operator must be assigned to the location, and the location must hand off to the carrier.
Depart a load POST
Departs the load's containers. `provider` and `bol_id` are optional but must be sent together, to tie the load to its trip. The load departs even when no trip matches.