pub struct Candidate {
pub customer_id: CustomerId,
pub pet_id: PetId,
pub location_id: LocationId,
pub product: Product,
pub reason: Reason,
pub rationale: Text,
pub care_sensitivity: CareSensitivity,
pub inventory: Availability,
pub customer_preference: Preference,
}Expand description
Retail recommendation candidate containing customer/pet context, product, rationale, inventory, preference, and care-safety signals.
Fields§
§customer_id: CustomerIdCustomer whose preferences and opt-out status control whether recommendation work may proceed.
pet_id: PetIdPet receiving the grooming or care service.
location_id: LocationIdLocation where inventory and staff review capacity are evaluated for this candidate.
product: ProductProduct being considered for an internal upsell candidate, not an automatic customer send.
reason: ReasonInternal reason staff see when deciding whether the recommendation is useful and safe.
rationale: TextStaff-readable rationale explaining the source event or care context behind the candidate.
care_sensitivity: CareSensitivityCare-safety state that can require medical-document or manager review before use.
inventory: AvailabilityAvailability state that suppresses candidates when stock cannot support the recommendation.
customer_preference: PreferencePreference or opt-out state that prevents unwanted recommendation drafts.