{"uid":"cap_HER0B5S0AWtRH1OKn7czD","slug":"returns-handling-exact-row-deduplication-numeric-interval-filter-5e5ccb6c","name":"Returns Handling — Exact Row Deduplication + Numeric Interval Filter","description":"Returns handling — Exact row deduplication + Numeric interval filter: Exact row deduplication + Numeric interval filter for supplied returns handling records (returned_units, processing_minutes). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-retail-04-043?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","store_group","date","returned_units","processing_minutes"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"store_group":{"type":"string","default":"","maxLength":80},"returned_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"processing_minutes":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","store_group":"group-a","returned_units":10,"processing_minutes":1},{"date":"2026-10-02","row_id":"row-2","store_group":"group-b","returned_units":20,"processing_minutes":2},{"date":"2026-10-03","row_id":"row-3","store_group":"group-a","returned_units":15,"processing_minutes":3},{"date":"2026-10-04","row_id":"row-4","store_group":"group-b","returned_units":30,"processing_minutes":4}],"maxItems":200,"minItems":1},"field":{"enum":["returned_units","processing_minutes"],"type":"string","default":"returned_units"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_S0KQGGGh4HIpqGgTMHwUv","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":"Deduplicates return records and filters rows by a numeric interval (returned_units or processing_minutes), producing two analytical reports from supplied data.","exampleAgentPrompt":"Deduplicate these returns handling records and filter rows where returned_units falls between 5 and 50 — here are 4 rows with row_id, store_group, date, returned_units, and processing_minutes fields, and I want both the dedup report and the interval filter report.","exampleUseCases":[{"title":"Retail returns data cleanup","prompt":"I have 150 rows of returns data from our stores with row_id, store_group, date, returned_units, and processing_minutes — can you deduplicate them exactly and then filter to only rows where returned_units is between 10 and 200, giving me both reports?"},{"title":"Processing time range analysis","prompt":"Can you run deduplication and a numeric interval filter on my returns records? I want to filter on processing_minutes between 0 and 60 to see only rows within a one-hour processing window — I have about 80 rows to process."},{"title":"Store group returns audit","prompt":"We need to audit our store group returns data — please remove any exact duplicate rows and filter to returned_units between 1 and 100 across all my 120 records, and give me the two analysis reports."}],"resultDescription":"Two analytical reports: (1) a deduplicated set of the supplied returns records with exact duplicate rows removed, and (2) a subset filtered to rows where the selected numeric field (returned_units or processing_minutes) falls within the specified minimum–maximum interval. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — request exceeds row limit","Missing required fields (row_id, store_group, date, returned_units, processing_minutes) on any row","Invalid date format (must match YYYY-MM-DD pattern)","minimum value greater than maximum value — empty interval result","Non-numeric values in returned_units or processing_minutes where numeric expected","Empty rows array submitted"],"whenToPreferThis":"Choose this endpoint when you need to both deduplicate returns handling records and apply a numeric range filter on returned_units or processing_minutes in a single low-cost call, without needing live data lookups, predictions, or external integrations. Ideal for small-to-medium batches up to 200 rows where two bundled analytical reports are needed for retail returns operations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:54:48.532Z","isFirstParty":false,"canonicalSlug":"returns-handling-exact-row-deduplication-numeric-interval-filter-5e5ccb6c"}