İndirimleri listele
list_discountsRetrieves discount codes or automatic discounts from a Shopier shop, returning pagination details with page and total record counts.
Instructions
İndirim kodlarını (codes) veya otomatik indirimleri (automatic) listeler. Yanıttaki pagination alanı sayfa ve toplam kayıt sayısını gösterir.
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": "list_discounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | codes | |
| page | No | Sayfa numarası (varsayılan 1). | |
| sort | No | Tarihe göre sıralama (varsayılan dateDesc). | |
| limit | No | Sayfa başına kayıt, en fazla 50 (varsayılan 10). |