ecommerce_listDiscountsV1
List ecommerce store discounts with optional filters for code, name, or disabled status. Retrieve fixed or percentage discount details to manage promotions effectively.
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. |