get-discounts
List Shopify discount codes and filter them by search query or status to retrieve codes, values, and usage counts.
Instructions
List discount codes with optional search and status filter. Returns discount details including codes, values, and usage counts.
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": "get-discounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Search query | |
| cursor | No | ||
| status | No |