List discounts
ecommerce_listDiscountsV1Retrieve a store's discounts with optional search by code or name and filtering by disabled state to identify active or inactive promotions.
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. |