{"uid":"cap_fWGRQ2_jg30AHGmLRnhga","slug":"price-after-percent-discount-batch-calculation-ed7d4057","name":"Price After Percent Discount – Batch Calculation","description":"Price after percent discount - Batch calculation: Batch calculation for Price after percent discount. 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 batch calculation deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-retail-discount-price-batch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["list_price","discount_percent"],"properties":{"list_price":{"type":"number","default":100,"maximum":1000000000000,"minimum":0},"discount_percent":{"type":"number","default":20,"maximum":100,"minimum":0}},"additionalProperties":false},"default":[{"list_price":100,"discount_percent":20},{"list_price":110.00000000000001,"discount_percent":22}],"maxItems":200,"minItems":1}}},"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_xkgBOk6gjgPUxZuji7S6c","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":"Calculates the final price after applying a percentage discount for a batch of up to 200 retail line items in a single call.","exampleAgentPrompt":"Calculate the discounted prices for these two products: a $150 jacket at 25% off and a $89.99 shirt at 15% off — give me the final prices for both.","exampleUseCases":[{"title":"Retail sale pricing for product catalog","prompt":"I have a list of 10 products — can you calculate the sale prices for all of them? The list prices range from $19.99 to $299.99 and the discounts vary between 10% and 40% per item."},{"title":"Scenario analysis for promotional discounts","prompt":"Run a discount scenario for me: what would the prices be if I apply a 15% discount to $50, a 20% discount to $75, and a 30% discount to $120?"},{"title":"Shopping cart markdown calculation","prompt":"My cart has three items: a $200 blender at 10% off, a $45 cookbook at 5% off, and a $350 stand mixer at 18% off — what are the final prices after the discounts?"}],"resultDescription":"Returns an array of computed post-discount prices corresponding to each input row, where each result reflects the list price reduced by the specified discount percentage. No live inventory, fee, or account data is included — results are purely calculated figures.","failureModes":["Batch exceeds 200 rows — request rejected with validation error","discount_percent outside 0–100 range — validation failure","list_price is negative — validation failure","Malformed JSON body — 400 Bad Request","Payment not included or insufficient — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need to compute post-discount prices for multiple items in a single round-trip, avoiding repeated single-item calls. It is well-suited for retail pricing workflows, promotional scenario analysis, and cart-level markdown calculations where only list price and a percentage discount are known. It does not require live inventory access or platform fee lookups, so it is ideal for purely local, deterministic price computations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:41.103Z","isFirstParty":false,"canonicalSlug":"price-after-percent-discount-batch-calculation-ed7d4057"}