{"uid":"cap_ogHW4nikgqd0UQrbY5yj0","slug":"bundle-contribution-weighted-result-mean-138e626c","name":"Bundle Contribution Weighted Result Mean","description":"Bundle contribution - Weighted result mean: Weighted result mean for Bundle contribution. 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-bundle-contribution-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["bundle_price","item_costs","packing_cost","fulfilment_cost"],"properties":{"item_costs":{"type":"number","default":50,"maximum":1000000000000,"minimum":0},"bundle_price":{"type":"number","default":100,"maximum":1000000000000,"minimum":0},"packing_cost":{"type":"number","default":5,"maximum":1000000000000,"minimum":0},"fulfilment_cost":{"type":"number","default":10,"maximum":1000000000000,"minimum":0}},"additionalProperties":false},"default":[{"item_costs":50,"bundle_price":100,"packing_cost":5,"fulfilment_cost":10},{"item_costs":55.00000000000001,"bundle_price":110.00000000000001,"packing_cost":5.5,"fulfilment_cost":11},{"item_costs":50,"bundle_price":100,"packing_cost":5,"fulfilment_cost":10},{"item_costs":55.00000000000001,"bundle_price":110.00000000000001,"packing_cost":5.5,"fulfilment_cost":11}],"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_ggr4Si0LUmulXXV063G_z","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":"Calculates the weighted mean of bundle contribution margins across multiple retail product bundles using supplied pricing and cost figures.","exampleAgentPrompt":"I have four bundles: the first has item costs of $50, packing $5, fulfilment $10, and sells for $100; the second has item costs $55, packing $5.50, fulfilment $11, selling for $110; the third same as the first; and the fourth same as the second. The weights are 1, 2, 1, 2. Can you calculate the weighted mean bundle contribution across all four?","exampleUseCases":[{"title":"Weighted margin across seasonal bundles","prompt":"I have three seasonal gift bundles this quarter — one costs $60 in items, $6 packing, $12 fulfilment, sells for $120; the next costs $80, $8, $14, sells for $150; and the last costs $45, $5, $10, sells for $95. The bundles sold 500, 1200, and 300 units respectively — use those as weights and give me the weighted mean contribution."},{"title":"Scenario analysis for new bundle pricing","prompt":"I'm testing two pricing scenarios for my bundles before launch. Bundle A: item costs $70, packing $7, fulfilment $13, price $140 with weight 3. Bundle B: item costs $90, packing $9, fulfilment $16, price $170 with weight 1. What's the weighted mean bundle contribution across both scenarios?"},{"title":"Multi-SKU bundle profitability review","prompt":"Can you work out the weighted average bundle contribution for my five product bundles? They have item costs of $30, $45, $60, $75, $90; packing costs $3, $4.50, $6, $7.50, $9; fulfilment costs $8, $10, $12, $14, $16; and prices $65, $95, $125, $155, $185. Use equal weights of 1 for all five."}],"resultDescription":"Returns a single weighted mean bundle contribution value computed from the supplied rows of bundle pricing data (bundle_price, item_costs, packing_cost, fulfilment_cost) and corresponding weights. The result reflects the contribution margin averaged across bundles proportionally to their weights.","failureModes":["Mismatched array lengths between rows and weights returns a validation error","Fewer than 2 rows or weights supplied causes a schema minimum violation","Negative or zero bundle_price may produce negative or zero contribution results","All-zero weights could result in a divide-by-zero or undefined mean","Values exceeding maximum (1e12) are rejected by schema validation"],"whenToPreferThis":"Choose this endpoint when you need a local, offline-style computation of weighted average bundle contribution margin using retail figures you already have — no live inventory, platform, or account data is needed. Prefer it for scenario planning, pricing sensitivity analysis, or aggregating contribution across multiple bundle SKUs with different sales volumes as weights.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:41.228Z","isFirstParty":false,"canonicalSlug":"bundle-contribution-weighted-result-mean-138e626c"}