pixi Developer & Integration Documentation

pixiSetItemTags

Description

Set Tags for Items.


Request Parameters

#

Name

Type

Required

Example

Description

1

TagsXML

string

1

Sample text

XML with tags for items.

2

TagPrefix

string

0

Sample text

Tag prefix.


Request body

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dem="https://api.pixi.eu/soap/demosandbox/">
   <soapenv:Header/>
   <soapenv:Body>
      <dem:pixiSetItemTags>
         <dem:TagsXML>Sample text</dem:TagsXML>
         <dem:TagPrefix>Sample text</dem:TagPrefix>
      </dem:pixiSetItemTags>
   </soapenv:Body>
</soapenv:Envelope>


Response


Body 1: Result with ADDED item-tag matchings.

#

Name

Type

Description

1

TagKey

integer

Tag ID.

2

TagName

string

Tag name.

3

ItemKey

integer

Item ID.

4

Action

string

Action performed ("ADDED").


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