Skip to main content

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:

  1. Verifies that the favorite exists and belongs to the company
  2. Checks that the associated auction still exists
  3. 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

Single Auction