# Stock movements - Last move It returns informations about last stock move. Endpoint: GET /api/stocks/{stockId}/movements/last Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Path parameters: - `stockId` (number, required) ID of stock for which we would like the movements. Example: "1" ## Header parameters: - `Content-Type` (string, required) ## Response 200 fields (application/json): - `data` (object, required) - `data.lastId` (integer, required) Synthetic unique incremental ID of log with changes in stock - `data.lastChangeTime` (string, required) DateTime stock movement. - `errors` (array,null, required) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced