Skip to content

OrderItemList_Backorder#


Description#

This function allows you to backorder one or more items (products) within an order.

Request Body Parameters#

Parameter
Type Description
order_id Number Order Id
line_ids Array Array of line_id values to put on backorder

Response Body Parameters#

Parameter
Type Description
success Boolean Boolean value indicating if the API request was successful

Example Request#

{
    "Store_Code": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "OrderItemList_BackOrder",
    "Order_Id": "200100",
    "Date_InStock": 1541030400,
    "line_ids": [170, 165]
}

Example Response#

{
    "success": 1
}

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 or incorrect line_id parameter