Description
Returns the component items that make up a bundle item, including their quantities and details. Use this call to retrieve the full bundle composition for a given bundle item.
Provide one identification parameter: ItemKey, ItemNrInt, EANUPC, or ItemNrSuppl. If none is provided, or if the supplied item is not a bundle, the call returns an empty result set.
Request Parameters
# |
Name |
Type |
Required |
Example |
Description |
1 |
ItemKey |
int |
0 |
365 |
Item ID of the bundle item. A value of 0 is treated as not provided. |
2 |
ItemNrInt |
varchar(50) |
0 |
eee469f376480c238.24062619 |
Shop number of the bundle item. |
3 |
EANUPC |
varchar(13) |
0 |
2000000000091 |
Barcode (EAN/UPC) of the bundle item. |
4 |
ItemNrSuppl |
varchar(50) |
0 |
mg316 |
Supplier number of the bundle item. |
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:pipiGetItemBundleDefinition>
<dem:ItemKey>365</dem:ItemKey>
<dem:ItemNrInt></dem:ItemNrInt>
<dem:EANUPC></dem:EANUPC>
<dem:ItemNrSuppl></dem:ItemNrSuppl>
</dem:pipiGetItemBundleDefinition>
</soapenv:Body>
</soapenv:Envelope>Response
Body 1: Bundle Component Items
# |
Name |
Type |
Description |
1 |
BundleItemKey |
int |
Item ID of the bundle component item. |
2 |
Qty |
int |
Quantity of this component item in the bundle. |
3 |
ItemNrInt |
varchar(50) |
Shop number of the component item. |
4 |
ItemNrSuppl |
varchar(50) |
Supplier number of the component item. |
5 |
EANUPC |
varchar(50) |
Barcode (EAN/UPC) of the component item. |
6 |
ItemName |
varchar(120) |
Name of the component item. |
7 |
Price |
money |
Price of the component item. |
Additional Notes
Parameter priority: if multiple parameters are provided, only the first non-empty one is used, in this order: ItemKey, ItemNrInt, EANUPC, ItemNrSuppl.
An empty result set is returned when:
- No identification parameter is provided
- The supplied item is not a bundle
- No matching item is found for the given identifier