Saltar para o conteúdo principal
POST
/
v1
/
tags
Criar tag
curl --request POST \
  --url https://api.vendaze.com/v1/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "cliente-vip",
  "color_text": "#ffffff",
  "color_background": "#0085c0"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "cliente-vip",
    "color_text": "#ffffff",
    "color_background": "#0085c0",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.vendaze.com/llms.txt

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

Autorizações

Authorization
string
header
obrigatório

OAuth 2.1 access token.

Corpo

application/json
name
string
obrigatório
Maximum string length: 30
Exemplo:

"cliente-vip"

color_text
string
Exemplo:

"#ffffff"

color_background
string
Exemplo:

"#0085c0"

Resposta

Tag criada com sucesso.

data
object