{"slug":"rechen-halowerk-com-v1-shop-basket-coupon-apportionment-c6fc7c","title":"Basket coupon allocation distributes a fixed discount across line values in whol","host":"rechen.halowerk.com","method":"POST","resource":"https://rechen.halowerk.com/v1/shop-basket-coupon-apportionment","category":"commerce","description":"Basket coupon allocation distributes a fixed discount across line values in whole minor units. Use it when an agent needs checking line-level prices after an order coupon.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":894,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"discount":100,"lines":[1530,2034,2034]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"discount":{"maximum":1000000000,"minimum":0,"type":"integer"},"lines":{"items":{"maximum":10000000,"minimum":0,"type":"integer"},"maxItems":50,"minItems":1,"type":"array"}},"required":["lines","discount"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":894,"error":null}],"description_full":"Basket coupon allocation distributes a fixed discount across line values in whole minor units. Use it when an agent needs checking line-level prices after an order coupon.","last_updated":"2026-11-25T23:57:07.811Z","schemes":["exact"]}