Skip to main content
PATCH
/
api
/
v1
/
tags
/
{tag_id}
Actualizar etiqueta
curl --request PATCH \
  --url https://api.lapyme.com.ar/api/v1/tags/{tag_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "color": "slate",
  "description": "<string>",
  "archived": true
}
'
{
  "request_id": "<string>",
  "data": {
    "tag": {
      "object": "tag",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "scope": "customer",
      "name": "<string>",
      "slug": "<string>",
      "color": "slate",
      "description": "<string>",
      "archived_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  },
  "warnings": [
    "<unknown>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.lapyme.com.ar/llms.txt

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

Authorizations

Authorization
string
header
required

Incluí tu API key en el header Authorization con el prefijo Bearer.

Headers

X-Request-Id
string

ID opcional de la solicitud para trazabilidad. Si se omite, el servidor genera uno.

Required string length: 1 - 255

Path Parameters

tag_id
string<uuid>
required

ID de la etiqueta

Body

application/json
name
string
Required string length: 1 - 70
color
enum<string> | null
Available options:
slate,
red,
orange,
amber,
yellow,
lime,
green,
teal,
cyan,
blue,
indigo,
violet,
pink
description
string | null
Maximum string length: 255
archived
boolean

Response

Etiqueta actualizada exitosamente

request_id
string
required
data
object
required
warnings
any[]
required