Search orders
sellsy_search_ordersSearch orders by status or delivery status, or related company/individual/opportunity. Needs orders.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, number, created, date, amount, due_date, order_status. | |
| 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: status ["draft"|"sent"|"read"|"accepted"|"expired"|"advanced"|"invoiced"|"partialinvoiced"|"cancelled"], order_status ["none"|"wait"|"picking"|"sent"|"partialsent"], related_objects [{type,id}], updated {start,end} ISO date-times. | |
| direction | No | Sort direction (default asc). |