Storages
Places where products and part units are kept. Requires the inventory control module.
List storages
Lists the account's storages, with pagination, filters and sorting. The list does not include `storageProducts`. Requires the inventory control module.
Create a storage
Creates a storage. Requires the inventory control module.
Total stock value
Adds up the stock value of all storages in the account, considering only non-archived products. Requires the inventory control module.
Retrieve a storage
Returns a storage by identifier, with the balance of each product (`storageProducts`). Requires the inventory control module.
Update a storage
Updates a storage. The body follows the same rules as creation. Requires the inventory control module.
Stock value of a storage
Adds up the stock value of a storage, considering only non-archived products. An identifier that is not a storage of the account returns `0`; a malformed identifier results in a 500 error. Requires the inventory control module.
Stock value per product
Lists the stock value of each non-archived product in a storage. An identifier that is not a storage of the account returns an empty list; a malformed identifier results in a 500 error. Requires the inventory control module.