Stocks

Update Stock

This endpoint allows you to update a specific Stock.

A stock represents a quantity of material that it is available in a warehouse that can be consumed, moved or added. A stock is always associated with a stock movement.

patch/stocks/{stock}

Request

  • Base URL: https://api.infraspeak.com/v3
  • URL: https://api.infraspeak.com/v3/stocks/{stock}
  • Auth: HTTP bearer

Path parameters

stockstring required

The stock ID

Request body

material_idinteger

ID of the material associated with the stock

quantitynumber

Quantity of the material associated with the stock

warehouse_idinteger

The ID of the warehouse associated with the stock

failure_idinteger

The ID of the failure associated with the stock

schedule_work_idinteger

The ID of the schedule work associated with the stock

mean_pricenumber

The mean price of the material associated with the stock

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.