{"uid":"cap_sIPsK1J_Xl_GnUUtLE9Oa","slug":"returns-handling-string-normalisation-numeric-row-ordering-844637a3","name":"Returns Handling — String Normalisation + Numeric Row Ordering","description":"Returns handling — String normalisation + Numeric row ordering: String normalisation + Numeric row ordering 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-025?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"}}},"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_foTP1fFIO1Vt7rPrAvgmo","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":"Normalises store group strings and orders rows numerically for returns handling data (returned_units, processing_minutes) across up to 200 rows, producing 2 analytical reports.","exampleAgentPrompt":"Can you normalise the store group strings and sort rows numerically by returned_units for my returns data? I have 4 rows: row-1 group-a 2026-10-01 with 10 returned units and 1 processing minute, row-2 group-b 2026-10-02 with 20 units and 2 minutes, row-3 group-a 2026-10-03 with 15 units and 3 minutes, row-4 group-b 2026-10-04 with 30 units and 4 minutes — give me both reports.","exampleUseCases":[{"title":"Cleaning messy store group labels in returns data","prompt":"My returns export has inconsistent store group names and I need the rows sorted by returned_units — can you normalise the strings and order the rows numerically? Here are my 6 rows with row IDs, store groups, dates, returned units, and processing minutes."},{"title":"Ordering returns records by processing time","prompt":"I want to rank my returns handling records by processing_minutes so I can spot the slowest stores. Can you normalise the store group strings and sort all 50 rows by processing_minutes for me?"},{"title":"Pre-report data prep for retail returns analyst","prompt":"Before I hand this returns dataset to my analyst, I need the store group labels normalised and the rows ordered numerically by returned_units — it's about 150 rows covering multiple store groups from last quarter. Can you run both reports?"}],"resultDescription":"Two analytical reports per call: one performing string normalisation on store_group values across the submitted rows, and one applying numeric row ordering based on the selected field (returned_units or processing_minutes). Results cover up to 200 input rows with no external lookups or predictions involved.","failureModes":["More than 200 rows submitted — API rejects with a validation error","Missing required fields (row_id, date, returned_units, processing_minutes) cause row-level errors","Invalid date format (not YYYY-MM-DD) triggers pattern validation failure","Null numeric values may be handled or excluded depending on implementation","Payment of 0.01 USDC not completed causes request to be blocked"],"whenToPreferThis":"Choose this endpoint when you need lightweight, local string normalisation of categorical store group labels combined with numeric row ordering for returns handling records — specifically when you have up to 200 rows with returned_units and/or processing_minutes fields and want two bundled analytical outputs in one low-cost call with no external data dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:36:28.038Z","isFirstParty":false,"canonicalSlug":"returns-handling-string-normalisation-numeric-row-ordering-844637a3"}