Create a set of bin records. This is the recommended way to place items into bins (which have arrived with a Purchase Invoice or Inventory Registration) or remove sold items.
After saving and processing each record, API will also update the cumulative quantity of that product in that bin.
This call can also be used for editing existing records. In that case, API will also adjust the summarized quantity of that bin accordingly.
You can send multiple records with one API call; append numbers 1, 2, 3, … to the parameter names to identify values for record 1, record 2, etc. Fore example,
amount1 for the first record,
amount2 for the second one and so on.
There is no hard limit to how many records you can send with one call, but it is recommended to keep it below 500. Also, more records take a longer time to process, so make sure you will not hit a timeout while waiting for API’s response.
|Parameter name||Description||Possible value||Required|
|recordID#||Leave this field empty when creating a new bin record.||Integer|
|binID#||Bin ID. For new bin records, this field is required.||Integer|
|productID#||Product ID. For new bin records, this field is required.||Integer|
|amount#||Amount. For new bin records, this field is required.||Decimal (6 places)|
|timestamp#||Integer (Unix timestamp)|
|documentType#||Document Type. Possible values: ||String|
|creatorID#||Creator (employee) ID. For new bin records, this field is required.||Integer|
|reasonCodeID#||Reason Code ID.||Integer|