Updates an existing line in a pending Return.
Method | UpdateReturnLine |
The request body is of type UpdateReturnLine.
Name | Description | Data Type |
---|---|---|
ID | xml:int | |
StockCode | xml:string | |
Qty | xml:int | |
UOM | xml:anyType | |
PurchaseDate | xml:dateTime | |
SerialNumber | xml:string | |
ReturnType | xml:string | |
ProblemCode | xml:string | |
ProblemNotes | xml:string | |
Options | xml:string |
The response body is of type UpdateReturnLineResponse.
Name | Description | Data Type |
---|---|---|
UpdateReturnLineResult | A string value containing a JSON object. { "Data": { "FirstName": "Susan", "LastName": "Brown", "Email": "sbrown@bikesblades.com", "Phone": "", "CustomerNumber": "000000000000013", "CustomerName": "Out of Africa", "ItemCount": 3, "TotalWeight": 30.0, "TotalVolume": 0.9, "LastUpdated": "2022-11-07T12:56:38.417", "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": [{ "Row": 1, "ID": 13276, "Item_ID": 579, "StockCode": "A100", "NonStockItem": false, "Description": "Boys 15 Speed Mountain Bike", "SerialNumber": "", "Quantity": 3, "UOM": "EA", "UnitType": 1, "UnitWeight": 10.0, "UnitVolume": 0.3, "ReturnType": "", "ProblemCode": "", "ProblemNotes": "", "InvoiceNumber": "", "OrderNumber": "", "CustomData": {}, "LastUpdated": "2022-11-07T12:59:30.19", "WarrantyDate": null, "ReturnByDate": null, "Lot": "", "UserDefined1": "", "UserDefined2": "", "PurchaseDate": null, "Photo1": "/Ecommerce/site/images/Photo1/A100.jpg", "Photo2": "/Ecommerce/site/images/Photo2/A100.jpg" }] }, "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" }] }, "OriginalDetail": { "Item_ID": 579, "StockCode": "A100", "ProductName": "Boys 15 Speed Mountain Bike", "SerialNumber": "", "PurchaseDate": null, "Quantity": 1, "UnitType": 1, "UnitLabel": "EA", "UnitMass": 10.0, "UnitVolume": 0.3, "ReturnType": "", "NonStockItem": false, "ProblemCode": "", "ProblemNotes": "", "CustomData": "{}", "LastModifiedDate": "2022-11-07T12:56:44.22", "WarrantyDate": null, "ReturnByDate": null, "Lot": "", "UserDefined1": "", "UserDefined2": "" }, "Result": { "Success": true, "Message": "The return line has been updated successfully.", "ElapsedTime": "66 ms" } }
| xml:string |