Skip to main content

stockMovement

Loads a single StockMovement by id.

Required scopes​

The token needs the stocks:read access scope.

stockMovement(
id: ID!
): StockMovement

Arguments​

stockMovement.id ● ID! non-null scalar​

Type​

StockMovement object​

A single booking in the stock movement ledger: quantity units of a product moved from a source location to a destination location. Each location is described by its …LocationTypeTechnicalName and the one matching …Id / …SpecialStockLocationTechnicalName field; the others are null. The matching …Id is null as well once the referenced location has been deleted. Stock movements are not edited after they are booked, but deleting a product deletes its stock movements.