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

POST
/api/loads

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"
  }
}