Description
The API call updates the item status. In case we provide also parameter @SupplierID. We can use the call to update the "Active" status for a specific supplier for the item.
Request Parameters
| # |
Name |
Type |
Required |
Example |
Description |
| 1 |
ItemNrInt |
string |
0 |
Sample text |
pixi* Item number internal. (Optional in case value for parameter @ItemKey is provided) |
| 2 |
ItemKey |
integer |
0 |
123 |
pixi* Item ID. (Optional in case value for parameter @ItemNrInt is provided) |
| 3 |
Enabled |
boolean |
0 |
0/1 |
Used for setting the item to enabled/active. (Default value: 1) |
| 4 |
SupplierID |
string |
0 |
Sample text |
pixi* Supplier ID. Used when updating the "Active" status for an item for specific supplier. |
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:pixiSetItemStatus>
<dem:ItemNrInt>Sample text</dem:ItemNrInt>
<dem:ItemKey>123</dem:ItemKey>
<dem:Enabled>0/1</dem:Enabled>
<dem:SupplierID>Sample text</dem:SupplierID>
</dem:pixiSetItemStatus>
</soapenv:Body>
</soapenv:Envelope>
Response
Body 1: Return status
| # |
Name |
Type |
Description |
| 1 |
ItemKey |
integer |
pixi* internal item key |
| 2 |
ItemNrInt |
string |
shop-specific id (SUPPLIER_AID) |
| 3 |
Enabled |
boolean |
1 = item is marked as active in pixi* 0 = item is marked as inactive in pixi* |
| 4 |
SupplNr |
string |
Suplier Id |
| 5 |
Active |
boolean |
Item active status |
Body 2: Return status
| # |
Name |
Type |
Description |
| 1 |
Status |
string |
Status |
| 2 |
ErrorMsg |
string |
Error message |
Additional Notes