list_code_discounts
List code discounts from Shopify using GraphQL, including basic, BXGY, and free shipping types. Filter by status, type, or text search to find specific discounts.
Instructions
List code discounts using the GraphQL API. Returns basic, BXGY, and free shipping code discounts. Supports filtering by status, type, and text search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of discounts to return. Default: 10. | |
| after | No | Cursor for forward pagination (endCursor from previous page). | |
| query | No | Filter query, e.g. 'status:active', 'type:percentage', 'title:SALE'. |