Get Stock data by given stockId. If you want to create plugin on get method, also you need to create separate plugin on getList method, because entity loading way is different for these methods
/V1/inventory/stocks/{stockId}
(Required)
<integer>
Save Stock data
/V1/inventory/stocks/{stockId}
(Required)
<string>
application/json
{"stock":{"stock_id":-88693904,"name":"est proident ut laboris adipisicing","extension_attributes":{"sales_channels":[{"type":"mollit Ut tempor occaecat","code":"in nisi dolor","extension_attributes":{"value":"<Error: Too many levels of nesting to fake this schema>"}},{"type":"mollit nostrud","code":"minim sed","extension_attributes":{"value":"<Error: Too many levels of nesting to fake this schema>"}}]}}}
Delete the Stock data by stockId. If stock is not found do nothing
/V1/inventory/stocks/{stockId}
(Required)
<integer>
Find Stocks by given SearchCriteria SearchCriteria is not required because load all stocks is useful case
/V1/inventory/stocks
Field
<string>
Value
<string>
Condition type
<string>
Sorting field.
<string>
Sorting direction.
<string>
Page size.
<integer>
Current page.
<integer>
Save Stock data
/V1/inventory/stocks
application/json
{"stock":{"stock_id":-88693904,"name":"est proident ut laboris adipisicing","extension_attributes":{"sales_channels":[{"type":"mollit Ut tempor occaecat","code":"in nisi dolor","extension_attributes":{"value":"<Error: Too many levels of nesting to fake this schema>"}},{"type":"mollit nostrud","code":"minim sed","extension_attributes":{"value":"<Error: Too many levels of nesting to fake this schema>"}}]}}}