cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 Rest Api to Update Stock?

Magento 2 Rest Api to Update Stock?

What is the correct api method to call to update stock on a product in a specific stock?

 

I have narrowed it down to the following, but I may be wrong.

 

catalogInventoryStockRegistryV1
PUT /V1/products/{productSku}/stockItems/{itemId}

 

catalogProductRepositoryV1
PUT /V1/products/{sku}

 

Can anyone point me in the right direction?