Skip to main content

Recompute Sales Order Indirect Costs

POST 

/api/sales-orders/:salesOrder/indirect-costs/recompute

Queues a rebuild of the stored indirect cost for every order in this order's month (in the account's timezone), using the current cost allocations. Use it when the indirect cost breakdown reports is_stale. The rebuild runs in the background; read the breakdown again once it finishes.

Required scope: orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

No request body is required.

Path parameters:

  • salesOrder (required): Sales order ID.

Requires permission: sales_orders.update

Request​

Responses​

OK

Response Headers
    Content-Type