Use Case
When a company has an online store and a brick-and-mortar store with a shared stock, synchronizing amounts makes business easier. With these functions you can check and update the balance.
1. stock/getBranchStockAmounts returns freeamount which is the products that are physically in stock and are not reserved to an unfinished open sales order. This kind of unfinished sales order is for example an order made via phone call or e-mail and not yet collected.
2. product/getAllProducts returns a list of products which are updated after the given timestamp. It is called with the timestamp which is the timestamp of the last successful inspection.
3. product/getProducts returns information on the products with given product identifiers.
Now you are able to update the stock balance to the online store.
Used Endpoints
stock/getBranchStockAmounts response: freeamount
The free amount is the available quantity for the product. Other existing sale orders can and
will reserve stock so existing orders will lower the number.
product/getAllProducts Updated products after a timestamp value. Returns a list of products
which are updated after the given timestamp.
product/getProducts Get the product information.
Kommentit
0 kommenttia
Kommentointi on poistettu käytöstä.