Reject current winning bid
PUT/company/auction/rejectCurrent/:service_code
Reject the winning bid (bidWinner) and recalculate the next best offer.
Allow rejection of unsatisfactory bids and continue with the selection process.
Objective
Provide flexibility in selection by rejecting unsuitable bids.
Use Cases
- Reject bid from carrier with poor history
- Decline price outside budget
- Remove unreliable carrier from the process
Rejection Process
- Find ALL bids from the rejected user
- Remove all bids from that user
- Recalculate the best bid among the remaining ones
- Update bidWinner with the new best offer
Request
Responses
- 200
- 401
- 403
- 404
- 500
Bid successfully rejected.
Unauthorized - Missing or invalid JWT token
Forbidden - The user does not have permission for this action.
Not Found - The requested resource does not exist
Internal server error