Przejdź do głównej zawartości

Utwórz tagi dla obiektu

POST
/api/v3/Tags
curl --request POST \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Tags \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "target": "example", "tags": [ "example" ] }'

Tworzy wpis tagów dla wskazanego obiektu (np. zamówienia).

Example { "target": "udpl://smerp-api/api/v1/UserEvents/343", "tags": [ "startAsync202:udpl://ajs-api/api/v1/automaticScripts/start/343:post" ] }

object
target
string
nullable
tags
Array<string>
nullable
Examplegenerated
{
"target": "example",
"tags": [
"example"
]
}

Success

Bad Request

Typ treściapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}