Skip to main content
GET
/
stocks
/
{id}
Get stock by ID
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer<int64>
required

Response

Successful response with stock details.

item
object
required
success
boolean
required
Example:

true