{"uid":"cap_Xu1DzpvTOIi033Z81rrHb","slug":"price-after-capped-percentage-coupon-weighted-result-mean-a2adf981","name":"Price After Capped Percentage Coupon – Weighted Result Mean","description":"Price after capped percentage coupon - Weighted result mean: Weighted result mean for Price after capped percentage coupon. Supplied retail figures only, up to 200 records. No platform access, live rates or order execution. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded weighted result mean report.","url":"https://market.datapackvibe.com/x402/assistant-ar-retail-capped-coupon-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","maximum_discount"],"properties":{"list_price":{"type":"number","default":100,"maximum":1000000000000,"minimum":0},"discount_percent":{"type":"number","default":30,"maximum":100,"minimum":0},"maximum_discount":{"type":"number","default":20,"maximum":1000000000000,"minimum":0}},"additionalProperties":false},"default":[{"list_price":100,"discount_percent":30,"maximum_discount":20},{"list_price":110.00000000000001,"discount_percent":33,"maximum_discount":22},{"list_price":100,"discount_percent":30,"maximum_discount":20},{"list_price":110.00000000000001,"discount_percent":33,"maximum_discount":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_hcVkldvmd0gqsSL5lck3b","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 final prices after applying a percentage discount capped at a maximum dollar amount, across up to 200 retail price rows.","exampleAgentPrompt":"I have 4 retail items with list prices of $100, $110, $100, and $110, each with a 30–33% discount capped at $20–22, and weights of 1, 2, 1, 2 — can you calculate the weighted mean price customers actually pay after the capped coupon?","exampleUseCases":[{"title":"Weighted average price for promotional campaign","prompt":"We're running a percentage-off sale capped at $20 max discount per item. I have 5 products with list prices between $80 and $150 and a 25% discount, with weights reflecting how many units we sold. What's the weighted mean price customers are paying after the coupon?"},{"title":"Benchmarking net revenue across SKUs","prompt":"Can you calculate the weighted average final price for my top 10 SKUs after applying our capped coupon — 30% off but no more than $15 off — using last month's sales volumes as the weights?"},{"title":"Comparing effective price across store tiers","prompt":"I need to know the weighted mean post-coupon price for items across two store tiers: tier-1 stores have higher list prices and cap the discount at $25, tier-2 stores cap at $10. Use equal weights for now and calculate both in a single batch of 8 rows."}],"resultDescription":"A single weighted mean value representing the average final price customers pay after the capped percentage coupon is applied across all submitted rows, factoring in the supplied per-row weights.","failureModes":["Fewer than 2 rows submitted — minimum row count not met","Weights array length does not match rows array length","list_price, discount_percent, or maximum_discount missing from a row — required fields validation error","Values exceeding maximum bounds (e.g. list_price > 1e12) rejected","More than 200 rows submitted — exceeds maxItems limit","Payment not received or insufficient USDC — 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a statistically weighted aggregate (mean) of post-coupon prices across multiple retail items where the percentage discount has a hard dollar cap — particularly when individual rows have different importance weights such as sales volume or inventory share. Prefer this over a simple average when rows are not equally significant.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T00:46:56.135Z","isFirstParty":false,"canonicalSlug":"price-after-capped-percentage-coupon-weighted-result-mean-a2adf981"}