Description
Call returns a customer key that is found using the input parameters - shop id and external customer number
Request Parameters
| # |
Name |
Type |
Required |
Example |
Description |
| 1 |
CustomerNrExternal |
string |
1 |
1SS_With_BM |
The external customer number to look for in the Customers table |
| 2 |
ShopId |
string |
1 |
NEW |
The shop id to look for in the Customers table |
| 3 |
AllowAmbiguous |
boolean |
1 |
NEW |
Setting to define whether ambiguous results are returned. If set to 0 (false) and the number of returned rows does not equal 1, NULL is returned as a result |
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:pixiCustomerKeyByNumber>
<dem:CustomerNrExternal>1SS_With_BM</dem:CustomerNrExternal>
<dem:ShopId>NEW</dem:ShopId>
<dem:AllowAmbiguous>NEW</dem:AllowAmbiguous>
</dem:pixiCustomerKeyByNumber>
</soapenv:Body>
</soapenv:Envelope>
Response
Body 1: Result set
| # |
Name |
Type |
Description |
| 0 |
CustKey |
integer |
Customer ID |
Additional Notes