Stock Movements

Create a Stock Movement

This endpoint allows you to create a Stock Movement. A stock movevement correspondes to an action executed in a warehouse for a material. A stock movement can have the following actions:

  • MOVED: stock movement between two warehouses
  • ADDED: stock addition in a warehouse
  • CONSUMED: material consumption in a work order or planned job order
post/stock-movements

Request

  • Base URL: https://api.infraspeak.com/v3
  • URL: https://api.infraspeak.com/v3/stock-movements
  • Auth: HTTP bearer

Request body

_type'stock-movement' required

Type of the stock movement

action'ABATE' | 'ADD' | 'CONSUME' | 'MOVE' required

Action performed in this stock movement

warehouse_idinteger required

ID of the Origin warehouse of the stock movement

destination_warehouse_idinteger

ID of the destination warehouse of the stock movement (Required if action is MOVE)

element_registry_idinteger

ID of the associated element registry

failure_idinteger

ID of the associated failure

order_idinteger

ID of the associated order

request_idinteger

ID of the associated request

schedule_work_idinteger

ID of the associated schedule work

observationstring

Description or notes about the stock movement

Response

OK

Changes

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