Overwrite an existing UnitType

Overwrites a specific UnitType API object

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

ID of UnitType to update

Body Params

new UnitType object

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
204

Resource successfully updated

301

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

400

Provided JSON body is either invalid or empty

401

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

404

UnitType not found

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