Set Tags for Items.

Since pixi version: LOU Official (6.3.0.4452) Additional notes: It is possible to set new tag to item and match item with existing tag.

    **TagsXML** parameter sample VARCHAR(containing XML):
    
            <ItemTags>
                <Item>
                    <ItemKey>12549</ItemKey>
                    <TagList> 
                        <Tag>
                            <Name>HW2018</Name>
                            <Description>Season</Description>
                        </Tag>
                        <Tag>
                            <Name>Tom Tailor</Name>
                            <Description>Brand</Description>
                        </Tag>
                    </TagList>
                </Item>
            </ItemTags>
    			
    Items are referenced by ItemKey, ItemNrInt or EANUPC

Request

POST https://apigateway.descartes.com/tms/pixi/pixiSetItemTags

Request body

Name Type Required Description
TagsXML string true

XML with tags for items.

Type: varchar(-1)

Default value: NULL

Example:

Available from: LOU Official (6.3.0.4452)

TagPrefix string false

Tag prefix.

Type: varchar(20)

Default value: API

Example:

Available from: LOU Official (6.3.0.4452)


Response

1. Result with ADDED item-tag matchings.

Name Type Description
Action string

Action performed ("ADDED").

Type: varchar (7)

Available from: 25.06 (25.6.0.58802)

TagKey integer

Tag ID.

Type: int

Available from: 25.06 (25.6.0.58802)

ItemKey integer

Item ID.

Type: int

Available from: 25.06 (25.6.0.58802)

TagName string

Tag name.

Type: varchar (50)

Available from: 25.06 (25.6.0.58802)