Skip to content



This function allows you to delete one or more items (products) from an order.

Request Body Parameters#

Type Description
order_id Number Order ID
line_ids Array Array of line ids to delete

Response Parameters#

Type Description
total Number Order Total after new item has been added
formatted_total String Currently Formatted Order Total

Example Request#

    "Store_code": "beta",
    "Function": "OrderItemList_Delete",
    "Order_Id": "200100",
    "line_ids": [153, 165]

Example Response#

    "success": 1,
    "data": {
        "total": 0.0,
        "formatted_total": "$0.00"

Error Responses#

Error Code Error Message Error Description
MER-JSN-ORD-00025 Order number not found. Order number not found.
MER-JSN-00023 One or more parameters are invalid Missing line_ids parameter