Deletes an existing line in a pending Return.
| Method | DeleteReturnLine |
The request body is of type DeleteReturnLine.
| Name | Description | Data Type |
|---|---|---|
| ID | xml:int |
The response body is of type DeleteReturnLineResponse.
| Name | Description | Data Type |
|---|---|---|
| DeleteReturnLineResult | A string value containing a JSON object.
{
"Data": {
"FirstName": "Susan",
"LastName": "Brown",
"Email": "sbrown@bikesblades.com",
"Phone": "",
"CustomerNumber": "000000000000013",
"CustomerName": "Out of Africa",
"ItemCount": 0,
"TotalWeight": 10.0,
"TotalVolume": 0.3,
"LastUpdated": "2022-11-04T16:15:27.833",
"CustomData": {},
"Branch": "",
"Fax": "",
"UserField1": "",
"SpecialInstrs": "",
"OrderType": "",
"AlternateKey": "",
"ServiceTicket": "",
"ShippingAddress": {
"FirstName": "Susan",
"LastName": "Brown",
"Address1": "254 Southway Drive",
"Address2": "Southern Bypass",
"Address3": "South, Sandton",
"City": "",
"State": "",
"Zip": "2196",
"Country": "",
"MultiShipCode": "",
"Area": ""
},
"Details": []
},
"LookupData": {
"DefaultProblemCode": "BR",
"ProblemCodes": [{
"Code": "BR",
"DisplayText": "Broken"
}, {
"Code": "CL",
"DisplayText": "Certification Limit"
}, {
"Code": "CM",
"DisplayText": "Changed Mind"
}, {
"Code": "FT",
"DisplayText": "Faulty"
}, {
"Code": "OS",
"DisplayText": "Over Supply"
}, {
"Code": "US",
"DisplayText": "Unsuitable"
}, {
"Code": "WC",
"DisplayText": "Wrong Color"
}, {
"Code": "WI",
"DisplayText": "Wrong Item"
}]
},
"DeletedDetail": {
"StockCode": "A100",
"Quantity": "1",
"Unit": "EA"
},
"Result": {
"Success": true,
"Message": "The return line has been deleted from the return.",
"ElapsedTime": "64 ms"
}
}
| xml:string |