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_id | int | Transfer identifier |
| status | int | Target transfer status: 0 - draft, 1 - commissioned, 2 - in progress, 3 - completed. |
| completed_items | array | (optional) List of transferred items. Unlisted unverified items are marked as missing goods. |
| | - item_id | int | Item identifier |
| | - completed_quantity | int | Quantity transferred to the target location |
Output data
The method returns the data in JSON format.
| status | varchar(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: