List discounts
ecommerce_listDiscountsV1List a store's discounts, filtering by free text over code/name or by disabled state. Supports pagination.
Instructions
List a store's discounts. Filter by free text over code and name, or by disabled state. Amounts for fixed discounts are integers in the smallest currency unit; percentage discounts carry a whole-number value between 1 and 100.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text search over discount code and name. | |
| page | No | Page number | |
| store_id | Yes | The ID of the store to list discounts for. | |
| is_disabled | No | Filter by disabled state. |