Skip to main content
DELETE
/
api
/
v1
/
category
/
{id}
Excluir Categoria
curl --request DELETE \
  --url https://api.selltrust.com.br/api/v1/category/{id} \
  --header 'Authorization: <authorization>'
{
  "id": "uuid-da-categoria",
  "store_id": "uuid-da-loja",
  "title": "Minha Categoria",
  "slug": "minha-categoria",
  "image": null,
  "banner": null,
  "parent_id": null,
  "position": 0,
  "created_at": "2024-01-01T00:00:00.000Z",
  "updated_at": "2024-01-01T00:00:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.selltrust.com.br/llms.txt

Use this file to discover all available pages before exploring further.

Deleta uma categoria. Impede exclusão caso ainda existam produtos ou subcategorias dependentes desta.
Authorization
string
required
Token de acesso no formato Bearer <seu_token>.
{
  "id": "uuid-da-categoria",
  "store_id": "uuid-da-loja",
  "title": "Minha Categoria",
  "slug": "minha-categoria",
  "image": null,
  "banner": null,
  "parent_id": null,
  "position": 0,
  "created_at": "2024-01-01T00:00:00.000Z",
  "updated_at": "2024-01-01T00:00:00.000Z"
}