Add a new UnitType

Add a new UnitType

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

UnitType object that needs to be added

boolean
Defaults to true

Flag. If set to True, the unit is usable for ingredient inventory tracking.

boolean
Defaults to false

Flag. If set to True, the unit is automatically assigned to all new ingredients.

string
required

Unit name. Used in ingredient inventory tracking, recipes and reporting to name the units of measurement. Up to 200 characters long.

Responses
201

Resource successfully created.

301

Invalid request URL - make sure that the URL ends with a trailing slash.

400

Invalid input - either another UnitType with this name already exists or the JSON body is malformed.

401

Authentication error - make sure the API key & secret is valid, active and provided in the "API-AUTHENTICATION" header.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!