InventoryApi REST endpoints
vendor/magento/module-inventory-api/etc/webapi.xml
GET
/V1/inventory/get-sources-assigned-to-stock-ordered-by-priority/:stockId
Get Sources assigned to Stock ordered by priority
InventoryApi · Magento\InventoryApi\Api\GetSourcesAssignedToStockOrderedByPriorityInterface::execute
/V1/inventory/source-items
Find SourceItems by SearchCriteria
InventoryApi · Magento\InventoryApi\Api\SourceItemRepositoryInterface::getList
/V1/inventory/sources
Find Sources by SearchCriteria
InventoryApi · Magento\InventoryApi\Api\SourceRepositoryInterface::getList
/V1/inventory/sources/:sourceCode
Get Source data by given code. If you want to create plugin on get method, also you need to create separate
InventoryApi · Magento\InventoryApi\Api\SourceRepositoryInterface::get
/V1/inventory/stock-source-links
Find StockSourceLink list by given SearchCriteria
InventoryApi · Magento\InventoryApi\Api\GetStockSourceLinksInterface::execute
/V1/inventory/stocks
Find Stocks by given SearchCriteria
InventoryApi · Magento\InventoryApi\Api\StockRepositoryInterface::getList
/V1/inventory/stocks/:stockId
Get Stock data by given stockId. If you want to create plugin on get method, also you need to create separate
InventoryApi · Magento\InventoryApi\Api\StockRepositoryInterface::get
POST
/V1/inventory/source-items
Save Multiple Source item data
InventoryApi · Magento\InventoryApi\Api\SourceItemsSaveInterface::execute
/V1/inventory/source-items-delete
Delete Multiple Source item data
InventoryApi · Magento\InventoryApi\Api\SourceItemsDeleteInterface::execute
/V1/inventory/sources
Save Source data
InventoryApi · Magento\InventoryApi\Api\SourceRepositoryInterface::save
/V1/inventory/stock-source-links
Save StockSourceLink list data
InventoryApi · Magento\InventoryApi\Api\StockSourceLinksSaveInterface::execute
/V1/inventory/stock-source-links-delete
Remove StockSourceLink list list
InventoryApi · Magento\InventoryApi\Api\StockSourceLinksDeleteInterface::execute
/V1/inventory/stocks
Save Stock data
InventoryApi · Magento\InventoryApi\Api\StockRepositoryInterface::save
PUT
DELETE
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.