_containerAdd

Allocate stock to a container

Parameters

container_id

Integer. The ID of the container to which stock is being allocated

container_type

Integer. The type of container.

Recognised types:

  • 1 - User

  • 2 - Vehicle

  • 3 - Location

stock_id

Integer. The ID of the stock item being allocated

amt

Integer. The quantity of the stock item being allocated

Example

Result

On Success

An empty array is returned.

On Failure

If no container_id supplied:

Last updated