Update existing auction
PUT/company/auction
Allows modifying an existing auction. Only auctions in the 'draft' status can be edited. Requires valid JWT authentication and UTC verification for dates.
Editable fields:
- Pickup/delivery addresses
- Dates (must be UTC)
- Cargo type
- Weight/volume
- Notes
- Favorite
Restrictions:
- The service_code cannot be changed
- A published or locked auction cannot be modified
Request
Responses
- 200
- 400
- 401
- 404
Auction updated successfully
Invalid data. Possible causes:
- Attempt to modify non-editable fields
- Auction is not in 'draft' status
- Incorrect date format
Unauthorized (invalid or expired token)
Auction not found