List Shopify Discounts
shopify_list_discountsRetrieve Shopify discounts—code-based and automatic—with codes, usage counts, and values, and filter by status, type, or title to audit promotions.
Instructions
List all discounts — code-based (basic, free shipping, BXGY) and automatic. Returns codes, usage counts, and discount values.
Filter by query string. Examples:
"status:ACTIVE"
"discount_type:percentage"
"discount_type:fixed_amount"
"title:SUMMER"
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": "shopify_list_discounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor | |
| limit | No | ||
| query | No | Filter e.g. 'status:ACTIVE' or 'discount_type:percentage' |