It returns informations about last stock move.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/stocks/{stockId}/movements/last
- https://api.myshoptet.comhttps://api.myshoptet.com/api/stocks/{stockId}/movements/last
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X GET \
https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/stocks/1/movements/last \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'Response
{ "data": { "lastId": 736, "lastChangeTime": "2018-05-29T09:02:27+0200" }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }