cURL
curl --request GET \ --url https://lms.tausi.africa/v1/stocks/{id} \ --header 'Authorization: Bearer <token>'
{ "item": { "stock_id": 123, "stock_name": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "success": true }
Returns a single stock by its ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response with stock details.
Show child attributes
true