curl -X GET \
/units/{id} \
--header "Authorization: Bearer <token>"
{
"id": {},
"name": "Stück",
"translations": {},
"createdAt": "2021-01-01T00:00:00+00:00",
"updatedAt": "2021-01-01T00:00:00+00:00"
}
Get a unit
Required permissions:unit:read
curl -X GET \
/units/{id} \
--header "Authorization: Bearer <token>"
{
"id": {},
"name": "Stück",
"translations": {},
"createdAt": "2021-01-01T00:00:00+00:00",
"updatedAt": "2021-01-01T00:00:00+00:00"
}
Value for the Authorization header parameter.
Unit identifier
Defines the locale to use for translations. Defaults to tenant locale.
Unit resource
Was this page helpful?