File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/CatalogInventory/etc Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 10
10
<route url =" /V1/stockItems/:productSku" method =" GET" >
11
11
<service class =" Magento\CatalogInventory\Api\StockRegistryInterface" method =" getStockItemBySku" />
12
12
<resources >
13
- <resource ref =" Magento_CatalogInventory::cataloginventory " />
13
+ <resource ref =" Magento_Catalog::catalog_inventory " />
14
14
</resources >
15
15
</route >
16
16
<route url =" /V1/products/:productSku/stockItems/:itemId" method =" PUT" >
17
17
<service class =" Magento\CatalogInventory\Api\StockRegistryInterface" method =" updateStockItemBySku" />
18
18
<resources >
19
- <resource ref =" Magento_CatalogInventory::cataloginventory " />
19
+ <resource ref =" Magento_Catalog::catalog_inventory " />
20
20
</resources >
21
21
</route >
22
22
<route url =" /V1/stockItems/lowStock/" method =" GET" >
23
23
<service class =" Magento\CatalogInventory\Api\StockRegistryInterface" method =" getLowStockItems" />
24
24
<resources >
25
- <resource ref =" Magento_CatalogInventory::cataloginventory " />
25
+ <resource ref =" Magento_Catalog::catalog_inventory " />
26
26
</resources >
27
27
</route >
28
28
<route url =" /V1/stockStatuses/:productSku" method =" GET" >
29
29
<service class =" Magento\CatalogInventory\Api\StockRegistryInterface" method =" getStockStatusBySku" />
30
30
<resources >
31
- <resource ref =" Magento_CatalogInventory::cataloginventory " />
31
+ <resource ref =" Magento_Catalog::catalog_inventory " />
32
32
</resources >
33
33
</route >
34
34
</routes >
You can’t perform that action at this time.
0 commit comments