list_automatic_discounts
List automatic discounts applied without a code, with filtering by status, type, and text search. Use to retrieve a paginated set of active or inactive discounts.
Instructions
List automatic discounts (applied without a code) using the GraphQL API. Supports filtering by status, type, and text search.
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": "list_automatic_discounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of discounts to return. Default: 10. | |
| after | No | Cursor for forward pagination. | |
| query | No | Filter query, e.g. 'status:active', 'type:bxgy'. |