EVA has several ways to get stock data in, out and throughout EVA. This page will offer you a general overview of such flows, what we recommend and refer you to the corresponding detailed docs.
The first question to be answered is: will you be using the First In First Out (FIFO) method?
If so, all your incoming stock should enter EVA via purchase orders, meaning you can ignore the following section on adding stock to your environment by means of services.
If you want to start adding stock to EVA, one of our go-to services is called UpdateStock. This easy-to-use service is great for most situations. You can use it to set new absolute values of your previously created products.
If you however want to add a lot of new data, we advise you to work with stock files instead. Aside from allowing for a bit more information including stock labels, these files are processed asynchronous, which means they are less resource-intensive.
Aside from the above mentioned ways to add stock to EVA, you might want to use another service altogether when it's your first time adding stock to a store.
This Initial replenishment service is tailored for specifically that.
Once you've got your stock in EVA, you may want to have a closer look at the stock labels.
These labels allow you to fine-tune what you can do with specific stock, and by extension, your products. For example, stock on a demo label might not be for sale.
Getting stock out of EVA
There are several ways to get your stock data out of EVA, depending on your situation.
- If you need a regular, intermittent feed towards your e-com store or ERP system, our Stock feeds are the way to go. This is the most efficient method.
- If you want to request a real-time overview of your current stock, use a GetProductAvailability call, which can even take your future/incoming stock into account.
- If you want to be notified of each and every change to your stock right away, set up and listen in to EVA's event exports.
Lastly, you can of course also use the Availability chapter in Admin Suite directly, which is built directly on
QuantityOnHand in Stock events
In case you decide to make use of the event exports, you should know that it's possible to get absolute stock levels in the form of the QuantityOnHand property in your StockMutation Created event export by means of the setting
EventExports:AbsoluteStockLevels:Enabled. Set it to true to have the property included.
Mind that EVA processes stock mutations in batches, so if multiple stock mutations of the same product/ou/stocklabel combination are in a single batch, they get the same stock levels.