After reviewing bids on your job, use this endpoint to accept the one that best fits your needs. Accepting a bid locks in the Provider: they are assigned to the job, the job’s bid status is updated toDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/harshalw2003/BidAuc/llms.txt
Use this file to discover all available pages before exploring further.
"accepted", and the accepted bid is recorded on the job document. This action is final — once any bid on a job is accepted, no further bids can be accepted for that job.
Endpoint
Authentication
Requires a valid JWT session cookie. The authenticated user should be the Seeker who owns the job.Request parameters
The ID of the bid you want to accept.
Example request
Success response — bid accepted
Response — another bid already accepted
If a bid for the same job was already accepted previously, no changes are made and the following response is returned:Error response
What changes when a bid is accepted
Accepting a bid triggers two updates:- The bid — its
statusfield is set to"accepted". - The job — three fields are updated:
provideris set to the bid’spostedBy(the Provider’s user ID)bidStatusis set to"accepted"acceptedBidis set to the accepted bid’s_id
"unaccepted" status but can no longer be accepted.
Response fields
true when the bid was accepted or when another bid was already accepted. false on error.A human-readable status message. Values:
"Bid successfully accepted", "Other Bid Already Accepted", or "Error accepting Bid".The updated bid document. Present only when a bid was newly accepted in this request. Not returned in the “already accepted” case.