Siirry sisältöön
  • Ehdotuksia ei ole, koska hakukenttä on tyhjä.

Use Case: Synchronizing product stock balance

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 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.