Report Outcome
report_outcomeReport what happened when a code was tried at checkout. This telemetry is what keeps the feed verified — free-tier callers must report outcomes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"merchant": "<merchant>",
"code": "<code>",
"applied": "<applied>"
},
"name": "report_outcome"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The promo code that was tried at checkout | |
| applied | Yes | true if the code applied successfully | |
| merchant | Yes | Merchant slug, e.g. 'nike' | |
| failure_reason | No | Why the code did not apply (report when applied is false): expired, min_not_met, geo, category, customer_type, not_stackable, single_use_exhausted, code_rejected, other |