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.

Required scope: settings:write

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

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