get_discounts
Retrieve discount codes from the Shopify store using filters, pagination, and sorting to manage promotions effectively.
Instructions
Fetch discount codes from the store
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor for pagination | |
| first | No | Number of discounts to fetch (1-250, default: 50) | |
| query | No | Filter query | |
| reverse | No | Reverse the sort order |