List offers
smallinvoice_list_offersList offers (quotes). Filter by contact_id or a JSON filter. Needs the "offer" scope. GET /receivables/offers. Returns count, total, next_offset (pass it as offset for the next page) and the items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Optional free-text search over several fields. | |
| sort | No | Optional sort: 'name' ascending, '-name' descending, '-surname,name' for several. | |
| with | No | Optional extra fields to include, comma separated (e.g. 'main_address' on contacts). | |
| limit | No | Items per page (default 100, max 200). | |
| filter | No | Optional filter as a JSON object string, e.g. {"currency":"CHF"}; combine with {"and":[...]} / {"or":[...]}. Comparators go before the value: "<", "<=", ">", ">=", "!" (not), "~" (contains), e.g. {"name":"~ACME"}. Unknown field names are answered with HTTP 400. | |
| offset | No | Items to skip (paging: the previous reply's next_offset). | |
| contact_id | No | Only documents of this contact (customer) id. |