Custom Logic in Repricer AI allows you to define specific rules that influence how prices are set for your products. It is evaluated early in the repricing process and can directly determine the price for a SKU. However, it is important to understand that Custom Logic is not the final step in the pricing flow. All pricing decisions are subject to additional validation and safeguards before they are applied.
How Custom Logic Works
During repricing, Custom Logic is evaluated before standard repricing strategies such as Buy Box, machine learning, or fallback logic. If a Custom Logic rule returns a specific price, that price becomes the initial decision and standard strategies are skipped. If the rule indicates to fall back to the repricer, the system proceeds with normal logic. If the rule indicates not to reprice, the SKU is skipped.
When multiple Custom Logic rules are defined, they are evaluated in order of priority. Only the highest-priority applicable rule is executed. Within that rule, conditions are processed sequentially until a valid outcome is reached. This means that while multiple rules may exist, only one rule determines the initial pricing decision for a given run.
If a rule results in setting the price to a maximum value, that decision takes precedence over standard repricing strategies. However, it is still subject to further processing before being finalized.
Post-Processing and Final Price Validation
After Custom Logic determines an initial price, the system applies a series of post-processing steps. These steps ensure that all pricing decisions remain within configured limits and follow marketplace constraints.
The first stage of post-processing is the configuration limiter, implemented through the LimitPriceDecision logic. This step evaluates the proposed price against various configuration settings. For new items, it ensures that pricing does not deviate excessively from the Buy Box price and can enforce rules such as maintaining specific deltas relative to Amazon, FBA, or merchant offers. It can also enforce shared Buy Box behavior when configured.
This stage also enforces daily price movement limits. If a maximum price increase or decrease per day is configured, the system compares the proposed price against the previous day’s price and ensures that the change does not exceed the allowed percentage. If it does, the price is adjusted to stay within the permitted range.
For used items, additional controls apply. These include maintaining relationships with new item pricing, ensuring appropriate positioning relative to competitors with the same or different conditions, and enforcing percentage-based differences from the initial price.It is important to note that the configuration limiter can modify the price returned by Custom Logic before it is finalized. After configuration-based adjustments, the system applies shipping normalization. If a product includes shipping, the repricer adjusts the final value so that the stored listing price reflects the correct breakdown between item price and shipping.
The final stage is the safety clamp and save process. At this stage, the system enforces hard constraints such as minimum price, maximum price, and fixed price settings. If the calculated price falls below the minimum, it is raised to the minimum. If it exceeds the maximum, it is reduced accordingly. If a fixed price is defined, it overrides all other values.
The system also includes safeguards to prevent unnecessary or repetitive price changes, particularly when the product already holds the Buy Box. In such cases, recent pricing behavior and competitor activity are considered before applying a new change.
Only after all these checks are completed is the price saved and applied.
Max Price Increase in a Day
The “Max Price Increase in a Day” setting is a configurable control that limits how much a price can increase compared to the previous day. This rule is applied during the configuration limiter stage.
The limit is enforced only when a previous day’s price is available and the setting is configured with a value greater than zero. It applies only when the proposed price represents an increase over the current price.
The allowed maximum price is calculated based on the previous day’s price and the configured percentage. If the proposed price exceeds this calculated limit, it is reduced to the maximum allowed value.
Because this rule is applied after Custom Logic, it takes precedence over any price increase generated by Custom Logic. Even if a rule attempts to set a significantly higher price, the system will cap the increase according to this setting.
In certain scenarios, such as specific aggressive pricing paths for new items, this rule may not be applied.
Summary
Custom Logic determines the initial pricing decision and takes priority over standard repricing strategies. However, it is not the final authority. Configuration limiters, shipping adjustments, and hard safety constraints are applied afterward to ensure that all pricing changes remain controlled, compliant, and stable.
As a result, even when Custom Logic sets a price, the final value may be adjusted before it is saved.
Comments
0 comments
Article is closed for comments.