Skip to main content
GET
/
units
/
{id}
cURL
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"
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

Unit identifier

Query Parameters

locale
string

Defines the locale to use for translations. Defaults to tenant locale.

Response

Unit resource

id
object
name
string
Example:

"Stück"

translations
object
createdAt
string<date-time>

The date and time when the resource was created.

Example:

"2021-01-01T00:00:00+00:00"

updatedAt
string<date-time>

The date and time when the resource was last updated.

Example:

"2021-01-01T00:00:00+00:00"