Skip to content
Last updated

Virtual price lists are a flexible tool for creating dynamic price lists that are calculated in real time with each API request. Unlike regular price lists, no product data is stored directly in the price list; all pricing is based on rules and information from a parent price list.

How do virtual price lists work?

A virtual price list is always linked to a parent price list and inherits its assortment and currency. All settings and price rules are defined at the price list level, and there is no product-level information until a price needs to be calculated. When an API request is made, prices are calculated instantly based on the current rules and the data from the parent price list.

Virtual price lists are not shown in the product catalog or admin interface and cannot be exported as a feed. They are only available via API.

Advantages

  • Real-time calculation: Prices are calculated instantly upon request, with no need to wait for batch jobs or queues.
  • No storage: Takes up no space in the system since no product data is stored.
  • Immediate updates: Changes to rules or the parent price list are reflected immediately with the next API request.

Limitations

  • Currency: The virtual price list must have the same currency as its parent price list.
  • Assortment: The assortment cannot be limited or extended; it is always identical to the parent price list.
  • Parent price list required: A virtual price list must always have a parent price list.
  • Price rules: All price rules must be based on information from the parent price list.
  • Product flags: Currently, Price rules based on product flags are not supported.
  • Rounding: Currently, No rounding according to rounding rules is performed; discounts and prices are calculated exactly according to the rules at each request.

Virtual price lists are a powerful tool for those who need flexible and real-time price calculations, but it is important to be aware of their functional limitations.