Allocate stock to a container
Integer. The ID of the container to which stock is being allocated
Integer. The type of container.
Recognised types:
1 - User
2 - Vehicle
3 - Location
Integer. The ID of the stock item being allocated
Integer. The quantity of the stock item being allocated
An empty array is returned.
If no container_id supplied:
Last updated 3 years ago
FM_api('Stock_containerAdd', [ 'container_id'=>'1234', 'container_type'=>'1', 'stock_id'=>'5', 'amt'=>'20' ] );
{"error":"You must select a container to move the stock to"}