24/7 Support: 800.608.6482

Navigation


OrderItem_Split

This function splits an order item from an order.

Request Parameters

store_code Type:
String
Title:
Store Code
Store code to run the function against. Found in the Miva Admin under Settings > Store Details
function Type:
String
Title:
Order Item Split
The name of the function being executed
line_id Type:
Number
Title:
Line ID
The line id number to be split from the order
order_id Type:
Number
Title:
Order ID
The order id number being split
quantity Type:
Number
Title:
Quantity
product quantity being split from the item

Response Parameters

success Type:
Boolean
Title:
Status Response
Boolean value indicating if the api request was successful

Example Request

Example Response

Error Responses

error code:
MER-JSN-ORD-00025
error message:
Order not found
description:
Order number not found
error code:
MER-JSN-00023
error message:
One or more parameters are invalid
description:
Missing required line_id parameter
error code:
MER-DBP-OIT-00007
error message:
Record not found
description:
line_id passed is not valid

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2022 Miva©, Miva Merchant©, MivaPay©, MivaCon©, Camp Miva ℠, Miva, Inc. All Rights Reserved.