Complete orders from history

If orders were not completed online you may use order/complete_from_history method to complete orders using history messages:

order/complete_from_history&params={"itemId":<long>,
				    "orders":[uint]}

Parameters

Param Description
itemId resource id
orders order ids array

Response

{
    "completed":<uint>        /* number of completed orders : 
                               1 - one order was completed during request processing; such orders status would be changed to "s":2), 
                               0 - no order was completed during request processing */
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam