Skip to content
Light
English

Validations based on Customer Purchase History

This article aims to explain how Validations based on Customer Purchase History work on Demander.

Available at: Captura da tela 1Captura da tela 2Captura da tela 3


The module allows you to parameterize three types of validation:

  • Quantity Tolerance
    • Defines the acceptable variation of units in relation to the customer’s historical purchasing average.
  • Value Tolerance (%)
    • Defines the acceptable percentage variation in price in relation to the customer’s historical average for that product.
  • Warning for Never Purchased Products
    • Defines whether the system should warn when the customer has never purchased the item before.

All module calculations are based on the average of the customer’s last 8 purchases for each product.

Captura da tela 4


With the aim of assisting the seller in checking order information, issuing alerts when quantities or values differ from the customer’s historical purchasing pattern, or when an item has never been purchased previously.

  • Product never purchased When the customer already has previous orders, and the product was not included in any of them, the seller is alerted to review whether the inclusion of the item is correct.

  • Amount out of average

    • The system calculates the average quantity of the customer’s last 8 purchases for the product.
    • Compares the reported quantity with the average and applies the configured tolerance.
    • Displays alerts only once when the quantity is:
      • Less than the minimum acceptable limit.
      • Greater than the maximum acceptable limit.
  • Value out of average

    • The system calculates the average value of the customer’s last 8 purchases for the product.
    • Applies the configured percentage tolerance to define the acceptable range.
    • Displays alerts only once when the price is:
      • Below the minimum limit.
      • Above the maximum limit.

⚠️Note: after alerting once in each scenario (below/above), the system does not repeat the warning for the same product, avoiding excessive pop-ups.


  • Mobile
    • When editing the item: the alert appears whenever the seller tries to save with a non-standard quantity or value.
    • In the listing: the alert is displayed once when the quantity falls below the minimum and once when it exceeds the maximum.
  • Web
    • The validation logic is identical to that of mobile.
    • The difference is that on the web the message appears directly in the listing, as there is no detailed screen for the item.

Captura da tela 5