{"uid":"cap_3pcLghjKhuNlyngQmF6_F","slug":"net-merchandise-sales-sequential-input-change-attribution-waterfall-472cbabe","name":"Net Merchandise Sales – Sequential Input-Change Attribution (Waterfall)","description":"Net merchandise sales - Sequential input-change attribution: Sequential input-change attribution for Net merchandise sales. 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-net-merchandise-sales-waterfall?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"object","default":{"returns":330,"discounts":550,"gross_merchandise_sales":11000},"required":["gross_merchandise_sales","discounts","returns"],"properties":{"returns":{"type":"number","default":300,"maximum":1000000000000,"minimum":0},"discounts":{"type":"number","default":500,"maximum":1000000000000,"minimum":0},"gross_merchandise_sales":{"type":"number","default":10000,"maximum":1000000000000,"minimum":0}},"additionalProperties":false},"before":{"type":"object","default":{"returns":300,"discounts":500,"gross_merchandise_sales":10000},"required":["gross_merchandise_sales","discounts","returns"],"properties":{"returns":{"type":"number","default":300,"maximum":1000000000000,"minimum":0},"discounts":{"type":"number","default":500,"maximum":1000000000000,"minimum":0},"gross_merchandise_sales":{"type":"number","default":10000,"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_CvKKkVjNv-sU8sjHjXCjc","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 sequential waterfall attribution showing how changes in gross merchandise sales, discounts, and returns each contributed to the change in net merchandise sales between two periods.","exampleAgentPrompt":"Can you run a waterfall attribution on our net merchandise sales? Last period we had gross sales of $10,000, discounts of $500, and returns of $300; this period we have gross sales of $11,000, discounts of $550, and returns of $330 — show me how much each factor contributed to the change.","exampleUseCases":[{"title":"Quarterly NMS driver review","prompt":"Our Q2 gross merchandise sales were $8.5M with $620K in discounts and $410K in returns; Q3 came in at $9.1M gross, $700K discounts, and $380K returns. Run a sequential waterfall attribution so I can see exactly how much each factor drove the NMS change."},{"title":"Discount impact on revenue bridge","prompt":"We increased our discount spend from $200K to $350K this month while gross sales moved from $5M to $5.2M and returns stayed flat at $150K. Can you do a sequential attribution to show how much of the net merch sales shift was due to the discount increase versus the sales lift?"},{"title":"Returns spike post-holiday analysis","prompt":"Post-holiday our returns jumped from $80K to $210K, gross sales dropped from $3.2M to $2.9M, and discounts fell from $300K to $220K. Run a waterfall breakdown to see which input had the biggest impact on net merchandise sales."}],"resultDescription":"A sequential (waterfall) attribution output that quantifies how each input change — gross merchandise sales, discounts, and returns — individually contributed to the overall change in net merchandise sales between the 'before' and 'after' states, with each driver's isolated dollar or percentage impact listed in sequence.","failureModes":["Missing required fields (gross_merchandise_sales, discounts, or returns in either before or after object) results in a validation error","Values exceeding the maximum of 1,000,000,000,000 are rejected","Non-numeric values for any input field cause a schema error","Payment failure (x402) returns 402 if USDC payment is not attached or insufficient","Server-side computation errors may return 500 with no attribution output"],"whenToPreferThis":"Choose this endpoint when you need a structured, sequential waterfall attribution specifically for net merchandise sales — i.e., you want to understand the ordered, per-driver contribution of gross sales changes, discount changes, and return changes to a net sales delta. It is ideal for retail finance, e-commerce reporting, and scenario analysis where live inventory or platform data is not needed and local calculation from supplied figures suffices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:47:09.415Z","isFirstParty":false,"canonicalSlug":"net-merchandise-sales-sequential-input-change-attribution-waterfall-472cbabe"}