Search opportunities
sellsy_search_opportunitiesSearch opportunities by name, number, pipeline, step, status (open/won/lost/cancelled/closed/late), amount, owner or due date. Needs opportunities.read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| embed | No | Related objects to include (each may need an extra scope and is null without it), e.g. ["invoicing_address","main_contact","cf.1542"]. | |
| field | No | Only return these fields, e.g. ["id","name"] or ["address.id"], to keep replies small. | |
| limit | No | Records per page, 1-100 (default 25). | |
| order | No | Sort field: id, created, step_rank, due_date, amount. | |
| offset | No | Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit. | |
| filters | No | Search filters as an object. Unknown keys are refused by Sellsy. Keys: name, number, pipeline [pipeline ids], step [step ids], statuses ["open"|"won"|"lost"|"cancelled"|"closed"|"late"], amount {min,max}, owners [staff ids], assigned_staffs [staff ids], related_objects [{type:"company"|"individual",id}], created {start,end} ISO date-times, due_date {start,end} ISO date-times. | |
| direction | No | Sort direction (default asc). |