xxxxxxxxxx
Layers -> 1:Physical 2:Data Link 3:Network 4:Transport 5:Session 6:Presentation 7:Application.
OSI model is a myth
xxxxxxxxxx
OSI model is created after TCP/IP model to explain the network communication in
details so that network engineers can troubleshoot the problem occurred in
network communication, the authentic network communication model is TCP/IP model
therefore OSI model is the explanation of NETWORK COMMUNICATION. Don't get confused.
xxxxxxxxxx
Use PUT on http://yourmagento.com/rest/V1/products/{productSku}/stockItems/{itemId}.
For example:
http://yourmagento.com/rest/V1/products/24-MB01/stockItems/1
stockItems will be always 1 if you're not having multiple stocks.