list_price_rules
List code discounts via Shopify Admin GraphQL API. Supports pagination and filtering by ID, replacing legacy Price Rules workflows.
Instructions
List code discounts using the Admin GraphQL API. This compatibility tool replaces the older Price Rules workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of price rules to return (1–250). Default: 10. | |
| since_id | No | Return price rules after this ID. | |
| page_info | No | Cursor for pagination. |