---
title: "Catalog Put"
method: PUT
path: "/admin/catalog"
---

# Catalog Put

`PUT /admin/catalog`

## Request

- Base URL: `https://api.nullprint.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nullprint.ai/admin/catalog`
- Auth: none declared

整表替换:带 id 的 UPDATE,没 id 的 INSERT,没传到的下架(不删——订单还引用着)。

## Request body

- CatalogItem[]
  - `id` integer, nullable
  - `name` string, required
  - `price_month` union, required
    - number
    - string
  - `currency` string
  - `profile_limit` integer, required
  - `seats` integer
  - `active` boolean
  - `sort` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/nullprint/apis/nullprint-backend.md) · [All operations](https://skmtc.dev/nullprint/apis/nullprint-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/nullprint/apis/nullprint-backend/revisions/51dfcef9dce2?raw)
