Create Private Auction
POST/api/auction/private
Create a private auction visible only to specific carriers from the company.
Requirements:
- The company must be multi-tenant
- Must specify vehicle (Vehicle ID) and trucker (Carrier ID)
- Both (vehicle and carrier) must belong to the company
Differences from public auctions:
- Not visible in the general marketplace
- Does not require a bidding period
- Directly creates an associated delivery
- Does not generate bidding history
Example request body:
{
vehicle: 60a1b2c3d4e5f6a1b2c3d4e5,
trucker: 60a1b2c3d4e5f6a1b2c3d4e6,
etl_date: 2025-08-15T08:00:00Z,
etd_date: 2025-08-15T18:00:00Z,
cargo_weight: 1000,
cargo_height: 2.5
}
The response includes the created delivery directly.
Request
Responses
- 200
- 400
- 401
Single Auction
Request error
Unauthorized