expenditures

Merge Subgroups

Merge every item in source into target. Each moved item picks up target.category + target.subgroup_key and is flagged manual_override=True.

Linked refunds are excluded from the sweep (derived rows) and instead follow their original via the mirror — in both directions: the mirror here re-flows the merged originals onto their refunds, and reverse_subgroup_merge mirrors again on restore so the refunds come back out of the target too.

Records an :class:AURDExpenditureSubgroupMergeEvent capturing each moved item's pre-merge tuple so an admin can later reverse the merge.

post/claims/{claim_id}/expenditures/subgroups/merge

Request

  • Base URL
    https://api.claimkit.co (the document declares no server; this is the origin it was published from)
  • URL
    https://api.claimkit.co/claims/{claim_id}/expenditures/subgroups/merge
  • Auth
    none declared

Path parameters

claim_idinteger required

Request body

Response

Successful Response

updated_countinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.