Tags and Stickers Concept
This page is outdated. Please go to our new documentation under https://docs.fulfillmenttools.com/documentation.
In fulfillmenttools there is the possibility to map very individual processes and to customize entities according to special needs. One way to impose a certain customization to your processes are Tags and Stickers.
Tags can be attached on several entities at fulfillmenttools like orders, order lines, pickjobs, packjobs, handoverjobs, etc. Please refer to our OpenAPI Specification. The usage of Tags is indicated by the field tags
, the usage of stickers is indicated by the attribute stickers
. Usually both Tags and Stickers are added by Services that supply data to the platform (external services, a middleware or connectors).
Tags
Tags consist of a Tag-Reference plus allowed values for said Tag. Tags need to be known before first usage - and using unknown Tags or unknown values of Tags will result in fulfillmenttools rejecting the request.
Tags are predominantly used to create specific behavior within fulfillmenttools and can be used for example to
create routing rules on it with our DOMS Toolkit
define a picking method
define which external documents are offered for printing during picking and packing
configure the behaviour of the scanner on our mobile devices per line item.
Creation and management of Tags
The fulfillmenttools platform offers the endpoint /api/tags
in order to request currently available Tags in the system:
all entities
number of entities to show
25
GET /api/tags HTTP/1.1
Host:
Accept: */*
{
"tags": [
{
"created": "2020-02-03T08:45:51.525Z",
"lastModified": "2020-02-03T09:45:51.525Z",
"version": 42,
"id": "text",
"allowedValues": [
"text"
]
}
],
"total": 42
}
Tags are comparable to enumerations - each id
(identifying a Tag) has allowedValues
to it.
Be aware: A tag is only "progressing forward": Once you introduced an allowed Value to a Tag you cannot remove it anymore.
Once created a tag can be modified in a way to receive additional allowed values, e.g.
curl -sSL -X PATCH 'https://your.api.fulfillmenttools.com/api/tags/Contents' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"version": 1,
"actions": [
{
"action": "AddAllowedValueToTag",
"allowedValue": "acid"
}
]
}'
200 OK
{
"id": "Contents",
"allowedValues": [
"toxic",
"explosives",
"acid"
],
"version": 2,
"created": "2023-06-27T15:01:30.666Z",
"lastModified": "2023-09-11T13:50:13.641Z"
}
From now on the value "acid" could be used wherever tags are part of an entity.
The intended use of Tags is to steer the built in functionality of fulfillmenttools to a certain direction. For example it could be used to create routing rules on them using the DOMS Toolkit or to create and display external documents.
Stickers
Stickers are, similar to tags, addable to various entities. Their intended use is to show helpful information to a user during the processing of an order or within the backoffice.
There is one mayor difference between Stickers and Tags: Stickers do not have to be known to fulfillmenttools before using them.
Consider the following request:
curl -sSL -X POST 'https://your.api.fulfillmenttools.com/api/orders' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"tags": [
{
"id": "Storage",
"value": "frozen"
}
],
"stickers" : [
{
"key":"information",
"priority": 100,
"nameLocalized": {
"de_DE": "Wichtig",
"en_US": "Important"
}
}
],
...
}'
nameLocalized: Dictionary of possible translations, min 1 entry, max 14 characters per description
While the used sticker "information" does not need to be present the Tag "Storage" needs to be known in the system beforehand.
Stickers can also be created automatically by a configuration based on Tags. Please see the following example on how to do that:
Last updated
Was this helpful?