{"uid":"cap_itWYx3G27Knj1rRdunG3X","slug":"inventory-duplicate-value-remover-4e6f3394","name":"Inventory Duplicate-value Remover","description":"Inventory Duplicate-value remover: Remove duplicate values from an array while preserving order. Tailored for inventory workflows.","url":"https://market.datapackvibe.com/x402/unique-values-inventory?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"values":{"type":"array","items":{"type":"string"},"default":["red","blue","red"]}}},"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_Q6c4TnjQQpyd8RBMv2Ufm","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":"Removes duplicate values from a string array while preserving the original order, tailored for inventory workflows.","exampleAgentPrompt":"I have this inventory tag list — ['red','blue','red','green','blue'] — can you remove the duplicate values while keeping the original order?","exampleUseCases":[{"title":"Clean duplicate product category tags","prompt":"I've got a list of category tags from our product catalog that has tons of repeats — ['electronics','apparel','electronics','home','apparel','toys'] — can you deduplicate it while keeping the order they first appeared?"},{"title":"Deduplicate warehouse location codes","prompt":"Our warehouse export has duplicate location codes in this array: ['A1','B2','A1','C3','B2','D4'] — strip out the duplicates and keep the first occurrence order for me."},{"title":"Unique color variants for inventory display","prompt":"I need to show unique color options for a product listing — the raw values array is ['black','white','black','red','white','blue'] — remove the duplicates while preserving the order they appear."}],"resultDescription":"Returns the input array with duplicate string values removed, maintaining the original insertion order of first-seen values. Typically a JSON object containing the cleaned unique-values array.","failureModes":["Empty array input returns an empty array without error","Non-string array items may cause unexpected behavior or errors","Very large arrays may hit payload or timeout limits","Malformed JSON input returns a 400 error","Missing 'values' field in request body may result in validation error"],"whenToPreferThis":"Choose this endpoint when you need a fast, low-cost deduplication pass on string arrays specifically within inventory or product data workflows. It is ideal for lightweight, order-preserving deduplication without needing a full data-processing pipeline or database query. Prefer it over general-purpose tools when operating in agentic inventory automation flows where per-call cost and speed matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:48:26.575Z","isFirstParty":false,"canonicalSlug":"inventory-duplicate-value-remover-4e6f3394"}