{"uid":"cap_539b_UJyeoywaT-fYuDFr","slug":"price-after-percent-discount-weighted-result-mean-8b029fda","name":"Price After Percent Discount – Weighted Result Mean","description":"Price after percent discount - Weighted result mean: Weighted result mean for Price after percent discount. Supplied retail figures only. Local calculation and scenario analysis; no live inventory, account access, platform fee lookup or order execution. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded weighted result mean deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-retail-discount-price-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["list_price","discount_percent"],"properties":{"list_price":{"type":"number","default":100,"maximum":1000000000000,"minimum":0},"discount_percent":{"type":"number","default":20,"maximum":100,"minimum":0}},"additionalProperties":false},"default":[{"list_price":100,"discount_percent":20},{"list_price":110.00000000000001,"discount_percent":22},{"list_price":100,"discount_percent":20},{"list_price":110.00000000000001,"discount_percent":22}],"maxItems":200,"minItems":2},"weights":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":0},"default":[1,2,1,2],"maxItems":200,"minItems":2}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-Ha_Sgffxd2QSbUQZctLm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the weighted mean of post-discount prices given a list of list prices, discount percentages, and per-row weights.","exampleAgentPrompt":"I have four products with list prices of $100, $110, $100, and $110 and discounts of 20%, 22%, 20%, and 22% respectively — with weights of 1, 2, 1, 2. What's the weighted mean price after applying those discounts?","exampleUseCases":[{"title":"Blended sale price for seasonal promotion","prompt":"We're running a promo across three SKUs with list prices of $50, $80, and $120, discounts of 10%, 15%, and 25%, and sales volumes of 200, 150, and 50 units. What's the volume-weighted average price customers actually pay after the discounts?"},{"title":"Scenario analysis for discount strategy","prompt":"Compare these two discount scenarios for me: products priced at $200 and $300 with discounts of 5% and 10%, weighted equally — what's the weighted mean final price?"},{"title":"Supplier cost estimate after tiered discounts","prompt":"I have five supplier items at list prices $40, $60, $90, $120, $150 with negotiated discounts of 8%, 12%, 18%, 20%, and 25%, and order weights of 3, 5, 2, 4, 1. Calculate the weighted average price I'd actually pay."}],"resultDescription":"Returns a single numeric value representing the weighted arithmetic mean of the after-discount prices across all input rows, where each row's after-discount price is computed as list_price × (1 − discount_percent/100) and then weighted by the corresponding weight value.","failureModes":["Fewer than 2 rows provided — validation error","Weights array length does not match rows array length — schema mismatch error","discount_percent outside 0–100 range — validation error","list_price or weight exceeds maximum bounds (1e12) — validation error","More than 200 rows submitted — maxItems exceeded error"],"whenToPreferThis":"Choose this endpoint when you need a locally computed, offline weighted mean of discounted retail prices without requiring live inventory, platform fee data, or order execution. Ideal for scenario analysis, bulk pricing estimates, or aggregating discount outcomes across product lines where custom weighting (e.g. by volume, importance, or frequency) is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:34.343Z","isFirstParty":false,"canonicalSlug":"price-after-percent-discount-weighted-result-mean-8b029fda"}