Description
API call to delete an orderline
Request Parameters
| # |
Name |
Type |
Required |
Example |
Description |
| 1 |
OrderlineKey |
integer |
1 |
123 |
Orderline ID |
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:pixiDeleteOrderline>
<dem:OrderlineKey>123</dem:OrderlineKey>
</dem:pixiDeleteOrderline>
</soapenv:Body>
</soapenv:Envelope>
Response
Body 1: Stock movement types
| # |
Name |
Type |
Description |
| 1 |
ReturnCode |
integer |
Return code (OK / ERROR) |
| 2 |
ErrorMessage |
integer |
Return description message |
Additional Notes
In case when the last orderline of the order is deleted, also the order itself will be deleted.