ls_list_discounts
Retrieve a paginated list of discounts, optionally filtered by store ID. Each response includes pagination metadata.
Instructions
List all discounts, optionally filtered by store. Results are paginated — check meta.page in the response for currentPage, lastPage, and total.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storeId | No | Filter by store ID | |
| include | No | Comma-separated related resources to include (e.g. 'store,variants,discount-redemptions') | |
| pageNumber | No | Page number (1-indexed) | |
| pageSize | No | Results per page (1-100) |