Skip to main content

Rebuild Inventory Daily Series

POST 

/api/ledger/reconciliation/inventory/rebuild

Kick the background tracked job that materializes the SKU side of the daily series (point-in-time inventory value per account per day). Free — no provider calls. Returns the tracked job log id so the UI can follow it in the global progress tray.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authentication: Requires Bearer token + accounting.sync permission.

Request body:

  • connection_id (integer, required): accounting connection id the points are keyed to.
  • nominal_code_ids (array, optional): subset of earmarked account ids. Defaults to all earmarked.
  • from (date, optional): local-day window start. Defaults to the inventory start date.
  • to (date, optional, after_or_equal:from): local-day window end. Defaults to now.

Window defaults span inventory_start_date → today (~hundreds of days), so this is a long-running job.

Request

Responses

OK

Response Headers
    Content-Type