---
title: "Reorder Custom Columns"
method: POST
path: "/api/v1/materials/custom-columns/reorder"
tags: ["v1", "Materials"]
---

# Reorder Custom Columns

`POST /api/v1/materials/custom-columns/reorder`

## 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/custom-columns/reorder`
- Auth: none declared

Atomically reassigns position = array index for every column id
passed, via reorder_manual_material_custom_columns (migration
20260725000002) — one transaction regardless of how many columns moved,
so a partial-failure mid-reorder (the old two-sequential-PATCH swap in
ManageColumnsModal.js) can no longer leave two columns sharing a
position. Used by both the up/down-arrow swap and drag-to-reorder.

## Request body

- ReorderCustomColumnsBody
  - `column_ids` integer[], 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)
