# Inventory

Inventories, inventory operations, documents and product transactions

 - [GET /storages/{location_id}](https://developer.alteg.io/en/b2b-v1/openapi/inventory/get_location_inventories.md): The location inventory object has the following fields: | Field | Type | Description | | --- | --- | --- | | id | number | Inventory ID | | title | string | Title | | for_services | number | 1 - if u
 - [GET /storages/transactions/{location_id}](https://developer.alteg.io/en/b2b-v1/openapi/inventory/search_for_product_transactions.md): Lists the product lines of the Location, newest first. Deleted lines are not listed. A line reports its Team Member and client only when it belongs to a sale, and its Supplier only when it belongs to
 - [POST /storage_operations/operation/{location_id}](https://developer.alteg.io/en/b2b-v1/openapi/inventory/create_inventory_operation.md): Creates an inventory document and its product lines in one request. Supported types are 1 (product sale), 3 (product receipt) and 4 (product write-off); 2 (consumption) and 5 (transfer) are refused wi
 - [POST /storage_operations/documents/{location_id}](https://developer.alteg.io/en/b2b-v1/openapi/inventory/create_document.md)
 - [GET /storage_operations/documents/{location_id}/{document_id}](https://developer.alteg.io/en/b2b-v1/openapi/inventory/get_document.md)
 - [PUT /storage_operations/documents/{location_id}/{document_id}](https://developer.alteg.io/en/b2b-v1/openapi/inventory/update_document.md)
 - [DELETE /storage_operations/documents/{location_id}/{document_id}](https://developer.alteg.io/en/b2b-v1/openapi/inventory/delete_document.md): Deletes an inventory operation document together with its product lines, so the stock they moved comes back. Payment transactions of the document stay in place. Only inventory operation documents are
 - [POST /storage_operations/goods_transactions/{location_id}](https://developer.alteg.io/en/b2b-v1/openapi/inventory/create_transaction.md)
 - [GET /storage_operations/goods_transactions/{location_id}/{transaction_id}](https://developer.alteg.io/en/b2b-v1/openapi/inventory/get_transaction.md): Reads a goods transaction by ID at the specified Location. A membership's `goods_transaction_id` can be used here to obtain this transaction's `document_id`, `create_date`, `cost_per_unit`, `discount`
 - [PUT /storage_operations/goods_transactions/{location_id}/{transaction_id}](https://developer.alteg.io/en/b2b-v1/openapi/inventory/update_transaction.md)
 - [DELETE /storage_operations/goods_transactions/{location_id}/{transaction_id}](https://developer.alteg.io/en/b2b-v1/openapi/inventory/delete_transaction.md)
 - [GET /storage_operations/documents/goods_transactions/{document_id}](https://developer.alteg.io/en/b2b-v1/openapi/inventory/get_document_product_transactions.md)
