Check promotions before a campaign
promotions_checkCheck all Shopware promotions running or starting before a date to flag inactive, discountless, code, channel, limit, overlap, and timing issues before a sale.
Instructions
Before Black Friday or any sale: check every promotion that runs or starts before a date, active or not, the way Shopware decides whether it applies. Flags a promotion that starts but is still inactive, has no discount, no sales channel or only channels in maintenance, needs a code but has none, has no unused individual codes left, is close to its redemption limit, gives 50 % or more, ends before it starts, or applies automatically together with another one so the discounts add up. Read-only. Returns { window, checked, summary, promotions[] } with findings per promotion, worst first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "promotions_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| until | No | End of the campaign window, ISO date (a date covers the whole day). Default: in 14 days |