API documentation
Method list
Test your request
Changelog


setInventoryTransferStatus
The method allows you to change the status of an inventory transfer. When completing it, unverified items omitted from completed_items are marked as missing goods.


Input parameters
transfer_idintTransfer identifier
statusintTarget transfer status: 0 - draft, 1 - commissioned, 2 - in progress, 3 - completed.
completed_itemsarray(optional) List of transferred items. Unlisted unverified items are marked as missing goods.
| - item_idintItem identifier
| - completed_quantityintQuantity transferred to the target location



Output data
The method returns the data in JSON format.
statusvarchar(30)SUCCESS - request executed correctly
ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code



Sample
Input data:
Output data:
A sample request in PHP: