Skip to main content

Merge Cost Category

POST 

/api/cost-categories/:cost_category/merge

Merge a cost category into a target. Re-points all references (bill lines, breakdown items, financial line types) from the source to the target, then deletes the source. Returns the target category.

Not yet available to API tokens

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

Authentication: Requires Bearer token.

Request body fields:

  • target_id (required, integer) — the cost category to merge into; must exist and differ from the source.

Request

Responses

OK

Response Headers
    Content-Type