cURL
curl --request GET \ --url https://lms.tausi.africa/v1/stocks \ --header 'Authorization: Bearer <token>'
{ "items": [ { "stock_id": 123, "stock_name": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "total": 123, "page": 123, "rowsPerPage": 123, "success": true }
Returns paginated stock records.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
x >= 1
1 <= x <= 100
Successful response with stock list.
Show child attributes
true