Description
Api call returns a status if order can be merge with an order or not
Request Parameters
| # |
Name |
Type |
Required |
Example |
Description |
| 1 |
TargetOrderNr |
integer |
1 |
123 |
Target OrderNr |
| 2 |
SourceOrderNr |
integer |
1 |
123 |
Source OrderNr |
| 3 |
CanMerge |
integer |
0 |
123 |
Can Merge |
| 4 |
Reason |
string |
0 |
Sample text |
Reason |
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:pixiCanMergeOrders>
<dem:TargetOrderNr>123</dem:TargetOrderNr>
<dem:SourceOrderNr>123</dem:SourceOrderNr>
<dem:CanMerge>123</dem:CanMerge>
<dem:Reason>Sample text</dem:Reason>
</dem:pixiCanMergeOrders>
</soapenv:Body>
</soapenv:Envelope>
Response
Body 1: Result set
| # |
Name |
Type |
Description |
| 1 |
CanMerge |
integer |
0 = operation is not possible, 1 = operation is possible |
| 2 |
Reason |
string |
Code + textual description of the result. Code may be used to automatically translate the return of the function. Possible values are: 200 OK 401 Both orders must exist 402 Orders must belong to the same customer 403 All involved orderlines must have status ANG 404 Payment types on both orders must match and not be a creditcard type 405 None of the orderlines in either orders can be on picklists |
Additional Notes