fabric’s Real-time Pricing Engine (RTPE) endpoints calculate prices and evaluate discounts for individual products and carts.
- The endpoints
Get prices by item IDand
Get prices by product SKUsare used to power product description pages.
- The endpoint
Evaluate cart promotionsis used to determine prices and returns cart-level promotions.
- Both the base price and sales prices are included.
- Use segments to target specific customer groups with particular promotions.
- Settings specific to stacking influence how RTPE applies promotions, determining which can be combined and in what order.
RTPE relies on cached information rather than getting product offers from the database. This approach is useful for immediate evaluation of promotions and price calculations. It is designed for speed, supports intricate promotional strategies, and handles millions of pricing requests daily.