ordercloud.promotions.search
Search and list OrderCloud promotions with keyword filtering, pagination, and sorting. Find specific promotions by field values or page through results to locate the ones you need.
Instructions
Search and list OrderCloud promotions with filtering, pagination, and sorting
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": "ordercloud.promotions.search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based) | |
| search | No | Keyword search across promotion fields | |
| sortBy | No | Sort field, prefix with ! for descending | |
| filters | No | Field-level filters, e.g. {"Active": "true"} | |
| pageSize | No | Items per page (max 100) |