# Inventory API Methods for inventory management. ## Create purchase order - [POST /api/InventoryMovement/CreatePurchaseOrder](https://developer.wineshipping.com/api/v3.1/openapi/inventory/createpurchaseorder.md): This operation is used to create an inbound inventory request. Successful execution of this operation will generate a new purchase order in Wineshipping system. The inbound request can be a pickup from customer address or a drop-off at a Wineshipping warehouse location. A transaction reference identifier is returned in this operation. Store this identifier in your application and systems as applicable. This reference ID is available in the event a problem occurs with the associated request. ## Update purchase order - [POST /api/InventoryMovement/UpdatePurchaseOrder](https://developer.wineshipping.com/api/v3.1/openapi/inventory/updatepurchaseorder.md): Update an existing inventory receipt request ## Cancel purchase order - [POST /api/InventoryMovement/CancelPurchaseOrder](https://developer.wineshipping.com/api/v3.1/openapi/inventory/cancelpurchaseorder.md): This operation is used to cancel a purchase order request. A transaction reference identifier is required to post using this operation. A transaction reference identifier will be returned upon use of the operation. Store this identifier in your application and systems as applicable. This reference ID is available in the event a problem occurs with the associated request. Successful execution of this method will cancel an open Purchase Order in Wineshipping's system and will return a transaction reference identifier. ## Create transfer order - [POST /api/InventoryMovement/CreateTransferOrder](https://developer.wineshipping.com/api/v3.1/openapi/inventory/createtransferorder.md): This operation is used to create a inventory transfer request between two Wineshipping managed inventory locations. Successful execution of this operation will generate a new transfer order in Wineshipping system. A transaction reference identifier is returned in this operation. Store this identifier in your application and systems as applicable. This reference ID is available in the event a problem occurs with the associated request. ## Update transfer order - [POST /api/InventoryMovement/UpdateTransferOrder](https://developer.wineshipping.com/api/v3.1/openapi/inventory/updatetransferorder.md): Use this operation to update an existing open transfer order. Successful execution of this method will update an open transfer order in Wineshipping system. If for some reason the order cannot be updated standard HTTP Status Code and a reason will be returned. ## Cancel a transfer order - [POST /api/InventoryMovement/CancelTransferOrder](https://developer.wineshipping.com/api/v3.1/openapi/inventory/canceltransferorder.md): This operation is used to cancel a transfer order request. A transaction reference identifier is required to post using this operation. A transaction reference identifier will be returned upon use of the operation. Store this identifier in your application and systems as applicable. This reference ID is available in the event a problem occurs with the associated request. Successful execution of this method will cancel an Open Purchase Order in Wineshipping's system and will return a transaction reference identifier. Please note that Transfer Orders can only be canceled and are considered "open" as long as work has not been started. ## Get inventory transactions - [POST /api/Inventory/GetTransactions](https://developer.wineshipping.com/api/v3.1/openapi/inventory/getinventorytransactions.md): This method allows a customer to retrieve inventory transactions. Inventory transactions include Sales Orders, Purchase Orders, Transfer In, Transfer Out, Production Lines, Inventory Adjustments and Inventory Status Changes. There are multiple input filters available for use, including filters to retrieve specific types of inventory transactions, to retrieve transactions processed on a particular date, or to retrieve transactions in a specific Wineshipping warehouse.There are also pagination and skip/top query parameters that allow customers to further control the inventory transactions that are returned in the response. ## Get inventory information - [POST /api/Inventory/GetStatus](https://developer.wineshipping.com/api/v3.1/openapi/inventory/getinventorystatus.md): This operation provides inventory information with warehouse, status, quantity on hand, quantity reserved on orders, quantity on backorder, quantity available, and quantity on an inbound PO. This operation optionally accepts a warehouse code to return related inventory records for a specific Wineshipping warehouse, if omitted the operation will return inventory records for all warehouses. The operation also accepts an array of items to query inventory records, if omitted returns inventory records for all items in the warehouse specified. ## Get sellable inventory - [POST /api/Inventory/GetSellable](https://developer.wineshipping.com/api/v3.1/openapi/inventory/getsellable.md): This operation provides the total, aggregated inventory available to sell. This operation optionally accepts a list of warehouse codes to return sellable inventory totals for a specific subset of Wineshipping warehouses, otherwise all physical locations with sellable inventory are considered.This method is specifically designed to efficiently sync available inventory quantities with Commerce, pos or other order management systems for all skus. See the GetInventoryStatus for retrieving more detailed inventory information for an individual sku.