Articles on: coreFORCE Advanced & Enterprise

coreFORCE - Development: Product Inventory API

coreFORCE Advanced and Enterprise Only

There is now an API call for this. The method is update_product_inventory.

It takes the following parameters: product_inventory_updates - an array of any number of the following parameters. This allows you to send inventory updates for multiple products product_id or upc_code or product_code - what product is being updated location_id or location_code - What location is being updated. Neither of these should be hard coded.


The list of locations should be gotten from the API and displayed in the POS as a list of locations from which the user can choose.

If there is only one location, it could be set in settings. quantity - positive value of how many are being added or subtracted from inventory inventory_adjustment_type_id or inventory_adjustment_type_code - Determines what the system will do with the quantity.


These values should be gotten from the API. notes - notes to be added to inventory log total_cost - total cost of all quantity of this product cost - cost of each product in this inventory update. Total cost will be calculated. Related API's: get_locations get_inventory_adjustment_types

Updated on: 07/06/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!