---
title: "Rename Po Group"
method: POST
path: "/api/v1/materials/po-groups/{po_number}/rename"
tags: ["v1", "Materials"]
---

# Rename Po Group

`POST /api/v1/materials/po-groups/{po_number}/rename`

## 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/po-groups/{po_number}/rename`
- Auth: none declared

Rename an already-raised PO: every line, then the stored document.

The track panel can correct a typed number after raise the same way it
corrects a price — this write is the first half; Regenerating the PDF
(generate_purchase_orders reissue) is the second. The document row is
renamed in place so reissue still finds it under the new number instead
of inserting a second row (or 409ing on the unique document_number).

Shop-wide uniqueness, same hard block Raise PO's custom-number input
uses: a collision with any other item or PURCHASE_ORDER document in the
caller's shop is a 409. Approval-gated groups have no number to rename
(chk_mmi_approval_no_po_number).

## Path parameters

- `po_number` string, required

## Request body

- object

## 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)
