wafle_pricing_compute_preview
Compute final prices for SKU and quantity pairs using current store rules. Preview base price, applied rules, and total to validate pricing changes before going live, without disturbing the cart.
Instructions
Compute the final price of a list of (sku, qty) pairs given the store's current rules. Returns base price, applied rules, final price.
Use as a sanity check before publishing pricing changes — answers 'how much would I be charging?' without disturbing the live cart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. | |
| items | Yes |