---
title: "Insere uma nova categoria"
method: POST
path: "/categorias"
---

# Insere uma nova categoria

`POST /categorias`

## Request body

- object
  - `categoriaId` integer — ID da categoria criada (optional)
  - `nome` string — Nome da categoria
  - `categoriaPaiId` integer — ID da categoria pai
  - `categoriaERPId` string — ID da categoria ERP
  - `ativo` boolean — Categoria ativo/inativo
  - `isReseller` boolean — Categoria de reseller
  - `exibirMatrizAtributos` 'Sim' | 'Nao' | 'Neutro' — Exibir Matriz de Atributos
  - `quantidadeMaximaCompraUnidade` integer — Informe a quantidade máxima permitida para compra por produtos desta categoria. Informe zero para assumir a configuração geral da loja
  - `valorMinimoCompra` number, double — Informe o valor mínimo para compra em produtos desta categoria
  - `exibeMenu` boolean — Informe se será exibida no menu

## Response `201`

201

## Other responses

- `422` — 422
- `500` — 500

---

[API](https://skmtc.net/fbits/apis/wake-commerce-api.md) · [All operations](https://skmtc.net/fbits/apis/wake-commerce-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fbits/wake-commerce-api/versions/e07940bf249d/schema)
