Stocks

Create a Stock

This endpoint allows you to create a 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.

post/stocks

Request

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

Request body

material_idinteger required

ID of the material associated with the stock

quantitynumber required

Quantity of the material associated with the stock

warehouse_idinteger required

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

Response

OK

Changes

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