Description
Sets Shipping Lock for a customer by CustKey or CustomerNrExternal
Request Parameters
| # |
Name |
Type |
Required |
Example |
Description |
| 1 |
CustKey |
integer |
0 |
123 |
Internal pixi* Customer ID |
| 2 |
Locked |
boolean |
0 |
0 or 1 |
1 = Customer Lock set, 0 = Customer Lock released |
| 3 |
CustomerNrExternal |
string |
0 |
abcdefg |
Customer Nr from Shop |
| 4 |
ShopID |
string |
0 |
abcdefg |
pixi* Shop ID |
| 5 |
UserName |
string |
0 |
abcdefg |
User that updated the customer lock |
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:pixiSetShippingLock>
<dem:CustKey>123</dem:CustKey>
<dem:Locked>0 or 1</dem:Locked>
<dem:CustomerNrExternal>abcdefg</dem:CustomerNrExternal>
<dem:ShopID>abcdefg</dem:ShopID>
<dem:UserName>abcdefg</dem:UserName>
</dem:pixiSetShippingLock>
</soapenv:Body>
</soapenv:Envelope>
Response
Body 1: Update status
| # |
Name |
Type |
Description |
| 1 |
Result |
integer |
0 when update successfull, 1 when update failed |
Additional Notes
This call sets the lock on customer level. All orders for this customers are prevented to be shipped.
Note that the actual shipping lock for individual orders is not changed.