Overview
The auction system allows users to bid on auction products. Auction products have start and end dates, and users can place bids during the active auction period.Get Auction Products
Query Parameters
Page number
Response
Returns paginated list of auction products that are currently active (between auction_start_date and auction_end_date).Example
If
seller_auction_product setting is disabled, only admin auction products are returned.Get Auction Product Details
Path Parameters
Auction product ID
Response
Detailed auction product information including:- Product details
- Current highest bid
- Bid history
- Auction start and end dates
- Product images and description
Example
Place Bid
Request
Auction product ID
Bid amount (must be higher than current highest bid)
Response
Example
Get Bided Products
Query Parameters
Page number
Response
Returns paginated list of products where the authenticated user has placed bids, ordered by most recent bid first.Example
Get Purchase History
Query Parameters
Filter by payment status:
paid, unpaidFilter by delivery status:
pending, confirmed, picked_up, on_the_way, delivered, cancelledPage number
Response
Returns paginated list of orders containing auction products won by the user.Example
Auction Product Flow
1. Browse Auction Products
Users can browse active auction products using the/api/v2/auction/products endpoint.
2. View Product Details
Get detailed information about a specific auction product including current bid status.3. Place Bid
Authenticated users can place bids on active auctions. Each bid must be higher than the current highest bid.4. Win Auction
When the auction ends, the highest bidder wins the product.5. Complete Purchase
The winning bidder can complete the purchase by adding the won product to their cart and checking out.Important Notes
Auction products in cart:
- Cannot be mixed with regular products
- Quantity is always 1
- Once added to cart, the same auction product cannot be added again
Auction product characteristics:
- Has
auction_productflag set to 1 - Has
auction_start_datetimestamp - Has
auction_end_datetimestamp - Only active between start and end dates
- May have minimum bid increment
- Controlled by
seller_auction_productsystem setting
Bid Response Structure
Bid ID
Auction product ID
Bidder user ID
Bid amount
Bid timestamp
Product Response Fields
Auction products include all standard product fields plus:Auction flag (1 for auction products)
Auction start timestamp
Auction end timestamp
Current highest bid amount
Total number of bids placed