pixi Developer & Integration Documentation

pixiCanConvertBundle

Description

The API call validate if item/bundle can be convert to bundle/item.


Request Parameters

# Name Type Required Example Description
1 ItemKey integer 0 123 Item ID
2 ItemNrInt string 0 abcdefg Shop item number
3 EAN string 0 abcdefg Barcode

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:pixiCanConvertBundle>
         <dem:ItemKey>123</dem:ItemKey>
         <dem:ItemNrInt>abcdefg</dem:ItemNrInt>
         <dem:EAN>abcdefg</dem:EAN>
      </dem:pixiCanConvertBundle>
   </soapenv:Body>
</soapenv:Envelope>

Response


Body 1: Return values

# Name Type Description
1 ItemKey integer pixi item ID
2 ItemNrInt string Shop item number
3 EAN string Item barcode
4 IsBundle boolean Indicator if item is a bundle item
5 CanConvert boolean Indicator if item/bundle can be convert to bundle/item

Additional Notes

Using parameter @ItemKey, @ItemNrInt or @EAN we identify item if it is an item or a bundle.

We return the validated item/bundle in the field **CanConvert**: 
- 0 => can not be converted from normal item to bundle or vice versa
- 1 => can be converted from normal item to bundle or vice versa

- If no item is found empty result set is returned
- Identifying an item is uniquely defined with parameters by priority ItemKey, ItemNrInt, EAN.