check_code
Check one specific code: status (verified/declared/stale/dead/unknown_code), structured constraints, success stats, and — if a cart is supplied — whether it would apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart | No | Optional cart context — when supplied, the answer includes whether the code would apply to this cart | |
| code | Yes | The promo code to check, exactly as a shopper would enter it at checkout | |
| merchant | Yes | Merchant slug, e.g. 'nike' |