{"uid":"cap_lk3GiN0i2pINHmtt_I7W8","slug":"unit-return-rate-sequential-input-change-attribution-cf1f3093","name":"Unit Return Rate Sequential Input-Change Attribution","description":"Unit return rate - Sequential input-change attribution: Sequential input-change attribution for Unit return rate. 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 sequential input-change attribution deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-retail-unit-return-waterfall?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"object","default":{"sold_units":110.00000000000001,"returned_units":5.5},"required":["returned_units","sold_units"],"properties":{"sold_units":{"type":"number","default":100,"maximum":1000000000000,"minimum":0,"exclusiveMinimum":0},"returned_units":{"type":"number","default":5,"maximum":1000000000000,"minimum":0}},"additionalProperties":false},"before":{"type":"object","default":{"sold_units":100,"returned_units":5},"required":["returned_units","sold_units"],"properties":{"sold_units":{"type":"number","default":100,"maximum":1000000000000,"minimum":0,"exclusiveMinimum":0},"returned_units":{"type":"number","default":5,"maximum":1000000000000,"minimum":0}},"additionalProperties":false}}},"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_H9hLpWpNNweHMZS3SrN78","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":"Performs sequential (waterfall) attribution analysis to decompose how changes in sold units and returned units drive a change in the unit return rate between two periods.","exampleAgentPrompt":"We went from 100 sold units and 5 returns last month to 110 sold units and 5.5 returns this month — can you do a sequential waterfall attribution to show how much of the return rate change came from the change in sold units versus the change in returned units?","exampleUseCases":[{"title":"Quarterly return rate driver breakdown","prompt":"Last quarter we had 8,000 sold units and 640 returns; this quarter we had 9,200 sold units and 828 returns. Do a sequential attribution waterfall to tell me how much of the return rate shift was driven by the change in units sold versus the change in number of returns."},{"title":"Diagnosing a spike in return rate","prompt":"Our return rate jumped — before it was 500 sold and 20 returned, now it's 480 sold and 30 returned. Break down that return rate change sequentially so I know whether to blame a drop in sales volume or an actual increase in returns."},{"title":"Scenario planning for sales volume impact","prompt":"If we keep returns flat at 50 units but grow sales from 1,000 to 1,250 units, how does that change our return rate and what's the attribution of that improvement to the volume increase alone?"}],"resultDescription":"Returns a sequential (waterfall) attribution breakdown showing the before and after unit return rates, the total change in return rate, and the individual contribution of each input change (sold units delta and returned units delta) in the order they are applied sequentially, so users can understand which factor drove how much of the movement.","failureModes":["sold_units equal to zero causes division-by-zero in return rate calculation — likely returns an error or undefined result","extremely large unit values near the 1 trillion maximum may cause precision issues","missing required fields (sold_units or returned_units) will cause schema validation failure","returned_units exceeding sold_units produces a return rate over 100%, which is mathematically valid but may be flagged"],"whenToPreferThis":"Use this endpoint when you need to isolate and quantify how much each individual input variable (sold units vs returned units) contributed to a change in the unit return rate between two time periods, using a sequential waterfall methodology. Prefer this over simple delta calculations when stakeholders need to understand cause-attribution rather than just the net change. It is specifically suited for retail scenarios where only aggregated sold and returned unit counts are available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T13:07:08.946Z","isFirstParty":false,"canonicalSlug":"unit-return-rate-sequential-input-change-attribution-cf1f3093"}