Entrar

Atualizar categoria de feedback

PUT https://{organization}.myguper.com/api/register/feedback/category

Atualiza uma categoria existente. id é obrigatório no body; qualquer outro campo enviado sobrescreve o atual. Categorias não podem ser deletadas enquanto estiverem referenciadas por alguma avaliação — use active: 0 para aposentá-las suavemente.

Try-it values populated from environment ACME (Demo)


Autenticação

Token

Send your user token in the x-guper-authorization header.

Cabeçalhos

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Corpo da requisição

Content-Type: application/json

{
    "id": 1,
    "slug": "delivery",                                         // optional
    "name": "Delivery",                                         // optional
    "description": "Updated description.",                      // optional
    "active": 0,                                                // optional
    "data": "<data>"                                            // optional
}

Respostas

Copied to clipboard