{% comment %} Field reference for the BAP lot feed (GET /api/v1/clubs//bap-lots/). Included from the API key detail page and the Pending BAP lot page so the two can't drift. No context required. {% endcomment %}
FieldWhat it is
lot_id This site's permanent id for the lot. It never changes and is never reused, so use it as your idempotency key — if you've already awarded points for a lot_id, skip it when it shows up in a later pull.
lot_number_displayThe number printed on the lot, always a string. Looks like "12" or "101-1" depending on how the auction numbers lots, and is only unique within one auction — don't key on it.
lot_nameWhat the seller called the lot.
quantityHow many fish/plants were in the lot. Clubs can require a minimum here (see low_quantity below).
seller_name / seller_emailWho sold the lot — the breeder, and who BAP points normally go to. Blank if the lot has no seller on file.
winner_name / winner_emailWho bought the lot. Both blank when it didn't sell.
timestampWhen the lot ended or was sold, UTC. This is the field the date range filters on, and the date points are awarded for.
soldWhether the lot found a buyer.
categoryThe species category, e.g. "Cichlids". Blank if nobody categorized the lot — an uncategorized lot can't earn points.
program"BAP", "HAP" (plants), or "Culture", following this club's separate-program settings and the lot's category.
i_bred_this_fishWhether the seller ticked the breeder checkbox when they entered the lot. False means the lot was never claimed as bred and isn't a BAP candidate.
donationWhether the lot was donated to the club. Some clubs only give points for donations.
custom_checkbox / custom_checkbox_nameThe auction's own extra checkbox and its label (e.g. "Rare species"). Clubs can attach bonus points to it. The label is blank when the auction doesn't use one.
bap_eligible Whether this lot qualifies for points right now, by this club's rules — the same check the Pending BAP page uses. Recomputed on every request, so it can change if the club's settings or the seller's membership change.
bap_ineligible_reason
bap_ineligible_reason_display
Why not, when bap_eligible is false — a stable key plus a human-readable version. Both blank when the lot is eligible. The keys are: not_eligible, not_bred, not_sold, not_donation, has_min_bid, low_quantity, category_not_eligible, not_club_member, not_active_member, not_long_enough (the same seller had a lot with this name too recently).
bap_auto_reasonThe reason recorded once, when the lot ended, by the automatic pass. Blank if that pass found no problem. Unlike bap_ineligible_reason this is a historical record and is not recomputed — prefer the live field unless you specifically want to know what happened at the time.
bap_points_awardedPoints this site has already recorded against the lot. 0 means none yet.
manually_approvedWhether a club admin approved this lot by hand on the Pending BAP page, overriding the automatic checks.
bap_award The award record if points were already given here, otherwise null. Contains id, date, points, hap_points, cap_points, notes, and auto_awarded (true when this site awarded them, false when a person did). A non-null value is a strong signal not to award again elsewhere.