Description
API call returns stock movement details for a specific item. Supports multiple item identifier types for flexible item lookup.
Request Parameters
# |
Name |
Type |
Required |
Example |
Description |
1 |
ItemKey |
integer |
0 |
48205 |
Filter: Item ID (At least one item identifier must be provided) |
2 |
EAN |
string |
0 |
4006381333931 |
Filter: Item barcode (At least one item identifier must be provided) |
3 |
ItemNrSuppl |
string |
0 |
SUP-78542 |
Filter: Item number supplier (At least one item identifier must be provided) |
4 |
ItemNrInt |
string |
0 |
ART-10025 |
Filter: Shop item number (At least one item identifier must be provided) |
5 |
LanguageID |
integer |
0 |
1 |
Switch: Language selection (1-EN, 2-DE) |
6 |
PageSize |
integer |
0 |
500 |
Pagination: Determine the page size (MAX:45000) |
7 |
PageNumber |
integer |
0 |
1 |
Pagination: Select the page number to get returned |
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:pixiGetItemStockHistory>
<dem:ItemKey>48205</dem:ItemKey>
<dem:EAN>4006381333931</dem:EAN>
<dem:ItemNrSuppl>SUP-78542</dem:ItemNrSuppl>
<dem:ItemNrInt>ART-10025</dem:ItemNrInt>
<dem:LanguageID>1</dem:LanguageID>
<dem:PageSize>500</dem:PageSize>
<dem:PageNumber>1</dem:PageNumber>
</dem:pixiGetItemStockHistory>
</soapenv:Body>
</soapenv:Envelope>Response
Body 1: Stock movement details
# |
Name |
Type |
Description |
1 |
Qty |
integer |
Quantity |
2 |
UpdateEmp |
string |
User who last updated the record |
3 |
UpdateDate |
datetime |
Last update date of the record |
4 |
BinName |
string |
Bin name |
5 |
LocID |
string |
Location code |
6 |
ForOrderline |
integer |
Connected orderline ID |
7 |
Reason |
string |
Stock movement reason |
8 |
SMOName |
string |
Stock movement operation |
9 |
SMTName |
string |
Stock movement type |
10 |
TotalPages |
integer |
Count of total pages (Use in connection with PageNumber parameter) |
Error Response
If no item is found matching the provided identifier(s), the API returns an error response instead of the stock movement data:
# |
Name |
Type |
Description |
|---|---|---|---|
1 |
Status |
string |
Error |
2 |
Message |
string |
|
Additional Notes
At least one item identifier must be provided (ItemKey, EAN, ItemNrSuppl, or ItemNrInt).
If multiple identifiers are provided, the first match in priority order is used: ItemKey > EAN > ItemNrSuppl > ItemNrInt.
Stock movements performed by 'AutoExport' are automatically excluded from the results.
Use TotalPages in the response together with the PageNumber parameter to iterate through large result sets.