listDiscounts
Retrieves discount codes and automatic discounts from a Shopify store, with filtering, cursor pagination, and result limits for discount review and management.
Instructions
List discount codes and automatic discounts
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": "listDiscounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| cursor | No | ||
| savedSearchId | No |