cURL
curl --request GET \ --url https://app.blinksale.test/api/v1/units/{unitId} \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Unit retrieved successfully", "data": { "id": "01jtbf0c9zaraqx3swthf88n5y", "organization_id": "01jtbf0c9zaraqx3swthf88n5y", "name": "Hour", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Get a specific unit of measurement by ID
Access token obtained from the /v1/auth/login endpoint
The ID of the unit to retrieve
Unit retrieved successfully
true
"Unit retrieved successfully"
Show child attributes