cURL
curl -X POST \ /units \ --header "Content-Type: application/json" \ --header "Authorization: Bearer <token>" \ --data '{ "translations": [] }'
{ "id": {}, "name": "Stück", "translations": {}, "createdAt": "2021-01-01T00:00:00+00:00", "updatedAt": "2021-01-01T00:00:00+00:00" }
Create a unit. Units will be used to define the unit of measure for products or invoice positions.
unit:write
Value for the Authorization header parameter.
The new Unit resource
Show child attributes
255
"Stück"
"de"
Unit resource created
The date and time when the resource was created.
"2021-01-01T00:00:00+00:00"
The date and time when the resource was last updated.
Was this page helpful?