cURL
curl -X GET \ /units \ --header "Authorization: Bearer <token>"
{ "data": [ { "id": {}, "name": "Stück", "createdAt": "2021-01-01T00:00:00+00:00", "updatedAt": "2021-01-01T00:00:00+00:00" } ], "meta": { "pagination": { "totalItems": 123, "itemsPerPage": 123, "currentPage": 123, "lastPage": 123, "pageTotalItems": 123 } } }
Get all units
unit:read
Value for the Authorization header parameter.
Defines the locale to use for translations. Defaults to tenant locale.
The collection page number
The number of items per page
0 <= x <= 100
translations
Unit collection
Show child attributes
Was this page helpful?