listDiscounts
Retrieve a list of discount codes and automatic discounts from your Shopify store. Filter by query, saved search, or paginate with cursor.
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 | ||
| cursor | No | ||
| query | No | ||
| savedSearchId | No |