Zum Hauptinhalt springen
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"
}

Autorisierungen

Authorization
string
header
erforderlich

Value for the Authorization header parameter.

Pfadparameter

id
string
erforderlich

Unit identifier

Abfrageparameter

locale
string

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

Antwort

Unit resource

id
object
name
string
Beispiel:

"Stück"

translations
object
createdAt
string<date-time>

The date and time when the resource was created.

Beispiel:

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

updatedAt
string<date-time>

The date and time when the resource was last updated.

Beispiel:

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