Prospecting
Update a saved prospecting search (name, filters, sort, columns, alert flags). The last_* fields are read-only. Honours Idempotency-Key. (scope: prospecting:write)
PATCH
bearerAuthheader
AuthorizationBearer <token>API key as Bearer token
id*stringSaved search id
Format
uuidapplication/json- body
name?stringLength
1 <= length <= 200filters?The @brivio/registry-search filter model: { groups: FilterGroup[] } (AND between groups, OR within).
sort?stringValue in
"relevance""name""nameDesc""revenue""revenueAsc""employees""employeesAsc""foundedNewest""foundedOldest"columns?array<>Items
items <= 40notify_in_app?booleannotify_email?booleanOK
application/json- response
data*error*nullcurl -X PATCH "https://example.com/prospecting/saved-searches/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "filters": {}, "sort": "string", "columns": [ "string" ], "notify_in_app": true, "notify_email": true, "last_run_at": "2019-08-24T14:15:22Z", "last_match_count": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "error": null}List saved prospecting searches, newest first (scope: prospecting:read) GET
Previous Page
Confirm a DRAFT declaration: posts the customs journal entry (Dr 371/607 = Cr 446; VAT Dr 4426 = Cr 446 or 4427), raises the cost of the stock still held, and flips the status — atomically. Runs inline; 202 with the result. 409 not_draft; 422 no_reception / no_period / no_journal / missing_account / period_closed. Requires Idempotency-Key. (scope: purchases:confirm) POST
Next Page