Skip to main content
POST
/
tags
Upsert tags
curl --request POST \
  --url https://api.zenskar.com/tags \
  --header 'Content-Type: application/json' \
  --header 'organisation: <api-key>' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "holder": "INVOICE",
  "item_id": "inv_123",
  "tags": {
    "department": "sales",
    "priority": "high"
  }
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs2.zenskar.com/llms.txt

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

Authorizations

x-api-key
string
header
default:<your-api-key>
required
organisation
string
header
default:<your-organisation-id>
required

Body

application/json
item_id
string
required
tags
Tags · object
required

Dictionary of tags and their values

holder
enum<string> | null
Available options:
invoice,
product,
contract,
customer,
payment

Response

Successful Response