Managing store inventory with openboxes

Hi,

I’m looking to use OpenBoxes to manage store inventory. My basic needs are to:

  1. Set products.
  2. Set the stock quantity available for each product.
  3. Decrease the stock by 1 or more when a product is sold.

What is the best way to achieve this functionality using the API?

I have seen this issue: How to update quantity available of a product in an inventory via API, but I still couldn’t figure it out.

Hey @Nivl

Do you want to be able to do all of this from the API? Or just step 3?

Also are you looking to integrate with a storefront?

Justin

@jmiranda Hi Justin,

We are considering setting up the products and stock levels (steps 1 and 2) through your dashboard. Then, we plan to integrate OpenBoxes with our storefront to fetch available products and process purchases. This integration will act as a proxy for our store’s backend, recording the transaction details and writing them to our database.