Batches
Fill a batch
Fill every open order that has a verified quote.
POST/v1/batches/:id/fill
Owner only. Runs a manual fill on each open order. Orders with no verified quote, or short of their min_quotes, are skipped and stay open until their window closes.
Headers
AuthorizationstringrequiredBearer fb_live_…. An API key created in the app. A browser session cookie also works. See Authentication.
Response
fillednumberOrders filled by this call.
skippednumberOpen orders that could not fill yet.
batchBatchThe batch after the call.
Errors
403forbiddenNot your batch.
404not_foundNo such batch.
Request
curl -X POST https://dapp.filobook.run/v1/batches/bat_2f9c41d07e6a83b5/fill \
-H "Authorization: Bearer $FILOBOOK_KEY"Response · 200
{
"filled": 1,
"skipped": 1,
"batch": { "id": "bat_2f9c41d07e6a83b5", "summary": { "orders": 2, "open": 1, "filled": 1, "...": "..." }, "...": "..." }
}Was this page helpful?