get_price_rules
Fetch price rules for automatic discounts, with filters for status or title, sorting by date, and pagination to manage Shopify promotions.
Instructions
Fetch price rules for automatic discounts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor for pagination | |
| first | No | Number of price rules to fetch (1-250, default: 50) | |
| query | No | Filter query (e.g., 'status:active', 'title:Summer Sale') | |
| reverse | No | Reverse the sort order | |
| sortKey | No | Field to sort by |