For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tags endpoints

Create tag

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

TagForCreation

allowedValuesstring[] · min: 1Required
idstringRequired
Responses
201

The tag was successfully created.

application/json

Tag

and
post/api/tags
POST /api/tags HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "allowedValues": [
    "text"
  ],
  "id": "text"
}
{
  "id": "text",
  "created": "2020-02-03T08:45:51.525Z",
  "lastModified": "2020-02-03T09:45:51.525Z",
  "version": 42,
  "allowedValues": [
    "text"
  ]
}

List tags

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
startAfterIdstringOptional

all entities

sizeintegerOptional

number of entities to show

Default: 25
Responses
200

The current list of available tags

application/json

StrippedTags

totalintegerOptional

Total number of found entities for this query

Example: 42
get/api/tags
GET /api/tags HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "total": 42,
  "tags": [
    {
      "created": "2020-02-03T08:45:51.525Z",
      "lastModified": "2020-02-03T09:45:51.525Z",
      "version": 42,
      "allowedValues": [
        "text"
      ],
      "id": "text"
    }
  ]
}

Get tag

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
tagRefstringRequired

Id of the tag you want to get

Responses
200

Tag was found & you were allowed to access it. The result is in the body.

application/json

Tag

and
get/api/tags/{tagRef}
GET /api/tags/{tagRef} HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "text",
  "created": "2020-02-03T08:45:51.525Z",
  "lastModified": "2020-02-03T09:45:51.525Z",
  "version": 42,
  "allowedValues": [
    "text"
  ]
}

Update tag

patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
tagRefstringRequired

Id of the tag you want to update

Body

TagPatchActions

versioninteger · int64Required

The version of the document to be used in optimistic locking mechanisms.

Example: 42
Responses
200

Tag was found & you were allowed to access it. The result is in the body.

application/json

Tag

and
patch/api/tags/{tagRef}
PATCH /api/tags/{tagRef} HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 82

{
  "actions": [
    {
      "action": "AddAllowedValueToTag",
      "allowedValue": "text"
    }
  ],
  "version": 42
}
{
  "id": "text",
  "created": "2020-02-03T08:45:51.525Z",
  "lastModified": "2020-02-03T09:45:51.525Z",
  "version": 42,
  "allowedValues": [
    "text"
  ]
}

Last updated

Was this helpful?