{"uid":"cap_D7DH-80s_szoXEbabItsZ","slug":"returned-goods-value-recovery-weighted-result-mean-fdd1cb1b","name":"Returned Goods Value Recovery – Weighted Result Mean","description":"Returned goods value recovery - Weighted result mean: Weighted result mean for Returned goods value recovery. 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-return-recovery-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["recovered_value","returned_goods_cost"],"properties":{"recovered_value":{"type":"number","default":600,"maximum":1000000000000,"minimum":0},"returned_goods_cost":{"type":"number","default":1000,"maximum":1000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"default":[{"recovered_value":600,"returned_goods_cost":1000},{"recovered_value":660,"returned_goods_cost":1100},{"recovered_value":600,"returned_goods_cost":1000},{"recovered_value":660,"returned_goods_cost":1100}],"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_GOEc_3d7hrDxvuBJT18mf","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 a weighted mean of the recovery rate (recovered_value / returned_goods_cost) across up to 200 retail return records, using caller-supplied weights.","exampleAgentPrompt":"Calculate the weighted mean return recovery rate for these 4 retail records: [{recovered: 600, cost: 1000, weight: 1}, {recovered: 660, cost: 1100, weight: 2}, {recovered: 600, cost: 1000, weight: 1}, {recovered: 660, cost: 1100, weight: 2}] — I want a single weighted average recovery figure across all of them.","exampleUseCases":[{"title":"Quarterly returns recovery benchmarking","prompt":"I have 12 months of returned goods data with different sales volumes each month — can you compute the weighted mean recovery rate using monthly sales volume as the weight, so higher-volume months count more? Here are the recovered values and return costs per month."},{"title":"Multi-SKU return performance rollup","prompt":"We have 8 product categories with different return volumes. Can you roll up a single weighted average recovery rate across all categories using the number of returns per category as the weight? I'll give you the recovered value and cost of returns for each."},{"title":"Comparing recovery before and after policy change","prompt":"Give me the weighted mean recovery rate for our last 50 returned goods records from before our new returns policy, with equal weights on each record, so I can benchmark it against our post-policy numbers."}],"resultDescription":"A single bounded weighted result mean report representing the weighted average of (recovered_value / returned_goods_cost) across all supplied rows, weighted by the provided weights array. The result summarizes overall value recovery performance as one comparable metric.","failureModes":["Fewer than 2 rows supplied — minimum of 2 rows required","returned_goods_cost of 0 or less — exclusiveMinimum enforced, will reject zero-cost records","weights array length does not match rows array length — mismatch will cause an error","More than 200 rows submitted — hard cap of 200 records per call","Non-numeric values in recovered_value, returned_goods_cost, or weights fields"],"whenToPreferThis":"Choose this endpoint when you have multiple retail return records with varying importance (e.g. different sales volumes or confidence levels) and want a single summary metric that properly accounts for those differences via weighting. Prefer over a simple mean when records are not equally representative. Best suited for offline or batch analysis of supplied retail figures — not for live order data, real-time rate feeds, or platform-integrated return processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:57:10.602Z","isFirstParty":false,"canonicalSlug":"returned-goods-value-recovery-weighted-result-mean-fdd1cb1b"}