{"slug":"agent-halowerk-com-v1-oss-opencart-checkout-rule-regression-019869","title":"Runs your simple-product checkout cases against the pinned OpenCart source in a ","host":"agent.halowerk.com","method":"POST","resource":"https://agent.halowerk.com/v1/oss-opencart-checkout-rule-regression-review","category":"code","description":"Runs your simple-product checkout cases against the pinned OpenCart source in a private, non-root database that exists only for the length of the request. For each case it reports the totals the native code actually produces, which expectations were missed, and where a cart path diverged, rather tha","price_listed":0.005,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"cases":[{"case_id":"baseline","coupon":{"customer_use_limit":0,"enabled":false,"free_shipping":false,"minimum_subtotal":"0.0000","prior_customer_uses":0,"prior_total_uses":0,"product_ids":[],"requires_login":false,"total_use_limit":0,"type":"F","value":"7.0000"},"customer_group_id":1,"customer_id":0,"expected":{"cart_paths_equivalent":false,"coupon_eligible":false,"total":"44.40000000"},"lines":[{"product_id":101,"quantity":2},{"product_id":102,"quantity":3}]},{"case_id":"customer_use_rejected","coupon":{"customer_use_limit":1,"enabled":true,"free_shipping":false,"minimum_subtotal":"0.0000","prior_customer_uses":1,"prior_total_uses":1,"product_ids":[],"requires_login":false,"total_use_limit":0,"type":"F","value":"7.0000"},"customer_group_id":1,"customer_id":7,"expected":{"cart_paths_equivalent":false,"coupon_eligible":false,"total":"44.40000000"},"lines":[{"product_id":101,"quantity":2},{"product_id":102,"quantity":3}]},{"case_id":"disabled_product_removed","coupon":{"customer_use_limit":0,"enabled":false,"free_shipping":false,"minimum_subtotal":"0.0000","prior_customer_uses":0,"prior_total_uses":0,"product_ids":[],"requires_login":false,"total_use_limit":0,"type":"F","value":"7.0000"},"customer_group_id":1,"customer_id":0,"expected":{"cart_paths_equivalent":false,"coupon_eligible":false,"total":"44.40000000"},"lines":[{"product_id":101,"quantity":2},{"product_id":102,"quantity":3},{"product_id":103,"quantity":1}]},{"case_id":"eligible_product_cap","coupon":{"customer_use_limit":0,"enabled":true,"free_shipping":false,"minimum_subtotal":"0.0000","prior_customer_uses":0,"prior_total_uses":0,"product_ids":[102],"requires_login":false,"total_use_limit":0,"type":"F","value":"100.0000"},"customer_group_id":1,"customer_id":0,"expected":{"cart_paths_equivalent":false,"coupon_eligible":true,"total":"27.90000000"},"lines":[{"product_id":101,"quantity":2},{"product_id":102,"quantity":3}]},{"case_id":"fixed_free_shipping","coupon":{"customer_use_limit":0,"enabled":true,"free_shipping":true,"minimum_subtotal":"0.0000","prior_customer_uses":0,"prior_total_uses":0,"product_ids":[],"requires_login":false,"total_use_limit":0,"type":"F","value":"7.0000"},"customer_group_id":1,"customer_id":0,"expected":{"cart_paths_equivalent":false,"coupon_eligible":true,"total":"32.30000000"},"lines":[{"product_id":101,"quantity":2},{"product_id":102,"quantity":3}]},{"case_id":"global_use_rejected","coupon":{"customer_use_limit":0,"enabled":true,"free_shipping":false,"minimum_subtotal":"0.0000","prior_customer_uses":0,"prior_total_uses":1,"product_ids":[],"requires_login":false,"total_use_limit":1,"type":"F","value":"7.0000"},"customer_group_id":1,"customer_id":0,"expected":{"cart_paths_equivalent":false,"coupon_eligible":false,"total":"44.40000000"},"lines":[{"product_id":101,"quantity":2},{"product_id":102,"quantity":3}]},{"case_id":"group_discount","coupon":{"customer_use_limit":0,"enabled":false,"free_shipping":false,"minimum_subtotal":"0.0000","prior_customer_uses":0,"prior_total_uses":0,"product_ids":[],"requires_login":false,"total_use_limit":0,"type":"F","value":"7.0000"},"customer_group_id":2,"customer_id":0,"expected":{"cart_paths_equivalent":false,"coupon_eligible":false,"total":"42.20000000"},"lines":[{"product_id":101,"quantity":2},{"product_id":102,"quantity":3}]},{"case_id":"logged_coupon_rejected","coupon":{"customer_use_limit":0,"enabled":true,"free_shipping":false,"minimum_subtotal":"0.0000","prior_customer_uses":0,"prior_total_uses":0,"product_ids":[],"requires_login":true,"total_use_limit":0,"type":"F","value":"7.0000"},"customer_group_id":1,"customer_id":0,"expected":{"cart_paths_equivalent":false,"coupon_eligible":false,"total":"44.40000000"},"lines":[{"product_id":101,"quantity":2},{"product_id":102,"quantity":3}]},{"case_id":"minimum_rejected","coupon":{"customer_use_limit":0,"enabled":true,"free_shipping":false,"minimum_subtotal":"40.0000","prior_customer_uses":0,"prior_total_uses":0,"product_ids":[],"requires_login":false,"total_use_limit":0,"type":"F","value":"7.0000"},"customer_group_id":1,"customer_id":0,"expected":{"cart_paths_equivalent":false,"coupon_eligible":false,"total":"44.40000000"},"lines":[{"product_id":101,"quantity":2},{"product_id":102,"quantity":3}]},{"case_id":"percentage","coupon":{"customer_use_limit":0,"enabled":true,"free_shipping":false,"minimum_subtotal":"0.0000","prior_customer_uses":0,"prior_total_uses":0,"product_ids":[],"requires_login":false,"total_use_limit":0,"type":"P","value":"20.0000"},"customer_group_id":1,"customer_id":0,"expected":{"cart_paths_equivalent":false,"coupon_eligible":true,"total":"36.70000000"},"lines":[{"product_id":101,"quantity":2},{"product_id":102,"quantity":3}]}],"discounts":[{"customer_group_id":2,"priority":1,"product_id":101,"quantity":2,"type":"P","value":"10.0000"}],"flat_shipping":{"cost":"4.0000","tax_class_id":1},"products":[{"enabled":true,"minimum_quantity":1,"price":"10.0000","product_id":101,"shipping":true,"stock":100,"tax_class_id":1},{"enabled":true,"minimum_quantity":1,"price":"5.0000","product_id":102,"shipping":true,"stock":100,"tax_class_id":1},{"enabled":false,"minimum_quantity":1,"price":"100.0000","product_id":103,"shipping":true,"stock":100,"tax_class_id":1}],"tax_classes":[{"fixed_amount":"0.5000","percentage_rate":"10.0000","tax_class_id":1}]},"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":{"cases":{"items":{"additionalProperties":false,"properties":{"case_id":{"maxLength":32,"pattern":"^[a-zA-Z0-9_-]{1,32}$","type":"string"},"coupon":{"additionalProperties":false,"properties":{"customer_use_limit":{"maximum":10000,"minimum":0,"type":"integer"},"enabled":{"type":"boolean"},"free_shipping":{"type":"boolean"},"minimum_subtotal":{"maxLength":10,"pattern":"^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$","type":"string"},"prior_customer_uses":{"maximum":64,"minimum":0,"type":"integer"},"prior_total_uses":{"maximum":64,"minimum":0,"type":"integer"},"product_ids":{"items":{"maximum":2147483647,"minimum":1,"type":"integer"},"maxItems":16,"minItems":0,"type":"array"},"requires_login":{"type":"boolean"},"total_use_limit":{"maximum":10000,"minimum":0,"type":"integer"},"type":{"enum":["F","P"]},"value":{"maxLength":10,"pattern":"^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$","type":"string"}},"required":["enabled","type","value","product_ids","free_shipping","requires_login","minimum_subtotal","total_use_limit","customer_use_limit","prior_total_uses","prior_customer_uses"],"type":"object"},"customer_group_id":{"maximum":16,"minimum":1,"type":"integer"},"customer_id":{"maximum":2147483647,"minimum":0,"type":"integer"},"expected":{"additionalProperties":false,"properties":{"cart_paths_equivalent":{"type":"boolean"},"coupon_eligible":{"type":"boolean"},"total":{"maxLength":18,"pattern":"^(?:0|[1-9][0-9]{0,8})(?:\\.[0-9]{1,8})?$","type":"string"}},"required":["total","coupon_eligible","cart_paths_equivalent"],"type":"object"},"lines":{"items":{"additionalProperties":false,"properties":{"product_id":{"maximum":2147483647,"minimum":1,"type":"integer"},"quantity":{"maximum":100,"minimum":1,"type":"integer"}},"required":["product_id","quantity"],"type":"object"},"maxItems":16,"minItems":1,"type":"array"}},"required":["case_id","customer_id","customer_group_id","lines","coupon","expected"],"type":"object"},"maxItems":16,"minItems":1,"type":"array"},"discounts":{"items":{"additionalProperties":false,"properties":{"customer_group_id":{"maximum":16,"minimum":1,"type":"integer"},"priority":{"maximum":100,"minimum":0,"type":"integer"},"product_id":{"maximum":2147483647,"minimum":1,"type":"integer"},"quantity":{"maximum":100,"minimum":1,"type":"integer"},"type":{"enum":["F","P","S"]},"value":{"maxLength":10,"pattern":"^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$","type":"string"}},"required":["product_id","customer_group_id","quantity","priority","type","value"],"type":"object"},"maxItems":64,"minItems":0,"type":"array"},"flat_shipping":{"additionalProperties":false,"properties":{"cost":{"maxLength":10,"pattern":"^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$","type":"string"},"tax_class_id":{"maximum":8,"minimum":0,"type":"integer"}},"required":["cost","tax_class_id"],"type":"object"},"products":{"items":{"additionalProperties":false,"properties":{"enabled":{"type":"boolean"},"minimum_quantity":{"maximum":100,"minimum":1,"type":"integer"},"price":{"maxLength":10,"pattern":"^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$","type":"string"},"product_id":{"maximum":2147483647,"minimum":1,"type":"integer"},"shipping":{"type":"boolean"},"stock":{"maximum":100000,"minimum":0,"type":"integer"},"tax_class_id":{"maximum":8,"minimum":0,"type":"integer"}},"required":["product_id","price","stock","minimum_quantity","enabled","shipping","tax_class_id"],"type":"object"},"maxItems":16,"minItems":1,"type":"array"},"tax_classes":{"items":{"additionalProperties":false,"properties":{"fixed_amount":{"maxLength":10,"pattern":"^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$","type":"string"},"percentage_rate":{"maxLength":10,"pattern":"^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$","type":"string"},"tax_class_id":{"maximum":8,"minimum":1,"type":"integer"}},"required":["tax_class_id","percentage_rate","fixed_amount"],"type":"object"},"maxItems":8,"minItems":0,"type":"array"}},"required":["products","discounts","tax_classes","flat_shipping","cases"],"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"}},"required":["input"],"type":"object"},"history":[],"description_full":"Runs your simple-product checkout cases against the pinned OpenCart source in a private, non-root database that exists only for the length of the request. For each case it reports the totals the native code actually produces, which expectations were missed, and where a cart path diverged, rather than a single pass or fail.","last_updated":"2026-10-23T08:29:14.174Z","schemes":["exact"]}