Skip to main content

Start Tracked COGS Rebuild

POST 

//:domain/api/cogs-revaluation/rebuild-cogs-tracked

Starts a tracked background COGS rebuild job for all or specific products. Returns a tracked_job_id for polling progress.

Authentication: Requires Bearer token.

Fields:

  • last_rebuilt_before (optional, date) — only rebuild products not rebuilt since this date
  • product_ids (optional, array of integers) — only rebuild these specific products

Request

Responses

OK

Response Headers
    Content-Type