Stock API

The stock API can be used to query and manipulate stock. The stock API is divided into three logical building blocks.

  1. Stock entity, a stock entity is a location that stores stock. For example: a warehouse or a store.

  2. Stock channel, a stock channel is a logical grouping of stock entities, for example: the web channel which contains all the warehouses or the stores channel that contains all the stores.

  3. Stocks, stocks are products that have a stock level, Stocks are stored in a stock entity.

The diagram above is a schematic example of the building blocks described above. As can be seen a stock entity contains products and stock levels. Warehouse 1 has 20 Razor shorts in stock, Store 1 has 20 razor shorts in stock and Store 2 has 15 razor shorts in stock. This information can be queried on stock entity level.

The channels group stock entities together, The store channel above contains Store 1 and Store 2. When querying the channel the caller will get all the stock back for the stock entities in the channel. So for sku 1 (Razor shorts), the stock will be returned for Store 1 and for Store 2.

To find out more about the stock API and the possible calls, please see the URL’s below.

URL’s

All possible calls to the stock API are exposed via swagger, see the below URL’s.

Production

Staging

copyright wolfpack DCS b.v. 2020