ls_list_discounts
List discounts with optional store filter and pagination to view promotional offers.
Instructions
List all discounts, optionally filtered by store. Results are paginated — check meta.page in the response for currentPage, lastPage, and total.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ls_list_discounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Comma-separated related resources to include (e.g. 'store,variants,discount-redemptions') | |
| storeId | No | Filter by store ID | |
| pageSize | No | Results per page (1-100) | |
| pageNumber | No | Page number (1-indexed) |