Description
Marks a specific duplicate customer address pair as processed (ignored) by setting its UsedFlag to 1. Once marked, the pair will no longer appear in the active duplicate list returned by pixiAddressesDisplayDuplicates when called with the default ShowUsed = 0.
Both customer references must form an existing pair in the duplicate detection table. If the pair is not found, an error response is returned and no data is modified.
Request Parameters
# |
Name |
Type |
Required |
Example |
Description |
1 |
CustRef1 |
int |
1 |
1001 |
Customer reference number (CustKey) of the first customer in the duplicate pair. Must match exactly the CustRef1 stored in the duplicate table. |
2 |
CustRef2 |
int |
1 |
1002 |
Customer reference number (CustKey) of the second customer in the duplicate pair. Must match exactly the CustRef2 stored in the duplicate table. |
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:pixiAddressesDisplayDuplicatesMarkUsed>
<dem:CustRef1>1001</dem:CustRef1>
<dem:CustRef2>1002</dem:CustRef2>
</dem:pixiAddressesDisplayDuplicatesMarkUsed>
</soapenv:Body>
</soapenv:Envelope>Response
Body 1: Return status
# |
Name |
Type |
Description |
1 |
ReturnCode |
varchar(512) |
Result status. OK = pair successfully marked as processed. ERROR = pair not found in the duplicate table. |
2 |
ErrorMessage |
varchar(512) |
Human-readable status description. On success: "Record marked as used". On error: "At least one customers not existing". |
Additional Notes
The pair lookup is exact: both CustRef1 and CustRef2 must match a row in the Addresses_Duplicates table in the same order they were stored. Swapping the two values will result in an ERROR response even if the reverse pair exists.
After a successful call, the pair will be hidden from pixiAddressesDisplayDuplicates when called with ShowUsed = 0 (default). Use ShowUsed = 1 to retrieve all pairs including processed ones.