Skip to content

QuoteItemList_Delete#


Description#

This function deletes a line item from a quote.

Request Parameters#

Parameter
Type Description
function String For module level functions this parameter will always have the value Module
module_code String The module code will always have the value quote for this function
module_function String Specifies the function being executed, in this case QuoteItemList_Delete
quote_id
edit_quote
quote_code
Number
String
String
The id of the quote
The code of the quote
The code of the quote
line_ids Number Line ID number to be deleted from the quote

Response Parameters#

Parameter
Type Description
success Boolean Boolean value indicating if the API request was successful
total Number Total of the quote
formatted_total String Currency formatted total of the quote

Example Request#

{
    "Store_code": "beta",
    "Function": "Module",
    "Module_Code": "quote",
    "Module_Function": "QuoteItemList_Delete",
    "Quote_ID": 1002,
    "Line_IDs": "7"
}

Example Response#

{
    "success": 1,
    "data": {
        "total": 2644.7,
        "formatted_total": "$2,644.70"
    }
}

Error Responses#

Error Code Error Message Error Description
MER-UTL-QUOTES-00343 Quote not found Quote not found
MER-UTL-QUOTES-00346 Unable to load quote: One of Quote_ID, Edit_Quote, or Quote_Code must be specified Unable to load quote