Get Favorite Auction Details
GET/api/auction/favorites/:id
Retrieves the complete details of an auction marked as a favorite, including:
- Complete information of the original auction
- Favorite metadata (custom name, dates)
- Populated relationships (addresses, bids, winner if applicable)
Requirements:
- The favorite ID must be valid and exist
- The user must belong to the owner company
- The associated auction must not have been deleted
Validations performed:
- Verifies that the favorite exists and belongs to the company
- Checks that the associated auction still exists
- Populates all relevant relationships
Usage example:
GET /api/auction/favorites/60a1b2c3d4e5f6a1b2c3d4e5
The response includes both the auction data and the specific favorite metadata.
Request
Responses
- 200
- 400
- 401
Single Auction
Request error
Unauthorized