---
title: "Unmerge Catalog Part"
method: POST
path: "/api/v1/materials/catalog/unmerge"
tags: ["v1", "Materials"]
---

# Unmerge Catalog Part

`POST /api/v1/materials/catalog/unmerge`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/materials/catalog/unmerge`
- Auth: none declared

Put a merged-away identity back, with the lots that moved with it.

Reverses exactly what the merge did and nothing else. The lots come back
with their quantities, costs, receiving and QC logs and placements
untouched -- the same rule in both directions, since folding names never
moved metal and unfolding them cannot either.

Only the aliases the merge ADDED are stripped, and a cover is given back
only if the winner borrowed it. Both facts were written down at merge time
(master_catalog_parts.merge_effects); after the fold there is no way to tell
a borrowed cover from a chosen one, or an alias the merge introduced from
one the winner always had.

## Request body

- UnmergeCatalogPartBody: The part to bring back. Named by the LOSER, not the pair. A fold is identified by the thing that disappeared: master_catalog_parts already records which winner it went into, and taking the winner as the argument would be ambiguous the moment two identities have been folded into the same one.
  - `loser_id` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
